Re: Make world problems from 4.9 to 5.1
On Wednesday 26 November 2003 07:33 pm, Eric Crist wrote: Ok, Read through that. Now I'm getting the following after running the make buildworld: [[snip]] cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DPTHREAD_KERNEL -I/usr/src/lib/libpthread/../libc/include -I/usr/src/lib/libpthread/thread -I/usr/src/lib/libpthread/../../include -I/usr/src/lib/libpthread/arch/i386/include -I/usr/src/lib/libpthread/sys -I/usr/src/lib/libpthread/../../libexec/rtld-elf -fno-builtin -D_LOCK_DEBUG -D_PTHREADS_INVARIANTS -Wall -I/usr/src/lib/libpthread/../libc/i386 -I/usr/src/lib/libpthread/thread -c /usr/src/lib/libpthread/arch/i386/i386/thr_switch.S -o thr_switch.So cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DPTHREAD_KERNEL -I/usr/src/lib/libpthread/../libc/include -I/usr/src/lib/libpthread/thread -I/usr/src/lib/libpthread/../../include -I/usr/src/lib/libpthread/arch/i386/include -I/usr/src/lib/libpthread/sys -I/usr/src/lib/libpthread/../../libexec/rtld-elf -fno-builtin -D_LOCK_DEBUG -D_PTHREADS_INVARIANTS -Wall -c /usr/src/lib/libpthread/sys/lock.c -o lock.So building shared library libkse.so.1 *** Error code 1 Stop in /usr/src/lib/libpthread. The one fix I found in the archives is what I was talking about but couldn't find in UPDATING. It involved make NOLIBPTHREAD=true buildworld ... make NOLIBPTHREAD=true installworld and then redoing everything with out the NOLIBPTHREAD. According to the comments, it was supposed to be fixed in -current but was not added to RELENG_5_1 because it wasn't a security problem. I would search on the variable and see if you find the message(s) and a patch. I thought it was by Ruslan but that didn't produce anything in a search. I've run out of search engine choices. FWIW, there are a few people that have bumped into it. ANy messages from them have been expired and deleted for a long time. Kent *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. [[end snip]] Please help. TIA Eric F Crist AdTech Integrated Systems, Inc (952) 403-9000 -Original Message- From: Kent Stewart [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 8:02 PM To: Eric Crist Subject: Re: Make world problems from 4.9 to 5.1 On Wednesday 26 November 2003 05:45 pm, you wrote: Are you referring to the: To get around the installworld problem, do: #cd /usr/src/usr.bin/sed #make install #cd /usr/src #make installworld If that doesn't work, then try: # make -k installworld # make installworld There is a sequence that starts To upgrade in-place from 4.x-stable to current -- # 5.x uses more space than 4.x. Also, the location of kernel # modules has changed. If you are installing 5.0 onto a 4.x # system, you'll need about 30MB of free disk space on your / # partition. If you have less than this, you may encounter difficult # to back out of problems with this procedure. If /tmp is on # the / partition, you may want to completely remove all its content # before upgrading, as this can be a common source of shortage of # space on /. But I remember having a sequence where you had to do a -d and that isn't there any more. BTW, when they changed statfs on 5-current not too long ago, a make world would have rendered your system unbootable. I have a machine that is running 4-stable and because of the increased usage, I will do a clean install. Coral has a / with around 60-80 MB used and 5.x needs about 2x more and I have /var and /tmp as 1.5GB systems because I log everything from cvsup to make index and store the logs on /var/log/build. I have either /usr/src or /usr/obj 49% used on 1.5GB partitions. I suspect it is /usr/obj but it is running XP right now. I like more freespace and will have a 500MB /. I have /usr/src and /usr/obj on different controllers (IDE) so that I have concurrent I/O. If you use scsi, it doesn't matter as much. Kent Eric F Crist AdTech Integrated Systems, Inc (952) 403-9000 -Original Message- From: Kent Stewart [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 7:24 PM To: Eric Crist Subject: Re: Make world problems from 4.9 to 5.1 On Wednesday 26 November 2003 04:44 pm, Eric Crist wrote: Hey all, I've got a Compaq Presario laptop with everything working great, except my wifi card. I've decided that I've been using 5.1 for a long time on my desktop without issue, so I want to upgrade my laptop. I can cvsup the sources fine, but when I enter into /usr/src and type make world, I get an error about checking the kernel to see if it's fresh enough and it dumps the core and exits. Is anyone else having this problem? I have
Re: Wifi ipsec freebsd
Hello, I too have set up a ipsec secured wireless network and this article helped clarify some of the points that were a bit hazy. Tunnel vs. transport mode was something I never fully understood. I did notice that when using transport mode only the packets between the 2 participating hosts were encrypted (tcpdump reveals all) and everything else (broadcast included) was still in the clear. Your guide has helped explain this. Well done on a structured, concise article. Matthew Faircliff On Tue, Nov 25, 2003 at 11:25:34AM -0800, Timothy Ham wrote: Date: Tue, 25 Nov 2003 11:25:34 -0800 (PST) From: Timothy Ham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Wifi ipsec freebsd After a few days of struggling, I have successfully set up an ipsec connection over wifi between a FreeBSD gateway and a Windows laptop. Since I had to search for the information I needed all over the net, I have written a step-by-step set-up guide to help anyone else trying to secure their wifi connection. I hope this is useful. Thanks for your attention. -Begin Guide- FreeBSD Wi-Fi IPsec easy-setup guide Timothy Ham tham (at) socrates berkeley edu Nov 23, 2003 Version 1.0 The latest version of this file can be found at: http://sahara.lbl.gov/~tham/wifi-ipsec.txt 0. Abstract --- An IPsec tunneling connection was set up between a MS-Windows host with wireless ethernet and a FreeBSD NAT gateway. This setup allowed the mobile host to have a secure and encrypted connection over an inherently insecure wi-fi radio network. 1. Introduction --- Recently I have purchased a Wireless Bundle, consisting of a wireless NAT router and a PCMCIA 802.11b card, for not a lot of money (I love cheap hardware). Being a consumer device, it was very easy to set up and to get it working with my existing home LAN. But difficulties arose when I tried to secure the connection, and also when I tried to protect the rest of my LAN from any intrusion through the wireless access point. The choice of IPsec over WEP was for me obvious. Besides WEP being insecure (secret key can be recovered easily), my PCMCIA card had a buggy firmware, which kept dropping connections when WEP was turned on. The problem was well documented on various web boards and the manufacturer had no updates to fix the problem (I hate cheap hardware). As such, I was left with a superior, but harder to setup, choice. There were some resources available on the web to set up IPsec VPN, but none of them were specific enough for my case. As such, I thought I would share my experience hoping it will be useful for others. 2. Isolating the Wireless LAN - My existing home LAN was as follows. I had a dual-homed FreeBSD NAT gateway with dhcpd running to dole out private IP address to any machine connected to the LAN. A guest could come by and connect their laptop to the LAN and surf the web. A typical setup. The first step was segregating the wireless LAN from the rest of my home LAN. I made this easy by installing another ethernet card ($10) into the FreeBSD box, and giving it a separate address space. For example, my existing LAN was using 192.168.1.x. The new ethernet card has 192.168.2.1. With proper firewall rules and IPsec, this segment can be isolated from the rest of my home LAN. Because my wireless access point is sold as a router/switch (it was much cheaper than a stand-alone access point--go figure) its router functions (DHPCD, NAT) had to be disabled. It had a web interface to change its settings. I also gave the wifi net a name. The router had 4 ethernet ports labled LAN, and one port labled WAN. Since I'm just using the wireless/switch portion, I connected my new ethernet card (192.168.2.1) to one of the LAN ports. The laptop was given a permanent IP of 192.168.2.10. 3. Transport Mode vs Tunnel Mode This part had confused me a great deal because the literature out there (including the FreeBSD handbook) mentions IPsec tunnels in terms of VPNs--that is, two gateway machines connecting two sub-nets over a secure tunnel using a virtual interface gif. So at first, I thought what I wanted was a transport layer, that encrypted packets end-to-end. But this is *not* what you want. All packets between the laptop (host) and the gateway (192.168.2.10-192.168.2.1) were encrypted. However, any other packets destined to the rest of the internet were not (192.168.2.10-www.yahoo.com). This is not what you want. What you *do* want is a encrypted tunnel between the host and the gateway that carries packets from the host to the rest of the internet. Here is what should happen: Any outgoing packet from the host to anywhere (192.168.2.10-www.yahoo.com) should be encrpyted and encapsulated in another packet designated to the gateway (192.168.2.10-192.168.2.1). Once the gateway receives the packet, it is decrypted and forwarded to www.yahoo.com. A returning packet
Ultra 2 SMP stop in probing devices during install
Hi there, i'm pretty new with freebsd. Currently i run a couple of sparc20 with OpenBSD. But i want to give Freebsd 5.1 a try. Unfortunately i cant get this Ultra2 with 2 CPUs working. When boot with first install CDROM it recognises the 2 cpus during the bootprocess and start probing for devices. I can stop this probing but then i end up in the OBP prompt again. Checked google and the docs but nothing here. I updated the OBP to 3.11. Any help is appreciated! Cheers, Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ultra 2 SMP stop in probing devices during install
On Thursday 27 November 2003 09:35, Jens Baedeker wrote: i'm pretty new with freebsd. Currently i run a couple of sparc20 with OpenBSD. But i want to give Freebsd 5.1 a try. Unfortunately i cant get this Ultra2 with 2 CPUs working. When boot with first install CDROM it recognises the 2 cpus during the bootprocess and start probing for devices. I can stop this probing but then i end up in the OBP prompt again. I have no idea why this happens, but you could try to boot with acpi disabled. Antoine ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Freebsd 4.9 and onboard Realtek alc650 sound chip
Hi all, is there a driver that will work with the Realtek alc650 sound chip? I have googled around and have not found anyone who has got this to work. Any hack to get 2 channels working would be appreciated, if not its back to Linux. Thanks Gary. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
poor NFS performance in 5.x
Hi :) I upgraded two boxes to FreeBSD-5.2-BETA a week ago and I noticed that NFS performance is very slow compared to 4.x-RELEASE. Before, NFS transfers were between 10 and 12 MB/s and now I don't go past 7 MB/s. My exports/mount settings did not change and the hardware is obviously the same. Any idea where I should start looking for resolving this ? It is important since I'm planning on upgrading some servers in the futur and homedir are mounted via NFS. Thanks in advance. Antoine ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.x DOS against NFS server
Hello everyone I found that the NFS server in the 5.x series (currently 5.1) crashes during portscans (because of the aborted connection to it). Running nmap or Nessus against the machines requires a manual restart of nfsd. Do others here also have this problem? I reproduced it on 5.0-RELEASE and 5.1-RELEASE. Kind regards Guy -- __ Guy Van Sanden http://unixmafia.port5.com Registered Linux user #249404 - September 1997 __ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.x downgrade recommendation
I've moved to the 5.x branch since 5.0-RLEASE, currently, I'm running 5.1-RELEASE. I'm now considering if I will do the upgrade to 5.2-RELEASE, or reinstall the system with 4.9 or 4.10. The 5.x branch seems to remain rather unstable longer then I had anticipated. What would you guys recommend, wait out for 5.3 (which is supposed to be 4.x-like stable), or move back to 4.9 (or 4.10 soon). Will 5.2 be much better? I know I made the move too soon, but at that time, I was relatively new to FreeBSD (coming from linux) and I misjudged the readiness of 5.x and I hadn't forseen that my homeserver would become that important (It is a CVS repository for 4 websites now). Thanks for your advice Guy -- __ Guy Van Sanden [EMAIL PROTECTED] http://unixmafia.port5.com PGP KeyID: 28F16C35 http://users.pandora.be/guyness/gvs/gvs.asc Fingerprint: 7436 65AE 8B18 6995 9D63 ED2B D670 A283 28F1 6C35 Registered Linux user #249404 - September 1997 __ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.x downgrade recommendation
I've moved to the 5.x branch since 5.0-RLEASE, currently, I'm running 5.1-RELEASE. I'm now considering if I will do the upgrade to 5.2-RELEASE, or reinstall the system with 4.9 or 4.10. The 5.x branch seems to remain rather unstable longer then I had anticipated. What would you guys recommend, wait out for 5.3 (which is supposed to be 4.x-like stable), or move back to 4.9 (or 4.10 soon). Will 5.2 be much better? I know I made the move too soon, but at that time, I was relatively new to FreeBSD (coming from linux) and I misjudged the readiness of 5.x and I hadn't forseen that my homeserver would become that important (It is a CVS repository for 4 websites now). Thanks for your advice Guy -- __ Guy Van Sanden [EMAIL PROTECTED] http://unixmafia.port5.com PGP KeyID: 28F16C35 http://users.pandora.be/guyness/gvs/gvs.asc Fingerprint: 7436 65AE 8B18 6995 9D63 ED2B D670 A283 28F1 6C35 Registered Linux user #249404 - September 1997 __ -- __ Guy Van Sanden http://unixmafia.port5.com Registered Linux user #249404 - September 1997 __ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Arplookup error.
On Thu, Nov 27, 2003 at 12:55:19AM -0500, Dragoncrest wrote: [Warnings about ethernet addresses] I'd like to know this too. I have a FreeBSD 4.8-RELEASE box that exhibits the same symptoms. The addresses it complains about belong to a colo box on our network and a cisco router. That's a big Ditto for me too. I got the same problem on one of my bsd workstations up at work too, but only when accessing either of our two Oracle servers. So yeah, I'd love to know the resolution to this too if someone finds one. :) The warnings you're seeing are there to help pick up some common configuration errors on the local network. However, it is perfectly reasonable to design a network that does those sort of things deliberately: this seems to be the case with several common DSL or Cable Modem setups nowadays. You can turn off some types of warning by: # sysctl net.link.ether.inet.log_arp_wrong_iface=0 # sysctl net.link.ether.inet.log_arp_movements=0 Use sysctl.conf(5) to have those values set automatically on reboot. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: poor NFS performance in 5.x
On Thu, Nov 27, 2003 at 10:12:21AM +0100, Antoine Jacoutot wrote: Hi :) I upgraded two boxes to FreeBSD-5.2-BETA a week ago and I noticed that NFS performance is very slow compared to 4.x-RELEASE. Before, NFS transfers were between 10 and 12 MB/s and now I don't go past 7 MB/s. My exports/mount settings did not change and the hardware is obviously the same. Any idea where I should start looking for resolving this ? Try reading the basic documentation that comes with 5.2-BETA, for example the /usr/src/UPDATING file, which tells you clearly that performance is not expected to be good unless you disable the standard debugging options. Also make sure you read the 5.x Early Adopter's Guide, available on the website. Kris pgp0.pgp Description: PGP signature
Re: 5.x downgrade recommendation
On Thu, Nov 27, 2003 at 10:18:00AM +0100, Guy Van Sanden wrote: I've moved to the 5.x branch since 5.0-RLEASE, currently, I'm running 5.1-RELEASE. I'm now considering if I will do the upgrade to 5.2-RELEASE, or reinstall the system with 4.9 or 4.10. The 5.x branch seems to remain rather unstable longer then I had anticipated. What would you guys recommend, wait out for 5.3 (which is supposed to be 4.x-like stable), or move back to 4.9 (or 4.10 soon). Will 5.2 be much better? Hopefully, but it's not yet designated as -STABLE because it needs to become better-proven. Stick with the 4.x branch if you don't want to deal with this kind of problem. Kris pgp0.pgp Description: PGP signature
Re: Starting new entries in /etc/rc.conf
On Wed, Nov 26, 2003 at 02:00:27PM -0800, Kevin Stevens wrote: If you're running the U10 headless, dropping DTR on the connection will, by default, drop the U10 into OpenBoot, stopping execution of the OS (this is true on most if all Sun boxes, not just the U10). There's a simple setting change to make on the U10 if you don't want this to happen. I no longer recall what it is offhand, but a quick Google should fix you up. On most sun kit, turning the power key to the padlock symbol will prevent the system breaking to OBP on loss of DTR on the console. There's an equivalent thing you can do on the netras and other small kit that doesn't have a key as such -- I think it's just setting an environment variable in the OBP stuff. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: poor NFS performance in 5.x
On Thursday 27 November 2003 10:28, Kris Kennaway wrote: Try reading the basic documentation that comes with 5.2-BETA, for example the /usr/src/UPDATING file, which tells you clearly that performance is not expected to be good unless you disable the standard I've been running CURRENT on test boxes for months, I know that and this is not the problem, I have my own compiled kernel without debugging options set. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: netra t1
On Wed, Nov 26, 2003 at 04:36:23PM -0500, Lowell Gilbert wrote: Guilherme Starvaggi [EMAIL PROTECTED] writes: I would like to know if the computer - NETRA T1 150 from SUN - support the FREEBSD system? I am thinking in buy this computer, but I have no experience with servers like this, and either with the FREEBSD. I have a little experience with the usual LINUX. Do you think it is good to try this change? FreeBSD has only very rough support for that type of hardware at this time. NetBSD has supported it for years, and is a similar operating system. Err... sparc64 is now a tier 1 supported architecture in 5.x: see http://www.freebsd.org/releases/5.1R/hardware-sparc64.html and http://www.freebsd.org/platforms/sparc.html Support is rather better than rough, although there are apparently some problems installing using the Sun console -- you should use a serial console instead. It's also the case that 5.x is not really suitable for a production system yet: the releases are marked as New Technology -- see http://www.freebsd.org/releases/5.1R/early-adopter.html This also makes 5.x rather less suitable for FreeBSD beginners. The soon to be released version 5.2 (due early in December) should be yet another leap in stability and performance. That release might be most appropriate for the OP if he's willing to wait for it. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Quadruple(4) processor
Dear All, Is there any body who install FreeBSD OS on a four(4) processor motherboard? Which version of FreeBSD support four processor? Which type of motherboard is suitable for handling FreeBSD OS as a firewall machine?At least 2 processor I need. What is the last version of FreeBSD? --Any help will be appreciable. --Mehrdad. Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs http://www.yahoo.co.uk/robbiewilliams ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
results of compiling with -lmysqlclient
I just realized that when I compile with -lmysqlclient I am adding the current version to my program or in my specific case libmysqlclient.so.10. When I upgrade, as I just did, to libmysqlclient.so.12, I have to recompile. Is there not a way to use libmysqlclient.so that is a link to the current active version or is there some reason why that would not be a good solution. I seldom see problems with backwards compatability and I have been know to create a link from the current library to the missing name without problems when I haven't had the source handy. Thanks for clearing this up for me. lee _ Set yourself up for fun at home! Get tips on home entertainment equipment, video game reviews, and more here. http://special.msn.com/home/homeent.armx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: results of compiling with -lmysqlclient
On Thu, Nov 27, 2003 at 03:39:05AM -0800, Lee Mx wrote: I just realized that when I compile with -lmysqlclient I am adding the current version to my program or in my specific case libmysqlclient.so.10. When I upgrade, as I just did, to libmysqlclient.so.12, I have to recompile. Is there not a way to use libmysqlclient.so that is a link to the current active version or is there some reason why that would not be a good solution. I seldom see problems with backwards compatability and I have been know to create a link from the current library to the missing name without problems when I haven't had the source handy. No. The version number on shared libraries is changed when the ABI (application binary interface) presented by the shlib changes. Your application can only load a shared library of the same ABI version as the one it was compiled against. Including the ABI version number in the shlib file name makes this explicit and helps weed out these sort of problems. The ABI can change independently of the API (application programming interface) -- so that exactly the same source code can be compiled and linked against either shlib version. Or, at least, that's the theory: not all shlib producers get it right, confusing the shlib version with the software version -- ever wonder why libjpeg.so (part of the graphics/jpeg port) is at libjpeg.so.9 ? Some producers will only update the number when there's a change that breaks backwards compatibility but not when it breaks forwards compatibility. (The FreeBSD system libc.so works in this way: there were some important functions added to libc somewhere between 4.0 and 4.2 which means that some programs compiled under 4.3 or greater won't work on 4.0-4.2, but compile the same programs under 4.2 and they'll still continue working under later system versions.) This problem is why you should always take any advice to solve shlib incompatability problems by making sym-links to differently named versions of the shlib with a huge grain of salt. It might work, but chances are various stuff will fail in inexplicable ways. The only real cures are either to keep multiple ABI versions of shlibs around, or to recompile everything that uses that shlib. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Vinum U320 SCSI, slower than UDMA100 IDE ?
Hi, I recently installed a Dual P4 2.8ghz with FBSD 4.9 and made a RAID10 array of the 4 scsi disks available. The idea was that this would be faster to read from than normal IDE disks. As a test I took the company's web/ directory, which is 1.6gb in size and has 22082 files. I extracted this web/ directory on the IDE disk and on the RAID10 array, and noticed that extracting it took much longer on RAID10 than it did on IDE. I assumed that it was slower on RAID10 because it needed to stripe the data to all these disks, mirror it and what not. Then I did a read test, like this: | date;find . -type f|while read FILE;do cat $FILE /dev/null;done;date I know it's not the most sophisticated test, but at least it shows that on the IDE disk, this 'test' took 24 seconds to complete. On the RAID10 array it took a whopping 73 seconds to complete. I would understand if the RAID10 array was as fast as IDE, or faster, but i'm a bit amazed by these results. The RAID10 array was built on 4x 36.7gb Ultra320 SCSI disks, connected to an Adaptec 39320D Ultra320 SCSI adapter, which is a PCI-X card, configured in a PCI-X slot. dmesg shows this for each of the 4 disks connected: | da0 at ahd0 bus 0 target 2 lun 0 | da0: MAXTOR ATLAS10K4_36WLS DFV0 Fixed Direct Access SCSI-3 device | da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), | Tagged Queueing Enabled | da0: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C) The relevant volume for this in the vinum config looks like this: | volume varweb setupstate | plex org striped 3841k | sd length 7G drive vd0 | sd length 7G drive vd1 | sd length 7G drive vd2 | sd length 7G drive vd3 | plex org striped 3841k | sd length 7G drive vd3 | sd length 7G drive vd2 | sd length 7G drive vd1 | sd length 7G drive vd0 Relevant parts from mount now show: | /dev/ad0s1g on /backup (ufs, local, soft-updates) | /dev/vinum/varweb on /var/web (ufs, local, soft-updates) What could cause this major decrease in speed? Or is this normal behaviour, and is the RAID array faster with concurrent reads / writes than the IDE disk, but not with single reads / writes? As a possible reason for this slowdown the only thing I can find is this, from dmesg: | ahd0: Adaptec 39320D Ultra320 SCSI adapter port 0x7000-0x70ff,0x7400-0x74ff mem 0xfc20-0xfc201fff irq 10 at device 1.0 on pci3 | aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs | ahd1: Adaptec 39320D Ultra320 SCSI adapter port 0x7800-0x78ff,0x7c00-0x7cff mem 0xfc202000-0xfc203fff irq 10 at device 1.1 on pci3 | aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs [ .. later on in the boot process .. ] | ahd1: PCI error Interrupt | Dump Card State Begins | ahd1: Dumping Card State at program address 0x94 Mode 0x22 | Card was paused | HS_MAILBOX[0x0] INTCTL[0x0] SEQINTSTAT[0x0] SAVED_MODE[0x0] | DFFSTAT[0x30]:(CURRFIFO_0|FIFO0FREE|FIFO1FREE) SCSISIGI[0x0]:(P_DATAOUT) | SCSIPHASE[0x0] SCSIBUS[0x0] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) | SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) | SEQCTL0[0x10]:(FASTMODE) SEQINTCTL[0x80]:(INTVEC1DSL) | SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] SSTAT0[0x0] SSTAT1[0x8]:(BUSFREE) | SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) | LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0] | LQOSTAT1[0x0] LQOSTAT2[0x0] | | SCB Count = 16 CMDS_PENDING = 0 LASTSCB 0x CURRSCB 0x0 NEXTSCB 0x0 | qinstart = 0 qinfifonext = 0 | QINFIFO: | WAITING_TID_QUEUES: | Pending list: | Total 0 | Kernel Free SCB list: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 | Sequencer Complete DMA-inprog list: | Sequencer Complete list: | Sequencer DMA-Up and Complete list: | | ahd1: FIFO0 Free, LONGJMP == 0x80ff, SCB 0x0 | SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) | SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) | SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] | SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 | HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) | ahd1: FIFO1 Free, LONGJMP == 0x80ff, SCB 0x0 | SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) | SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) | SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] | SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 | HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) | LQIN: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 | ahd1: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE = 0x42 | ahd1: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x0 | | SIMODE0[0x6c]:(ENOVERRUN|ENIOERR|ENSELDI|ENSELDO) | CCSCBCTL[0x0] | ahd1: REG0 == 0x3533, SINDEX = 0x33, DINDEX = 0x0 | ahd1: SCBPTR == 0x0, SCB_NEXT == 0xff00, SCB_NEXT2 == 0x0 | CDB 0 0 0 0 0 0 | STACK: 0x1 0x8 0x7 0x6 0x5 0x4 0x3
migrating users
Hi all, I'm going to move move my sendmail server to a new machine. The new machine will use postfix and virtual users, now what I cant't figure out is how to migrate the users (and keep the old passwords). Does anyone know of a procedure to extract plain text passwords for all users ? Or maybe just pointers where to look. Thanks Rob Evers ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Acpi and Freebsd4.9 release
Hi ! I have a little problem with acpi on the 4.9 release. I have compiled the kernel with the device and dmesg gives me the following: bash-2.05b# dmesg |grep acpi acpi0: DELL CPi on motherboard acpi_cpu0: CPU on acpi0 acpi_tz0: thermal zone on acpi0 acpi_acad0: AC adapter on acpi0 acpi_cmbat0: Control method Battery on acpi0 acpi_cmbat1: Control method Battery on acpi0 acpi_lid0: Control Method Lid Switch on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 Now that is all fine and i'm happy, but i cant seem to find any way to use this, i have no acpi or acpiconf tried to locate them in /usr/ports/INDEX to see if it was something i needed to install, but with no luck. I Did find /usr/ports/devel/acpicatools, but that package did not include the acpi or acpiconf. So simply but, my questions is, where do i locate these 2 so i can actually use the acpi functions. With best regards // Eric Olsson ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: services bootup order
Selon Jean-Baptiste Quenot [EMAIL PROTECTED]: I know this error appears because sendmail starts before MIMEDefang, so my question is: how can I make MIMEDefang starts before sendmail ? The MIMEDefang startup script is located under /usr/local/etc/rc.d Make a symlink from /etc/rc.d/mimedefang.sh to /usr/local/etc/rc.d/mimedefang.sh, as sendmail is started from /etc/rc.d in FreeBSD 5.1. Actually, I just tried this and it does not work. Sendmail starts before MIMEDefang whatever I try... Any idea ? Antoine ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFILTER rules with shell symbloic substitution
# [EMAIL PROTECTED] / 2003-11-26 12:13:53 -0600: In the last episode (Nov 26), fbsd_user said: Looking for way to code IPFILTER rules with shell symbolic substitution. I know how to do it in the rules, but how to get ipf pgm to exec in shell? Any body have example of how to setup this? /etc/rc.firewall has lots of examples using ipfw; the concepts should work just as well with ipf. that won't work with ipf, but: you can have the rules passed through /bin/sh (which would do the substitutions), and piped into ipf. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: migrating users
Either try john the ripper or similar password crackers. (ports or www.openwall.net) -Original Message- From: Rob Evers [mailto:[EMAIL PROTECTED] Sent: 27 November 2003 13:51 To: [EMAIL PROTECTED] Subject: migrating users Hi all, I'm going to move move my sendmail server to a new machine. The new machine will use postfix and virtual users, now what I cant't figure out is how to migrate the users (and keep the old passwords). Does anyone know of a procedure to extract plain text passwords for all users ? Or maybe just pointers where to look. Thanks Rob Evers ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: migrating users
Quoting Vince Hoffman ([EMAIL PROTECTED]): I'm going to move move my sendmail server to a new machine. figure out is how to migrate the users (and keep the old passwords). Does anyone know of a procedure to extract plain text passwords for all users ? Or maybe just pointers where to look. Either try john the ripper or similar password crackers. (ports or www.openwall.net) Why would you want to have the cleartext passwords for all users to be able to migrate? What you could do is start 'vipw' as root on the original server, save that file to disk under a different name, start 'vipw' on the new server, and read in the saved file, and save it again. Next you'd have to make sure the groups are in tact. Either copy it (/etc/group), or manually set it to the correct values. That should do the trick. That is, IF your new server is a fresh FBSD install. Sander. -- | If peanut butter cookies are made from peanut butter, | then what are Girl Scout cookies made out of? | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.x DOS against NFS server
I found that the NFS server in the 5.x series (currently 5.1) crashes during portscans (because of the aborted connection to it). Running nmap or Nessus against the machines requires a manual restart of nfsd. I just portscanned my 5.2-BETA box running NFS server, no problems. What parameters did you use? Mike Squires ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: migrating users
Sander Smeenk wrote: Quoting Vince Hoffman ([EMAIL PROTECTED]): I'm going to move move my sendmail server to a new machine. figure out is how to migrate the users (and keep the old passwords). Does anyone know of a procedure to extract plain text passwords for all users ? Or maybe just pointers where to look. Either try john the ripper or similar password crackers. (ports or www.openwall.net) Why would you want to have the cleartext passwords for all users to be able to migrate? What you could do is start 'vipw' as root on the original server, save that file to disk under a different name, start 'vipw' on the new server, and read in the saved file, and save it again. Next you'd have to make sure the groups are in tact. Either copy it (/etc/group), or manually set it to the correct values. That should do the trick. That is, IF your new server is a fresh FBSD install. Sander. The problem is I need to put the users in a database (virtual mail users). So I need to crypt the passwords with the database crypt function. Rob -- Those who don't read have no advantage over those who can't -Mark Twain ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.x DOS against NFS server
I just ran nmap host... Nessus has the same effect. Maybe this is fixed between 5.1 and 5.2. On Thu, 2003-11-27 at 16:30, Michael L. Squires wrote: I found that the NFS server in the 5.x series (currently 5.1) crashes during portscans (because of the aborted connection to it). Running nmap or Nessus against the machines requires a manual restart of nfsd. I just portscanned my 5.2-BETA box running NFS server, no problems. What parameters did you use? Mike Squires -- __ Guy Van Sanden http://unixmafia.port5.com Registered Linux user #249404 - September 1997 __ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftp install
John Ball [EMAIL PROTECTED] writes: Hello I am trying to install freebsd over ftp on an older(266mhz pentium) noname laptop. Following the instructions I am stuck at one point...when I get to the boot: prompt how do I get to the kernel configuratoin menu? There is some inconsistency between the instructions and my install. Maybe its my floppies? Which version? You need 5.x to handle CardBus, but 5.x is still slightly experimental, so the manual may not reflect it as well as 4.x. I have gnet firewall/router. Eh? I try to install over ftp, sysinstall asks me about slip/ppp info so I am assuming that my nic(xircom cardbus 10/100, model:rbe-100) isn't loading the drivers correctly or there is perhaps a resouce conflict. I have read the section of the install instructions that discusses this, but I can't seem to get to that point in the install...I go from the boot prompt(skipping kernel configuration menu) straight to the sysinstall menu. What am I doing wrong? How do I confirm that my NIC is loading right or is there some other setting for dhcp that i am missing? Watch the messages as the kernel is booting, and see if it notices the NIC or even the bus it is on. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: netra t1
Matthew Seaman [EMAIL PROTECTED] writes: Err... sparc64 is now a tier 1 supported architecture in 5.x: see http://www.freebsd.org/releases/5.1R/hardware-sparc64.html and http://www.freebsd.org/platforms/sparc.html Oops; I was, indeed, mistaken. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help!: 160 gig only seen as 152 gig??
Robin Schoonover [EMAIL PROTECTED] writes: Hmm. I don't think this question is in the FAQ, but it seems asked often enough. At least I didn't see it in there. Maybe it should get added... I'm not in anyway indicating I want to help document, because I don't want to end up get stuck doing that (I'll start feeling I have an obligation, and yadda-yadda). I'm just trying to throw the idea out so someone else will do it :P I submitted it last week (Problem Report docs/59565). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
php4 vs. mod_php4 - now mutually exclusive
Since the last update of php4 and mod_php4 in the ports directory, they are now mutually exclusive whereas before I had both installed Currently, I have mod_php4-4.3.4.r1,1 and php4-4.3.4.r1 both installed. Each port has been upgraded to 4.3.4_2,1 and 4.3.4_2 respectively Most of the dependencies rely on php4-4.3.4.r1, but I have three ports that are specifically asking for mod_php4: geeklog-1.3.7.s.2 mnemo-1.1 nag-1.1 If I de-install mod_php4, will these three ports work with php4? Anyone have any ideas? -Troy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: fork() failed: Resource temporarily
Hi, can someone help and tell me why I'm getting fork failed: Resource temporarily unavailable? I installed freebsd on new, and I upgrade my freebsd version to 5.1-rel, configure rc.conf, syslog.conf, hosts.allow, ipfw, etc all.log:Nov 27 05:15:40 devilz sm-mta[428]: runqueue: Skipping queue run -- fork() failed: Resource temporarily unavailable all.log:Nov 27 05:15:41 devilz sm-msp-queue[431]: runqueue: Skipping queue run -- fork() failed: Resource temporarily unavailable cron:Nov 27 03:11:01 devilz /usr/sbin/cron[497]: (CRON) error (can't fork) Regards, Vlado Zoric http://www.email.si/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gnomemeeting-0.98.5_1 - openh323 failing in rtp.h
I was trying to portupgrade gnomemeeting-0.98.5 to 0.98.5_1 and ran into issues with the openh323 dependency. Anyone have any ideas? -Troy In file included from /usr/ports/net/openh323/work/openh323/include/codecs.h:263, from /usr/ports/net/openh323/work/openh323/include/h323caps.h:169, from /usr/ports/net/openh323/work/openh323/include/h323con.h:255, from h323.cxx:1089: /usr/local/include/ffmpeg/rtp.h:26: `AVCodecContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:26: `codec' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:26: syntax error before `)' /usr/local/include/ffmpeg/rtp.h:26: initializer list being treated as compound expression /usr/local/include/ffmpeg/rtp.h:27: `AVCodecContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:27: `codec' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `AVFormatContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `s1' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `AVPacket' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `pkt' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:29: syntax error before `unsigned' /usr/local/include/ffmpeg/rtp.h:29: initializer list being treated as compound expression /usr/local/include/ffmpeg/rtp.h:31: syntax error before `;' /usr/local/include/ffmpeg/rtp.h:32: syntax error before `;' /usr/local/include/ffmpeg/rtp.h:34: `URLContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:34: `h' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:35: `URLContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:35: `h' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:35: syntax error before `char' /usr/local/include/ffmpeg/rtp.h:35: initializer list being treated as compound expression /usr/local/include/ffmpeg/rtp.h:36: `URLContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:36: `h' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:36: syntax error before `*' /usr/local/include/ffmpeg/rtp.h:36: variable or field `rtp_get_file_handles' declared void /usr/local/include/ffmpeg/rtp.h:36: initializer list being treated as compound expression /usr/local/include/ffmpeg/rtp.h:38: syntax error before `;' gmake[2]: *** [/usr/ports/net/openh323/work/openh323/lib/obj_FreeBSD_x86_r/h323.o] Error 1 gmake[2]: Leaving directory `/usr/ports/net/openh323/work/openh323/src' gmake[1]: *** [opt] Error 2 gmake[1]: Leaving directory `/usr/ports/net/openh323/work/openh323' gmake: *** [optnoshared] Error 2 *** Error code 2 Stop in /usr/ports/net/openh323. *** Error code 1 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
possible solution to cdbakeoven failing to detect ATAPI burners
Hi, There has been signifigant discussion here in the past about cdbakeoven not detecting ATAPI burners when run as an ordinary user. I had this issue, and may have a solution. Be sure your kernel is compiled with device atapicam. As root do: # chmod u+s /usr/local/bin/cdrecord Which will allow cdrecord to run as suid root. Then start cdbakeoven, enter the Settings dialog, click the CDROM Devices icon, click the scanbus tab, click the rescan button. Doing that detected my atapi burner as a scsi device! Next, I clicked the Customize Defaults icon, and ticked 'do scanbus automatically'. Then I closed cdbakeoven, restarted it, and my atapi burner was detected! I hope this works for you! -- Thanks, Charles http://howse.homeunix.net:8080 Random Murphy's Law: An original idea can never emerge from committee in its original form. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mfs is getting full (/etc/rc.diskless2)
Hi, I've setup a firewall with a compact flash instead of a hard-drive. This is the output of mount: /dev/ad0s2a on / (ufs, local, read-only) mfs:17 on /var (mfs, asynchronous, local) procfs on /proc (procfs, local) mfs:36 on /dev (mfs, asynchronous, local) As you see, I mount the compact flash as read-only and I setup a memory filesystem for /var In my rc.conf file: diskless_mount=/etc/rc.diskless2 varsize=131072 Output of: df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s2a229942 197570 1397893%/ mfs:17 63471 56584 181097%/var procfs 4 4 0 100%/proc mfs:36 1503 66 1317 5%/dev Output of: df -h FilesystemSize Used Avail Capacity Mounted on /dev/ad0s2a 225M 193M14M93%/ mfs:17 62M55M 1.8M97%/var procfs4.0K 4.0K 0B 100%/proc mfs:361.5M66K 1.3M 5%/dev Output of: du -h -d 1 /var 364K/var/db 1.0K/var/account 3.0K/var/at 1.0K/var/backups 1.0K/var/crash 2.0K/var/cron 1.0K/var/empty 5.0K/var/games 1.0K/var/heimdal 3.2M/var/log 31K/var/mail 2.0K/var/msgs 1.0K/var/preserve 47K/var/run 1.0K/var/rwho 16K/var/spool 3.0K/var/tmp 1.0K/var/yp 1.6M/var/mrtg 2.0K/var/ucd-snmp 5.3M/var Output of: du -d 1 /var 364 /var/db 1 /var/account 3 /var/at 1 /var/backups 1 /var/crash 2 /var/cron 1 /var/empty 5 /var/games 1 /var/heimdal 3299/var/log 31 /var/mail 2 /var/msgs 1 /var/preserve 47 /var/run 1 /var/rwho 16 /var/spool 3 /var/tmp 1 /var/yp 1670/var/mrtg 2 /var/ucd-snmp 5456/var It seems to have a big difference between the output of df and du. My problem is, my /var partition is getting filled very quickly and I don't know why ? I don't know what to clean. I've already deleted some log, but I saved only 2% of free space or 1000 block. I don't know what is taking all this space ? Any ideas ? Vincent Goupil ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: possible solution to cdbakeoven failing to detect ATAPI burners
Charles Howse [EMAIL PROTECTED] writes: There has been signifigant discussion here in the past about cdbakeoven not detecting ATAPI burners when run as an ordinary user. I had this issue, and may have a solution. Be sure your kernel is compiled with device atapicam. As root do: # chmod u+s /usr/local/bin/cdrecord Which will allow cdrecord to run as suid root. In other words, it's still not being run as an ordinary user... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[FAQ pointer.] Re: mfs is getting full (/etc/rc.diskless2)
freebsd [EMAIL PROTECTED] writes: It seems to have a big difference between the output of df and du. My problem is, my /var partition is getting filled very quickly and I don't know why ? I don't know what to clean. I've already deleted some log, but I saved only 2% of free space or 1000 block. I don't know what is taking all this space ? Any ideas ? FAQ: The du and df commands show different amounts of disk space available. What is going on? http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: possible solution to cdbakeoven failing to detect ATAPI burners
On Thursday 27 November 2003 11:16 am, Lowell Gilbert wrote: Charles Howse [EMAIL PROTECTED] writes: There has been signifigant discussion here in the past about cdbakeoven not detecting ATAPI burners when run as an ordinary user. I had this issue, and may have a solution. Be sure your kernel is compiled with device atapicam. As root do: # chmod u+s /usr/local/bin/cdrecord Which will allow cdrecord to run as suid root. In other words, it's still not being run as an ordinary user... cdbakeoven *is* being run as an ordinary user, which was the original issue, but to detect an atapi burner, it has to do 'cdrecord -scanbus', which will fail if not run as root. Make sense? -- Thanks, Charles http://howse.homeunix.net:8080 Random Murphy's Law: If there was any justice in this world, people would occasionally be permitted to fly over pigeons. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: results of compiling with -lmysqlclient
From: Matthew Seaman [EMAIL PROTECTED] To: Lee Mx [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: results of compiling with -lmysqlclient Date: Thu, 27 Nov 2003 12:32:47 + On Thu, Nov 27, 2003 at 03:39:05AM -0800, Lee Mx wrote: I just realized that when I compile with -lmysqlclient I am adding the current version to my program or in my specific case libmysqlclient.so.10. When I upgrade, as I just did, to libmysqlclient.so.12, I have to recompile. Is there not a way to use libmysqlclient.so that is a link to the current active version or is there some reason why that would not be a good solution. I seldom see problems with backwards compatability and I have been know to create a link from the current library to the missing name without problems when I haven't had the source handy. No. The version number on shared libraries is changed when the ABI (application binary interface) presented by the shlib changes. Your application can only load a shared library of the same ABI version as the one it was compiled against. Including the ABI version number in the shlib file name makes this explicit and helps weed out these sort of problems. The ABI can change independently of the API (application programming interface) -- so that exactly the same source code can be compiled and linked against either shlib version. Or, at least, that's the theory: not all shlib producers get it right, confusing the shlib version with the software version -- ever wonder why libjpeg.so (part of the graphics/jpeg port) is at libjpeg.so.9 ? Some producers will only update the number when there's a change that breaks backwards compatibility but not when it breaks forwards compatibility. (The FreeBSD system libc.so works in this way: there were some important functions added to libc somewhere between 4.0 and 4.2 which means that some programs compiled under 4.3 or greater won't work on 4.0-4.2, but compile the same programs under 4.2 and they'll still continue working under later system versions.) This problem is why you should always take any advice to solve shlib incompatability problems by making sym-links to differently named versions of the shlib with a huge grain of salt. It might work, but chances are various stuff will fail in inexplicable ways. The only real cures are either to keep multiple ABI versions of shlibs around, or to recompile everything that uses that shlib. THanks a lot, Matthew. I assumed as much. I think I am going to start backing up some of my more frequent libs to a compat directory. That seems to be the least bad solution. Thanks again for such a complete explanation and examples. ed _ From the hottest toys to tips on keeping fit this winter, youll find a range of helpful holiday info here. http://special.msn.com/network/happyholidays.armx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
X startup
Hi, I have just finished installing FreeBSD 4.7, everything is working fine even X. When I use startx as root Gnome and enlightment loads,but when I load on with my username and startx it loads Xterm. My question is how do I get Gnome to load instead of xterm? I am new to freebsd and am not sure where to look. I tried to find an answer on google,but no luck. Thanks for any replies, Ed -- This email composed using RedHat Linux 9.0 Linux: Limited only by your imagination and your ability to learn. In God we trust! Check out our linux group's website http://www.bedog1.net/~catawbapath/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X startup
On Thursday 27 November 2003 12:05 pm, Ed Stewart wrote: Hi, I have just finished installing FreeBSD 4.7, everything is working fine even X. When I use startx as root Gnome and enlightment loads,but when I load on with my username and startx it loads Xterm. My question is how do I get Gnome to load instead of xterm? I am new to freebsd and am not sure where to look. I tried to find an answer on google,but no luck. Thanks for any replies, Ed Create the file, .xinitrc in the users directory. In that file add - exec gnomesession That ought to do it -- Best regards, Chris __ PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363 PGP Mail encouraged / preferred - keys available on common key servers __ 01010010011101100011011001010111001001011000 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Linux_Base-8 install
I'm running 4.7 Release on one of my systems and am trying to install the linux_base-8 from ports. It's failing with the following error: === linux_base-8-8.0_1 depends on executable: rpm - found kern.fallback_elf_brand: 3 - 3 glibc-common-2.3.2-4.80.6.i386.rpm /usr/sbin/build-locale-archive: cannot lock new archive: Invalid argument execution of glibc-common-2.3.2-4.80.6 script failed, exit status 1 *** Error code 1 Has anyone run into this before? -- Micheal Patterson Network Administration Cancer Care Network 405-917-0600 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X startup
On Thursday 27 November 2003 12:09 pm, Chris wrote: On Thursday 27 November 2003 12:05 pm, Ed Stewart wrote: Hi, I have just finished installing FreeBSD 4.7, everything is working fine even X. When I use startx as root Gnome and enlightment loads,but when I load on with my username and startx it loads Xterm. My question is how do I get Gnome to load instead of xterm? I am new to freebsd and am not sure where to look. I tried to find an answer on google,but no luck. Thanks for any replies, Ed Create the file, .xinitrc in the users directory. In that file add - exec gnomesession That ought to do it Sorry, gnome-session My bad -- Best regards, Chris __ PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363 PGP Mail encouraged / preferred - keys available on common key servers __ 01010010011101100011011001010111001001011000 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X startup
On Thursday 27 November 2003 12:05 pm, Ed Stewart wrote: Hi, I have just finished installing FreeBSD 4.7, everything is working fine even X. When I use startx as root Gnome and enlightment loads,but when I load on with my username and startx it loads Xterm. My question is how do I get Gnome to load instead of xterm? I am new to freebsd and am not sure where to look. I tried to find an answer on google,but no luck. Thanks for any replies, Ed Look at /root/.xsession, then look at /home/your_username/.xsession. You'll probably want to copy something from root's to yours. -- Thanks, Charles http://howse.homeunix.net:8080 Random Murphy's Law: In case of doubt, make it sound convincing. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: X startup
Hello, Did you edit your ~/.xinitrc with your user? Try this: exec gnome-session and put it in this file: /home/youruser/.xinitrc where youruser is your username. Edwin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ed Stewart Sent: Thursday, November 27, 2003 2:05 PM To: freebsd list Subject: X startup Hi, I have just finished installing FreeBSD 4.7, everything is working fine even X. When I use startx as root Gnome and enlightment loads,but when I load on with my username and startx it loads Xterm. My question is how do I get Gnome to load instead of xterm? I am new to freebsd and am not sure where to look. I tried to find an answer on google,but no luck. Thanks for any replies, Ed -- This email composed using RedHat Linux 9.0 Linux: Limited only by your imagination and your ability to learn. In God we trust! Check out our linux group's website http://www.bedog1.net/~catawbapath/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vim keyboard mapping problems (ssh)
* Khairil Yusof: home,end,cursor keys work, but tab doesn't work for commands. tab key displays ^I instead. Try: :set nolist :help 'nolist' vim (insert mode): up cursor= A + enter left cursor = D + enter right cursor = C + enter down cursor = B + enter This is a terminal problem. Try with different TERM values. Cheers, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ pgp0.pgp Description: PGP signature
Re: results of compiling with -lmysqlclient
On Thu, Nov 27, 2003 at 09:39:28AM -0800, Lee Mx wrote: THanks a lot, Matthew. I assumed as much. I think I am going to start backing up some of my more frequent libs to a compat directory. That seems to be the least bad solution. Note that portupgrade(1) and pkg_deinstall(1) do this automatically whenever you update a package containing share objects or libraries -- check out /usr/local/lib/compat/pkg and the output of 'ldconfig -r' for details. There's also the sysutils/libchk port which will help you find binaries that link against those old library versions. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: X startup
On Thursday 27 November 2003 12:05 pm, Ed Stewart wrote: Hi, I have just finished installing FreeBSD 4.7, everything is working fine even X. When I use startx as root Gnome and enlightment loads,but when I load on with my username and startx it loads Xterm. My question is how do I get Gnome to load instead of xterm? I am new to freebsd and am not sure where to look. I tried to find an answer on google,but no luck. Thanks for any replies, Ed Someone correct me if I'm wrong... From what I understand .xsession is only read when logging in with xdm, the graphical login manager, so .xinitrc is the correct file to edit, as others have mentioned. Sorry for any confusion. -- Thanks, Charles http://howse.homeunix.net:8080 Random Murphy's Law: A conclusion is the place where you got tired of thinking. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MySQL v3.23 and C API
Hello: I'm working on a server running FreeBSD 4.7-RELEASE. I've developed a C server program that works fine. I want to add code to read from and update fields in a MySQL database to the original program. When I do I get compilation errors that I cannot seem to resolve. I have a number of packages installed. The ones that seem related are: gmake-3.79.1_3 GNU version of 'make' utility mysql-client-3.23.52 Multithreaded SQL database (client) mysql-server-3.23.52_1 Multithreaded SQL database (server) The errors I get are as follows. I get these if using cc or gcc to compile the program. host# cc -o locserv locserv.c /tmp/ccJdDxg3.o: In function `main': /tmp/ccJdDxg3.o(.text+0x6ca): undefined reference to `mysql_init' /tmp/ccJdDxg3.o(.text+0x7bc): undefined reference to `mysql_real_query' /tmp/ccJdDxg3.o(.text+0x7f3): undefined reference to `mysql_store_result' /tmp/ccJdDxg3.o(.text+0x80d): undefined reference to `mysql_num_rows' /tmp/ccJdDxg3.o(.text+0x877): undefined reference to `mysql_fetch_row' Can anyone help explain what the problem is and how to correct it? Thanks,Steve [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnomemeeting-0.98.5_1 - openh323 failing in rtp.h
On Thu, 2003-11-27 at 11:46, Troy wrote: I was trying to portupgrade gnomemeeting-0.98.5 to 0.98.5_1 and ran into issues with the openh323 dependency. Anyone have any ideas? Read the Known Issues section at http://www.freebsd.org/gnome. Joe -Troy In file included from /usr/ports/net/openh323/work/openh323/include/codecs.h:263, from /usr/ports/net/openh323/work/openh323/include/h323caps.h:169, from /usr/ports/net/openh323/work/openh323/include/h323con.h:255, from h323.cxx:1089: /usr/local/include/ffmpeg/rtp.h:26: `AVCodecContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:26: `codec' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:26: syntax error before `)' /usr/local/include/ffmpeg/rtp.h:26: initializer list being treated as compound expression /usr/local/include/ffmpeg/rtp.h:27: `AVCodecContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:27: `codec' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `AVFormatContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `s1' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `AVPacket' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `pkt' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:29: syntax error before `unsigned' /usr/local/include/ffmpeg/rtp.h:29: initializer list being treated as compound expression /usr/local/include/ffmpeg/rtp.h:31: syntax error before `;' /usr/local/include/ffmpeg/rtp.h:32: syntax error before `;' /usr/local/include/ffmpeg/rtp.h:34: `URLContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:34: `h' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:35: `URLContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:35: `h' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:35: syntax error before `char' /usr/local/include/ffmpeg/rtp.h:35: initializer list being treated as compound expression /usr/local/include/ffmpeg/rtp.h:36: `URLContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:36: `h' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:36: syntax error before `*' /usr/local/include/ffmpeg/rtp.h:36: variable or field `rtp_get_file_handles' declared void /usr/local/include/ffmpeg/rtp.h:36: initializer list being treated as compound expression /usr/local/include/ffmpeg/rtp.h:38: syntax error before `;' gmake[2]: *** [/usr/ports/net/openh323/work/openh323/lib/obj_FreeBSD_x86_r/h323.o] Error 1 gmake[2]: Leaving directory `/usr/ports/net/openh323/work/openh323/src' gmake[1]: *** [opt] Error 2 gmake[1]: Leaving directory `/usr/ports/net/openh323/work/openh323' gmake: *** [optnoshared] Error 2 *** Error code 2 Stop in /usr/ports/net/openh323. *** Error code 1 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: MySQL v3.23 and C API
* Steve Blair: The errors I get are as follows. I get these if using cc or gcc to compile the program. host# cc -o locserv locserv.c /tmp/ccJdDxg3.o: In function `main': /tmp/ccJdDxg3.o(.text+0x6ca): undefined reference to `mysql_init' /tmp/ccJdDxg3.o(.text+0x7bc): undefined reference to `mysql_real_query' /tmp/ccJdDxg3.o(.text+0x7f3): undefined reference to `mysql_store_result' /tmp/ccJdDxg3.o(.text+0x80d): undefined reference to `mysql_num_rows' /tmp/ccJdDxg3.o(.text+0x877): undefined reference to `mysql_fetch_row' Can anyone help explain what the problem is and how to correct it? See the man page for gcc(1): -llibrary Use the library named library when linking. The linker searches a standard list of directories for the li- brary, which is actually a file named `liblibrary.a'. The link- er then uses this file as if it had been specified precisely by name. The directories searched include several standard system direc- tories plus any that you specify with `-L'. HTH, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ pgp0.pgp Description: PGP signature
Re: results of compiling with -lmysqlclient
From: Matthew Seaman [EMAIL PROTECTED] To: Lee Mx [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: results of compiling with -lmysqlclient Date: Thu, 27 Nov 2003 18:27:23 + On Thu, Nov 27, 2003 at 09:39:28AM -0800, Lee Mx wrote: THanks a lot, Matthew. I assumed as much. I think I am going to start backing up some of my more frequent libs to a compat directory. That seems to be the least bad solution. Note that portupgrade(1) and pkg_deinstall(1) do this automatically whenever you update a package containing share objects or libraries -- check out /usr/local/lib/compat/pkg and the output of 'ldconfig -r' for details. There's also the sysutils/libchk port which will help you find binaries that link against those old library versions. Thanks, Matthew. In this case the box and installation are new and the programs are old. I'm going to check out libchk. In fact, I'm installing it as I write. It sounds like something very useful that is missing in my took kit. Thanks again, les _ Has one of the new viruses infected your computer? Find out with a FREE online computer virus scan from McAfee. Take the FreeScan now! http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: possible solution to cdbakeoven failing to detect ATAPI burners
Charles Howse wrote: On Thursday 27 November 2003 11:16 am, Lowell Gilbert wrote: Charles Howse [EMAIL PROTECTED] writes: There has been signifigant discussion here in the past about cdbakeoven not detecting ATAPI burners when run as an ordinary user. I had this issue, and may have a solution. Be sure your kernel is compiled with device atapicam. As root do: # chmod u+s /usr/local/bin/cdrecord Which will allow cdrecord to run as suid root. In other words, it's still not being run as an ordinary user... cdbakeoven *is* being run as an ordinary user, which was the original issue, but to detect an atapi burner, it has to do 'cdrecord -scanbus', which will fail if not run as root. Make sense? You can simply give a normal user rw-access to /dev/cd*, /dev/xpt* and /dev/pass* and it works too. No need to set suid cdrecord. IMHO a much better solution. Holger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem upgrading /lang/librep (librep-0.16.2_2)
Happy Thanksgivings, Was upgrading my ports and ran into the following error message : ** The following packages were not installed or upgraded (*:skipped / !:failed) ! lang/librep (librep-0.16.2_2) (new compiler error) * x11-toolkits/rep-gtk (rep-gtk-gnome-0.15_1) Later tried to install via ports process and rec'd the following output: ||=== Building for librep-0.16.2_3 for dir in intl src lisp man; do \ [ -d $dir ] ( cd $dir gmake all ) || exit 1; \ done gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/ intl' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/i ntl' gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/ src' /bin/sh ../libtool --mode=link cc -export-dynamic -DHAVE_CONFIG_H -I. -I ../src -I.. -I/usr/local/include -O -pipe -o rep \ rep.o librep.la -L/usr/local/lib -lxpg4 -lintl -pthread -lcrypt -lgmp -lm cc -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o .l ibs/rep rep.o -pthread -Wl,--export-dynamic ./.libs/librep.so -L/usr/lo cal/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath -Wl,/usr/X11R6/lib ./.libs/librep.so: warning: tmpnam() possibly used unsafely; consider us ing mkstemp() ./.libs/librep.so: undefined reference to `mpq_set_d' gmake[1]: *** [rep] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/s rc' gmake: *** [all] Error 1 Any advice? Don't remember seeing anything in the mailing list re this issue. Thanks, Bob -- FreeBSD 4.8-RELEASE-p13 0# ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best terminal type
* Martin Moeller: I'm a little bit confused because of the enormous number of terminal types available. I'm mainly working on the console so cons25 is my default terminal type. Setting TERM to cons25 is okay. It does not prevent you to have colors. In mutt, you must define the colors yourself, see file attached for example setup. Yesterday, I used putty/ssh to connect to my machine and used elinks on it. With astonishment I realised that elinks used different colours and looked very nice. So I wondered why it didn't show up like this when using my console. I just tested with w3m www.freebsd.org on the console, there are blue colors for links, green for images, and red for forms. It should be okay. putty was using linux as terminal type, not cons25. Happily, I set linux my preferred terminal, but now mutt's display is totally screwed up. Well, you cannot set TERM arbitrarily. The underlying terminal won't probably support the escape sequences produced by the curses library if you use another TERM setting from your actual terminal. Cheers, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ pgp0.pgp Description: PGP signature
Re: Problem upgrading /lang/librep (librep-0.16.2_2)
On Thu, 2003-11-27 at 14:13, Bob Perry wrote: Happy Thanksgivings, Was upgrading my ports and ran into the following error message : ** The following packages were not installed or upgraded (*:skipped / !:failed) ! lang/librep (librep-0.16.2_2) (new compiler error) * x11-toolkits/rep-gtk (rep-gtk-gnome-0.15_1) Later tried to install via ports process and rec'd the following output: ||=== Building for librep-0.16.2_3 for dir in intl src lisp man; do \ [ -d $dir ] ( cd $dir gmake all ) || exit 1; \ done gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/ intl' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/i ntl' gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/ src' /bin/sh ../libtool --mode=link cc -export-dynamic -DHAVE_CONFIG_H -I. -I ../src -I.. -I/usr/local/include -O -pipe -o rep \ rep.o librep.la -L/usr/local/lib -lxpg4 -lintl -pthread -lcrypt -lgmp -lm cc -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o .l ibs/rep rep.o -pthread -Wl,--export-dynamic ./.libs/librep.so -L/usr/lo cal/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath -Wl,/usr/X11R6/lib ./.libs/librep.so: warning: tmpnam() possibly used unsafely; consider us ing mkstemp() ./.libs/librep.so: undefined reference to `mpq_set_d' gmake[1]: *** [rep] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/s rc' gmake: *** [all] Error 1 Any advice? Don't remember seeing anything in the mailing list re this issue. I changed the librep dependencies last night, but I did a full test of librep, rep-gtk2, and sawfish2 on -CURRENT before doing so. What version of FreeBSD is this? What version of the libgmp4 port do you have installed? The only time I saw this error, was when I original did the port, and it linked against libgmp.so.3. Hmm...I bet this machine was upgraded from -STABLE, and you still have a /usr/lib/libgmp.so link. If you do, remove that file/symlink, and librep should build. Joe Thanks, Bob -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: Adding users...
* Xpression: Hi list, I installed Apache and ProFTPd servers, users can upload tehir sites via FTP, I have configured in Apache DocumentRoot in /usr/local/apache2/wwwroot, my question is: can I create users which their home directories path is /usr/local/apache2/wwwroot/userN ??? Is this way trustable ??? I was thinking it because if it's no possible I have to change my DocumentRoot wherever the main site is located...thanks... It depends on what you're trying to do. 1) Typically, user websites go into their home directory like /home/userN, in a folder called public_html. That way, the user website can be accessed at http://yourwebsite/~userN/. 2) However, you may want to put the user websites in another location, there is no problem, but remember to set the permissions correctly. Every user directory must be *owned* by that very user. For web usage, directories should have mode 755, and files 644. 3) If you want to have your user directories outside of the document root, you will have to setup an Alias for each user, or to define another virtual host. But that becomes close to solution 1 in that case. Cheers, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ pgp0.pgp Description: PGP signature
Re: Problem upgrading /lang/librep (librep-0.16.2_2)
On Thu, 2003-11-27 at 14:20, Joe Marcus Clarke wrote: On Thu, 2003-11-27 at 14:13, Bob Perry wrote: Happy Thanksgivings, Was upgrading my ports and ran into the following error message : ** The following packages were not installed or upgraded (*:skipped / !:failed) ! lang/librep (librep-0.16.2_2) (new compiler error) * x11-toolkits/rep-gtk (rep-gtk-gnome-0.15_1) Later tried to install via ports process and rec'd the following output: ||=== Building for librep-0.16.2_3 for dir in intl src lisp man; do \ [ -d $dir ] ( cd $dir gmake all ) || exit 1; \ done gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/ intl' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/i ntl' gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/ src' /bin/sh ../libtool --mode=link cc -export-dynamic -DHAVE_CONFIG_H -I. -I ../src -I.. -I/usr/local/include -O -pipe -o rep \ rep.o librep.la -L/usr/local/lib -lxpg4 -lintl -pthread -lcrypt -lgmp -lm cc -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o .l ibs/rep rep.o -pthread -Wl,--export-dynamic ./.libs/librep.so -L/usr/lo cal/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath -Wl,/usr/X11R6/lib ./.libs/librep.so: warning: tmpnam() possibly used unsafely; consider us ing mkstemp() ./.libs/librep.so: undefined reference to `mpq_set_d' gmake[1]: *** [rep] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/s rc' gmake: *** [all] Error 1 Any advice? Don't remember seeing anything in the mailing list re this issue. I changed the librep dependencies last night, but I did a full test of librep, rep-gtk2, and sawfish2 on -CURRENT before doing so. What version of FreeBSD is this? What version of the libgmp4 port do you have installed? The only time I saw this error, was when I original did the port, and it linked against libgmp.so.3. Hmm...I bet this machine was upgraded from -STABLE, and you still have a /usr/lib/libgmp.so link. If you do, remove that file/symlink, and librep should build. Sorry to reply to myself, but something just hit me. If this is, in fact, 4.X, then the patch I removed is still needed. I have re-added it, so if this is 4.X, re-cvsup your ports tree in a bit, and try the build again. Joe Joe Thanks, Bob -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: Adding users...
On Thu, Nov 27, 2003 at 08:31:27PM +0100, Jean-Baptiste Quenot wrote: 3) If you want to have your user directories outside of the document root, you will have to setup an Alias for each user, or to define another virtual host. But that becomes close to solution 1 in that case. Apache has the UserDir directive for this purpose. The default setting makes it so that user fred can create a directory ~fred/public_html that is visible to the world as http://www.example.com/~fred/ See: http://httpd.apache.org/docs-2.0/mod/mod_userdir.html#userdir http://httpd.apache.org/docs-2.0/howto/public_html.html If you don't want the '~' symbol to appear in your URLs, you can't use UserDir. However, if you have a regular layout of your user directories, you can use 'AliasMatch' to achive much the same effect: http://httpd.apache.org/docs-2.0/urlmapping.html#user Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Problem upgrading /lang/librep (librep-0.16.2_2)
Joe Marcus Clarke wrote: On Thu, 2003-11-27 at 14:13, Bob Perry wrote: Happy Thanksgivings, Was upgrading my ports and ran into the following error message : ** The following packages were not installed or upgraded (*:skipped / !:failed) ! lang/librep (librep-0.16.2_2) (new compiler error) * x11-toolkits/rep-gtk (rep-gtk-gnome-0.15_1) Later tried to install via ports process and rec'd the following output: ||=== Building for librep-0.16.2_3 for dir in intl src lisp man; do \ [ -d $dir ] ( cd $dir gmake all ) || exit 1; \ done gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/ intl' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/i ntl' gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/ src' /bin/sh ../libtool --mode=link cc -export-dynamic -DHAVE_CONFIG_H -I. -I ../src -I.. -I/usr/local/include -O -pipe -o rep \ rep.o librep.la -L/usr/local/lib -lxpg4 -lintl -pthread -lcrypt -lgmp -lm cc -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o .l ibs/rep rep.o -pthread -Wl,--export-dynamic ./.libs/librep.so -L/usr/lo cal/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath -Wl,/usr/X11R6/lib ./.libs/librep.so: warning: tmpnam() possibly used unsafely; consider us ing mkstemp() ./.libs/librep.so: undefined reference to `mpq_set_d' gmake[1]: *** [rep] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/s rc' gmake: *** [all] Error 1 Any advice? Don't remember seeing anything in the mailing list re this issue. Thanks for such a a quick response. I changed the librep dependencies last night, but I did a full test of librep, rep-gtk2, and sawfish2 on -CURRENT before doing so. What version of FreeBSD is this? FreeBSD 4.8-RELEASE-p13 0# upgraded from -STABLE. What version of the libgmp4 port do you have installed? Ran : su-2.05b# make search key=libgmp4 Port: libgmp-4.1.2_2 Path: /usr/ports/math/libgmp4 Followed by: su-2.05b# pkg_info -v libgmp-4.1.2_2 pkg_info: can't find package 'libgmp-4.1.2_2' installed or in a file! The only time I saw this error, was when I original did the port, and it linked against libgmp.so.3. Hmm...I bet this machine was upgraded from -STABLE, and you still have a /usr/lib/libgmp.so link. If you do, remove that file/symlink, and librep should build. Removed both the link /usr/lib/libgmp.so - libgmp.so.3 and the file /usr/lib/libgmp.so.3 and tried to build librep. Here's the putput: gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/intl' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/intl' gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/src' /bin/sh ../libtool --mode=link cc -export-dynamic -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o rep \ rep.o librep.la -L/usr/local/lib -lxpg4 -lintl -pthread -lcrypt -lgmp -lm cc -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o .libs/rep rep.o -pthread -Wl,--export-dynamic ./.libs/librep.so -L/usr/local/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath -Wl,/usr/X11R6/lib ./.libs/librep.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/libexec/elf/ld: warning: libgmp.so.3, needed by ./.libs/librep.so, not found (try using -rpath or -rpath-link) ./.libs/librep.so: undefined reference to `mpq_set_d' gmake[1]: *** [rep] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/src' gmake: *** [all] Error 1 *** Error code 2 Stop in /usr/ports/lang/librep. Looks like librep is looking for libgmp.so.3. Reinstall? Bob -- FreeBSD 4.8-RELEASE-p13 0# ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem upgrading /lang/librep (librep-0.16.2_2)
On Thu, 2003-11-27 at 15:40, Bob Perry wrote: [snip] Hmm...I bet this machine was upgraded from -STABLE, and you still have a /usr/lib/libgmp.so link. If you do, remove that file/symlink, and librep should build. Removed both the link /usr/lib/libgmp.so - libgmp.so.3 and the file /usr/lib/libgmp.so.3 and tried to build librep. Here's the putput: Don't do that on 4.X. /usr/lib/libgmp.so and /usr/lib/libgmp.so.3 need to exist on 4.X. See above, I assumed this was -CURRENT upgraded from -STABLE. In that case, you can remove those files. However, since you're on 4.X, put them back. gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/intl' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/intl' gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/src' /bin/sh ../libtool --mode=link cc -export-dynamic -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o rep \ rep.o librep.la -L/usr/local/lib -lxpg4 -lintl -pthread -lcrypt -lgmp -lm cc -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o .libs/rep rep.o -pthread -Wl,--export-dynamic ./.libs/librep.so -L/usr/local/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath -Wl,/usr/X11R6/lib ./.libs/librep.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/libexec/elf/ld: warning: libgmp.so.3, needed by ./.libs/librep.so, not found (try using -rpath or -rpath-link) ./.libs/librep.so: undefined reference to `mpq_set_d' gmake[1]: *** [rep] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/src' gmake: *** [all] Error 1 *** Error code 2 Stop in /usr/ports/lang/librep. Looks like librep is looking for libgmp.so.3. Reinstall? No, see my follow-up email. I fixed this in CVS. Joe Bob -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: Multiple CPU Performance
Gerard Samuel wrote: I was fortunate to acquire a dual Slot one motherboard. I currently only have one PIII 450 in there, and its working without any problems so far. This box is primarily for www/samba/cvs. I was wondering if my PHP apps would benefit (run faster) if I introduced a 2nd CPU. Just wondering A single instance of PHP would use only one CPU. However, if your web server spreads multiple parallel requests over multiple processes (Apache 1.x, for instance) you would indeed benefit from the second CPU. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ultra 2 SMP stop in probing devices during install
On Thu, 27 Nov 2003, Jens Baedeker wrote: Hi there, i'm pretty new with freebsd. Currently i run a couple of sparc20 with OpenBSD. But i want to give Freebsd 5.1 a try. Unfortunately i cant get this Ultra2 with 2 CPUs working. When boot with first install CDROM it recognises the 2 cpus during the bootprocess and start probing for devices. I can stop this probing but then i end up in the OBP prompt again. Checked google and the docs but nothing here. I updated the OBP to 3.11. You may have better luck with sparc specific questions over on [EMAIL PROTECTED] However, I strongly suspect that your Ultra 2 has a scsi controller that FreeBSD doesn't support (fas?), so even if you manage to boot, you'll have to run it diskless and configure it to netboot. $.02, /Mikko ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sync delay and consitency
Ion-Mihai Tetcu wrote: I have a machine that randomly crashes. I wonder if lowering Variable Default Description kern.filedelay 30 time to delay syncing files kern.dirdelay29 time to delay syncing directories kern.metadelay 28 time to delay syncing metadata would help having a more up-to-date fs (using soft-updates). You can reduce these settings in order to narrow the window which you would lose data in if the system crashed. However, it is important that you keep the numerical order of these variables. Also is there a reason for the 30-29-28 (the 1 differece between) sequence ? It gives a FS w/soft-updates its crash resilience, by ensuring the order of disk updates for these three data types. Meta data first, then directory data, and finally the actual file contents. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cannot perform make install
I have installed FreeBSD 5.1 on my laptop and have successfully installed KDE and other apps by going to the appropriate ports directory and performing a 'make install clean'. However, when I tried to install nautilus by going to /usr/ports/x11-fm/nautilus and typing 'make install clean' (without the quotes, of course), I'm getting the following error: make: don't know how to make install. Stop If I just use make, I get: make: no target to make. Is this a problem with the make command? Something I need to reinstall? I will provide any additional information, just wasn,t sure what else to include. Here is my uname -a output: FreeBSD .america.net 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 -- Cheers, Trey --- At a given moment I open my eyes and exist. And before that, during all eternity, what was there? Nothing. - Ugo Betti signature.asc Description: This is a digitally signed message part
Re: 5.x downgrade recommendation
On Thu, 27 Nov 2003 08:18 pm, Guy Van Sanden wrote: I'm now considering if I will do the upgrade to 5.2-RELEASE, or reinstall the system with 4.9 or 4.10. The 5.x branch seems to remain rather unstable longer then I had anticipated. Are you actually having problems running 5.1-RELEASE? I would only bother if there is some bug which is causing problems. I run 5.1-RELEASE and it works fine and dandy with no particularly bad problems (: What would you guys recommend, wait out for 5.3 (which is supposed to be 4.x-like stable), or move back to 4.9 (or 4.10 soon). __ JacobRhoden -- http://rhoden.id.au/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd list rejects mail.
Hi man, Hi everyone, Thanks for your replay, kindly the ppl here helped out, and I sent a test email for this list which made greg angry! and everything went fine. I thought I had an reverse! but it was only forward! I fixed that, and now im emailing from this golden, as you said :) Thanks for you and everyone else. Marwan. Dragoncrest wrote, You need an A record and an PTR record (aka forward and reverse lookup records respectively) for it to work. I encountered much the same problem back when I was first setting up my own mail server and trying to send to the list. The idea behind them requiring both is it cuts down on a lot of spam getting through. :) Have your ISP put in an A record as well for your mail server matching the name you have already specified for it, in your case host4.kifco.net and you should be all set in about 24 hours. Of course if you're doing your own DNS, just edit the zone file for kifco.net and add the following entry. host4 IN A216.65.57.4 Again, give it 24 hours and you should be golden. :) -- Marwan Sultan Network Administrator ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot perform make install
On Thu, 2003-11-27 at 17:28, Trey Sizemore wrote: I have installed FreeBSD 5.1 on my laptop and have successfully installed KDE and other apps by going to the appropriate ports directory and performing a 'make install clean'. However, when I tried to install nautilus by going to /usr/ports/x11-fm/nautilus and typing 'make install clean' (without the quotes, of course), I'm getting the following error: make: don't know how to make install. Stop If I just use make, I get: make: no target to make. Is this a problem with the make command? Something I need to reinstall? I will provide any additional information, just wasn,t sure what else to include. Here is my uname -a output: FreeBSD .america.net 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 I just successfully started a 'make install clean' with Evolution, but can confirm that it does not work with nautilus or gedit. :-/ Why would this be? -- Cheers, Trey --- Thieves respect property; they merely wish the property to become their property that they may more perfectly respect it. -- G.K. Chesterton, The Man Who Was Thursday signature.asc Description: This is a digitally signed message part
Re: Multiple CPU Performance
Gerard Samuel wrote: I was fortunate to acquire a dual Slot one motherboard. I currently only have one PIII 450 in there, and its working without any problems so far. This box is primarily for www/samba/cvs. I was wondering if my PHP apps would benefit (run faster) if I introduced a 2nd CPU. I am no expert on this sort of thing, but I thought I should add one thing, in case you havent thought of it... What is the load on your cpu? It can be found by doing a top.. if it never reaches 1.0 while running php apps, then an extra cpu is not going to make much difference. In general I have found that the bottleneck in older computers tends to be the hard drive, not the CPU. Regards, Jacob JacobRhoden -- http://rhoden.id.au/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot perform make install
On Thursday 27 November 2003 03:05 pm, Trey Sizemore wrote: On Thu, 2003-11-27 at 17:28, Trey Sizemore wrote: I have installed FreeBSD 5.1 on my laptop and have successfully installed KDE and other apps by going to the appropriate ports directory and performing a 'make install clean'. However, when I tried to install nautilus by going to /usr/ports/x11-fm/nautilus and typing 'make install clean' (without the quotes, of course), I'm getting the following error: make: don't know how to make install. Stop If I just use make, I get: make: no target to make. Is this a problem with the make command? Something I need to reinstall? I will provide any additional information, just wasn,t sure what else to include. Here is my uname -a output: FreeBSD .america.net 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 I just successfully started a 'make install clean' with Evolution, but can confirm that it does not work with nautilus or gedit. :-/ Why would this be? I think you have an old port structure. You might have a readme.html left over or something. On a curent cvsup, I get the following # cd /usr/ports/x11-fm/nautilus /usr/ports/x11-fm/nautilus: No such file or directory. I think you should probably be using Port: nautilus2-2.4.1 Path: /usr/ports/x11-fm/nautilus2 Info: GNOME file manager and graphical shell developed by Eazel Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot perform make install
On Thu, 27 Nov 2003 18:05:10 -0500 Trey Sizemore [EMAIL PROTECTED] wrote: On Thu, 2003-11-27 at 17:28, Trey Sizemore wrote: I have installed FreeBSD 5.1 on my laptop and have successfully installed KDE and other apps by going to the appropriate ports directory and performing a 'make install clean'. However, when I tried to install nautilus by going to /usr/ports/x11-fm/nautilus and typing 'make install clean' (without the quotes, of course), I'm getting the following error: make: don't know how to make install. Stop If I just use make, I get: make: no target to make. Do a ls and see if you have a Makefile :) You probably have only a readme.html file in that directory which is the reason the directory itself wasn't deleted by cvsup. it# grep nautilus /usr/ports/MOVED www/nautilus-gtkhtml||2003-05-11|maintenance discontinued x11-fm/nautilus||2003-07-15|removed as part of GNOME 1.4 desktop phase out The port /usr/ports/x11-fm/nautilus does not exist anymore. Try /usr/ports/x11-fm/nautilus2. -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: possible solution to cdbakeoven failing to detect ATAPI burners
Charles Howse [EMAIL PROTECTED] writes: On Thursday 27 November 2003 11:16 am, Lowell Gilbert wrote: Charles Howse [EMAIL PROTECTED] writes: There has been signifigant discussion here in the past about cdbakeoven not detecting ATAPI burners when run as an ordinary user. I had this issue, and may have a solution. Be sure your kernel is compiled with device atapicam. As root do: # chmod u+s /usr/local/bin/cdrecord Which will allow cdrecord to run as suid root. In other words, it's still not being run as an ordinary user... cdbakeoven *is* being run as an ordinary user, which was the original issue, but to detect an atapi burner, it has to do 'cdrecord -scanbus', which will fail if not run as root. Make sense? I understood perfectly, but I don't think you've thought through all the implications. The process executing cdrecord is *not* being run as a normal user. The process is actually running as uid zero, which is to say that it's running as *root*. This is considerably less secure than running as the user's own uid. Thus, for systems where you're worried about the security with regard to local users, you are *vastly* worse off by making the executable suid-root. There's a reason that the standard security scripts report to you *every* *night* on any new suid executables on the system. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot perform make install
On Thu, 2003-11-27 at 18:12, Ion-Mihai Tetcu wrote: Do a ls and see if you have a Makefile :) You probably have only a readme.html file in that directory which is the reason the directory itself wasn't deleted by cvsup. it# grep nautilus /usr/ports/MOVED www/nautilus-gtkhtml||2003-05-11|maintenance discontinued x11-fm/nautilus||2003-07-15|removed as part of GNOME 1.4 desktop phase out The port /usr/ports/x11-fm/nautilus does not exist anymore. Try /usr/ports/x11-fm/nautilus2. D'oh...that was it! Thanks guys! -- Cheers, Trey --- There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another which states that this has already happened. signature.asc Description: This is a digitally signed message part
Require IPSEC transparent.
Hi, I'm wondering if the following situation would be possible: I have a small LAN (one server, three workstations) and want to fully encrypt it (since it's quite easy for somebody to plug into my switch -- I'm at university and the machines are in my room). What I would like is for my server (FreeBSD 4.9-RELEASE) to only accept IPSEC encrypted packets on the range, say, 192.168.0.1-192.168.0.24. Anything above 24 can talk without IPSEC, but all sorts of insecure services are firewalled off. This seems a nice way to do things to me (although I am very open to suggestions) but I have little idea how I would mandate IPSEC packets. I currently have IPSEC ESP/transparent between my server and a workstation so I could easily expand this to more machines. Thanks very much, -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp0.pgp Description: PGP signature
not found...
I am, not found PDFlib-Lite-5.0.0-Unix-src.tar.gz In the your site in the ports colection. you will have a copy of this pkg Atte. Víctor Gutiérrez Cruz Si vales, valeo (Antiguo saludo en Latín que significa: Si tu estas bien yo estoy bien) _ Charla con tus amigos en línea mediante MSN Messenger: http://messenger.microsoft.com/es ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple CPU Performance
On Thursday 27 November 2003 03:10 pm, JacobRhoden wrote: Gerard Samuel wrote: I was fortunate to acquire a dual Slot one motherboard. I currently only have one PIII 450 in there, and its working without any problems so far. This box is primarily for www/samba/cvs. I was wondering if my PHP apps would benefit (run faster) if I introduced a 2nd CPU. I am no expert on this sort of thing, but I thought I should add one thing, in case you havent thought of it... What is the load on your cpu? It can be found by doing a top.. if it never reaches 1.0 while running php apps, then an extra cpu is not going to make much difference. In general I have found that the bottleneck in older computers tends to be the hard drive, not the CPU. I saw a comment recently that stood out. It was to the effect that SMP lets you run more applications at the same speed. On buildworlds, for example, the suggestion is to use -j4 on single cpu systems. I find the -j4 runs a buildworld 20-30% slower than no -j at all. The -j8 ran faster on SMP. The process of running multiple makes has a process switching overhead that costs me time. I also have IDE HDs and suspect that the tagged queuing built into good scsi HDs gets around some of the HD bottle neck. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot perform make install
On Fri, 28 Nov 2003 01:12:53 +0200 Ion-Mihai Tetcu [EMAIL PROTECTED] wrote: On Thu, 27 Nov 2003 18:05:10 -0500 Trey Sizemore [EMAIL PROTECTED] wrote: On Thu, 2003-11-27 at 17:28, Trey Sizemore wrote: I have installed FreeBSD 5.1 on my laptop and have successfully installed KDE and other apps by going to the appropriate ports directory and performing a 'make install clean'. However, when I tried to install nautilus by going to /usr/ports/x11-fm/nautilus and typing 'make install clean' (without the quotes, of course), I'm getting the following error: make: don't know how to make install. Stop If I just use make, I get: make: no target to make. Do a ls and see if you have a Makefile :) You probably have only a readme.html file in that directory which is the reason the directory itself wasn't deleted by cvsup. I think that if you do : cd / find /usr/ports/ -type f -name 'readme.html' -exec rm {} \; and cvsup again you'll get rid of the old directories. -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: possible solution to cdbakeoven failing to detect ATAPI burners
On Thursday 27 November 2003 05:12 pm, Lowell Gilbert wrote: Charles Howse [EMAIL PROTECTED] writes: On Thursday 27 November 2003 11:16 am, Lowell Gilbert wrote: Charles Howse [EMAIL PROTECTED] writes: There has been signifigant discussion here in the past about cdbakeoven not detecting ATAPI burners when run as an ordinary user. I had this issue, and may have a solution. Be sure your kernel is compiled with device atapicam. As root do: # chmod u+s /usr/local/bin/cdrecord Which will allow cdrecord to run as suid root. In other words, it's still not being run as an ordinary user... cdbakeoven *is* being run as an ordinary user, which was the original issue, but to detect an atapi burner, it has to do 'cdrecord -scanbus', which will fail if not run as root. Make sense? I understood perfectly, but I don't think you've thought through all the implications. The process executing cdrecord is *not* being run as a normal user. The process is actually running as uid zero, which is to say that it's running as *root*. This is considerably less secure than running as the user's own uid. Thus, for systems where you're worried about the security with regard to local users, you are *vastly* worse off by making the executable suid-root. I agree with you 100%. Though I didn't say it explicitly, my comments were directed not to administrators where there is concern for local user security, but to plain ordinary desktop users who just want to burn some CD's. For example, I have a home lan, I am root on all 3 machines, no one else in the house uses these machines. I am behind a hardware firewall with no ports forwarded to this machine (the one with the burner). I feel completely secure running cdrecord suid root. -- Thanks, Charles http://howse.homeunix.net:8080 Random Murphy's Law: Don't make your doctor your heir. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sshd not respecting login.access
Hi, I've been using login.access for a long while, it hasnt occured to me until now that sshd isnt taking that file into account. No users (except me) can log in to my system with telnet and they shouldnt with sshd. Is there a workaround for this? Wouldnt it be considered a serious bug that sshd doesnt parse this file? Best Regards Jonas Trollvik ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot perform make install
On Thu, 2003-11-27 at 18:29, Ion-Mihai Tetcu wrote: I think that if you do : cd / find /usr/ports/ -type f -name 'readme.html' -exec rm {} \; and cvsup again you'll get rid of the old directories. Thanks...I'll give that a try. -- Cheers, Trey --- At a given moment I open my eyes and exist. And before that, during all eternity, what was there? Nothing. - Ugo Betti signature.asc Description: This is a digitally signed message part
Re: Require IPSEC transparent.
s/transparent/transport My bad, sorry. -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp0.pgp Description: PGP signature
Re: possible solution to cdbakeoven failing to detect ATAPI burners
Charles Howse [EMAIL PROTECTED] writes: I agree with you 100%. Though I didn't say it explicitly, my comments were directed not to administrators where there is concern for local user security, but to plain ordinary desktop users who just want to burn some CD's. In my opinion, it is quite important to be explicit about security tradeoffs when posting to a public mailing list that is frequently searched by novice sysadmins. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: possible solution to cdbakeoven failing to detect ATAPI burners
On Thursday 27 November 2003 05:47 pm, Lowell Gilbert wrote: Charles Howse [EMAIL PROTECTED] writes: I agree with you 100%. Though I didn't say it explicitly, my comments were directed not to administrators where there is concern for local user security, but to plain ordinary desktop users who just want to burn some CD's. In my opinion, it is quite important to be explicit about security tradeoffs when posting to a public mailing list that is frequently searched by novice sysadmins. I will take that as good advice. :-) No disrespect, but seriously, can you give me a scenario where something bad could happen on *my* computer because I'm running cdrecord suid-root? I would also be very interested to hear a scenario where something bad could happen on an insecure system if they are running cdrecord suid-root. If I have more information on the implications of suid-root, I may be more careful in the future. Actually, I got my idea from man cdrecord, where it says: If you don't want to allow users to become root on your system, cdrecord may safely be installed suid root. This allows all users or a group of users with no root privileges to use cdrecord. Cdrecord in this case checks, if the real user would have been able to read the specified files. To give all user access to use cdrecord, enter: chown root /usr/local/bin/cdrecord chmod 4711 /usr/local/bin/cdrecord To give a restricted group of users access to cdrecord enter: chown root /usr/local/bin/cdrecord chgrp cdburners /usr/local/bin/cdrecord chmod 4710 /usr/local/bin/cdrecord and add a group cdburners on your system. -- Thanks, Charles http://howse.homeunix.net:8080 Random Murphy's Law: If it's good they will stop making it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem upgrading /lang/librep (librep-0.16.2_2)
Joe Marcus Clarke wrote: On Thu, 2003-11-27 at 15:40, Bob Perry wrote: [snip] Hmm...I bet this machine was upgraded from -STABLE, and you still have a /usr/lib/libgmp.so link. If you do, remove that file/symlink, and librep should build. Removed both the link /usr/lib/libgmp.so - libgmp.so.3 and the file /usr/lib/libgmp.so.3 and tried to build librep. Here's the putput: Don't do that on 4.X. /usr/lib/libgmp.so and /usr/lib/libgmp.so.3 need to exist on 4.X. See above, I assumed this was -CURRENT upgraded from -STABLE. In that case, you can remove those files. However, since you're on 4.X, put them back. Put the files back as suggested, cvsup'd my system and ran portupgrade -arR again. Everything seems to be in order. Thanks for being there. Bob Perry -- FreeBSD 4.8-RELEASE-p13 0# ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrading 4.8 to 4.9 question....
On Thu, 27 Nov 2003, Dragoncrest wrote: Mergemaster is definately one way to do it, but I prefer Portupgrade. It's much simpler as far as I'm concerned and does as good a job as mergemaster with less thinking involved on the part of the user. :) Confusion! Mergemaster and portupgrade are very different tools. Just CVsup your ports, then do portupgrade -r -all, then walk away and let it run. If you want to do a single port, just do portupgrade -r portname Regular use of the ports system requires some maintenance - it's not just CVSup portupgrade, for example: 1. CVSup 2. portsdb -Uu 3. pkgdb -F 4. portinstall or portupgrade 5. pkgdb -F Ciao, Mark Weinem ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MySQL question...
Hi list, I'm trying to install MySQL-4.0.16 on my FreeBSD-4.5 Server and always give me ERROR, anyone running it can help me ??? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dmesg strange lines.(4me)
Hello everyone, While a rotine checks for my log files, I found the following lines in the end of my dmesg.today log file I would appreciate it if someone could explain these lines. The lines are: Limiting closed port RST response from 268 to 200 packets per second Limiting closed port RST response from 302 to 200 packets per second Limiting closed port RST response from 296 to 200 packets per second Limiting closed port RST response from 213 to 200 packets per second Limiting closed port RST response from 272 to 200 packets per second Limiting closed port RST response from 246 to 200 packets per second Limiting closed port RST response from 260 to 200 packets per second Limiting closed port RST response from 272 to 200 packets per second -- Marwan Sultan Network Administrator ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dmesg strange lines.(4me)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On Thursday 27 November 2003 21:27, Marwan Sultan wrote: Limiting closed port RST response from 268 to 200 packets per second Someone more than likely tried to portscan you and the kernel adjusted the amount of RST responses it sent back. - -- Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED] Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C KDE/Qt/C++/PHP Developer: http://www.kde.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/xqTnF8Iu1zN5WiwRAt/0AJ9JPYn0i3elRJdS8Re5b3w7z8oAQgCfTp3O xw5SFhF07s2M30YufiFB5tY= =UkRG -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Kazaa/p2p on a LAN and ping problems
Network topology: LAN == FreeBSD Gateway == Internet Gateway specifications: FreeBSD overlord 4.8-STABLE FreeBSD 4.8-STABLE #0: Mon Sep 22 07:05:09 CDT 2003 k6-233, 128MB ram ipf packet filtering in place Internet (cable): 256kb up 2.0mbish down == It seems an impossible task to limit Kazaa and other p2p (Kazaa especially) from accessing the Internet from a LAN, especially when you're sharing the LAN with other college age people. So, I've instead told them to limit their upstream to 5kB, which leaves a good amount of of the upstream pipe for web browsing. However, whenever any p2p in the house is active pings on any external network degrade horribly, even if it's only a single host, and 20kb of my upstream bandwith remains. Wolfenstein servers that I pinged 30 on with no p2p activity on the LAN, for instance, begin to ping at 400-500 ; the situation is equally bad with MUDs and other ping reliant games such as Quake. Is this normal? Is there anything I can do to fix the problem so that ping dependant games can be played while p2p apps are active on the LAN? Kicking the network cable out works late at night, and at times during the day, but it isn't a permanent solution. Limiting p2p from the LAN completely is not possible from my position. A user on IRC mentioned he had no such problem with IPFW - if my problem isn't specific does that mean that my use of ipf is responsible for this behavior? Thanks, Eric ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnomemeeting-0.98.5_1 - openh323 failing in rtp.h
You need to uninstall the ffmpeg package, do a make clean in net/openh323 and it should compile ok. Seeya...Q On Fri, 2003-11-28 at 02:46, Troy wrote: I was trying to portupgrade gnomemeeting-0.98.5 to 0.98.5_1 and ran into issues with the openh323 dependency. Anyone have any ideas? -Troy In file included from /usr/ports/net/openh323/work/openh323/include/codecs.h:263, from /usr/ports/net/openh323/work/openh323/include/h323caps.h:169, from /usr/ports/net/openh323/work/openh323/include/h323con.h:255, from h323.cxx:1089: /usr/local/include/ffmpeg/rtp.h:26: `AVCodecContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:26: `codec' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:26: syntax error before `)' /usr/local/include/ffmpeg/rtp.h:26: initializer list being treated as compound expression /usr/local/include/ffmpeg/rtp.h:27: `AVCodecContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:27: `codec' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `AVFormatContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `s1' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `AVPacket' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:28: `pkt' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:29: syntax error before `unsigned' /usr/local/include/ffmpeg/rtp.h:29: initializer list being treated as compound expression /usr/local/include/ffmpeg/rtp.h:31: syntax error before `;' /usr/local/include/ffmpeg/rtp.h:32: syntax error before `;' /usr/local/include/ffmpeg/rtp.h:34: `URLContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:34: `h' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:35: `URLContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:35: `h' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:35: syntax error before `char' /usr/local/include/ffmpeg/rtp.h:35: initializer list being treated as compound expression /usr/local/include/ffmpeg/rtp.h:36: `URLContext' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:36: `h' was not declared in this scope /usr/local/include/ffmpeg/rtp.h:36: syntax error before `*' /usr/local/include/ffmpeg/rtp.h:36: variable or field `rtp_get_file_handles' declared void /usr/local/include/ffmpeg/rtp.h:36: initializer list being treated as compound expression /usr/local/include/ffmpeg/rtp.h:38: syntax error before `;' gmake[2]: *** [/usr/ports/net/openh323/work/openh323/lib/obj_FreeBSD_x86_r/h323.o] Error 1 gmake[2]: Leaving directory `/usr/ports/net/openh323/work/openh323/src' gmake[1]: *** [opt] Error 2 gmake[1]: Leaving directory `/usr/ports/net/openh323/work/openh323' gmake: *** [optnoshared] Error 2 *** Error code 2 Stop in /usr/ports/net/openh323. *** Error code 1 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 4.9 / VRRP / vlan
Hi there, I'm currently playing with a quite simple network infrastructure : --- | INTERNET| --- | | |R1|---|R2| | | ----- | SWITCH ||servers co| ----- R1 R2 are running OSPF to learn routes from upstream routers that are not symbolized here. in order to allow redundancy for boxes behind the switch, i'm running VRRP (freevrrpd implementation) on both R1 R2. All is ok (so why the hell is he sending mails ??) ... Now, i need to isolate some servers into vlans. So i create vlans on the interface managed by VRRP, i told VRRP to use various vlans instead of the parent interface ... And ... here's the probleme ... as you might know, VRRP modify the MAC address of the network card (or of the real parent card in case of vlans) to avoid problems when virtual IP switch from one box to another. When VRRP changes the MAC address of the parent ethernet card of my vlans ... i cannot ping boxes behind anymore ... when i kill freevrrpd (he restore the real mac address) everything comes back to normal ... Is it a bug or a feature (ie, are vlans ether cards linked by the mac address of the ether card .. or something like this ?) If anyone got an idea ... I will try with a FreeBSD 5.2 tomorow .. i'll keep you informed :-) Regards, 'Spyou' - www.spyou.org - [EMAIL PROTECTED] #gtr / ircnet.kaptech.fr - UIN : 6871374 Please, tell me who i am ! - Supertramps ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dhcp on one of 2 nics
I think I can handle the dhcp config, it's just a matter of solving the first problem. There are no errors in dmesg,but they are both using irq11 as follows: pcic0 irq 11 at device 3.0 on pci0 pcic1 irq 11 at device 3.1 on pci0 Memory allocation is different for each. 0x8800 0x88001000 Ken Drew Tomlinson wrote: Redirected to -questions. - Original Message - From: Ken Vescovi [EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 10:06 PM I finally got cable modem access here in the backwoods of west-central PA. I want to set up my Dell Latitude running 4.8 as a gateway doing PAT and using ipfw. I have 2, 3c589c cards and need one to get an address from the cable company via DHCP. The other nic will be configured as the gateway for my home net. Problem one: Card 2 is recognized, but I get this message No free Configuration for card 3Com corp' and no device id is assigned. It doesn't matter which slot the card is in, it seems to only recognize the first and give it device id ep0. I removed the 'default' setting from pcic1 in the kernel config as follows: device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 But it's still not recognized. Any suggestions? I don't really know about this one but I don't any changes are needed in your kernel config. You must have the right driver compiled in as it recognizes one card. If the cards aren't plug-n-play, are you sure both cards are set up to use different interrupts and memory areas? Are both cards seen in your dmesg output? Problem 2 is how do I configure one nic for dhcp and the other for static. I can do the static config, but how do I config the system to have static on card 1 and dhcp on card 2? man rc.conf and man dhclient. You use rc.conf to specify settings for each NIC and dhclient will get setup info from a DHCP server. HTH, Drew -- Ken Vescovi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mozilla compilation and P4 problems?
Hi all, I have a rather annoying problem here. I can't seem to build mozilla from ports (cvsuped at 06:13GMT today). I'm not sure if this is freebsd related but perhaps someone has had a similar problem. I'm running a P4 2.8GHz 800FSB and have tried CPUTYPE set to p4, i686, i386 in /etc/make.conf none seem to make any difference. On a side note I was able to build world and kernel with CPUTYPE=p4 although I noticed the gcc flag seemed to be compiling with -march=pentium3? Here is a dump of the failed compile. Any help would be most appreciated. hammer# pwd /usr/ports/www/mozilla hammer# make build . . . gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/public' gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/util' Creating .deps /usr/bin/perl5 -I../../../config ../../../config/build-list.pl ../../../config/final-link-libs unicharutil_s ../../../config/nsinstall -R -m 644 nsUnicharUtils.h ../../../dist/include/unicharutil /usr/bin/perl5 -I../../../config ../../../config/build-list.pl ../../../dist/include/unicharutil/.headerlist nsUnicharUtils.hgmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/util' gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/src' Creating .deps gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/src' gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/tables' gmake[4]: Nothing to be done for `export'. gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/tables' gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil' gmake[3]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/uconv' /usr/bin/perl5 ../../build/autoconf/make-makefile -t ../.. -d ../.. util/Makefile creating intl/uconv/util/Makefile gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/uconv/idl' gmake[4]: *** [../../../dist/idl] Segmentation fault (core dumped) gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/uconv/idl' gmake[3]: *** [export] Error 2 gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/uconv' gmake[2]: *** [export] Error 2 gmake[2]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/mozilla. Is this possibly a hardware problem? As it's all new hardware I'm a bit suspicious but as I mentioned world and kernel seem to compile fine as well as most of gnome2. Any ideas? Thanks, -- Byron signature.asc Description: This is a digitally signed message part
Re: Mozilla compilation and P4 problems?
On Fri, 2003-11-28 at 01:18, Byron Schlemmer wrote: Hi all, I have a rather annoying problem here. I can't seem to build mozilla from ports (cvsuped at 06:13GMT today). I'm not sure if this is freebsd related but perhaps someone has had a similar problem. I'm running a P4 2.8GHz 800FSB and have tried CPUTYPE set to p4, i686, i386 in /etc/make.conf none seem to make any difference. On a side note I was able to build world and kernel with CPUTYPE=p4 although I noticed the gcc flag seemed to be compiling with -march=pentium3? Here is a dump of the failed compile. Any help would be most appreciated. hammer# pwd /usr/ports/www/mozilla hammer# make build . . . gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/public' gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/util' Creating .deps /usr/bin/perl5 -I../../../config ../../../config/build-list.pl ../../../config/final-link-libs unicharutil_s ../../../config/nsinstall -R -m 644 nsUnicharUtils.h ../../../dist/include/unicharutil /usr/bin/perl5 -I../../../config ../../../config/build-list.pl ../../../dist/include/unicharutil/.headerlist nsUnicharUtils.hgmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/util' gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/src' Creating .deps gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/src' gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/tables' gmake[4]: Nothing to be done for `export'. gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil/tables' gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/unicharutil' gmake[3]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/uconv' /usr/bin/perl5 ../../build/autoconf/make-makefile -t ../.. -d ../.. util/Makefile creating intl/uconv/util/Makefile gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/intl/uconv/idl' gmake[4]: *** [../../../dist/idl] Segmentation fault (core dumped) gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/uconv/idl' gmake[3]: *** [export] Error 2 gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl/uconv' gmake[2]: *** [export] Error 2 gmake[2]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/intl' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/mozilla. Is this possibly a hardware problem? As it's all new hardware I'm a bit suspicious but as I mentioned world and kernel seem to compile fine as well as most of gnome2. Any ideas? CPUTYPE=p4 is not supported in 5.1-RELEASE, but was compensated for by using p3 internally. However, I bet you're still using non-standard CFLAGS or CXXFLAGS. If so, switch back to using default CFLAGS/CXXFLAGS, and the build should work for you. Joe Thanks, -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
strange ping behavior
check this out - I have a fbsd 4.6 box on my network, as well as a fbsd5.1 box and several XP boxes. I have a netgear router/firewall (also does dhcp and print server) box as well. The 4.6 box is set up on the network, the netgear dhcp server finds the box, as well as the 5.1 box, so they are 'talking' on the network. The 4.6 box cannot ping anything. I get this error - ping: sendto: permission denied from any box I try to ping the 4.6 box, and the ping just times out. The 5.1 box works fine. The 4.6 box used to work fine, and was serving web pages, it has apache/php/mysql installed. It went down when the power went out, and since has had the connection problems. Any ideas? -- Chip ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mozilla compilation and P4 problems?
On Fri, 2003-11-28 at 08:26, Joe Marcus Clarke wrote: CPUTYPE=p4 is not supported in 5.1-RELEASE, but was compensated for by using p3 internally. However, I bet you're still using non-standard Ah, okay. Thanks for that. CFLAGS or CXXFLAGS. If so, switch back to using default CFLAGS/CXXFLAGS, and the build should work for you. Hmm strange thing is I am using the defaults from /usr/share/examples/etc/make.conf, I've even tried removing them from my /etc/make.conf it still seems to die. Albeit in a different spot now? gmake[3]: Entering directory `/usr/ports/www/mozilla/work/mozilla/netwerk/socket' gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/netwerk/socket/base' . . . ../../../dist/bin/xpidl -m typelib -w -I ../../../dist/idl -I. -o _xpidlgen/nsISSLSocketControl nsISSLSocketControl.idl ../../../dist/bin/xpt_link _xpidlgen/necko_socket.xpt _xpidlgen/nsISocketProvider.xpt _xpidlgen/nsISocketProviderService.xpt _xpidlgen/nsISOCKSSocketProvider.xpt _xpidlgen/nsISOCKSSocketInfo.xpt _xpidlgen/nsISOCKS4SocketProvider.xpt _xpidlgen/nsISOCKS4SocketInfo.xpt _xpidlgen/nsISSLSocketProvider.xpt _xpidlgen/nsITransportSecurityInfo.xpt _xpidlgen/nsISSLSocketControl.xpt ../../../config/nsinstall -R -m 644 _xpidlgen/necko_socket.xpt ../../../dist/bin/components gmake[4]: *** [libs] Illegal instruction (core dumped) gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/netwerk/socket/base' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/netwerk/socket' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/netwerk' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Joe Thanks for such a quick response. Any ideas now? -- Byron signature.asc Description: This is a digitally signed message part