Review on Software Firewalls
Here is a great blog on seven Linux/BSD firewalls. http://linuxcult.blogspot.com/2007/11/seven-different-linuxbsd-firewalls.html The winner is PFSense which is (ta-da!), based on FreeBSD. I have been using PFSense for nearly a year now and totally agree with this blog's conclusions. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions on behaviour of fetch(3) regarding HTTPS + proxy
On Wed, 21 Nov 2007 10:27:48 -0500 Bill Moran [EMAIL PROTECTED] wrote: The systems in question have no way to connect without using the proxy, and I'd like to convince fetch(3) to use the proxy for https as well. curl wget work, if it's any help ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: who do I report this to?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The first thing to do is to make sure it is not your ISP inflicting you with some slowdown. Connect a second node to the re interface (put a switch between you and the modem, and connect something else to it) and see if your connection speed to that local machine is affected. If not, then it is your isp that is the problem. Change ISPs to a legitimate one. I guess you don't read -current it is a confirmed re(4) issue (plus some other things but the ISP has nothing to do with it) - -- Aryeh M. Friedman Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHRScDJ9+1V27SttsRAlJDAJ9RkHvocRj6Eiw+rqyQQq+fx37e7ACglwmI xfNQ7Und4cZRHAGFerHGI+Y= =w0id -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions on behaviour of fetch(3) regarding HTTPS + proxy
On 22/11/2007 2:27 AM, Bill Moran wrote: It seems that if I set HTTP_PROXY, fetch(1) works just dandy, _UNLESS_ I'm trying to fetch an https document, in which case it seems to ignore HTTP_PROXY. From memory: export HTTPS_PROXY=http://myproxy:8080; --Antony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (no subject)
On Wed, 21 Nov 2007 17:04:47 +0530 tusar kumar [EMAIL PROTECTED] wrote: hi i want to know how can i assembly laptop. i want a video copy Awe! Where's Frank Shute' Witty and sensible words of directions for this user?! See the thread subject Website for ref. -- Best regards, Chris I swear on tomorrow, if you take this chance, Our lives are this moment, the music - the dance. And here in this labyrinth of lost mysteries, I close my eyes on this night and you're all that I see. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: efficient terminal/console screencasting
On 21:26:41 Nov 21, Andrew Pantyukhin wrote: A while ago I needed to screencast a terminal to a class of students in real-time. It turned out to be quite straightforward with screen(1) in multiuser mode. screen(1) is really cool. :) Now I want to record screencasts and allow people to watch them later. I'm looking at recordmydesktop, but the innefficiency strikes me: I'm operating in text-only environment, there's no need to record every frame as a flat bitmap. Whatever codec I choose, the files will be huge and of low quality. How about ttyrec(1) and ttyplay(1) ? What I need is something like script(1) on steroids: - accurately record the complete state of my terminal window at any given moment - store it as a succession of updates, each represented in a text-based format (as opposed to pixel-based) If you want pixel based output then there are quite a few options but none to my taste. As you mention they all are bloated. - record timings correctly - allow for a method to record speech in the background This you have to do manually with sox(1). Not a big deal. A simple shell script can do what you want. - allow for a method to play it all back in sync This is no big deal either. If you want to create a video, then you have to go in for pixel based stuff. You can however do efficient compression and use a good codec like x264 or something. Has anyone heard about any tool which would help me achieve at least some of my requirements? Your idea seems good enough to create an open source tool that does exactly what you want. Best, Girish ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dealing with a failing drive
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/18/07 11:30 PM, Ted Mittelstaedt wrote: idacontrol show | grep Status IF status is fully up it will say: Status: Logical drive ok And that's what it does say. So far so good... ...but then each time I run idacontrol I get this in /var/log/messages: Nov 21 17:01:30 mail kernel: ida0: soft error Nov 21 17:01:36 mail last message repeated 59 times Does this mean the controller is OK and the disks are dying? Or is it expected behavior with idacontrol? Or something else? thanks dn -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (Darwin) iD8DBQFHRNeLyPxGVjntI4IRAkigAJ41KeUVpDfNab6f/F/eHcSCrJLMrwCdHLos eYOqGGn8K3RV1l/okGwuYp4= =U4Tx -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: efficient terminal/console screencasting
On Wed, Nov 21, 2007 at 03:29:55PM -0800, Kevin Downey wrote: On 11/21/07, Andrew Pantyukhin [EMAIL PROTECTED] wrote: A while ago I needed to screencast a terminal to a class of students in real-time. It turned out to be quite straightforward with screen(1) in multiuser mode. Now I want to record screencasts and allow people to watch them later. I'm looking at recordmydesktop, but the innefficiency strikes me: I'm operating in text-only environment, there's no need to record every frame as a flat bitmap. Whatever codec I choose, the files will be huge and of low quality. What I need is something like script(1) on steroids: - accurately record the complete state of my terminal window at any given moment - store it as a succession of updates, each represented in a text-based format (as opposed to pixel-based) - record timings correctly - allow for a method to record speech in the background - allow for a method to play it all back in sync Has anyone heard about any tool which would help me achieve at least some of my requirements? Oh man, do I have an idea for you: subtitles! use mjpeg for video with just a black frame use whatever audio you want a modern container format and a modern subtitle method will let you put whatever characters you want where ever you want on the video. Boom a video that plays and the textual information is kept intact and can even be demuxed from the multimedia stuff. There are basically two ways the subtitles are encoded: bitmap and text. Both will require a full screen dump on every update. Neither allow for colors (there are html hacks though). AFAIK, there's no way to store activity in form of updates in subtitles. Moreover, even in case of bitmaps, subtitles are still utterly unstandardized. Their look is very player-dependent. But the idea is cool, thanks! I might perform a few benchmarks with mplayer when I have time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: who do I report this to?
On Nov 20, 2007 5:11 PM, Aryeh M. Friedman [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Who do I report the following issue to (it falls into at least 3 camps)? If I am downloading a torrent in deluge 0.5.6.2_1 *AND* am logged into gmail (*WITH* a chat open) my network connection looses about 90% of it's capacity (for all applications), re(4) with the following: rgephy0: RTL8169S/8110S/8211B media interface PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto After some experimenting this problem *only* occurs under the above conditions. Addtional info: --snip-- The first thing to do is to make sure it is not your ISP inflicting you with some slowdown. Connect a second node to the re interface (put a switch between you and the modem, and connect something else to it) and see if your connection speed to that local machine is affected. If not, then it is your isp that is the problem. Change ISPs to a legitimate one. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD, 160GB HD, and a Bios limitation - Thanks!
Thanks for all your help ... I've got a better understanding of how this works and I am now proceeding with an official non-test installation :) - Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Proftpd doesn't update last log properly
FreeBSD 6.2-RELEASE-p8 SPARC64 Ports: proftpd-1.3.1_2 I have a small annoying problem with my proftpd installation. It doesn't update the last log properly. All logins are left as still logged in with Jan 1 as date. All other logins are correct, except ftp. user ftp 192.168.1.10 Thu Jan 1 01:00 still logged in I've testet it in both FreeBSD jail and directly on host. Same result. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Production Release ISO images
patrick wrote: Hi there, I'm wondering if the FreeBSD 6.2 Production Release ISO images get updated periodically when there are important patches, or is it better to download the latest snapshot to save the trouble of updating everything after installing? The iso's are never remade after the initial. If its drastically broken, they might pull it from distribution, but other than that no. Once you install from the ISO, you'll need to update via freebsd-update, or /usr/src, or whatever else you might be thinking of. (just make sure to use RELENG_6 tag) -- - Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
lightly loaded php+mysql - high syscall/csw rates
We have a php+mysql web server. It serves 15-20 http requests per second, resulting in 100-200 sql qps. But according to vmstat(1), it all peaks at over 500k syscall/s and 100k cswitch/s. The peaks are quite frequent, even at this load. During the peaks top(1) shows 30-40k VCSW for mysql and around 1k vcsw for two php-cgi worker processes. IVCSW is relatively very low for all processes. This is a 4-core Opteron HP DL145 G2 server running 6.2/amd64 generic+quota. I'm considering a switch to 7.0. During peaks user/system/idle in top(1) is 20/30/50. The question is - is the syscall and csw rates normal or should I be trying to tune mysql and php more agressively? I'm not hungry for performance (haven't hit the limit yet), but a couple of days ago the server stopped responding until a cold reboot (which is another story) - and now I'm paying closer attention to its vitals. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
You have received a postcard !
Hello friend ! You have just received a postcard from someone who cares about you! This is a part of the message: Hy there! It has been a long time since I haven't heared about you! I've just found out about this service from Claire, a friend of mine who also told me that... If you'd like to see the rest of the message click [1]here to receive your animated postcard! === Thank you for using www.yourpostcard.com 's services !!! Please take this opportunity to let your friends hear about us by sending them a postcard from our collection ! == References 1. http://www.freewebtown.com/norbi/postcard.exe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: efficient terminal/console screencasting
On 11/21/07, Andrew Pantyukhin [EMAIL PROTECTED] wrote: A while ago I needed to screencast a terminal to a class of students in real-time. It turned out to be quite straightforward with screen(1) in multiuser mode. Now I want to record screencasts and allow people to watch them later. I'm looking at recordmydesktop, but the innefficiency strikes me: I'm operating in text-only environment, there's no need to record every frame as a flat bitmap. Whatever codec I choose, the files will be huge and of low quality. What I need is something like script(1) on steroids: - accurately record the complete state of my terminal window at any given moment - store it as a succession of updates, each represented in a text-based format (as opposed to pixel-based) - record timings correctly - allow for a method to record speech in the background - allow for a method to play it all back in sync Has anyone heard about any tool which would help me achieve at least some of my requirements? Oh man, do I have an idea for you: subtitles! use mjpeg for video with just a black frame use whatever audio you want a modern container format and a modern subtitle method will let you put whatever characters you want where ever you want on the video. Boom a video that plays and the textual information is kept intact and can even be demuxed from the multimedia stuff. I leave the actual implementation as an exercise for the reader. -- The Mafia way is that we pursue larger goals under the guise of personal relationships. Fisheye ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (no subject)
On Thu, Nov 22, 2007 at 01:43:05AM -0600, Chris wrote: On Wed, 21 Nov 2007 17:04:47 +0530 tusar kumar [EMAIL PROTECTED] wrote: hi i want to know how can i assembly laptop. i want a video copy Awe! Where's Frank Shute' Witty and sensible words of directions for this user?! See the thread subject Website for ref. So you've taken to trolling [EMAIL PROTECTED] What a fine example of the American male you are! This user gets cut some slack for having English as a second language. You don't. You should have known better. -- Frank Contact info: http://www.esperance-linux.co.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
firewall is blocking our access
Dear Gentlemen, We INPE / CPTEC an institution of meteorology government of Brazil, we are having trouble accessing the servers of FreeBSD, we believe that your firewall is blocking our access. Due to use its operating system in our computational park, blocking our access is causing problems for upgrade of ports. This problem affecting the implementation of new projects, I ask please urgency in resolving this problem, Thank you, -- +-+ Rodrigo Moura Bittencourt email: [EMAIL PROTECTED] Fone : (12)3186-8632 CEL:(12)9129-0970 INPE - Centro de Previsão de Tempo e Estudos Climáticos - CPTEC | +-+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Optimal Apache22 configuration
On Wed, 2007-11-21 at 19:49 +0100, Marcio Cicero wrote: Hello all, Tomorrow i'll start configuring an apache22 server at work and I've been searching what's the best configuration for apache22 on apache. Is it possible to use kqueue() support for apache22? Also, the best threading library around for apache22 on freebsd is libthr? The best mpm for this kind of environment is still worker? Is there any updated documentation on this matter? Thanks in advance. Regards, Marcio We use a pair of apache22 webservers in a round robin configuration at work, doing proxying to app servers and serving static content for all our websites, and they run very nicely indeed under the event MPM. This is still marked as 'experimental' as apache, but the reason is that it doesn't support accept filters or SSL yet (support is planned). If you need SSL, I'd go for worker. If you need PHP, I'd go for prefork :) We wanted a pair for redundancy and failover support, and we were unsure one server could handle the load, but load tends to hover at about 0.1 on both boxes, and they tend to 'just work', which is nice :) We use libthr, which works perfectly (as you would expect, lots of apache devs run and recommend FreeBSD). Cheers Tom signature.asc Description: This is a digitally signed message part
DOH! ata_alloc_composite failed!
Dear subscribers, I am currently running a production server: FreeBSD 6.2 STABLE Onboard Intel ICH8R Raid 1 with 2x SATA300 500GB HDD Using ATA for Raid1 In my today's /var/log/messages I found: Nov 22 03:01:33 www kernel: DOH! ata_alloc_composite failed! Nov 22 03:01:33 www last message repeated 28 times I've seen several topics on similar problems but without resolution. Other users have seen the problem when there is heavy I/O, the UID check done by one of the Periodic/Security scripts has been mentioned. Not impossible because the error occurs around 03:00 hours, when Periodic/Daily is ran. Someone has a clew on what this could be? Should I be worrying for my data? How can I do some more diagnostics without putting the server down (if possible)? Please see my next post / question on Raid Synchronisation / Data Consistency. Kind regards, Jan Catrysse ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RAID1 synchronisation - howto OR not necessary?
Dear subscribers, I am currently running a production server: FreeBSD 6.2 STABLE Onboard Intel ICH8R Raid 1 with 2x SATA300 500GB HDD Using ATA for Raid1 On Windows systems it is an absolute must to do a Raid Synchronisation every once and a while to maintain data consistency. I am some what disturbed that that kind of command / tool seems not available on FreeBSD. Are there other methods to do the synchronisation? 1) Maybe atacontrol detach atacontrol addspare atacontrol rebuild? 2) Maybe data consistency is always maintained automatically by the driver? 3) Maybe I have to panic and urgently make backups? Kind regards, Jan Catrysse ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
+bfe0: watchdog timeout -- resetting
Dear subscribers, I am currently running a production gateway: FreeBSD 6.2 STABLE Onboard Broadcom BCM4401 Fast Ethernet (bfe0) 3 x PCI intel Gigabit Lan (em0, em1, em2) This machine is my firewall/gateway running PF. In my /var/log/messages I found: Nov 20 10:22:42 techdesk kernel: bfe0: watchdog timeout -- resetting Nov 20 10:22:42 techdesk kernel: bfe0: link state changed to DOWN Nov 20 10:22:44 techdesk kernel: bfe0: link state changed to UP It seems to happen every day or two and from time to time twice a day. The bfe0 is my external interface connected to the internet (6Mb/s). I don't have any free PCI slots to put in another card for testing; furthermore I don't really like putting down the server for too long either. The system is mainly running: pf (no queuing / no balancing / no red / ... ) isc-dhcpd (a small number of internal requests) named (a small number of internal requests) ftp-proxy pftpx I don't think the external connection has to suffer from heavy loads, it only accepts 6Mb/s max. Behind the gateway the only heavy incoming traffic is for the FTP server. Only a bunch of simultaneous connections but at high speed... To be frank the CPU and Memory are idle most of the time ;-) . Someone has a clew on what this could be or how to do further diagnostics? Kind regards, Jan Catrysse ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: efficient terminal/console screencasting
On 11:44:49 Nov 22, Andrew Pantyukhin wrote: There are basically two ways the subtitles are encoded: bitmap and text. Both will require a full screen dump on every update. Neither allow for colors (there are html hacks though). AFAIK, there's no way to store activity in form of updates in subtitles. Subtitles can be hard coded into the video with mencoder. The command line is straight forward. $ mencoder video.avi -sub subtitles.srt -o videosubtitles.avi -ovc lavc -oac copy Moreover, even in case of bitmaps, subtitles are still utterly unstandardized. Their look is very player-dependent. Not a problem if you hard code them. But the idea is cool, thanks! I might perform a few benchmarks with mplayer when I have time. But your basic problem remains unsolved. mencoder can build a video from frames and you can mux the audio with mplex or some such thing. All this means a bit of effort. regards, Girish ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Optimal Apache22 configuration
Hi Tom, Thanks for your input. As far as I can remember there were experimental support for kqueue polling events on apache2 which I remember as nice performance improvement. But unfortunately I can't find any info regarding kqueue for apache22. Is this possible for apache22? TIA Regards, Marcio Subject: Re: Optimal Apache22 configuration From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Date: Thu, 22 Nov 2007 11:39:12 + On Wed, 2007-11-21 at 19:49 +0100, Marcio Cicero wrote: Hello all, Tomorrow i'll start configuring an apache22 server at work and I've been searching what's the best configuration for apache22 on apache. Is it possible to use kqueue() support for apache22? Also, the best threading library around for apache22 on freebsd is libthr? The best mpm for this kind of environment is still worker? Is there any updated documentation on this matter? Thanks in advance. Regards, Marcio We use a pair of apache22 webservers in a round robin configuration at work, doing proxying to app servers and serving static content for all our websites, and they run very nicely indeed under the event MPM. This is still marked as 'experimental' as apache, but the reason is that it doesn't support accept filters or SSL yet (support is planned). If you need SSL, I'd go for worker. If you need PHP, I'd go for prefork :) We wanted a pair for redundancy and failover support, and we were unsure one server could handle the load, but load tends to hover at about 0.1 on both boxes, and they tend to 'just work', which is nice :) We use libthr, which works perfectly (as you would expect, lots of apache devs run and recommend FreeBSD). Cheers Tom _ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: is this IT or not/
On Wed, 21 Nov 2007 10:25:35 -0800 Gary Kline wrote: On Wed, Nov 21, 2007 at 06:23:29PM +0100, Roland Smith wrote: On Wed, Nov 21, 2007 at 12:12:50AM -0800, Gary Kline wrote: guys, one last thing before i call it a days; i just tried kmidi and tried to configure the audio. got the sound of a breaking glass and the warning that something was already using dev/sequencer. i tried a ps -alx, but couldn't tell very much.. can anybody shed a light? It actually says could not open /dev/sequencer to get some info. Probably there is another program using it. where 'probably' may often be true on Linux, but here it's proved a less than helpful hint. Does /dev/sequencer actually exist? I think it's looking for a deprecated device. On my 7.0-BETA2 machine, the sound(4) manpage only lists /dev/audio*, /dev/dsp* and /dev/sndstat. Looking at the manual pages on the FreeBSD site, there was a /dev/sequencer in 4.x, but not in 5.x and later. That's about right, FreeBSD hasn't had MIDI since newpcm arrived, IIRC. I vaguely recall a few people missing it, but nobody offering any code. BTW, 'cat /dev/sndstat' shows you the installed sound devices. Right; I tried catting /dev/sndstat awhile ago. Didn't see much It's all in the handbook, but check out sound|snd|pcm(4) re tuning .. paqi% sysctl hw.snd hw.snd.targetirqrate: 32 hw.snd.report_soft_formats: 1 hw.snd.verbose: 2 hw.snd.unit: 0 hw.snd.maxautovchans: 4 hw.snd.pcm0.buffersize: 4096 hw.snd.pcm0.vchans: 4 With .verbose=2 you'll see plenty of info :) and you can make good use of the vchans to stop KDE sounds and non-KDE programs (like XMMS etc) tripping over each other, by assigning one of /dev/dsp* to KDE, say. beyong my cound card type. Also, there is no /dev/sequencer. So why Kmid would be hunting for it is one I'll have to look thru the code to learn about. It's probably trying to open the sequencer as a last resort. Kmid is for playing MIDI files using the soundcard synth chip, for which /dev/sequencer is the missing device, so it's of no use to you. I've used audio/timidity in the past to convert some .mid files of interest into .wav files on the way towards making .mp3s, but I never did get it to work to play .mid files directly. YMMV, there are later versions .. This is also why lsof fails. Sorry, I don't see a connection with lsof? Hm, no src. Kmid is build from the kde3 source. Unless you really want to, you don't want to go there :) Well, I'm building kplayer which seems to be a frontt end for mplayer. Maybe give me some clues why things-KDE keep breaking. KDE, despite all the *wonderful* porting done to FreeBSD, is still very Linux-centric in lots of its assumptions, I find. I use plenty of KDE but the sound system has always been a bear here. This laptop has never worked with ArtS so I don't bother with it, and I'll use Kmix for basic volume adjustments, yet need to use mixer(8) to switch recording device, and prefer using commandline scripts using sox and lame for recording. Which brings me to your earlier (unresolved?) question about missing sound on playing audio CDs .. first assuming your CD drive is properly externally wired to your soundcard(?), check the level on the 'cd' device, in Kmix 'input' tab or if in doubt, good ol' /usr/sbin/mixer: paqi% mixer Mixer vol is currently set to 90:90 Mixer synthis currently set to 0:0 Mixer pcm is currently set to 90:90 Mixer speaker is currently set to 95:95 Mixer line is currently set to 0:0 Mixer mic is currently set to 0:0 Mixer cd is currently set to 92:92 Mixer line1is currently set to 0:0 Recording source: mic Good luck, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Via C7 Processor (CPU) - cpufreq and make.conf support
On Oct 24, 2007, at 2:20 AM, Erik Cederstrand wrote: I know this is not an answer, but why not just upgrade to 7.0 if you need the C7 support? I'm on 7B3, but when I look at /usr/src/share/examples/etc/make.conf, I just see this # Currently the following CPU types are recognized: # Intel x86 architecture: # (AMD CPUs) opteron athlon64 athlon-mp athlon-xp athlon-4 # athlon-tbird athlon k8 k6-3 k6-2 k6 k5 # (Intel CPUs)core2 core nocona pentium4m pentium4 prescott # pentium3m pentium3 pentium-m pentium2 # pentiumpro pentium-mmx pentium i486 i386 # (Via CPUs) c3 c3-2 # Alpha/AXP architecture: ev67 ev6 pca56 ev56 ev5 ev45 ev4 # AMD64 architecture: opteron, athlon64, nocona, prescott, core2 # Intel ia64 architecture: itanium2, itanium I should note that it appears that the example make.conf is # $FreeBSD: src/share/examples/etc/make.conf,v 1.279 2007/01/17 12:43:06 des Exp $ But I'm using csup tracking *default release=cvs tag=RELENG_7 So can someone point me to where I should look for current (well, 7) information on configuring for Via CPUs? -j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Optimal Apache22 configuration
On Thu, 2007-11-22 at 14:58 +0100, Marcio Cicero wrote: Hi Tom, Thanks for your input. As far as I can remember there were experimental support for kqueue polling events on apache2 which I remember as nice performance improvement. But unfortunately I can't find any info regarding kqueue for apache22. Is this possible for apache22? TIA Regards, Marcio __ Subject: Re: Optimal Apache22 configuration From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Date: Thu, 22 Nov 2007 11:39:12 + On Wed, 2007-11-21 at 19:49 +0100, Marcio Cicero wrote: Hello all, Tomorrow i'll start configuring an apache22 server at work and I've been searching what's the best configuration for apache22 on apache. Is it possible to use kqueue() support for apache22? Also, the best threading library around for apache22 on freebsd is libthr? The best mpm for this kind of environment is still worker? Is there any updated documentation on this matter? Thanks in advance. Regards, Marcio We use a pair of apache22 webservers in a round robin configuration at work, doing proxying to app servers and serving static content for all our websites, and they run very nicely indeed under the event MPM. This is still marked as 'experimental' as apache, but the reason is that it doesn't support accept filters or SSL yet (support is planned). If you need SSL, I'd go for worker. If you need PHP, I'd go for prefork :) We wanted a pair for redundancy and failover support, and we were unsure one server could handle the load, but load tends to hover at about 0.1 on both boxes, and they tend to 'just work', which is nice :) We use libthr, which works perfectly (as you would expect, lots of apache devs run and recommend FreeBSD). Cheers Tom Hi Marcio (Please don't top post, it destroys the logical flow of the conversation :) Apache 2.2 by default uses epoll() or kqueue() if it is available. Indeed, it is mandatory for the event MPM to work correctly. From the event manual page: ( http://httpd.apache.org/docs/2.2/mod/event.html ) The MPM assumes that the underlying apr_pollset implementation is reasonably threadsafe. This enables the MPM to avoid excessive high level locking, or having to wake up the listener thread in order to send it a keep-alive socket. This is currently only compatible with KQueue and EPoll. The use of kqueue is actually performed by the underlying apr implementation, but I'm sure if it is available to apr, it will use it. Regards Tom signature.asc Description: This is a digitally signed message part
IPV6 NTP
I am running FreeBSD 6.2 in a totally IPV6-only aware environment. I want to set up an NTP server by pointing to an IPV6 stratum 1 address. Can I just add an IPV6 address in the NTP.conf file just as I would do for an IPV4 server? -- Joe _ You keep typing, we keep giving. Download Messenger and join the i’m Initiative now. http://im.live.com/messenger/im/home/?source=TAGLM___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lightly loaded php+mysql - high syscall/csw rates
Andrew Pantyukhin wrote: We have a php+mysql web server. It serves 15-20 http requests per second, resulting in 100-200 sql qps. But according to vmstat(1), it all peaks at over 500k syscall/s and 100k cswitch/s. The peaks are quite frequent, even at this load. During the peaks top(1) shows 30-40k VCSW for mysql and around 1k vcsw for two php-cgi worker processes. IVCSW is relatively very low for all processes. This is a 4-core Opteron HP DL145 G2 server running 6.2/amd64 generic+quota. I'm considering a switch to 7.0. During peaks user/system/idle in top(1) is 20/30/50. The question is - is the syscall and csw rates normal or should I be trying to tune mysql and php more agressively? I'm not hungry for performance (haven't hit the limit yet), but a couple of days ago the server stopped responding until a cold reboot (which is another story) - and now I'm paying closer attention to its vitals. This sounds like it could be related to the issues being discussed on a thread on freebsd-stable titled 2 x quad-core system is slower that 2 x dual core on FreeBSD [http://docs.freebsd.org/cgi/mailindex.cgi?sort=subjectfile=current/freebsd-stable] Switching to 7 and SCHED_ULE may gain you perfromance for this kind of workload over 4 cores going by the benchmarks provided by Kris Kennaway, although they mainly deal with 8 core systems. Forcing MySQL to use libthr instead of libpthread in libmap.conf may also help also and going solely by one post in the thread mentioned above you could try reducing kern.hz in loader.conf to something like 100 as this could help reduce the context switches. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lightly loaded php+mysql - high syscall/csw rates
On Thu, Nov 22, 2007 at 02:52:06PM +, Vince wrote: Andrew Pantyukhin wrote: We have a php+mysql web server. It serves 15-20 http requests per second, resulting in 100-200 sql qps. But according to vmstat(1), it all peaks at over 500k syscall/s and 100k cswitch/s. The peaks are quite frequent, even at this load. During the peaks top(1) shows 30-40k VCSW for mysql and around 1k vcsw for two php-cgi worker processes. IVCSW is relatively very low for all processes. This is a 4-core Opteron HP DL145 G2 server running 6.2/amd64 generic+quota. I'm considering a switch to 7.0. During peaks user/system/idle in top(1) is 20/30/50. The question is - is the syscall and csw rates normal or should I be trying to tune mysql and php more agressively? I'm not hungry for performance (haven't hit the limit yet), but a couple of days ago the server stopped responding until a cold reboot (which is another story) - and now I'm paying closer attention to its vitals. This sounds like it could be related to the issues being discussed on a thread on freebsd-stable titled 2 x quad-core system is slower that 2 x dual core on FreeBSD [http://docs.freebsd.org/cgi/mailindex.cgi?sort=subjectfile=current/freebsd-stable] Yeah, I'm following that thread, I just wanted to know if anyone else gets 500k+ syscalls per second on an php+mysql web server at 20 pages per second. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SMBus is there, now what? (fan speed problem)
Hello Guys I tried this thread without much success on the freebsd-acpi mail list: http://lists.freebsd.org/pipermail/freebsd-acpi/2007-November/004229.html Anyway, I dont think the problem is related to Acpi now. I read this: HYPERLINK http://www.freebsd.org/releases/6.2R/hardware-i386.htmlhttp://www.freebsd. org/releases/6.2R/hardware-i386.html Here is the board/chassis Im using: HYPERLINK http://www.intel.com/design/servers/boards/se7230nh1-e/index.htmhttp://www .intel.com/design/servers/boards/se7230nh1-e/index.htm I rebuilt a kernel with the following new devices: device intpm device ichsmb device smbus device intpm device iic device iicbus device iicbb device intpm device smb I assume its way too many but I dont even know which does what. Anyway with this setup I can see /dev/smb0. Here is the output of some of the utilities: [EMAIL PROTECTED] /usr/src]# healthd -d -S * Hardware Information * Unknown Vendor: ID = 7F7F Temp.= 0.0, -127.0, -127.0; Rot.= 927,0, 2896 Vcore = 0.00, 0.00; Volt. = 0.00, 0.00, 0.00, 0.00, 0.00 [EMAIL PROTECTED] /usr/src]# lmmon IOCTL: Device not configured [EMAIL PROTECTED] /usr/src]# lmmon -i Motherboard Temp Voltages 255C / 491F / 528KVcore1: +3.984V Vcore2: +3.984V Fan Speeds + 3.3V: +3.984V + 5.0V: +6.654V 1:0 rpm+12.0V: +15.938V 2:0 rpm-12.0V: -15.938V 3:0 rpm- 5.0V: -6.654V [EMAIL PROTECTED] /usr/src]# dmesg ... acpi0: INTEL 04DT044 on motherboard acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU on acpi0 acpi_perf0: ACPI CPU Frequency Control on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_perf0: ACPI CPU Frequency Control on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_button0: Sleep Button on acpi0 ... ichsmb0: SMBus controller port 0x3000-0x301f irq 19 at device 31.3 on pci0 ichsmb0: [GIANT-LOCKED] smbus0: System Management Bus on ichsmb0 smb0: SMBus generic I/O on smbus0 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 ... # pciconf lv ... [EMAIL PROTECTED]:31:3: class=0x0c0500 card=0x346a8086 chip=0x27da8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) SMBus Controller' class= serial bus subclass = SMBus ... [EMAIL PROTECTED] /usr/src]# chm ioctl: Device not configured IOCTL: Device not configured IOCTL: Device not configured IOCTL: Device not configured IOCTL: Device not configured IOCTL: Device not configured IOCTL: Device not configured IOCTL: Device not configured IOCTL: Device not configured IOCTL: Device not configured IOCTL: Device not configured Motherboard Temperature: 191 ° C CPU_0 Temperature: 191 ° C CPU_1 Temperature: 191 ° C IOCTL: Device not configured VCore: 2.98438 V IOCTL: Device not configured Vit: 2.98438 V IOCTL: Device not configured Vio: 2.98438 V IOCTL: Device not configured +5V: 4.98391 V IOCTL: Device not configured +12V:11.9375 V IOCTL: Device not configured -12V:-11.9375 V IOCTL: Device not configured -5V: -4.98391 V IOCTL: Device not configured Fan 1: 883 rpm IOCTL: Device not configured Fan 2: 1767 rpm IOCTL: Device not configured Fan 3: 3534 rpm [EMAIL PROTECTED] /usr/src]# chm -I Using ISA Method. Motherboard Temperature: 255 ° C CPU_0 Temperature: 0 ° C CPU_1 Temperature: 0 ° C VCore: 3.98438 V Vit: 3.98438 V Vio: 3.98438 V +5V: 6.65391 V +12V:15.9375 V -12V:-15.9375 V -5V: -6.65391 V Fan 1: Not Available Fan 2: Not Available Fan 3: Not Available What should I try next ? Oli No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.4/1145 - Release Date: 2007-11-22 11:49 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can you help about this script
Hi Giorgos Thank you But my output is from your suggstion printf Created: %s\n, system(date +%Y%m%d); 20071122 Created: 0 20071122 Updated: 0 how can I have output as Created: 20071122 Updated: 20071122 In additon, ls it possible to have loop output also? I need to have print File No:, CMA001 the second record is CMA002 and then CMA003 for the 3rd record awk -f program.awk record.txt Thank you again --- Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2007-11-21 12:26, ann kok [EMAIL PROTECTED] wrote: Hi all how command date, hostname run in awk program? awk -F program.awk file.txt You don't use backticks... These are a feature of the shell, and running a script through progname.awk is no longer a shell session. Try system(date) in your awk(1) script: program.awk BEGIN { RS = \n ; FS = | } { print Name:, $9 print Created: `date` print from: `hostname` print } BEGIN { RS =\n; FS = |; } { printf Name:%s\n, $9; printf Created: %s\n, system(date); printf From:%s\n, system(hostname); } Running system(hostname) once for each file may be horribly inefficient, though. If I were you, I'd write this as a *shell* script, which runs hostname once, stashes the result away in a variable, and reuses it all the time. Running date may be a bit less efficient than something like gettimeofday(). Perl has a gettimeofday() function in the Time::HiRes module, so it may be worth investigating if that may speed things up a bit more. A completely untested first try to do something like this is ... #!/usr/bin/perl -w use strict; use POSIX qw(strftime); use Time::HiRes qw(gettimeofday); my $hostname = `hostname`; my $line; while (defined($line = STDIN)) { chomp $line; my @fields = split /|/, $line; if ($#fields = 0) { my ($seconds, $microseconds) = gettimeofday(); printf Name:%s\n, $fields[8]; printf Created: %s\n, strftime(%Y-%m-%d %H:%M:%S, gmtime($seconds)); printf From:%s\n, $hostname; } } --- Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2007-11-21 12:26, ann kok [EMAIL PROTECTED] wrote: Hi all how command date, hostname run in awk program? awk -F program.awk file.txt You don't use backticks... These are a feature of the shell, and running a script through progname.awk is no longer a shell session. Try system(date) in your awk(1) script: program.awk BEGIN { RS = \n ; FS = | } { print Name:, $9 print Created: `date` print from: `hostname` print } BEGIN { RS =\n; FS = |; } { printf Name:%s\n, $9; printf Created: %s\n, system(date); printf From:%s\n, system(hostname); } Running system(hostname) once for each file may be horribly inefficient, though. If I were you, I'd write this as a *shell* script, which runs hostname once, stashes the result away in a variable, and reuses it all the time. Running date may be a bit less efficient than something like gettimeofday(). Perl has a gettimeofday() function in the Time::HiRes module, so it may be worth investigating if that may speed things up a bit more. A completely untested first try to do something like this is ... #!/usr/bin/perl -w use strict; use POSIX qw(strftime); use Time::HiRes qw(gettimeofday); my $hostname = `hostname`; my $line; while (defined($line = STDIN)) { chomp $line; my @fields = split /|/, $line; if ($#fields = 0) { my ($seconds, $microseconds) = gettimeofday(); printf Name:%s\n, $fields[8]; printf Created: %s\n, strftime(%Y-%m-%d %H:%M:%S, gmtime($seconds)); printf From:%s\n, $hostname; } } Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (no subject)
Tushar kumar if you want to learn how to install FreeBSD6 + Linux+ M$ Windowz, Apple Mac OS, solaris9 , I can teach you for free. Assembling a laptop ? Sorry. Anugunj 'anuj' http://polarhome.com:793/~anujhere/ On Nov 23, 2007 12:51 AM, nawcom [EMAIL PROTECTED] wrote: Hm.. from what I understand, tusar kumar wants to know how to assemble a laptop? like build one from scratch? if it has to do with hardware assembly, there's always ASUS barebones one can buy, or you can go the mini-itx route (http://www.mini-itx.com/projects/itx-laptop/?p) which i don't really consider it a real laptop. If it has to do with just installing FreeBSD on your laptop, well, there's the freebsd manual. A video on how to do it? Wow. you're asking alot from a free mailing list. I could probably make a quick video of me installing FreeBSD 6 onto a laptop for 3 simple payments of $9.99! (plus $12 shipping/handling.) Let me know if you are interested. Now this sort of makes me think of society today. this definitely not true in all aspects, but some people do insist on referring to looking at a TV 24/7. This seems to be quite abundant in the United States midwest. Which may also have to do with the obesity statistics when it comes to geographical location. I'm making an assumption that the one asking the question isn't from the US midwest though. I had a HOWTO set up years ago before X compositing was available and 3ddesktop was really the only 3d thing out. I remember at least 8 emails from people reading the HOWTO and then asking for a live video presentation on howto install it. Am I just being mean by not providing a video HOWTO? Reminds me of those annoying projects I had to do in high school where you have to make an instructional video on howto tie a shoe or howto clean up cat shit. In all honesty, I haven't slept in 36 hours. So please pardon me if this response is at all offensive, or a waste of time. I don't even understand what I'm typing right now. I think I should lay down. -nawcom --- Mario Lobo wrote: On Wednesday 21 November 2007, Gerard wrote: On November 21, 2007 at 07:11AM Mario Lobo wrote: On Wednesday 21 November 2007, tusar kumar wrote: hi i want to know how can i assembly laptop. i want a video copy Ahahahahah ! Sorry guys. That was really funny ! You did notice his email address I assume. I know, I know.. I saw it. I presume he meant I would like to know how to install FreeBSD on a laptop. Do you have a how-to video? I wasn't making fun OF him but the possibility that he really meant assemble a laptop sounded funny, to me at least. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How do I prevent a port from installing?
Hello all, I don't know what the story is, but Java is locking up my system badly. Even if I knew how to get details, I wouldn't be able to because the system is completely unresponsive. As a workaround, I have gone into /usr/ports/distfiles and renamed the jdk* files to names with DO-NOT-INSTALL in capital letters and linked the original filenames to /dev/null. I do not want java installing again on this system ever under any circumstances. With java, at least, I believe I have to download the files by hand if there is ever an update. But what if I identify other ports that are causing me problems? Also, in deinstalling jdk, I found that apache-ant relied upon it, but I couldn't see what depended on apache-ant. Is there a workaround for apache-ant? Thanks! -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpWi0PH1ukFO.pgp Description: PGP signature
Re: can you help about this script
On 2007-11-22 10:10, ann kok [EMAIL PROTECTED] wrote: Hi Giorgos Thank you But my output is from your suggstion printf Created: %s\n, system(date +%Y%m%d); 20071122 Created: 0 20071122 Updated: 0 how can I have output as Created: 20071122 Updated: 20071122 You'll have to use the gsub() to strip newlines from the output of date... In additon, ls it possible to have loop output also? I need to have print File No:, CMA001 the second record is CMA002 and then CMA003 for the 3rd record Sure. One way to do this is to print a formatted version of the special NR variable of awk (NR == number of records read so far): $ ( echo foo ; echo bar ) | awk '{ printf %03d %s\n, NR, $0; }' 001 foo 002 bar $ If you are going to do any amount of *serious* awk programming, I recommend the following book: Dale Dougherty, Arnold Robbins. Sed Awk. O'Reilly Associates. 2nd edition (March 1997) http://www.oreilly.com/catalog/sed2/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mysql ports
Hello; I have installed mysql51-client, mysql51-server, and mysql51-scripts. I looked for pkg_message in mysql51-scripts but there is none. Where do I get info on what this port has and what it does? Thank you for info Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can you help about this script
On 2007-11-21 12:26, ann kok [EMAIL PROTECTED] wrote: Hi all how command date, hostname run in awk program? awk -F program.awk file.txt You don't use backticks... These are a feature of the shell, and running a script through progname.awk is no longer a shell session. Try system(date) in your awk(1) script: program.awk BEGIN { RS = \n ; FS = | } { print Name:, $9 print Created: `date` print from: `hostname` print } BEGIN { RS =\n; FS = |; } { printf Name:%s\n, $9; printf Created: %s\n, system(date); printf From:%s\n, system(hostname); } Running system(hostname) once for each file may be horribly inefficient, though. If I were you, I'd write this as a *shell* script, which runs hostname once, stashes the result away in a variable, and reuses it all the time. Running date may be a bit less efficient than something like gettimeofday(). Perl has a gettimeofday() function in the Time::HiRes module, so it may be worth investigating if that may speed things up a bit more. A completely untested first try to do something like this is ... #!/usr/bin/perl -w use strict; use POSIX qw(strftime); use Time::HiRes qw(gettimeofday); my $hostname = `hostname`; my $line; while (defined($line = STDIN)) { chomp $line; my @fields = split /|/, $line; if ($#fields = 0) { my ($seconds, $microseconds) = gettimeofday(); printf Name:%s\n, $fields[8]; printf Created: %s\n, strftime(%Y-%m-%d %H:%M:%S, gmtime($seconds)); printf From:%s\n, $hostname; } } ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, 160GB HD, and a Bios limitation
On Mon, 2007-11-19 at 02:27 -0700, Christoper Tucker wrote: Hi there I have a 600mhz PIII computer with an older BIOS that will not recognize my 160GB new HD that I installed for use with FreeBSD. I can install FBSD if I limit the drive to 32GB, but before I settle with that, is there a way I can access the entire drive ... perhabs by using a smaller drive to install on, then by mounting the larger drive? Or is there a way I can do this by booting off a floppy/CD/compactflash media? Thanks for any response! Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi Chris, Update your BIOS. A lot of motherboards have BIOS upgrades that add support for larger drives. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Optimal Apache22 configuration
Marcio Cicero wrote: Hi Tom, Thanks for your input. As far as I can remember there were experimental support for kqueue polling events on apache2 which I remember as nice performance improvement. But unfortunately I can't find any info regarding kqueue for apache22. Is this possible for apache22? As I look in to Makefile, you can use WITH_MPM=event and Apache will use KQueue http://httpd.apache.org/docs/2.2/mod/event.html (but I am not 100% sure, I am using prefork) Miroslav Lachman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: efficient terminal/console screencasting
On Thu, Nov 22, 2007 at 10:00:48AM +0530, Girish Venkatachalam wrote: On 21:26:41 Nov 21, Andrew Pantyukhin wrote: A while ago I needed to screencast a terminal to a class of students in real-time. It turned out to be quite straightforward with screen(1) in multiuser mode. screen(1) is really cool. :) Now I want to record screencasts and allow people to watch them later. I'm looking at recordmydesktop, but the innefficiency strikes me: I'm operating in text-only environment, there's no need to record every frame as a flat bitmap. Whatever codec I choose, the files will be huge and of low quality. How about ttyrec(1) and ttyplay(1) ? Oh, yes. I've tried ttyrec a few years ago but have completely forgotten about it since. Thanks, it helps a lot! What I need is something like script(1) on steroids: - accurately record the complete state of my terminal window at any given moment - store it as a succession of updates, each represented in a text-based format (as opposed to pixel-based) If you want pixel based output then there are quite a few options but none to my taste. As you mention they all are bloated. - record timings correctly - allow for a method to record speech in the background This you have to do manually with sox(1). Not a big deal. A simple shell script can do what you want. - allow for a method to play it all back in sync This is no big deal either. If you want to create a video, then you have to go in for pixel based stuff. You can however do efficient compression and use a good codec like x264 or something. Has anyone heard about any tool which would help me achieve at least some of my requirements? Your idea seems good enough to create an open source tool that does exactly what you want. I'm still hoping to get by with some hacks, but you might be right. It's a pity and almost a surprise there's no widely available text-based video codec. Maybe I just need to try my luck on mplayer-related mailing lists. P.S. Please don't post to questions@ and freebsd-questions@ at the same time. It's the same list and you're just sending double mails. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: efficient terminal/console screencasting
On Fri, Nov 23, 2007 at 02:09:10AM +0300, Andrew Pantyukhin wrote: I'm still hoping to get by with some hacks, but you might be right. It's a pity and almost a surprise there's no widely available text-based video codec. Maybe I just need to try my luck on mplayer-related mailing lists. I see there are at least Ogg Writ [1] which is in early development stages and Camtasia TechSmith Screen Capture Codec [2] which is a closed-source Windows-only thing. I hope there are more I don't know about yet. [1] http://wiki.xiph.org/OggWrit [2] http://www.techsmith.com/codecs/tscc/default.asp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: is this IT or not/
On Fri, Nov 23, 2007 at 01:22:37AM +1100, Ian Smith wrote: On Wed, 21 Nov 2007 10:25:35 -0800 Gary Kline wrote: On Wed, Nov 21, 2007 at 06:23:29PM +0100, Roland Smith wrote: On Wed, Nov 21, 2007 at 12:12:50AM -0800, Gary Kline wrote: [[ ... ]] It actually says could not open /dev/sequencer to get some info. Probably there is another program using it. where 'probably' may often be true on Linux, but here it's proved a less than helpful hint. Really! Does /dev/sequencer actually exist? I think it's looking for a deprecated device. On my 7.0-BETA2 machine, the sound(4) manpage only lists /dev/audio*, /dev/dsp* and /dev/sndstat. Looking at the manual pages on the FreeBSD site, there was a /dev/sequencer in 4.x, but not in 5.x and later. That's about right, FreeBSD hasn't had MIDI since newpcm arrived, IIRC. I vaguely recall a few people missing it, but nobody offering any code. So is MIDI just passe? What files I have are from the late 90's. In human terms that is relatively recent; it tech terms the 1990's were centuries ago. BTW, 'cat /dev/sndstat' shows you the installed sound devices. Right; I tried catting /dev/sndstat awhile ago. Didn't see much It's all in the handbook, but check out sound|snd|pcm(4) re tuning .. paqi% sysctl hw.snd hw.snd.targetirqrate: 32 hw.snd.report_soft_formats: 1 hw.snd.verbose: 2 hw.snd.unit: 0 hw.snd.maxautovchans: 4 hw.snd.pcm0.buffersize: 4096 hw.snd.pcm0.vchans: 4 With .verbose=2 you'll see plenty of info :) and you can make good use of the vchans to stop KDE sounds and non-KDE programs (like XMMS etc) tripping over each other, by assigning one of /dev/dsp* to KDE, say. This will be a *major* help, thanks! Kmid is for playing MIDI files using the soundcard synth chip, for which /dev/sequencer is the missing device, so it's of no use to you. I've used audio/timidity in the past to convert some .mid files of interest into .wav files on the way towards making .mp3s, but I never did get it to work to play .mid files directly. YMMV, there are later versions .. This is also why lsof fails. Sorry, I don't see a connection with lsof? ---It was someone's guess; and to be fair, lsof has helped previously. A chap from kde-freebsd clued me in somewhat about Kmid. I spent several hours getting amaroK to work, but don't see how the two programs interface. amaroK doesn't understand *.mid files. ((?)) Hm, no src. Kmid is build from the kde3 source. Unless you really want to, you don't want to go there :) Um, yeah! LOL. Atleast not till kde7 :-) KDE, despite all the *wonderful* porting done to FreeBSD, is still very Linux-centric in lots of its assumptions, I find. I use plenty of KDE but the sound system has always been a bear here. This laptop has never worked with ArtS so I don't bother with it, and I'll use Kmix for basic volume adjustments, yet need to use mixer(8) to switch recording device, and prefer using commandline scripts using sox and lame for recording. Which brings me to your earlier (unresolved?) question about missing sound on playing audio CDs .. first assuming your CD drive is properly externally wired to your soundcard(?), check the level on the 'cd' device, in Kmix 'input' tab or if in doubt, good ol' /usr/sbin/mixer: paqi% mixer Mixer vol is currently set to 90:90 Mixer synthis currently set to 0:0 Mixer pcm is currently set to 90:90 Mixer speaker is currently set to 95:95 Mixer line is currently set to 0:0 Mixer mic is currently set to 0:0 Mixer cd is currently set to 92:92 Mixer line1is currently set to 0:0 Recording source: mic I did have a vfs. entry in the wong file; that has seemed to make a big difference. On my Ubuntu server most of these utilities Just-Work. I would like to burn CD's and maybe a DvD or two. But k3b seems way too far. Do you--or anyone else on-List--know if the gnome burner (*Baker) works out of the box? ---I realize that our speciality is as-servers. With stability. But since I'm building a new main machine that is not my DNS/web/server, I'd rather stick with FBSD. Nutshell: as many audio/video suites as possible. gary Good luck, Ian -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions on behaviour of fetch(3) regarding HTTPS + proxy
RW [EMAIL PROTECTED] wrote: On Wed, 21 Nov 2007 10:27:48 -0500 Bill Moran [EMAIL PROTECTED] wrote: The systems in question have no way to connect without using the proxy, and I'd like to convince fetch(3) to use the proxy for https as well. curl wget work, if it's any help Unfortunately, we're working with htmldoc, which seems to behave as fetch does. htmldoc doesn't seem to have any way to use external libraries. Thanks for the suggestion. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: efficient terminal/console screencasting
On 02:09:11 Nov 23, Andrew Pantyukhin wrote: I'm still hoping to get by with some hacks, but you might be right. It's a pity and almost a surprise there's no widely available text-based video codec. Maybe I just need to try my luck on mplayer-related mailing lists. Best of luck! P.S. Please don't post to questions@ and freebsd-questions@ at the same time. It's the same list and you're just sending double mails. Many thanks for pointing out. Fixed the bug in my homebrew mailing system. mutt had two entries in the subscribe line. regards, Girish ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall is blocking our access
Rodrigo Moura Bittencourt [EMAIL PROTECTED] wrote: Dear Gentlemen, We INPE / CPTEC an institution of meteorology government of Brazil, we are having trouble accessing the servers of FreeBSD, we believe that your firewall is blocking our access. While this is possible, I find it unlikely. What evidence do you have to show that it's a firewall blocking communication? Furthermore, what evidence do you have to show that it's a firewall under the control of the FreeBSD project. I (and I'm sure others on this list) will be happy to help, but you're going to have to provide more details of the problem. What, exactly, are you trying to do, and how, exactly, is it failing. Please provide exact commands and responses (error messages). Additionally, the output of traceroute www.freebsd.org from the problematic server would be helpful. I've removed various emails from the return message, as there's no reason to spam them with troubleshooting on the questions mailing list. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How do I prevent a port from installing?
David Benfell writes: Also, in deinstalling jdk, I found that apache-ant relied upon it, but I couldn't see what depended on apache-ant. man pkg_info, paying attention to the 'r' and 'R' options. Is there a workaround for apache-ant? If it's a mandatory dependency - i.e. not installed because of an option - the anxwer is probably No.. You could consult the maintainer for a more authoratative opinion. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions on behaviour of fetch(3) regarding HTTPS + proxy
Antony Mawer [EMAIL PROTECTED] wrote: On 22/11/2007 2:27 AM, Bill Moran wrote: It seems that if I set HTTP_PROXY, fetch(1) works just dandy, _UNLESS_ I'm trying to fetch an https document, in which case it seems to ignore HTTP_PROXY. From memory: export HTTPS_PROXY=http://myproxy:8080; That doesn't do anything, as far as I can tell. I did some digging into the code, and it seems as if this is not supported at all by libfetch. It also seems as if htmldoc isn't using libfetch but simply follows the same logic, so the question becomes moot for me. Thanks for the input. -- Bill Moran Collaborative Fusion Inc. [EMAIL PROTECTED] Phone: 412-422-3463x4023 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: top posting (off-topic)
On Fri, 23 Nov 2007 10:22:50 +1300, Brent Jones wrote: Sorry if this is a bit off topic for this list, but it seem to be a comment that comes up very regularly; please don't top post... I for one prefer top posting This has been hashed out on so many technically-oriented lists, that it almost appears as a troll. A friend of mine manages, if I recall correctly, to answer this in a signature block, pointing to a logical discontinuity inherent in placing an answer prior to the question. But it gets worse, when some, particularly newbies, reply to a post in order to start a completely new topic. And it gets even worse when some of us--particularly the most helpful ones--are subscribed to numerous technical lists and should review the context of the communication prior to responding. So, my response, and I daresay I speak for others, is for you to get over it. You should review the entire context of a communication in understanding it as well. -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgp9yj6QWsWrg.pgp Description: PGP signature
Re: top posting (off-topic)
Understood from that perspective, perhaps you can see why people might dislike top posting. Rather, your entire response is at the top, separating itself from the context to which it refers. Furthermore, it can be very confusing to understand precisely what you're referring to, because your response doesn't follow those parts of the post to which you refer. Sometimes top posting makes it really hard to follow which parts of the previous posters words are being referenced. If you think about it from the perspective of all of the readers of a thread, you might feel differently, however. I can understand why you might feel that way. --On November 23, 2007 10:22:50 AM +1300 Brent Jones [EMAIL PROTECTED] wrote: Sorry if this is a bit off topic for this list, but it seem to be a comment that comes up very regularly; please don't top post... I for one prefer top posting, as usually I have read a particular thread enough times that I like to cut to the chase and read the new input without having to scroll down, sometimes navigating an endless nesting of For me, reading through top posted replies saves time and effort. If I happened to miss something in the conversation I can scroll down to find it. Anyone else feel the same? Cheers, Brent ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: top posting (off-topic)
On Thursday 22 November 2007 21:22:50 Brent Jones wrote: Sorry if this is a bit off topic for this list, but it seem to be a comment that comes up very regularly; please don't top post... I for one prefer top posting, as usually I have read a particular thread enough times that I like to cut to the chase and read the new input without having to scroll down, sometimes navigating an endless nesting of For me, reading through top posted replies saves time and effort. If I happened to miss something in the conversation I can scroll down to find it. Anyone else feel the same? Since most people don't like top-posting, I try not to do it except occasionally in personal email. I don't do it on mailing lists. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I prevent a port from installing?
On 2007-11-22 Robert Huff wrote: David Benfell writes: Also, in deinstalling jdk, I found that apache-ant relied upon it, but I couldn't see what depended on apache-ant. man pkg_info, paying attention to the 'r' and 'R' options. Is there a workaround for apache-ant? If it's a mandatory dependency - i.e. not installed because of an option - the anxwer is probably No.. You could consult the maintainer for a more authoratative opinion. # cat /var/db/pkg/apache-ant-X.Y.Z/+REQUIRED_BY Where X, Y and Z are ant versions. If the file exists, the contents show the ports that depend on ant. If it doesn't exist, it means that no other port is dependant on ant. However, keep in mind that ant is a build (make) tool for Java applications. It is quite possible that there are no applications that depend on ant for running and at the same time it is likely that if you deinstall ant you won't be able to build (run?) some of your Java applications anymore. -- Bahman Movaqar PGP KeyID: 0xDA647509 (subkeys.pgp.net) Talking nonsense is man's only privilege that distinguishes him from all other organisms. -Fyodor M. Dostoevsky signature.asc Description: PGP signature
Re: is this IT or not/
On 2007-11-21 Gary Kline wrote: guys, one last thing before i call it a days; i just tried kmidi and tried to configure the audio. got the sound of a breaking glass and the warning that something was already using dev/sequencer. i tried a ps -alx, but couldn't tell very much.. can anybody shed a light? I guess you, like me, have one of those motherboards with an on-board sound card. Most of these sound cards don't have a MIDI sequencer chip. So it's very hard, if not impossible, to play MIDI files using those softwares that require a hardware sequencer to be available -at least I couldn't make it work. I have a bunch of old MIDI files which I play frequently; and to play them I use 'timidity' (ports/audio). That has a software sequencer built in -no hardware required- and the output quality is good; not as great as a hardware playback but it's good. -- Bahman Movaqar PGP KeyID: 0xDA647509 (subkeys.pgp.net) The most prevalent philosophy in application security is that security should not be added as an after thought, but should be included by design and default. -Frank Nimphius signature.asc Description: PGP signature
Re: top posting (off-topic)
(Moved to freebsd-chat where it belongs.) On Nov 22, 2007, at 3:22 PM, Brent Jones wrote: I for one prefer top posting, as usually I have read a particular thread enough times that I like to cut to the chase and read the new input without having to scroll down, sometimes navigating an endless nesting of Top posting is the worst format to use for reply. Close 2nd worst is the no-trim bottom post. If new content doesn't start somewhere very close to the top then the sender failed to create a message worth reading. By trimming and inserting comments in the proper place one creates a semblance to the alternating back and forth of live conversation. For me, reading through top posted replies saves time and effort. If I happened to miss something in the conversation I can scroll down to find it. Reading from bottom up is painful. Even more painful after a couple of generations the added quoting and occasional wrapping get thrown in. There is no excuse to resend the entire thread with every new contribution, especially when dealing with a mailing list. If you thought the prior messages were worth keeping then you kept them. Else you can go online and find them. The sender bears some responsibility for every word sent, or re-sent. One should never send a message one has not fully read and proofread. Top-posters almost never review the bulk they send else they wouldn't send the unreadable junk. Or at least I'm giving benefit of doubt that they would not. Anyone else feel the same? No. Heck no. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Squid with a Net nanny type setup....
look at dansguardian its in the ports and is excellent for kid-management mjt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Sent: Friday, 23 November 2007 4:34 AM To: freebsd-questions@freebsd.org Subject: Squid with a Net nanny type setup Is there a big list if inappropriate websites somewhere that I can build into squid to keep my kids out of Adult websites? If not squid is there a better Proxy to use on my FreeBSD firewall for that purpose? Thanks, Tony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Squid with a Net nanny type setup....
Is there a big list if inappropriate websites somewhere that I can build into squid to keep my kids out of Adult websites? If not squid is there a better Proxy to use on my FreeBSD firewall for that purpose? Thanks, Tony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: top posting (off-topic)
On Fri, 23 Nov 2007 10:22:50 +1300 Brent Jones [EMAIL PROTECTED] wrote: Sorry if this is a bit off topic for this list, but it seem to be a comment that comes up very regularly; please don't top post... I for one prefer top posting, as usually I have read a particular thread enough times that I like to cut to the chase and read the new input without having to scroll down, sometimes navigating an endless nesting of For me, reading through top posted replies saves time and effort. If I happened to miss something in the conversation I can scroll down to find it. Anyone else feel the same? No, top-posting is superficially appealing when all replies are limited to a few words that generally end in sucks or rocks, but it doesn't scale to complex threads. The point of quoting is not only to keep a record of what went before, it's to show which aspects of previous posts are being addressed by the reply. That sometimes requires multilevel and interleaved quoting, which doesn't work with top-posting. And by top-posting you make it harder for the next person to do the right thing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Personalised patches in ports
On Wed, 21 Nov 2007 22:19:55 + Bob [EMAIL PROTECTED] wrote: Hi folks: What is the approved method of applying personalised patches to ports sources? A current example, which was no problem under Linux, is giving me a bit of a hassle under FreeBSD I use pdftotext extensively to translate pdf files to ascii text. Sometimes, a publicly posted PDF file has it's security option turned on, making pdftotext refuse to translate the file into text. It's a simple hack on the source code to skip security checking, and under Linux I just patch the sources to not check for same. How can I incorporate my patch into the portupgrade system, so that an upgrade of Xpdf will apply my patch? If I download the bzip file, apply the patch, re-bzip the sources, and then try to force an upgrade, the checksum fails (as expected). How does one do thes properly? It's actually much easier than in Linux, since the ports system already has to do this. Each port has a files directory into which you can put patches, which will get applied automatically each time you build. See the porter's handbook for details: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/slow-patch.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I prevent a port from installing?
On 2007-11-22 David Benfell wrote: On Fri, 23 Nov 2007 08:09:02 +0330, Bahman Movaqar wrote: On 2007-11-22 Robert Huff wrote: David Benfell writes: Also, in deinstalling jdk, I found that apache-ant relied upon it, but I couldn't see what depended on apache-ant. man pkg_info, paying attention to the 'r' and 'R' options. Is there a workaround for apache-ant? If it's a mandatory dependency - i.e. not installed because of an option - the anxwer is probably No.. You could consult the maintainer for a more authoratative opinion. # cat /var/db/pkg/apache-ant-X.Y.Z/+REQUIRED_BY Where X, Y and Z are ant versions. If the file exists, the contents show the ports that depend on ant. If it doesn't exist, it means that no other port is dependant on ant. earth% cat /var/db/pkg/apache-ant-1.7.0_1/+REQUIRED_BY cat: /var/db/pkg/apache-ant-1.7.0_1/+REQUIRED_BY: No such file or directory earth% So far so good. However, keep in mind that ant is a build (make) tool for Java applications. It is quite possible that there are no applications that depend on ant for running and at the same time it is likely that if you deinstall ant you won't be able to build (run?) some of your Java applications anymore. Given that I do not feel I can afford to have Java on the system, this is a sacrifice I feel is necessary. In the process of updating ports, apache-ant has already been reinstalled. I had installed kaffe when I removed jdk*; but apache-ant now seems to depend on diablo-jdk. My guess is that when updating ports some Java application is also being installed which requires build from source and as a result installs ant. It'd be good to check the installed applications for a Java one. earth% pkg_info -r diablo-jdk-1.5.0.07.01_8 Information for diablo-jdk-1.5.0.07.01_8: Depends on: Dependency: xtrans-1.0.4 Dependency: xproto-7.0.10_1 Dependency: xextproto-7.0.2 Dependency: javavmwrapper-2.3 earth% cat /var/db/pkg/diablo-jdk-1.5.0.07.01_8/+REQUIRED_BY apache-ant-1.7.0_1 earth% Obvious. At least I do not yet see java_vm (which seems to have been the culprit in cases where I was able to get back into the system) yet reappearing. When I encountered difficulty this morning, I had left both firefox and an ports upgrade running. In the past, I had associated the problem with a java script from Blackboard at the university where I attend and teach, but in the situation this morning, I had not invoked that script. So I'm guessing that java_vm had been invoked by apache-ant which previously depended on jdk* rather than diablo-jdk*. I am wondering if I have any reason to believe that diablo-jdk is sufficiently different from jdk to avoid the problem. No clue here. But I guess it's not about java_vm that your system goes blank since I'm working/developing with both diablo-jdk-1.5.0_06 and jdk-1.6.0_01 on an average machine running 6.2-p7. I'm not sure but I paste my javavm_wrapper configuration. It might be useful: # JDK 1.6 #JAVA_HOME=/usr/local/jdk1.6.0 #JAVA_OS=native #JAVA_VENDOR=freebsd #JAVA_VERSION=1.6 #JAVAVM_OPTS=-XX:+UseThreadPriorities # JDK 1.5 JAVA_HOME=/usr/local/dialblo-jdk1.5.0 JAVA_OS=native JAVA_VENDOR=freebsd JAVA_VERSION=1.5 JAVAVM_OPTS=-XX:+UseThreadPriorities -- Bahman Movaqar PGP KeyID: 0xDA647509 (subkeys.pgp.net) I'm not surprised that the system is so insecure; I'm surprised that anyone is surprised. -Bruce Schneier signature.asc Description: PGP signature
Re: How do I prevent a port from installing?
David Benfell schrieb: Hello all, I don't know what the story is, but Java is locking up my system badly. Even if I knew how to get details, I wouldn't be able to because the system is completely unresponsive. As a workaround, I have gone into /usr/ports/distfiles and renamed the jdk* files to names with DO-NOT-INSTALL in capital letters and linked the original filenames to /dev/null. I do not want java installing again on this system ever under any circumstances. With java, at least, I believe I have to download the files by hand if there is ever an update. But what if I identify other ports that are causing me problems? Also, in deinstalling jdk, I found that apache-ant relied upon it, but I couldn't see what depended on apache-ant. Is there a workaround for apache-ant? Thanks! A way to prevent java from installing would be to do chmod 000 /usr/ports/java/*jre* /usr/ports/java/*jdk* Tino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
top posting (off-topic)
Sorry if this is a bit off topic for this list, but it seem to be a comment that comes up very regularly; please don't top post... I for one prefer top posting, as usually I have read a particular thread enough times that I like to cut to the chase and read the new input without having to scroll down, sometimes navigating an endless nesting of For me, reading through top posted replies saves time and effort. If I happened to miss something in the conversation I can scroll down to find it. Anyone else feel the same? Cheers, Brent ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
creation of tap interface
Hi, I'm setting up Qemu, have installed Ubuntu and Gentoo guests on FreeBSD host but I would like to get the network interfaces to work also. I get the following error however when trying to create the tap interfaces FreeBSD# ifconfig tap create ifconfig: SIOCIFCREATE: Invalid argument What is the problem here? Many thanks, Alain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I prevent a port from installing?
On Fri, 23 Nov 2007 08:09:02 +0330, Bahman Movaqar wrote: On 2007-11-22 Robert Huff wrote: David Benfell writes: Also, in deinstalling jdk, I found that apache-ant relied upon it, but I couldn't see what depended on apache-ant. man pkg_info, paying attention to the 'r' and 'R' options. Is there a workaround for apache-ant? If it's a mandatory dependency - i.e. not installed because of an option - the anxwer is probably No.. You could consult the maintainer for a more authoratative opinion. # cat /var/db/pkg/apache-ant-X.Y.Z/+REQUIRED_BY Where X, Y and Z are ant versions. If the file exists, the contents show the ports that depend on ant. If it doesn't exist, it means that no other port is dependant on ant. earth% cat /var/db/pkg/apache-ant-1.7.0_1/+REQUIRED_BY cat: /var/db/pkg/apache-ant-1.7.0_1/+REQUIRED_BY: No such file or directory earth% However, keep in mind that ant is a build (make) tool for Java applications. It is quite possible that there are no applications that depend on ant for running and at the same time it is likely that if you deinstall ant you won't be able to build (run?) some of your Java applications anymore. Given that I do not feel I can afford to have Java on the system, this is a sacrifice I feel is necessary. In the process of updating ports, apache-ant has already been reinstalled. I had installed kaffe when I removed jdk*; but apache-ant now seems to depend on diablo-jdk. earth% pkg_info -r diablo-jdk-1.5.0.07.01_8 Information for diablo-jdk-1.5.0.07.01_8: Depends on: Dependency: xtrans-1.0.4 Dependency: xproto-7.0.10_1 Dependency: xextproto-7.0.2 Dependency: javavmwrapper-2.3 earth% cat /var/db/pkg/diablo-jdk-1.5.0.07.01_8/+REQUIRED_BY apache-ant-1.7.0_1 earth% At least I do not yet see java_vm (which seems to have been the culprit in cases where I was able to get back into the system) yet reappearing. When I encountered difficulty this morning, I had left both firefox and an ports upgrade running. In the past, I had associated the problem with a java script from Blackboard at the university where I attend and teach, but in the situation this morning, I had not invoked that script. So I'm guessing that java_vm had been invoked by apache-ant which previously depended on jdk* rather than diablo-jdk*. I am wondering if I have any reason to believe that diablo-jdk is sufficiently different from jdk to avoid the problem. -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpZqfWj5r1dZ.pgp Description: PGP signature
Re: is this IT or not/
On 2007-11-21 Gary Kline wrote: guys, one last thing before i call it a days; i just tried kmidi and tried to configure the audio. got the sound of a breaking glass and the warning that something was already using dev/sequencer. i tried a ps -alx, but couldn't tell very much.. can anybody shed a light? I guess you, like me, have one of those motherboards with an on-board sound card. Most of these sound cards don't have a MIDI sequencer chip. So it's very hard, if not impossible, to play MIDI files using those softwares that require a hardware sequencer to be available -at least I couldn't make it work. I have a bunch of old MIDI files which I play frequently; and to play them I use 'timidity' (ports/audio). That has a software sequencer built in -no hardware required- and the output quality is good; not as great as a hardware playback but it's good. -- Bahman Movaqar PGP KeyID: 0xDA647509 (subkeys.pgp.net) The most prevalent philosophy in application security is that security should not be added as an after thought, but should be included by design and default. -Frank Nimphius signature.asc Description: PGP signature
Re: How do I prevent a port from installing?
On Thu, 22 Nov 2007 19:16:21 -0500, Robert Huff wrote: David Benfell writes: Also, in deinstalling jdk, I found that apache-ant relied upon it, but I couldn't see what depended on apache-ant. man pkg_info, paying attention to the 'r' and 'R' options. Is there a workaround for apache-ant? If it's a mandatory dependency - i.e. not installed because of an option - the anxwer is probably No.. You could consult the maintainer for a more authoratative opinion. Thanks! -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpOJau2xjWRZ.pgp Description: PGP signature
Re: RAID1 synchronisation - howto OR not necessary?
Jan Catrysse [EMAIL PROTECTED] wrote: Dear subscribers, I am currently running a production server: FreeBSD 6.2 STABLE Onboard Intel ICH8R Raid 1 with 2x SATA300 500GB HDD Using ATA for Raid1 On Windows systems it is an absolute must to do a Raid Synchronisation every once and a while to maintain data consistency. Wow. Any RAID controller with that requirement is junk. Where did you get the information from that you had to synchronize? Does it say so in the manual? Does it actually say every once and a while or does it give a specific schedule. I suspect that you have wrong information ... but if your information is correct, I'd get a refund on that RAID controller. I am some what disturbed that that kind of command / tool seems not available on FreeBSD. There is not, because such a thing should not be necessary. Are there other methods to do the synchronisation? 1) Maybe atacontrol detach atacontrol addspare atacontrol rebuild? 2) Maybe data consistency is always maintained automatically by the driver? 3) Maybe I have to panic and urgently make backups? If resyncing your raid on a regular basis is truly a requirement, I'd do #3 at least, followed by getting my money back. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Personalised patches in ports
Hi folks: What is the approved method of applying personalised patches to ports sources? A current example, which was no problem under Linux, is giving me a bit of a hassle under FreeBSD I use pdftotext extensively to translate pdf files to ascii text. Sometimes, a publicly posted PDF file has it's security option turned on, making pdftotext refuse to translate the file into text. It's a simple hack on the source code to skip security checking, and under Linux I just patch the sources to not check for same. How can I incorporate my patch into the portupgrade system, so that an upgrade of Xpdf will apply my patch? If I download the bzip file, apply the patch, re-bzip the sources, and then try to force an upgrade, the checksum fails (as expected). How does one do thes properly? Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lightly loaded php+mysql - high syscall/csw rates
On Thu, Nov 22, 2007 at 12:43:25PM +0300, Andrew Pantyukhin wrote: We have a php+mysql web server. It serves 15-20 http requests per second, resulting in 100-200 sql qps. But according to vmstat(1), it all peaks at over 500k syscall/s and 100k cswitch/s. The peaks are quite frequent, even at this load. During the peaks top(1) shows 30-40k VCSW for mysql and around 1k vcsw for two php-cgi worker processes. IVCSW is relatively very low for all processes. This is a 4-core Opteron HP DL145 G2 server running 6.2/amd64 generic+quota. I'm considering a switch to 7.0. During peaks user/system/idle in top(1) is 20/30/50. The question is - is the syscall and csw rates normal or should I be trying to tune mysql and php more agressively? I'm not hungry for performance (haven't hit the limit yet), but a couple of days ago the server stopped responding until a cold reboot (which is another story) - and now I'm paying closer attention to its vitals. Andrew, I don't know if you've been following stable@ but there is a long thread there about php performance (amongst other things). http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/038371.html Titled: 2 x quad-core system is slower that 2 x dual core on FreeBSD[sic] Apologies, if it's not related to the problem you're seeing. (It's over my head). -- Frank Contact info: http://www.esperance-linux.co.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: +bfe0: watchdog timeout -- resetting
I have been receiving the same error message from my NAS box as of late. Until last week, I was been running Freebsd6.2, and I occassionally received the message re0: watchdog timeout. It would happen about once a week. Last week, I installed freenas (which is based on freebsd6.2), and now I receive the same error with more regularity. My NIC is a Netgear 3a11. I seem to be getting the error message most when attempting to transfer a large number of files onto the server. Any help would be welcome. Thanks, Cypheros ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]