Re: mysql323 + gcc on 4.8-s
Mike Hoskins wrote: 4.8-stable as/of jun 9th (update scheduled) has gcc version, 2.95.4 i'm building mod_php3 (some local stuff needs a php3 processor) with mysql support. using the mysql323 client/server from ports. mysql (which i know i've built before on older stable's) reports gcc can't convert longlong to something or other... basicly saying i need a newer compiler. i'm installing gcc33 from ports, since it's the latest release according to gnu's site... but running 'make check' (which is still running) has been spitting out quite a few failures like, FAIL: SyncGlobal -O execution - bytecode-native test FAIL: Thread_Sleep output - bytecode-native test FAIL: Throw_2 execution - source compiled test FAIL: Throw_2 execution - gij test FAIL: Throw_2 execution - bytecode-native test FAIL: Throw_2 -O execution - source compiled test FAIL: Throw_2 execution - gij test FAIL: Throw_2 -O execution - bytecode-native test WARNING: program timed out. FAIL: anon2 execution - gij test WARNING: program timed out. should i be concerned? :) furthermore, should this be required for mysql323 under -stable? Hmmm, odd. Maybe try updating your ports collections and try again. I've had mysql 3.23 running under freebsd 4.x for over a year now. I was able to compile it from the ports using the version of gcc that comes with freebsd. No special voodoo or switches used. Currently running 3.23.57 on a fbsd 4.7 box without problems. Word on the street is that for a freebsd+mysql to take advantage of multiple cpus, one needs to add linuxthread support. Checkout: http://jeremy.zawodny.com/blog/archives/000697.html http://jeremy.zawodny.com/blog/archives/000203.html http://jeremy.zawodny.com/blog/archives/000458.html I haven't attempted the above or have a pressing for it at the moment. But it might be useful info for you. good luck, greg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mbuf Clusters on 4.8
John Bdckstrand wrote: Ive been googling quite a bit now for problems with running out of mbuf clusters. Im basically sending a 30k datachunk down 1000-4000 connections, but 1000 is more than enough to quickly fill upp 8192 mbuf clusters. I also tried setting maximum amount of mbuf clusters to 65536, but that only made the box hard-wire 86MB of 96MB RAM, making it just as unsuable as a dead machine. It isn't the amount data you are sending but the overhead required for each network connection. I would recommend adding more RAM. Bump it up to 256MB. With mbuf set at 65536 and using 86MB, you should still have plenty left for your application. If that doesn't solve your problem or you can't add more memory, then you'll want to look at controling the number of simultaneous connections to a number that your box can handle. Of course, when the machine runs out of mbuf clusters, it dies. I also found this with google: Finally, the fact that FreeBSD 3.x panics when it runs out of mbuf clusters is a well-known problem. The solution is to not let it run out of mbuf clusters by configuring a sufficient number for them. From this it sounds as it is a problem that should be fixed, but it obviously isnt in 4.8. Is this behaviour now considered acceptable? And if so, doesnt this make FreeBSD extremely easy to kill using a simple DOS-attack? Is this fixed in any way on 5.1? Yup, that is what DoS attack is... exhaustion of one or more resources of the victim. P2P software is an easy way to exhaust mbuf buffers on a box. P2P software(e.g. edonkey) can be a useful network stress tool; opens lots of connections and pushes a lot of data. My experience with mbuf exhaustion on a 4-stable boxes has been the box basically loses network connectivty until it can recover some buffers. The box is still responsive from the console and killing the offending application from the console will free up the mbufs and restore network connectivity. good luck, greg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make search key= quite useless these days
Gunnar Flygt wrote: What are we supposed to use for information on ports nowadays, since the port info has been taken away and more and more of the `make search key=anything` gives a result like: Port: xsmbrowser-3.3.0 Path: /usr/ports/net/xsmbrowser Info: ** No Description Maint: [EMAIL PROTECTED] Index: net B-deps: R-deps: XFree86-libraries-4.2.1_7 cups-base-1.1.18.0_4 expect-5.38.0_1 freetype2 -2.1.3_1 imake-4.2.0_1 jpeg-6b_1 png-1.2.5_2 samba-2.2.7a tcl-8.3.5 tiff-3.5.7 t k-8.3.5 Port: smb2www-0.0.980804_1 Path: /usr/ports/www/smb2www Info: ** No Description Maint: [EMAIL PROTECTED] Index: www B-deps: R-deps: apache-1.3.27_4 cups-base-1.1.18.0_4 expat-1.95.6_1 jpeg-6b_1 p5-MIME-Ba se64-2.16 png-1.2.5_2 samba-2.2.7a tiff-3.5.7 Not much help there! H, maybe something is buggared on your end? Here are my results for the above searches [net-mgmt]:[/usr/ports]:make search key=xsmbrowser Port: xsmbrowser-3.3.0 Path: /usr/ports/net/xsmbrowser Info: Tcl/Tk port of Windows' Network Neighborhood Maint: [EMAIL PROTECTED] Index: net B-deps: R-deps: XFree86-libraries-4.2.1_6 cups-base-1.1.18.0_4 expect-5.38.0_1 freetype2-2.1.3_1 imake-4.2.0_1 jpeg-6b_1 png-1.2.5_1 samba-2.2.7a tcl-8.3.5 tiff-3.5.7 tk-8.3.5 [net-mgmt]:[/usr/ports]:make search key=smb2www Port: smb2www-0.0.980804_1 Path: /usr/ports/www/smb2www Info: Windows Network client that is accessible through a web browser Maint: [EMAIL PROTECTED] Index: www B-deps: R-deps: apache-1.3.27_1 cups-base-1.1.18.0_4 jpeg-6b_1 p5-MIME-Base64-2.16 png-1.2.5_1 samba-2.2.7a tiff-3.5.7 Maybe try refreshing your ports tree? greg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.0 will not boot
Jd wrote: Hi everyone, I released turned to FreeBSD simply because I am discouraged with windows and there security scheme (did you guys see the document microsoft wrote about how to stop windows from sending out info about your computer onto the net? it's freaking 250 pages, and that doesn't cover all the xtra exploits that can come in your computer). Anyways, I recently tried 4.8 rc2, and it worked like a charm. So I wanted to try 5.0...that was a problem. Unfortunately, 5.0 won't boot for me. I go through the installation procedure without a glitch. But then, when comes first boot, after the initial message (when you have a 10 second delay and you push enter) all I get is hex being dumped to my screen, and alot of it. Now I think I read somewhere that FreeBSD5.0 now comes with a splash screen when it boots. I have a geforce ti4200. To make X work (under 4.8) I needed to get the nvidia drivers, would this affect anything? If so, how do I get to install those drivers before I can get a first boot? (I tried booting from the cd, and getting a shell, but I can't even 'ls' from that shell) If it hurts when you do that, don't do that. :) Just run 4.8, 5.0 is still beta code. If you're still interested in trying 5.0... first see if you can get it run without X windows. Instead of pressing the enter key, press the any key to get a boot prompt and then type 'boot -s' to boot into single user mode. If you can boot into single user mode, then you know the OS can boot. And problem is most likely with getting X to run. Don't know how to really explain how to trouble-shoot X windows problems. But you might want to try using the stock nvidia driver or the stock vga driver that comes with X before attempting to using the drivers provided by nvidia(not sure those work with 5.0 anyways). Comment out the line in /etc/ttys that contains xdm -nodaemon to keep freebsd from starting X windows at boot-up. Make sure at least ttyv0 is uncommented, so you'll get a console prompt. But since you're new to freebsd, I suggest sticking with 4.8 and getting a feel for it. This will give you a stable platform to learn with and an idea of how to trouble-shoot problems. Good luck, greg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make search key= quite useless these days
Gunnar Flygt wrote: On Wed, Apr 02, 2003 at 06:05:44AM -0600, Greg Panula wrote: Gunnar Flygt wrote: What are we supposed to use for information on ports nowadays, since the port info has been taken away and more and more of the `make search key=anything` gives a result like: Port: xsmbrowser-3.3.0 Path: /usr/ports/net/xsmbrowser Info: ** No Description Maint: [EMAIL PROTECTED] Index: net B-deps: R-deps: XFree86-libraries-4.2.1_7 cups-base-1.1.18.0_4 expect-5.38.0_1 freetype2 -2.1.3_1 imake-4.2.0_1 jpeg-6b_1 png-1.2.5_2 samba-2.2.7a tcl-8.3.5 tiff-3.5.7 t k-8.3.5 Port: smb2www-0.0.980804_1 Path: /usr/ports/www/smb2www Info: ** No Description Maint: [EMAIL PROTECTED] Index: www B-deps: R-deps: apache-1.3.27_4 cups-base-1.1.18.0_4 expat-1.95.6_1 jpeg-6b_1 p5-MIME-Ba se64-2.16 png-1.2.5_2 samba-2.2.7a tiff-3.5.7 Not much help there! H, maybe something is buggared on your end? I don't know what you mean with the word buggared but whatever it is, this system is one of a lot of FreeBSD mashines showing the same result after having done cvsup of the ports tree. It started a few weeks ago, when the pkg-message file disappeared from the ports directories. Any connection? buggared = fubar'd = hosed = wrong Aye, missing pkg-message files could be the cause of your problems. Refresh your ports tree via cvsup and life should be good again. I have just refreshed my ports tree and I still get a useful 'Info' line when using 'make search key='. Here are the first few lines of the sup file I use for refreshing my ports tree. -8-- *default host=localhost *default base=/usr/local/etc/sup *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix #ports-all # These are the individual collections that make up po # use these, be sure to comment out ports-all above. ports-archivers #ports-astro ports-audio ports-base -8-- The important bits are: *default release=cvs tag=. and ports-base Then when I refresh I use the command 'cvsup -gL 2 ports-supfile' greg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: serious perl issue
David Holm wrote: Hi, I installed FreeBSD 4.7 on my SMP machine (2xP3) a couple of weeks ago. The problem I'm having is that something is spawning alot of perl processes that never die. After having the machine running for 10 hours almost all of my ram and about 50% of the swap is filled with perl processes that never seem to die. After about two days the machine is totally useless and my vnc session dies as soon as I log in to it (I'm assuming it's because there is no ram and the swap is full). I have upgraded to the latest world and kernel from RELENG_4 and all installed applications are up to date. I have tried using both perl 5.6 from ports and the one that comes with 4.7 and I still have the same problem. I'm totally stuck here as I have no idea what is causing this, I never had this problem on my newer P3 with 4.7 on. This is what top looks like after 9hours (sorted by reserved mem size): last pid: 45833; load averages: 0.51, 0.51, 0.42up 6+01:05:36 11:27:00 146 processes: 1 running, 144 sleeping, 1 stopped CPU states: 7.4% user, 0.0% nice, 11.7% system, 1.9% interrupt, 79.0% idle Mem: 108M Active, 18M Inact, 53M Wired, 6888K Cache, 29M Buf, 572K Free Swap: 368M Total, 161M Used, 208M Free, 43% Inuse, 8K In PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 55649 avatar 2 0 26468K 14228K select 1 369:36 12.79% 12.79% Xvnc 45444 avatar 2 0 32700K 13296K poll 1 0:14 0.00% 0.00% konqueror 45460 avatar 2 0 19392K 7368K poll 0 0:27 2.00% 2.00% kdeinit 45458 avatar 2 0 17768K 6512K poll 0 0:00 0.00% 0.00% kdeinit 45464 avatar 2 0 17300K 6344K poll 0 0:00 0.00% 0.00% kdeinit 55821 avatar 2 0 13568K 6344K poll 0 6:58 0.00% 0.00% sylpheed-cla 55724 avatar 2 0 20492K 6028K poll 1 18:57 0.00% 0.00% sim 45454 avatar 2 0 17268K 5920K poll 0 0:00 0.00% 0.00% kdeinit 45451 avatar 2 0 17140K 5904K poll 0 0:00 0.00% 0.00% kdeinit 45801 root 10 0 4096K 3540K nanslp 0 0:00 0.00% 0.00% perl 45568 root 10 0 4096K 3436K nanslp 0 0:00 0.00% 0.00% perl 55702 avatar 2 0 6048K 1944K poll 1 7:13 0.00% 0.00% irssi 45332 root 10 0 4096K 1884K nanslp 1 0:00 0.00% 0.00% perl 55664 avatar 2 0 15840K 1840K poll 1 301:59 6.45% 6.45% gkrellm 39600 root 10 0 4096K 1732K nanslp 1 0:03 0.00% 0.00% perl 39708 root 10 0 4096K 1732K nanslp 0 0:03 0.00% 0.00% perl 39810 root 10 0 4096K 1732K nanslp 0 0:03 0.00% 0.00% perl 40015 root 10 0 4096K 1732K nanslp 0 0:03 0.00% 0.00% perl 40114 root 10 0 4096K 1732K nanslp 0 0:02 0.00% 0.00% perl 38641 root 10 0 4096K 1728K nanslp 0 0:04 0.00% 0.00% perl 38695 root 10 0 4096K 1728K nanslp 1 0:04 0.00% 0.00% perl 38874 root 10 0 4096K 1728K nanslp 1 0:03 0.00% 0.00% perl 38941 root 10 0 4096K 1728K nanslp 0 0:03 0.00% 0.00% perl 39013 root 10 0 4096K 1728K nanslp 1 0:03 0.00% 0.00% perl 41659 root 10 0 4096K 1728K nanslp 0 0:02 0.00% 0.00% perl 41815 root 10 0 4096K 1728K nanslp 1 0:02 0.00% 0.00% perl 42493 root 10 0 4096K 1728K nanslp 0 0:01 0.00% 0.00% perl 43237 root 10 0 4096K 1728K nanslp 1 0:01 0.00% 0.00% perl 43428 root 10 0 4096K 1728K nanslp 1 0:01 0.00% 0.00% perl 44062 root 10 0 4096K 1728K nanslp 0 0:01 0.00% 0.00% perl 44265 root 10 0 4096K 1728K nanslp 0 0:01 0.00% 0.00% perl 44663 root 10 0 4096K 1728K nanslp 1 0:00 0.00% 0.00% perl 44893 root 10 0 4096K 1728K nanslp 0 0:00 0.00% 0.00% perl 45118 root 10 0 4096K 1728K nanslp 1 0:00 0.00% 0.00% perl 54613 root 10 0 4096K 1724K nanslp 0 0:04 0.00% 0.00% perl 39246 root 10 0 4096K 1724K nanslp 1 0:03 0.00% 0.00% perl //David Holm You need determine what is the spawning the perl processes and then either figure out why the process won't finish cleanly or keep them from spawning in the first place. After a few perl processes have been spawned try the following commands: ps awwx This should give you the complete command line of all running processes. fstat This should give a list of the various open files, what opened it and such. See the man page for more info. Good luck, greg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: ipfw traffic shaping
Martin Hudec wrote: Hello, I have question regarding ipfw traffic shaping: This were default settings: 4: 2.000 Mbit/s0 ms 30 sl. 1 queues (1 buckets) droptail mask: 0x00 0x/0x - 0x/0x BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp 0 tcp 192.168.x.x/1037 y.y.y.y/80299073 117448216 00 1 New settings are the same but with 50 sl. instead of former 30. Is this number of slots in queue? How can I change it to former settings? Can anyone help me please? You should probably take a gander at the man page for ipfw. http://www.freebsd.org/cgi/man.cgi?query=ipfwapropos=0sektion=0manpath=FreeBSD+4.7-stableformat=html 50 slots is the default. `ipfw pipe config 4 bw 2 Mbit/s queue 50` should reset your current pipe. good luck, greg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: IPFW/dummynet/ppp bw device question
Sten Daniel Sørsdal wrote: Hello I took a look at the documentation for IPFW and under the dummnet section it is mentioned that the 'bw' parameter can be given a device for use with ppp(8), however i have failed finding any information on this. What i am looking into is to setup pipes for each dial-in user (for QoS/shaping). And I was kind of hoping this was something i could control in ppp without having to reinsert new rules every time a user logged in. Anyone ever used this feature or know anything about it? Awww, dial-up is such low bandwidth why bother further limiting the user's available bandwidth? ;) You could do general shaping for specific services(e.g. http) by using pipes on the lan attached nic. Something like: ipfw add 1000 pipe 80 tcp from ppp network to any 80 out via lan nic For individual ppp users/connections the options are probably(I haven't done any of this): 1) assign general traffic shaping pipe to ppp interfaces by specifying the interface with the firewall rule (e.g. ipfw add 1000 pipe 100 ip from any to any via ppp0) 2) assign static addresses to the users and adjust rules as needed 3) dynamically addremove rules... I'll guess as part of ppplogin script I'm not sure there is much value in applying traffic shaping rules/pipes to individual ppp interfaces. The total available bandwidth for each ppp connection is pretty low and it is already dedicated to just that one user anyways. Good luck, Greg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: Need instructions: build kernel on one machine; install on another
Chen Xu wrote: On Tuesday, August 13, 2002, at 10:37 AM, Michael Sierchio wrote: Beware the contents of /etc/make.conf if you have machines with different processors (Athlon versus Pentium versus i686) Are you saying the kernel compiled at one type of cpu will not work on the other type of cpu EVEN the config file it right? A generic kernel shipped with CD was certainly compiled with only one type of cpu? I might miss something here. I use an Althon CPU in my world-builder box and I haven't run into any problems with worldskernels built on that box for Intel based machines(P90-PIII450). The worldbuilder has an empty /etc/make.conf. I think Michael was just warning about CPU specific stuff in /etc/make.conf on the machine doing the actual building. Take a look at /etc/defaults/make.conf for various CPU specific variables that can be set. greg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: Freebsd 4.6 stable
Kevin Miller posted a possible solution for this type of problem earlier. From his email ~~~ if you hit a key (other than Enter) at the bootloader prompt during CD boot, and type: set hw.ata.atapi_dma=1 it should let you it install. ~~~ Doug Barton also posted a similar email. He suggested the following... hw.ata.ata_dma=1 hw.ata.atapi_dma=1 So, it looks like set hw.ata.atapi_dma to 1 and if that doesn't work set both hw.ata.ata_dma hw.ata.atapi_dma to 1 and retry. So far, it looks like AOpen CD-Rom drives need hw.ata.atapi_dma set to 1 for things to jive right. Then after fbsd 4.6 is installed you'll need to add the set line to your /boot/loader.conf. Both emails can currently be found at: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+current/freebsd-stable Cheers, Greg Rick Knospler wrote: Just downloaded disc 1 of freebsd 4.6. Is this the stable version at this point? I tried to install it and it hangs right at the start of when it usually would copy files (chunks) from the CD.. Downloaded the CD 2 times from ftp.freebsd.org. Using a Tyan 2207t Motherboard with built in promise ata/100 raid and 2 60GB drives mirrored.. 4.5 installs fine on this hardware. The 4.6 release locks up.. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: Intel Pro/100+ Dual Port NIC card (711269)
Alessandro de Manzano wrote: are these the 'server' versions or what ? Intel PRO/100 S Dual ? I would buy a Dell poweredge 350 (1U rack) but I'ld sure if such boards are well supported :-) Quick-specs on the DL360 can be found at: http://www.compaq.com/products/servers/proliantdl360/description.html#quickspecs Compaq lists the NIC as Two Compaq NC3163 Fast Ethernet NIC Embedded 10/100 WOL (Wake On LAN). So, they might just be seperate embedded nics. The dual-port card is Compaq's NC3134. Info on that can be found at: http://www.compaq.com/products/servers/networking/NC3134/index.html My DL360 is a little older than the currently available model and the dual-port card is something I salavaged from another older machine. From the boot-up messages it looks like all four ports are using Intel's 82555 ASIC. I'm not sure which ASIC/chipset is on the latest Intel PRO/100 S Dual. According to the specs on the NC3134, the latest Intel ASIC is 82559. Maybe see if you get an eval unit of the Intel PRO/100 S Dual? Here is the boot-up message involving the nics. fxp0: Intel Pro 10/100B/100+ Ethernet port 0x4000-0x403f mem 0xc6a0-0xc6af,0xc6bff000-0xc6bf irq 7 at device 4.0 on pci3 fxp0: Ethernet address 00:02:a5:8b:d4:dd inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Intel Pro 10/100B/100+ Ethernet port 0x4040-0x407f mem 0xc680-0xc68f,0xc69ff000-0xc69f irq 10 at device 5.0 on pci3 fxp1: Ethernet address 00:02:a5:8b:d4:dc inphy1: i82555 10/100 media interface on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib2: DEC 21154 PCI-PCI bridge at device 6.0 on pci3 pci4: PCI bus on pcib2 fxp2: Intel Pro 10/100B/100+ Ethernet port 0x5000-0x503f mem 0xc6e0-0xc6ef,0xc6fff000-0xc6ff irq 11 at device 4.0 on pci4 fxp2: Ethernet address 00:02:a5:5c:f6:78 inphy2: i82555 10/100 media interface on miibus2 inphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp3: Intel Pro 10/100B/100+ Ethernet port 0x5040-0x507f mem 0xc6c0-0xc6cf,0xc6dff000-0xc6df irq 11 at device 5.0 on pci4 fxp3: Ethernet address 00:02:a5:5c:f6:79 inphy3: i82555 10/100 media interface on miibus3 inphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Cheers, Greg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message