Re: Flashplugin
Well... Here I am in a project of notebooks for schools machines with 13 120gb of disk turion 64... All of them running FreeBSD 7.0 it is about 7000 notebooks in the first year... With a total of 35000 notebooks in 3 years... and counting... may be a total of 100,000 notebooks in 5 years... Because of special taxes applied in the notebooks, the user must use FreeBSD or Linux. If the user formats the computer and install other non open source OS, the user must pay the taxes difference to the project... a value of about US$200. and will not be able to access the university data. Well.. about the flashplugin... it is a problem... for sure... they work with flashplugin 7 The wireless is a problem too, for that we choose intel or atheros chip... Tell the flashplugin team about... please Sergio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
on Sunday 08 June 2008Sunday 08 June 2008 sergio lenzi sergio lenzi [EMAIL PROTECTED] wrote: Well... Here I am in a project of notebooks for schools machines with 13 120gb of disk turion 64... All of them running FreeBSD 7.0 it is about 7000 notebooks in the first year... With a total of 35000 notebooks in 3 years... and counting... may be a total of 100,000 notebooks in 5 years... Because of special taxes applied in the notebooks, the user must use FreeBSD or Linux. If the user formats the computer and install other non open source OS, the user must pay the taxes difference to the project... a value of about US$200. and will not be able to access the university data. Well.. about the flashplugin... it is a problem... for sure... they work with flashplugin 7 The wireless is a problem too, for that we choose intel or atheros chip... Tell the flashplugin team about... please Sergio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Adobe, There are some numbers, 7,000 now and 30,000 in 3 yrs from one school 14,692 pcbsd 6,320 reported freebsd about almost 30,000 bsd desktops reported, im sure there are alot of people who do not report their stats, but id imagine we got alot more then 30,000 bsd desktop users. Theyd probably use an intern to do most of the work, and we all know interns are unpaid, they earn knowledge and experience. Throw their butts on coding a BSD Flashplayer version. I am sure if you throw in a few pizzas everyday, some trashy sluts, and a lot of caffiene they could work them around the clock and have something working in a couple months. Motivate them with food, girls and hope :) Sincerely, Derek A. Graham President D and M Computers, Inc. Exceeding your expectations everyday! http://www.dandmcomputers.co.cc/ (847) 305-1954 ext 101 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vmware timekeeping
On Sat, Jun 7, 2008 at 8:06 PM, Duane Hill [EMAIL PROTECTED] wrote: On Sat, 07 Jun 2008 09:30:27 -0400 Peter Thoenen [EMAIL PROTECTED] confabulated: I run FreeBSD 7.0 inside VMware Workstation-6.0.4 (ACE Edition) and I don't have to setup anything. The time is the always same as the host How long do you keep it up though Odhiambo and how intensive are you using your native OS? I have a similar setup and while it sync's on boot, I routinely lose 15 minutes a day (I keep it up 24x7). I think it is not so much a bug in VMware as opposed to the host OS running slower than it thinks (e.g. maybe a second of OS time is really 1.01 seconds of real time adding up over long periods) if the native OS is under moderate to heavy use. I'm running FreeBSD 7.0-RELEASE within Vmware v6.0.4 build 93057 with the host OS being XP-Home-SP2. I also have two jails running within the FreeBSD VM. I have within /boot/loader.conf: kern.hz=50 Oh, this explains why I never has issues with time. I always have kern.hz=100 in loader.conf and I run ntpdate on startup. Sorry if I mislead others. -- EB White - Genius is more often found in a cracked pot than in a whole one. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
On Saturday 07 June 2008 23:16:34 Jerry McAllister wrote: On Sun, Jun 08, 2008 at 12:03:50AM +0200, Dick Hoogendijk wrote: On Sat, 7 Jun 2008 15:33:26 -0500 Sam Fourman Jr. [EMAIL PROTECTED] wrote: use Firefox for Windows and use wine, then install the windows Flash 9 plugin People choosing FreeBSD shouldn't be forced to run windowish solution. The OS is not supported. That's a major problem in these modern times, although lots of fbsd people tend to say it is not. That's not everyday's live however. FreeBSD does not make the web. OK. So get busy anc contribute a flash9 plugin that works in FreeBSD. See if you can get the necessary information out of Adobe. jerry I don't know to what extent this might come in handy .. but in case anyone wants to pick up that gauntlet, you can find quite a lot to start with in here : http://www.adobe.com/devnet/swf/ http://www.adobe.com/devnet/swf/pdf/swf_file_format_spec_v9.pdf http://www.adobe.com/devnet/flv/ http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v9.pdf http://www.adobe.com/openscreenproject/ Blessings -- Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to do regression on libc?
Hi all How to do regression on libc to verify the correctness? Kind regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What consists FreeBSD Libc?
Hi all What consists FreeBSD Libc (/lib/libc.so.7)? Is it only /usr/src/lib/libc/* ? I have compiled /usr/src/lib/libc/*, the resulting libc.so.7 is about 65,000 bytes smaller. Kind regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
for what it is worth, between 3 companies that I do consulting for, there are about 250 workstations that currently use, Windows ME, or Windows 2000.Flash and Microsoft Outlook remain the only 2 reasons we can not use PC-BSD. Wine is making some GREAT Progress, and very shortly if not already, Outlook will run in wine, and the lack of a current flash player will remain the only thing standing in the way of 250 more PC-BSD stations. Sam Fourman Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFE setting manually to 1000baseT and half duplex
On Sun, June 8, 2008 00:49, Michael Toth wrote: Hi, You should be doing # ifconfig nfe0 10.202.77.110 media 1000baseTX--- note the 'X' Thanks, tried this but same error. hulk# ifconfig nfe0 10.202.77.110 media 1000baseTX ifconfig: SIOCSIFMEDIA (media): Device not configured hulk$ man nfe The nfe driver supports the following media types: autoselect Enable autoselection of the media type and options. 10baseT/UTP Set 10Mbps operation. 100baseTXSet 100Mbps (Fast Ethernet) operation. 1000baseTSet 1000Mbps (Gigabit Ethernet) operation (recent models only). The nfe driver supports the following media options: half-duplex Force half duplex operation. full-duplex Force full duplex operation. Also for some strange reason I lost a couple of ip aliases and my default route whilst trying to change the media and mediaopt. I start to wonder if the combination 1000baseT and half duplex is possible. However setting the NIC manually to 1000baseT doesnt work either. IF set to autoselect it does negotiate to 1000baseT as I can see on the switch. Thanks Patrick Gelsema, P (Patrick) - FreeBSD wrote: Hi List, I am using the nfe driver on Freebsd 7.0R and I am unable to change the NIC driver manually to 1000baseT with half-duplex. I believe I am not getting the max out of my network connection and want to see if changing the duplex will help. hulk# ifconfig nfe0 10.202.77.110 media 100baseTX hulk# ifconfig nfe0 nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:18:f3:9f:f1:b4 inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2 inet 10.202.77.113 netmask 0xff00 broadcast 10.202.77.255 inet 10.202.77.114 netmask 0xff00 broadcast 10.202.77.255 inet 10.202.77.76 netmask 0xff00 broadcast 10.202.77.255 inet 192.168.0.10 netmask 0xff00 broadcast 192.168.0.255 inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255 inet 10.202.77.110 netmask 0xff00 broadcast 10.255.255.255 media: Ethernet 100baseTX (1000baseTX full-duplex) status: active Why between () the 1000baseTX? Is that the actual speed? The maximum speed? hulk# ifconfig nfe0 10.202.77.110 media 1000baseT ifconfig: SIOCSIFMEDIA (media): Device not configured man nfe says this is possible. hulk# ifconfig nfe0 10.202.77.110 media autoselect hulk# ifconfig nfe0 nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:18:f3:9f:f1:b4 inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2 inet 10.202.77.114 netmask 0xff00 broadcast 10.202.77.255 inet 10.202.77.76 netmask 0xff00 broadcast 10.202.77.255 inet 192.168.0.10 netmask 0xff00 broadcast 192.168.0.255 inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255 inet 10.202.77.110 netmask 0xff00 broadcast 10.255.255.255 media: Ethernet autoselect (1000baseTX full-duplex) status: active hulk# ifconfig nfe0 mediaopt half-duplex No errors but cant see if it works. Question is, why cant I just do the following; hulk# ifconfig nfe0 media 1000baseT mediaopt half-duplex pciconf -lv [EMAIL PROTECTED]:0:7:0:class=0x068000 card=0x82341043 chip=0x03ef10de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' device = 'MCP61 Ethernet' class = bridge hulk# uname -a FreeBSD hulk.superhero.nl 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Sun Feb 24 14:37:26 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 hulk# Thanks and regards, Patrick ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Core tuning
Jos Chrispijn wrote: Can I force manual load balancing on my dual core processor? Or is this entirely handled by FreeBSD itself? Jos That's the job of the scheduler. If you are running -current there is the cpuset utility that allows you to bind processes to subsets of CPUs. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFE setting manually to 1000baseT and half duplex
On Sun, Jun 08, 2008 at 11:39:28AM +0200, Gelsema, P (Patrick) - FreeBSD wrote: On Sun, June 8, 2008 00:49, Michael Toth wrote: Hi, You should be doing # ifconfig nfe0 10.202.77.110 media 1000baseTX--- note the 'X' Thanks, tried this but same error. hulk# ifconfig nfe0 10.202.77.110 media 1000baseTX ifconfig: SIOCSIFMEDIA (media): Device not configured hulk$ man nfe The nfe driver supports the following media types: autoselect Enable autoselection of the media type and options. 10baseT/UTP Set 10Mbps operation. 100baseTXSet 100Mbps (Fast Ethernet) operation. 1000baseTSet 1000Mbps (Gigabit Ethernet) operation (recent models only). The nfe driver supports the following media options: half-duplex Force half duplex operation. full-duplex Force full duplex operation. Also for some strange reason I lost a couple of ip aliases and my default route whilst trying to change the media and mediaopt. I start to wonder if the combination 1000baseT and half duplex is possible. However setting the NIC manually to 1000baseT doesnt work either. IF set to autoselect it does negotiate to 1000baseT as I can see on the switch. If you try to force the NIC to use full-/half-duplex, then you will need to force the other end of the connection (i.e. the switch) to the same setting (most cheap switches do not provide any way of forcing this.) Having one end set to auto-negotiation, while the other is forced to a specific setting will usually not work very well. (IIRC a switch or NIC that is set to auto-negotiate, but where the negotiation fails (possibly because the other end is not set to auto-negotiate) will usually revert to 10Mbps/half-duplex, i.e. the original, slowest, Ethernet speed.) -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Core tuning
Can I force manual load balancing on my dual core processor? Or is this entirely handled by FreeBSD itself? Jos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFE setting manually to 1000baseT and half duplex
Erik Trulsson wrote: (IIRC a switch or NIC that is set to auto-negotiate, but where the negotiation fails (possibly because the other end is not set to auto-negotiate) will usually revert to 10Mbps/half-duplex, i.e. the original, slowest, Ethernet speed.) 100Mb half-duplex is the default setting in this sort of mismatch. It will 'sort of' work, but you'll find performance is terrible and there will be significant amounts of packet loss. Note too that 1Gb speeds require both sides to be set to autonegotiate -- it's part of the standard for supporting those speeds, so that in the event of transmission difficulties the connection can be gracefully degraded rather than just ceasing to work at all. There's a lot of received wisdom around that wiring down connection speeds is a good idea. That may have been the case 5 or more years ago, when there were certainly some combinations of NIC / network switch manufacturer that just wouldn't negotiate correctly, but now that 1Gb/s capability is pretty much standard such incompatibilities are rare. Nowadays, for best results, auto-negotiate. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: What consists FreeBSD Libc?
Unga wrote: Hi all What consists FreeBSD Libc (/lib/libc.so.7)? Is it only /usr/src/lib/libc/* ? Yes. I have compiled /usr/src/lib/libc/*, the resulting libc.so.7 is about 65,000 bytes smaller. Than what? It will change depending on your CFLAGS. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Core tuning [Solved]
Kris, That's the job of the scheduler. If you are running -current there is the cpuset utility that allows you to bind processes to subsets of CPUs. I see; thanks for sharing ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFE setting manually to 1000baseT and half duplex
Gelsema, P (Patrick) - FreeBSD wrote: Hi List, I am using the nfe driver on Freebsd 7.0R and I am unable to change the NIC driver manually to 1000baseT with half-duplex. I believe I am not getting the max out of my network connection and want to see if changing the duplex will help. Even if you do have hardware that supports half-duplex gigabit ethernet on both ends, the need to do carrier extension for any frame shorter than 512 bytes so that CSMA/CD actually works on a reasonable sized cable, does horrible things to your throughput if you've got lots of small frames. (In other words, at gigabit speeds, frames smaller than 512 bytes zip down the wire so quickly that you can no longer reliably detect collisions, so the frames all get padded.) I'm having trouble wrapping my head around any circumstances other than horribly, horribly broken hardware or software where half-duplex would increase your performance over full-duplex. That said, most (an imprecise way saying every time I've looked this has been the case, but I generally no longer bother looking) gigabit ethernet hardware I've ever touched has been incapable of doing half-duplex when it's being used at gigabit speeds. The specs for doing it exist more for theoretical completeness than out of practical utility. See, for example http://www.intel.com/network/connectivity/resources/doc_library/white_papers/solutions/copper_guide/gig_over_copper.htm for a discussion on this and related topics. My suggestion would be to let both sides auto-detect if they're both capable of gigabit ethernet. --Jon Radel smime.p7s Description: S/MIME Cryptographic Signature
Re: What consists FreeBSD Libc?
with the same compiler options and same compiler as used with binary distribution? On Sun, 8 Jun 2008, Unga wrote: Hi all What consists FreeBSD Libc (/lib/libc.so.7)? Is it only /usr/src/lib/libc/* ? I have compiled /usr/src/lib/libc/*, the resulting libc.so.7 is about 65,000 bytes smaller. Kind regards Unga ___ 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: massive ports update
That's not uncommon. For example when you go from one major FreeBSD version to another you have to rebuild everything most of the time because of ABI changes. or install misc/compat6x :) Of course you could also wait for the building cluster to catch up and do a binary upgrade (-P in portupgrade). Jona -- Pond-erosa Puff wouldn't take no guff Water oughta be clean and free So he fought the fight and he set things right With his OpenBSD ___ 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: Flashplugin
On Sat, 7 Jun 2008, Sam Fourman Jr. wrote: use Firefox for Windows and use wine, then install the windows Flash 9 plugin That worked like a charm, but Adobe Reader 8.12 not only crashes the browser, but also wine and X. So now I have wine firefox which can handle Flash 9, but crashes on pdfs and linux-firefox which handles pdfs, but crashes on Flash. This seems somehow suboptimal. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFE setting manually to 1000baseT and half duplex
Even if you do have hardware that supports half-duplex gigabit ethernet on both ends, the need to do carrier extension for any frame shorter than 512 bytes so that CSMA/CD actually works on a reasonable sized cable, does horrible things to your throughput if you've got lots of small frames. (In other words, at gigabit speeds, frames smaller than 512 bytes zip down the wire so quickly that you can no longer reliably detect collisions, so the frames all get padded.) I'm having trouble wrapping my head around any circumstances other than horribly, horribly broken hardware or software where half-duplex would increase your performance over full-duplex. actually there are no gigabit devices incapable of full-duplex. ethernet hardware I've ever touched has been incapable of doing half-duplex when it's being used at gigabit speeds. The specs for doing it exist more for theoretical completeness than out of practical utility. See, for example http://www.intel.com/network/connectivity/resources/doc_library/white_papers/solutions/copper_guide/gig_over_copper.htm at 10Gbit/s specs dropped half-duplex and collision detection at all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
losing directory entries?
Hi, does anyone know what is going on here? this is an external usb 250gb hard disk mounted on /mnt using ntfs-3g. The hard disk is less than a year old and not heavily used. I've only just started using it as an external drive, it was installed in a computer until then. %mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad4s1e on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, local, soft-updates) /dev/ad4s1d on /var (ufs, local, soft-updates) /dev/fuse1 on /mnt (fusefs, local, synchronous) %pwd /mnt/Documents and Settings/Administrator %ls Application dataLocal Settings My Documents %ls .. Administrator %ls . Application dataLocal Settings My Documents %pwd /mnt/Documents and Settings/Administrator %du -sh . 5.2G. %pwd /mnt/Documents and Settings/Administrator %find . ~/anyold.textfile find: .: No such file or directory %pwd pwd: .: No such file or directory %ls ls: .: No such file or directory The actions leading up to this are quite random, usually using find and du do the trick immediately but not always, and one time just doing pwd and ls a couple of times did it. If I cd to /mnt then everything appears again. %uname -a FreeBSD eco 7.0-STABLE FreeBSD 7.0-STABLE #4: Tue May 27 14:44:58 BST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 %kldstat Id Refs AddressSize Name 1 16 0xc040 94181c kernel 21 0xc0d42000 14324snd_hda.ko 32 0xc0d57000 4a5ccsound.ko 41 0xc0da2000 80dc6c nvidia.ko 52 0xc15b 28678linux.ko 61 0xc15d9000 4d20 atapicam.ko 71 0xc15de000 6a2c4acpi.ko 81 0xc4bb e000 fuse.ko %pkg_info -Ix ntfs fusefs-ntfs-1.2506 Mount NTFS partitions (read/write) and disk images ntfsprogs-1.13.1_5 Utilities and library to manipulate NTFS partitions % I did a recent chkdsk in windows on the disk and it did some repairs - cross-linked files I think. I have a log of what it found. Thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
On Sat, 7 Jun 2008 22:16:34 -0400 Jerry McAllister [EMAIL PROTECTED] wrote: On Sun, Jun 08, 2008 at 12:03:50AM +0200, Dick Hoogendijk wrote: On Sat, 7 Jun 2008 15:33:26 -0500 Sam Fourman Jr. [EMAIL PROTECTED] wrote: use Firefox for Windows and use wine, then install the windows Flash 9 plugin People choosing FreeBSD shouldn't be forced to run windowish solution. The OS is not supported. That's a major problem in these modern times, although lots of fbsd people tend to say it is not. That's not everyday's live however. FreeBSD does not make the web. OK. So get busy anc contribute a flash9 plugin that works in FreeBSD. See if you can get the necessary information out of Adobe. As Tobias Hoelrich stated: That's simply wrong. The Flash format byte-code is *not* proprietary. If you want to, you can go ahead and create your own Flash Player. The specifications for the format are freely available at: http://www.adobe.com/openscreenproject/developers/ So, the infromation -is- there. -- Dick Hoogendijk -- PGP/GnuPG key: F86289CE ++ http://nagual.nl/ | SunOS 10u5 05/08 ++ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
On Sun, Jun 08, 2008 at 03:01:36AM -0300, sergio lenzi wrote: Well... Here I am in a project of notebooks for schools machines with 13 120gb of disk turion 64... All of them running FreeBSD 7.0 it is about 7000 notebooks in the first year... With a total of 35000 notebooks in 3 years... and counting... may be a total of 100,000 notebooks in 5 years... Sounds like you should also install the BSD Stats utility on those machines so they will report their existence to the stats. It would significantly update the numbers. jerry Because of special taxes applied in the notebooks, the user must use FreeBSD or Linux. If the user formats the computer and install other non open source OS, the user must pay the taxes difference to the project... a value of about US$200. and will not be able to access the university data. Well.. about the flashplugin... it is a problem... for sure... they work with flashplugin 7 The wireless is a problem too, for that we choose intel or atheros chip... Tell the flashplugin team about... please Sergio ___ 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]
FreeBSD + ZFS on a production server?
Hello list! I plan to install a web server for production use and ZFS looks very interesting, especially since it has built-in support for RAID and checksum. The hardware is already purchased, a 1U-casis with a PhemonX4 9550 CPU, 4GB ECC RAM @ 800MHz and 2x500GB SATA disks and I am about to select the operating system to use. The choice is probably between Debian 4.0r3, FreeBSD 7.0 and OpenSolaris 2008.05. All of them have their pros and cons. I think Debian / Linux, almost falls off because it lacks support for native ZFS and I have not found any alternative filesystem that offer checksums on the fly. My main question is: How is the support for ZFS on FreeBSD? Is it sufficiently stable and fast enough to be used in production yet? If not, is there any alternative filesystem that offers checksums on the fly or other similar technology to reduce the risk of a corrupt filesystem that at the same time plays well with software RAID (RAID-1 in particular)? Thanks in advance! Anders ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which SATA controller for DVDRAM?
Hi *, which SATA controller is supported for SATA-DVDRAM (or just any other optical drive)? Promise controllers doesn't seem to work with FreeBSD. Regards Raphael Becker -- Raphael Becker [EMAIL PROTECTED] http://rabe.uugrn.org/ GnuPG:E7B2 1D66 3AF2 EDC7 9828 6D7A 9CDA 3E7B 10CA 9F2D .|.|.|.|.|.|.|.. pgpOwRTxM4uhJ.pgp Description: PGP signature
Re: Flashplugin
Jerry McAllister wrote: On Sun, Jun 08, 2008 at 03:01:36AM -0300, sergio lenzi wrote: Well... Here I am in a project of notebooks for schools machines with 13 120gb of disk turion 64... All of them running FreeBSD 7.0 it is about 7000 notebooks in the first year... With a total of 35000 notebooks in 3 years... and counting... may be a total of 100,000 notebooks in 5 years... Sounds like you should also install the BSD Stats utility on those machines so they will report their existence to the stats. It would significantly update the numbers. jerry What is the project? An article about it would be great for FreeBSD news... Chris Because of special taxes applied in the notebooks, the user must use FreeBSD or Linux. If the user formats the computer and install other non open source OS, the user must pay the taxes difference to the project... a value of about US$200. and will not be able to access the university data. Well.. about the flashplugin... it is a problem... for sure... they work with flashplugin 7 The wireless is a problem too, for that we choose intel or atheros chip... Tell the flashplugin team about... please Sergio ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Make buildworld
Can someone tell me the difference between 'make -j2 buildworld' and 'make -j4 buildworld' ? Thanks, Jos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Promise SATA300 TX2plus with LG GGW-H20L burner on 7.0 causes endless timeouts.
Hi Edward, same here (RELEASE 6.3): atapci0: Promise PDC40718 SATA300 controller port 0xd800-0xd87f,0xd400-0xd4ff mem 0xdfeff000-0xdfef,0xdfec00 00-0xdfed irq 19 at device 3.0 on pci2 [...] atapci1: Promise PDC20376 SATA150 controller port 0xc400-0xc43f,0xc000-0xc00f,0xbc00-0xbc7f mem 0xdfefd000-0xdfefdfff,0xdfe4-0xdfe5 irq 22 at device 14.0 on pci2 [...] ad0: 78533MB Hitachi HDS728080PLAT20 PF2OA21B at ata0-master UDMA100 ad2: 286168MB SAMSUNG HD300LD WK100-12 at ata1-master UDMA100 GEOM_LABEL: Label for provider ad0s1f is label/HOMEcrypt. GEOM_LABEL: Label for provider ad2s1 is ufs/DATA. acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: CDROM HL-DT-ST DVDRAM GH20NS10/EL00 at ata5-master SATA150 acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command [... lot more ...] acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command ad12: 286188MB Maxtor 7L300S0 BANC1G10 at ata6-master SATA150 ad14: 476940MB SAMSUNG HD501LJ CR100-10 at ata7-master SATA150 [...] The DVDRAM doesn't work on both Promise-Controllers (onboard and the 300TX4 PCI), also tested with 7-STBLE snapshot and 8-CURRENT snapshot live CDs. It's running perfect with a recent Knoppix DVD so it's not a hardware bug. See http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122291 for more details on this. Regards Raphael Becker On Sat, Jun 07, 2008 at 12:03:00AM -0700, Edward Sutton wrote: This is a collection of information to my troubles. I am hoping to find out what mailing list is most appropriate before I started posting kernel dump backtraces and asking what other details to post. What other details may be relevant to gather would also be helpful. Are there safe ways to crash a system to gather details without further filesystem corruption? My motherboard is about six years old so it has no SATA ports for the drive; My old Promise SATA150 TX4 was loaded with four hard drives; it appears to not support optical drives so I recently purchased the Promise SATA300 TX2plus to have a card giving what I need on this old computer and hopefully an IDE port on my next computer (if the board I buy in a year comes with a PCI slot for it). I thought Promise cards receive good FreeBSD support and was readily available at a local retailer. Upon booting, I get the following 2 errors after a long pause: acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command -- Raphael Becker [EMAIL PROTECTED] http://rabe.uugrn.org/ GnuPG:E7B2 1D66 3AF2 EDC7 9828 6D7A 9CDA 3E7B 10CA 9F2D .|.|.|.|.|.|.|.. pgpB8NzQ5ZFpJ.pgp Description: PGP signature
Re: What consists FreeBSD Libc?
--- On Sun, 6/8/08, Kris Kennaway [EMAIL PROTECTED] wrote: From: Kris Kennaway [EMAIL PROTECTED] Subject: Re: What consists FreeBSD Libc? To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Sunday, June 8, 2008, 6:37 PM Unga wrote: Hi all What consists FreeBSD Libc (/lib/libc.so.7)? Is it only /usr/src/lib/libc/* ? Yes. I have compiled /usr/src/lib/libc/*, the resulting libc.so.7 is about 65,000 bytes smaller. Than what? It will change depending on your CFLAGS. Thanks Kris Wojciech for replies. Its great to get it confirmed that FreeBSD Libc is only /usr/src/lib/libc/* as I presumed. I have compiled and installed the FreeBSD Libc into a temp directory. The size of /tmp/libc.so.7 is about 65,000 bytes smaller than /lib/libc.so.7. The /lib/libc.so.7 is dated May 25, 2008. I did not touch CFLAGS or anything other than DESTDIR. But I really forgot, the gcc version is different. The /lib/libc.so.7 is by gcc 4.2.1, but the /tmp/libc.so.7 is by gcc 4.3.0. May be the code generation of the latest gcc may be better. I think the size difference may not be an issue as the libc is get it compiled and installed without any error. The GNU glibc has a make check, but there is no make check target for FreeBSD libc. How do you guys test it? Is the /usr/src/tools/regression/ any help for that? Regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help with default route
Hi! I usually use the wired network at home, in which everything gets configured automatically as soon as I attach the cable to my network card. However, when using the wireless network, I need to run # route add default -iface ipw0 This will give me a route to the gateway (10.0.0.1), and I can ping the gateway, as well as other machines on our local network. But if I try to connect to anything outside of 10/24, I get a no route to host error. If I manually add a route, with # route add x.y.z.t 10.0.0.1 I can connect to that host. If I change my default route to anything but -iface ipw0 I cannot connect to the gateway (10.0.0.1). I cannot keep adding routes to all hosts I need to connect to. I've solved the problem for web usage, by running a proxy on another machine on the local network (that's reachable) What am I doing wrong? I don't think I have a thorough understanding of network routes. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
Anders Häggström [EMAIL PROTECTED] wrote: I plan to install a web server for production use and ZFS looks very interesting, especially since it has built-in support for RAID and checksum. The hardware is already purchased, a 1U-casis with a PhemonX4 9550 CPU, 4GB ECC RAM @ 800MHz and 2x500GB SATA disks and I am about to select the operating system to use. The choice is probably between Debian 4.0r3, FreeBSD 7.0 and OpenSolaris 2008.05. All of them have their pros and cons. Just in case you assume that ZFS on OpenSolaris 2008.05 would be superior to ZFS on FreeBSD, this hasn't been my experience. On a system with an Athlon 1700+ and only 512 MB of RAM, receiving snapshots on OpenSolaris renders the GUI pretty much useless. On FreeBSD ZFS operations can cause delays as well, but it's significantly better than on OpenSolaris, even though FreeBSD's ZFS pool lies on a geli-encrypted gmirror while OpenSolaris uses the disk directly. Note that the system is below Sun's recommended specifications for ZFS, though. Things may look differently on more powerful systems. I think Debian / Linux, almost falls off because it lacks support for native ZFS and I have not found any alternative filesystem that offer checksums on the fly. My main question is: How is the support for ZFS on FreeBSD? Is it sufficiently stable and fast enough to be used in production yet? It probably depends on your workload, you'll find several complaints in the archives. It works fine for me, but I haven't tried it on web servers yet. If I were to install a web server today, though, I'd definitely go with ZFS (on FreeBSD). If not, is there any alternative filesystem that offers checksums on the fly or other similar technology to reduce the risk of a corrupt filesystem that at the same time plays well with software RAID (RAID-1 in particular)? You can use geli(8) for checksumming, it can be combined with gmirror but unless with ZFS, you don't get automatic self-healing. Fabian signature.asc Description: PGP signature
[OT]Change font for aterm
Dear All, I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change the configure in the menu. Now I am using aterm, but I also want to use that font. I can see it by fc-list: [3:39pm:kemian] ~ fc-list | grep Sans Mono Bitstream Vera Sans Mono:style=Bold Bitstream Vera Sans Mono:style=Oblique Bitstream Vera Sans Mono:style=Bold Oblique Bitstream Vera Sans Mono:style=Roman I add entry in .Xresources: Aterm*font: xft:Bitstream Vera Sans Mono:style=Roman But run the aterm give me: aterm: can't load font xft:Bitstream Vera Sans Mono:style=Roman Could anyone give me a clue on how to change the font of aterm? -- Best wishes, Kemian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The Freebsd notebook project... was Flashplugin
Em Dom, 2008-06-08 às 14:37 +0100, Chris Whitehouse escreveu: Jerry McAllister wrote: The idea behind the FreebSD nobebook project is rather simple: Here in my country a person must (or should) pay a lot of taxes to the govern... for every notebook sold, there is about 70% of taxes plus about 6% month of fincancial costs... so a small notebook sells for about U$1400. in this $1400 there are almost $800 of taxes... without count the financial costs of about 6%/month (at best) . But not everything is lost... the govern invest much money in education, and health... (I know that a lot of money is lost... but it does not count, lost is lost)... For educacional pourposes, the taxes are very low (about 10%)... so a good notebook sells for US800. (final cost).. the notbook is turion 64 (preferable not dual core)... 120gb hd wireless 13... without operating system.. and bought in chunks of 1000. Because they will use open source, and the operating system must be built from ground zero within the university... serialized, with a software key code that is able to trace the machine... (there is no debian, mandriva, gentoo,microsoft) no comercial brand should apply... finance with the State bank in 36 months it will cost about US$20/month with insurance... The student sign a contract that will take care of the machine and if tampered (other no open source OS installed)... all the taxes should be payed by him... The notbooks runs Gnome 2.22 and with wireless in the campus, everybody can access the multimedia files stored in the FreBSD servers (about 20T)... Using a modified divx codec, the media is protected from being seen or used by non authorized persons (ok I know that the protection is not hard) but is enough for dayly used (all media is marked with a water mark (thanks mencoder team...)). The Evolution (email client...) is linked with the open exchange server and ldap... so a person can email and receive information form the university staff and others using the ldap servers... Telephony is done using Ekiga (low rates apply to PSTN)... and if you have fast internet connection, the builtin camera can be used for video on Ekiga... Gatekeepers (using gnugk) links directly to the PSTN, ekiga talks h323.. so no problem with it too. For office is used openoffice 3.0 (now beta).. Media is produced or convertd using ffmpeg mplayer...can be seen on the standard gnome media player, using libxine backend... it just works Hope will start installing the servers till end of this month... Ok... and the users that already have the vista boxes??? (about 2%) No problem... for a small they can install a program that identifyes the notebook to the servers. About the media... well they can always convert the media... (some more cost is involved...) no virus protection is installed in the network. so windows users are advised to not link their computers at any point of the network (use at own risk signs are all around...) Included in the project, there is for training the users to use gnome... (well in fact... make the users forget words and methods. (excell, outlook, word, anti-virus, codec, media player...)) Why not KDE too powerfull.. excelent, consumes more resources, must get an written permission for QT (the lawers said...). Too complicated for the users the users just want to ckick and go... That is the project... it was 2 years of negotiation... of course THEY tried to do the same... but after 2 years... the project specification remains the same... Another good candidate is Arch Linux... but have some problems with the media play... (totem xine zoom does not work, and the openoffice in native language have some problems, kernel version and internals change too soon... the kernel schedule does not compare to FreeBSD7_ULE... so sometimes the media play chokes at heavy load... but is a good candidade)... With the earn in the project... some of them will be inject in FreeBSD to make some things work (flash player, buggy bios...). Must have $$$ to teach people to program in gnome/gtk... this will generate JOBS.. if one in 100 produce something in some time we will have a new softwre company... The first buyer??? the govern... The ideia is to theach the children for no need to punish the men... Thanks for reading Sergio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
On Sun, 8 Jun 2008 16:24:56 +0200 Fabian Keil [EMAIL PROTECTED] wrote: On a system with an Athlon 1700+ and only 512 MB of RAM, receiving snapshots on OpenSolaris renders the GUI pretty much useless. Note that the system is below Sun's recommended specifications for ZFS, though. Things may look differently on more powerful systems. The -bare- minimum for OpenSolaris is 512MB. That's not only for ZFS. In my experience ZFS on solaris is rock solid. OpenSolaris is not yet ready for production servers though i.m.h.o. nor is nevada_b90 with the ability to boot off ZFS root. Production servers need to be well (no thoroughly) tested ;-) The best stable (production) server with ZFS is solaris-10u5 If you want to boot off ZFS, S10u6 will support that. But these versions too need lots of ram. I think fbsd has a lighter footprint. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxde 01/08 ++ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
irq storm detected on internal NIC since 7.0 upgrade
The servers internal NIC is a Intel 1000 Gigabit card, using the em0 driver. I never had an issue with it w/ the 5.x or 6x series or freebsd, so I suspect a buggy driver in 7.0 /var/log/messages contains spams of these messages: kernel: interrupt storm detected on irq19:; throttling interrupt source Anyone else experiencing this issue? Casey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wireless help
On Sat, Jun 07, 2008 at 07:38:38AM -0700, erpa1119 wrote: I am completely new to linux and need help with wireless connectivity. I have installed freebsd 6.3-RELEASE Technically, FreeBSD is not Linux. The Unix family tree looks something like the following (greatly simplified): Bell Labs Unix | | | BSD Unix SysV Unix | | | | FreeBSD Solaris Linux Linux is way over to the right by itself because it doesn't really have any genetic relation to the others. FreeBSD doesn't share any original genetic material with the SysV line, either, but that's basically because it evolved to that point -- whereas Linux was created from scratch to emulate (mostly SysV) Unix functionality. There's a lot in common between most Linux distributions and most FreeBSD installs, but that's in large part because of the plethora of open source applications that can be installed on both, and because the two are both tied to a sort of Unix tradition of OS design. It's not so much because of any actual family relation, per se. Sorry if this seems somewhat off the topic of what you're asking. I'm just trying to be informative. A better way to phrase your original sentence would have been something like I am completely new to Unix-like systems and need help with wireless connectivity. I have a toshiba satellite 1005-s157 with a dlink gs630 pcmcia card and a linksys wr54g wireless router. ifconfig shows status: associated but I cannot ping anything other than the static IP address that I gave to the wireless card. The card is known working, the AP is known working. I do not have DHCP running on the AP and simply assign IP's to all of my boxes when I first bring them online. topology: wall--bellsouth router--linksys AP linksys has a static IP of 192.168.1.3 bellsouth router has a static IP of 192.168.1.254 I have added a default route by running the following. route add default 192.168.1.254 Is the Linksys access point a router? Is it running NAT? Your FreeBSD system might effectively be tucked away in a subnet, which could possibly account for (some of?) your problems. I also ran this ifconfig ath0 ssid MYAPNAMEHERE wepmode on weptxkey MYPASSPHRASE ifconfig ath0 list scan shows the AP that I am trying to connect through and shows CAPS of EP only. The Question is: How am I associated with the AP but cannot ping anything other than localhost, 127.0.0.1 and the static IP address that I gave the card? Does this mean you can't ping the Linksys access point? Is the access point configured to ignore pings? All pings except to localhost or 127 or my static ip result in a host down message contents of /etc/resolv.conf search . nameserver 205.xxx.xxx.xxx nameserver 205.xxx.xxx.xxx nameserver 205.xxx.xxx.xxx You probably don't need three copies of the same line -- or are those three different IP addresses that you've Xed out? Is the period after search what's actually in the file, or did you elide some of the contents of that line? Sorry if I'm not as useful as I should be -- I still haven't fully woken up, and may miss something obvious. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Paul Graham: SUVs are gross because they're the solution to a gross problem. (How to make minivans look more masculine.) pgp8oO8dPxzUq.pgp Description: PGP signature
Re: [OT]Change font for aterm
On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote: Dear All, I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change the configure in the menu. Now I am using aterm, but I also want to use that font. I can see it by fc-list: [3:39pm:kemian] ~ fc-list | grep Sans Mono Bitstream Vera Sans Mono:style=Bold Bitstream Vera Sans Mono:style=Oblique Bitstream Vera Sans Mono:style=Bold Oblique Bitstream Vera Sans Mono:style=Roman I add entry in .Xresources: Aterm*font: xft:Bitstream Vera Sans Mono:style=Roman Use: Aterm*font: -bitstream-bitstream\ vera\ sans\ mono-medium-r-normal--16-0-0-0-m-0-iso8859-15 in ~/.Xdefaults (all on one line). Then: $ xrdb -load The size of the font can be varied by changing the 16 in that line. $ xlsfonts | less gives you the names of the fonts you can use. But run the aterm give me: aterm: can't load font xft:Bitstream Vera Sans Mono:style=Roman Could anyone give me a clue on how to change the font of aterm? -- Best wishes, Kemian Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFE setting manually to 1000baseT and half duplex
Wojciech Puchar wrote: Even if you do have hardware that supports half-duplex gigabit ethernet on both ends, the need to do carrier extension for any frame shorter than 512 bytes so that CSMA/CD actually works on a reasonable sized cable, does horrible things to your throughput if you've got lots of small frames. (In other words, at gigabit speeds, frames smaller than 512 bytes zip down the wire so quickly that you can no longer reliably detect collisions, so the frames all get padded.) I'm having trouble wrapping my head around any circumstances other than horribly, horribly broken hardware or software where half-duplex would increase your performance over full-duplex. actually there are no gigabit devices incapable of full-duplex. I would certainly hope so; I can't see much of a market for gigabit ethernet devices that can't do full-duplex. (I'm a touch confused, however, by your phrasing that as if you're rebutting something I wrote.) --Jon Radel smime.p7s Description: S/MIME Cryptographic Signature
RE: Make buildworld
$ man make ... -j max_jobs Specify the maximum number of jobs that make may have running at any one time. Turns compatibility mode off, unless the -B flag is also specified. HTH - Tobias -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jos Chrispijn Sent: Sunday, June 08, 2008 7:50 AM To: freebsd-questions@freebsd.org Subject: Make buildworld Can someone tell me the difference between 'make -j2 buildworld' and 'make -j4 buildworld' ? Thanks, Jos ___ 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: Upgrading Kernel on a Remote Server
Schiz0 wrote: The host is installing 6.3-RELEASE. I'd like to upgrade to 7.0-RELEASE, as well as compile in some kernel options for various things. What's the best way to do this on a remote system, minimizing compiling a bad kernel and causing it not to boot? I wouldn't have access to single user mode or anything. Just have a look to this URL; I allready read that this works flawless: http://www.cyberciti.biz/faq/howto-freebsd-server-upgrades/ Jos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
That worked like a charm, but Adobe Reader 8.12 not only crashes the browser, but also wine and X. So now I have wine firefox which can handle Flash 9, but crashes on pdfs and linux-firefox which handles pdfs, but crashes on Flash. What version of wine are you using? I believe they fixed that in wine recently Sam Fourman Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT]Change font for aterm
2008/6/8 Frank Shute [EMAIL PROTECTED]: On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote: Dear All, I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change the configure in the menu. Now I am using aterm, but I also want to use that font. I can see it by fc-list: [3:39pm:kemian] ~ fc-list | grep Sans Mono Bitstream Vera Sans Mono:style=Bold Bitstream Vera Sans Mono:style=Oblique Bitstream Vera Sans Mono:style=Bold Oblique Bitstream Vera Sans Mono:style=Roman I add entry in .Xresources: Aterm*font: xft:Bitstream Vera Sans Mono:style=Roman Use: Aterm*font: -bitstream-bitstream\ vera\ sans\ mono-medium-r-normal--16-0-0-0-m-0-iso8859-15 in ~/.Xdefaults (all on one line). aterm still complain can not find this font. Then: $ xrdb -load This command did not give any output, it held there and nothing happened. I have to Ctrl+C to stop it. The size of the font can be varied by changing the 16 in that line. $ xlsfonts | less This did not give the output of bitstream vera sans mono. gives you the names of the fonts you can use. But run the aterm give me: aterm: can't load font xft:Bitstream Vera Sans Mono:style=Roman Could anyone give me a clue on how to change the font of aterm? -- Best wishes, Kemian Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html So, any ideas. -- Best wishes, Kemian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT]Change font for aterm
On Sun, Jun 08, 2008 at 06:06:38PM +0100, Kemian Dang wrote: 2008/6/8 Frank Shute [EMAIL PROTECTED]: On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote: Dear All, I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change the configure in the menu. Now I am using aterm, but I also want to use that font. I can see it by fc-list: [3:39pm:kemian] ~ fc-list | grep Sans Mono Bitstream Vera Sans Mono:style=Bold Bitstream Vera Sans Mono:style=Oblique Bitstream Vera Sans Mono:style=Bold Oblique Bitstream Vera Sans Mono:style=Roman I add entry in .Xresources: Aterm*font: xft:Bitstream Vera Sans Mono:style=Roman Use: Aterm*font: -bitstream-bitstream\ vera\ sans\ mono-medium-r-normal--16-0-0-0-m-0-iso8859-15 in ~/.Xdefaults (all on one line). aterm still complain can not find this font. Then: $ xrdb -load Sorry. should have been: $ xrdb -load ~/.Xdefaults This command did not give any output, it held there and nothing happened. I have to Ctrl+C to stop it. The size of the font can be varied by changing the 16 in that line. $ xlsfonts | less This did not give the output of bitstream vera sans mono. Does the dir /usr/local/lib/X11/fonts/bitstream-vera/ exist? If not you have to install: x11-fonts/bitstream-vera and follow the instructions to change your xorg.conf and then restart X. If it exists, you have to add the dir to xorg.conf like so: FontPath /usr/local/lib/X11/fonts/bitstream-vera/ under the Files section. Restart X. X should read ~/.Xdefaults on start up your font will be used for aterm. xlsfonts should also now list the bitstream vera fonts. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
Thanks for the quick answers! 2008/6/8 Fabian Keil [EMAIL PROTECTED]: Just in case you assume that ZFS on OpenSolaris 2008.05 would be superior to ZFS on FreeBSD, this hasn't been my experience. Yes, I assumed that because Sun can implement and optimize ZFS to fit OpenSolaris, while we run the risk with FreeBSD to implement bugs while we implement ZFS. 2008/6/8 Dick Hoogendijk [EMAIL PROTECTED]: The best stable (production) server with ZFS is solaris-10u5 If you want to boot off ZFS, S10u6 will support that. But these versions too need lots of ram. I think fbsd has a lighter footprint. As you might have read, I have quite a lot of RAM available on this server (4GB), but ofcource I want the operating system to take as little as possible so that I have as much RAM as possible over for the server processes to work with (mostly web-server and mysql-server). According to a page I have found it says that some basic (FreeBSD-specific) functions are not ready, how does that affect ZFS in general? http://wiki.freebsd.org/ZFS Regards Anders ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with default route
Well, I can't be sure without seeing your entire routing table, but I would bet you need to do something more like this: route add -net 10.0.0.0/24 -iface ipw0 route add default 10.0.0.1 (or maybe route add default gw 10.0.0.1) If that doesn't work try giving us the output from your routing table (netstat -rn). -Matt On Sun, Jun 8, 2008 at 10:27 AM, Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: Hi! I usually use the wired network at home, in which everything gets configured automatically as soon as I attach the cable to my network card. However, when using the wireless network, I need to run # route add default -iface ipw0 This will give me a route to the gateway (10.0.0.1), and I can ping the gateway, as well as other machines on our local network. But if I try to connect to anything outside of 10/24, I get a no route to host error. If I manually add a route, with # route add x.y.z.t 10.0.0.1 I can connect to that host. If I change my default route to anything but -iface ipw0 I cannot connect to the gateway (10.0.0.1). I cannot keep adding routes to all hosts I need to connect to. I've solved the problem for web usage, by running a proxy on another machine on the local network (that's reachable) What am I doing wrong? I don't think I have a thorough understanding of network routes. Svein Halvor ___ 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: change the file date and time
Frank Shute [EMAIL PROTECTED] writes: If you're lucky, the jpg's will contain exif info which if the phone's time date is set will tell you when the picture was taken amongst other things. This is more reliable than depending on file date. Here's a quick dirty perl script (called picinfo) that I used to get this data (modify at your will): I would recommend graphics/jhead. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
2008/6/8 Fabian Keil [EMAIL PROTECTED]: Anders Häggström [EMAIL PROTECTED] wrote: [...] Just in case you assume that ZFS on OpenSolaris 2008.05 would be superior to ZFS on FreeBSD, this hasn't been my experience. On a system with an Athlon 1700+ and only 512 MB of RAM, receiving snapshots on OpenSolaris renders the GUI pretty much useless. On FreeBSD ZFS operations can cause delays as well, but it's significantly better than on OpenSolaris, even though FreeBSD's ZFS pool lies on a geli-encrypted gmirror while OpenSolaris uses the disk directly. This hasn't anything to do with ZFS but on the different configuration of the clockrate. FreeBSD uses 1000 ticks, while it's 500 on Solaris. This means that FreeBSD can switch to different tasks twice as fast than Solaris. For a server a high tick rate isn't necessary, so it doesn't matter really. And Solaris still is a server OS. If you're running a desktop it makes quite a difference, of course. Interesstingly enough PC BSD configures kern.clockrate to 2000. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
The choice is probably between Debian 4.0r3, FreeBSD 7.0 and OpenSolaris 2008.05. All of them have their pros and cons. could you tell any pros for opensolaris? I think Debian / Linux, almost falls off because it lacks support for native ZFS and I have not found any alternative filesystem that offer checksums on the fly. agree My main question is: How is the support for ZFS on FreeBSD? Is it while i don't use it, it works rather as in manual. no crashes if configured right. sufficiently stable and fast enough to be used in production yet? that's just my opinion about ZFS that it isn't very useful at all. it's just memory and CPU eater. If not, is there any alternative filesystem that offers checksums on the fly or other similar technology to reduce the risk of a corrupt filesystem that at the same time plays well with software RAID (RAID-1 in particular)? while i use RAID-1 for a long time be it linux or netbsd or freebsd, there is no need for checksumming. there are sector's checksums on disks, checked on every read. in SATA protocol there is error checking during transmission too. there is already well done things in hardware to do disk transfers without CPU overhead, but ZFS introduces overhead and advertises it as feature. quick advice - gmirror this 2 drives and then use UFS. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernel crash coredump help
Hi, We install a new server Dell 2950 with FreeBSD 7.0 and we've got some issues with same. Hardware: Dell 2950 Intel(R) Xeon(R) Dual CPU Quad-Core E5335 @ 2.00GHz (1995.01-MHz K8-class CPU) with 4079 MB RAM and 2 x 250GB SATA HDD. Normal server install using developer, all sources without games. Upgrade to 7.0-p1#, then recompile kernel with GENERIC + device pf device pfsync device pflog device carp options HZ=1000 options DEVICE_POLLING Server is running as secondary PF firewall with CARP/PFSYNC/IFSTATED. Additional services running on the server are bind, net-snmp and ssh. We have additional 7 servers running similar services with 6.2 and 7.0 FreeBSD all running fine. Later same day the server crashed. The traffic was on MASTER CARP server when crash happen, server was not under load, CPU was 0% and memory 10% from NMS reports. We were able to got a crash dump: [EMAIL PROTECTED] FW]# kgdb kernel.debug /var/crash/vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as amd64-marcel-freebsd. Unread portion of the kernel message buffer: 7arp_rtrequest: bad gateway 196.3.61.14 (!AF_LINK) Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xda040020 fault code = supervisor read data, page not present instruction pointer = 0x8:0x80666070 stack pointer = 0x10:0xac3e0650 frame pointer = 0x10:0xff00cfb42820 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 19 (swi1: net) trap number = 12 panic: page fault cpuid = 0 Uptime: 2h10m11s Physical memory: 4079 MB Dumping 425 MB: 410 394 378 362 346 330 314 298 282 266 250 234 218 202 186 170 154 138 122 106 90 74 58 42 26 10 #0 doadump () at pcpu.h:194 194 __asm __volatile(movq %%gs:0,%0 : =r (td)); (kgdb) list *0x80666070 0x80666070 is in uma_zfree_internal (uma_int.h:368). 363 int hval; 364 365 hval = UMA_HASH(hash, data); 366 367 SLIST_FOREACH(slab, hash-uh_slab_hash[hval], us_hlink) { 368 if ((u_int8_t *)slab-us_data == data) 369 return (slab); 370 } 371 return (NULL); 372 } (kgdb) backtrace #0 doadump () at pcpu.h:194 #1 0x0004 in ?? () #2 0x80497ea9 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #3 0x804982ad in panic (fmt=0x104 Address 0x104 out of bounds) at /usr/src/sys/kern/kern_shutdown.c:563 #4 0x8071ad64 in trap_fatal (frame=0xff00010e0340, eva=18446742974215697512) at /usr/src/sys/amd64/amd64/trap.c:724 #5 0x8071b135 in trap_pfault (frame=0xac3e05a0, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:641 #6 0x8071ba78 in trap (frame=0xac3e05a0) at /usr/src/sys/amd64/amd64/trap.c:410 #7 0x807016de in calltrap () at /usr/src/sys/amd64/amd64/exception.S:169 #8 0x80666070 in uma_zfree_internal (zone=0xff00cfb42820, item=0xff0003b2e000, udata=0x0, skip=Variable skip is not available.) at uma_int.h:367 #9 0x8066909b in uma_zfree_arg (zone=0xff00cfb42820, item=0xff0003b2e000, udata=0x0) at /usr/src/sys/vm/uma_core.c:2405 #10 0x80665fe4 in uma_zfree_internal (zone=0xff00cfb429c0, item=0xff0003a86600, udata=0x0, skip=Variable skip is not available.) at /usr/src/sys/vm/uma_core.c:2434 #11 0x80666bba in bucket_drain (zone=0xff00cfb429c0, bucket=0xff0003a94830) at /usr/src/sys/vm/uma_core.c:595 #12 0x80666cab in bucket_cache_drain (zone=0xff00cfb429c0) at /usr/src/sys/vm/uma_core.c:662 #13 0x8066996b in zone_drain (zone=0xff00cfb429c0) at /usr/src/sys/vm/uma_core.c:710 #14 0x801b7f95 in pfsync_get_mbuf (sc=0xff0003573400, action=2 '\002', sp=0xff0003573570) at mbuf.h:529 #15 0x801b8208 in pfsync_pack_state (action=Variable action is not available.) at /usr/src/sys/contrib/pf/net/if_pfsync.c:1512 #16 0x801ce863 in pf_test (dir=1, ifp=0xff000128d800, m0=0xac3e0a00, eh=Variable eh is not available.) at /usr/src/sys/contrib/pf/net/pf.c:6955 #17 0x801d360a in pf_check_in (arg=Variable arg is not available.) at /usr/src/sys/contrib/pf/net/pf_ioctl.c:3533 #18 0x80539561 in pfil_run_hooks (ph=Variable ph is not available.) at /usr/src/sys/net/pfil.c:78 #19
Re: FreeBSD + ZFS on a production server?
On a system with an Athlon 1700+ and only 512 MB of RAM, receiving snapshots on OpenSolaris renders the GUI pretty much useless. looks like very bad CPU and I/O scheduling on Solaris. maybe that's their 32-64 hardware threads capable chip is advertised so much? :) On FreeBSD ZFS operations can cause delays as well, but it's significantly better than on OpenSolaris, even though FreeBSD's ZFS pool lies on a geli-encrypted gmirror while OpenSolaris uses the disk directly. there is quite big difference with geli. it is CPU eater and produces delays noticable on machines that like P3 or less. but at least - it does something useful unlike these ZFS checksumming and other things. Note that the system is below Sun's recommended specifications for ZFS, though. Things may look differently on more powerful systems. but comparision probably the same, or difference less noticable on stronger systems. You can use geli(8) for checksumming, it can be combined with gmirror but unless with ZFS, you don't get automatic self-healing. whatever it means ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
On a system with an Athlon 1700+ and only 512 MB of RAM, receiving snapshots on OpenSolaris renders the GUI pretty much useless. On FreeBSD ZFS operations can cause delays as well, but it's significantly better than on OpenSolaris, even though FreeBSD's ZFS pool lies on a geli-encrypted gmirror while OpenSolaris uses the disk directly. anyway something get changed between FreeBSD 6 and 7. as i changed this on quite loaded server from 6.3 to 7 - general throughput increased well. tasks are done much faster. on on my laptop it's the same, but interactive delays was much lower on 6.3 is it possible to turn old mode on FreeBSD 7. on my laptop interactive performance is more important. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
As you might have read, I have quite a lot of RAM available on this server (4GB), but ofcource I want the operating system to take as little as possible so that I have as much RAM as possible over for the server processes to work with (mostly web-server and mysql-server). ZFS is memory and CPU eater. prepare that very few will be left for actual work ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
If you're running a desktop it makes quite a difference, of course. Interesstingly enough PC BSD configures kern.clockrate to 2000. human can't notice delays below 10ms. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Grep Guru
I tried to make a grep script on find a string in all files on path ./ and down. It does anything exept searching in files and reporting them. Is there a Grep Guru who can hint me out? Thanks, -- Jos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep Guru
On Sun, Jun 08, 2008, Jos Chrispijn wrote: I tried to make a grep script on find a string in all files on path ./ and down. It does anything exept searching in files and reporting them. Is there a Grep Guru who can hint me out? Thanks, I expect you need something like: find . -type f -print0 | xargs -0 grep pattern Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 We maintain that the very foundation of our way of life is what we call free enterprise, said Cash McCall, but when one of our citizens show enough free enterprise to pile up a little of that profit, we do our best to make him feel that he ought to be ashamed of himself. -- Cameron Hawley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mergemaster problem
after upgrade 6.3 to 7.0 mergemaster didn't do the job properly After a normal reboot I get a lot of Warnings like /etc/rc: WARNING: $variable_enable is not set properly - see rc.conf(5) HOw to solve this problem??? Thanks Jack ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep Guru
I tried to make a grep script on find a string in all files on path ./ and down. It does anything exept searching in files and reporting them. Is there a Grep Guru who can hint me out? Thanks, find . -type f -print0|xargs -0 grep grepoptions text to search anyway it's nothing about being Grep Guru, or Find Guru but it's really worth to be Man Guru :) man find man xargs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
On Sun, 8 Jun 2008, Sam Fourman Jr. wrote: That worked like a charm, but Adobe Reader 8.12 not only crashes the browser, but also wine and X. So now I have wine firefox which can handle Flash 9, but crashes on pdfs and linux-firefox which handles pdfs, but crashes on Flash. What version of wine are you using? I believe they fixed that in wine recently The current port which is 1.0-rc3 according to the (port) Makefile. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What consists FreeBSD Libc?
Its great to get it confirmed that FreeBSD Libc is only /usr/src/lib/libc/* as I presumed. I have compiled and installed the FreeBSD Libc into a temp directory. The size of /tmp/libc.so.7 is about 65,000 bytes smaller than /lib/libc.so.7. The /lib/libc.so.7 is dated May 25, 2008. I did not touch CFLAGS or anything other than DESTDIR. But I really forgot, the gcc version is different. The /lib/libc.so.7 is by gcc 4.2.1, but the /tmp/libc.so.7 is by gcc 4.3.0. May be the code generation of the latest gcc may be better. indeed it is better. while difference between gcc 3.* and 4.* is HUGE in respect of code size. after i upgraded to FreeBSD 7 from 6.3 (so gcc got upgraded to 4.*) i recompiled bash. same version, 20% smaller! finally gcc turned to rule small code=fast code, always true on processors with at least 1 level of cache, not mentioning 2 or 3 cache levels :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
stunnel: warning: can't get client address: Bad file descriptor
Just upgraded stunnel and getting the following error message in the /var/log/messages file. any clues? snip --- Jun 8 13:17:04 stunnel: warning: can't get client address: Bad file descriptor Jun 8 13:17:34 last message repeated 530400 times Jun 8 13:18:00 last message repeated 488687 times snip --- --- configuration --- # cat /usr/local/etc/stunnel/stunnel.conf # Sample stunnel configuration file # Copyright by Michal Trojnara 2002 # Comment it out on Win32 cert = /usr/local/etc/stunnel/mail.pem chroot = /var/run/stunnel #chroot = /var/run # PID is created inside chroot jail pid = /stunnel.pid setuid = stunnel setgid = stunnel # grep stunnel /etc/rc.conf stunnel_enable=YES # cat /usr/local/etc/rc.d/stunnel #!/bin/sh # # $FreeBSD: ports/security/stunnel/files/stunnel.in,v 1.9 2008/01/26 14:18:12 roam Exp $ # # PROVIDE: stunnel # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # KEYWORD: shutdown # # Add some of the following variables to /etc/rc.conf to configure stunnel: # stunnel_enable (bool):Set to NO by default. # Set it to YES to enable stunnel. # stunnel_config (str): Default /usr/local/etc/stunnel/stunnel.conf # Set it to the full path to the config file # that stunnel will use during the automated # start-up. # stunnel_pidfile (str):Default /usr/local/var/stunnel/stunnel.pid # Set it to the value of 'pid' in # the stunnel.conf file. # . /etc/rc.subr name=stunnel rcvar=`set_rcvar` load_rc_config $name : ${stunnel_enable=NO} : ${stunnel_config=/usr/local/etc/stunnel/${name}.conf} : ${stunnel_pidfile=/var/run/stunnel/${name}.pid} command=/usr/local/bin/stunnel command_args=${stunnel_config} pidfile=${stunnel_pidfile} required_files=${stunnel_config} run_rc_command $1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep Guru
On 06/08/2008 10:12 PM, Bill Campbell wrote: On Sun, Jun 08, 2008, Jos Chrispijn wrote: I tried to make a grep script on find a string in all files on path ./ and down. It does anything exept searching in files and reporting them. Is there a Grep Guru who can hint me out? Thanks, I expect you need something like: find . -type f -print0 | xargs -0 grep pattern Or install the GNU grep (from the man) -R, -r, --recursive Read all files under each directory, recursively; this is equivalent to the -d recurse option. Bill cheers Simon signature.asc Description: OpenPGP digital signature
Re: Grep Guru
Simon Jolle sjolle wrote: On 06/08/2008 10:12 PM, Bill Campbell wrote: On Sun, Jun 08, 2008, Jos Chrispijn wrote: I tried to make a grep script on find a string in all files on path ./ and down. It does anything exept searching in files and reporting them. Is there a Grep Guru who can hint me out? Thanks, I expect you need something like: find . -type f -print0 | xargs -0 grep pattern Or install the GNU grep (from the man) -R, -r, --recursive Read all files under each directory, recursively; this is equivalent to the -d recurse option. The system supplied grep(1) /is/ gnu grep: happy-idiot-talk:~:% grep --version grep (GNU grep) 2.5.1-FreeBSD Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. grep -r works just fine. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: FreeBSD + ZFS on a production server?
Christian Walther [EMAIL PROTECTED] wrote: 2008/6/8 Fabian Keil [EMAIL PROTECTED]: Anders Häggström [EMAIL PROTECTED] wrote: [...] Just in case you assume that ZFS on OpenSolaris 2008.05 would be superior to ZFS on FreeBSD, this hasn't been my experience. On a system with an Athlon 1700+ and only 512 MB of RAM, receiving snapshots on OpenSolaris renders the GUI pretty much useless. On FreeBSD ZFS operations can cause delays as well, but it's significantly better than on OpenSolaris, even though FreeBSD's ZFS pool lies on a geli-encrypted gmirror while OpenSolaris uses the disk directly. This hasn't anything to do with ZFS but on the different configuration of the clockrate. FreeBSD uses 1000 ticks, while it's 500 on Solaris. With OpenSolaris 2008.05 the GUI becomes unresponsive for multiple-seconds on my system, and it's not clear to me how the clock rate difference would explain that. Fabian signature.asc Description: PGP signature
stunnel: warning: can't get client address: Bad file descriptor
Just upgraded stunnel and getting the following error message in the /var/log/messages file. It appears that when I restart stunnel it complains Error binding pop3s to 0.0.0.0:995 and bind: Address already in use (48). therefore the 995 port never becomes available during the restart. Why is that happening? She the stunel logs below. any clues? snip --- Jun 8 13:17:04 stunnel: warning: can't get client address: Bad file descriptor Jun 8 13:17:34 last message repeated 530400 times Jun 8 13:18:00 last message repeated 488687 times snip --- here is the stunnel.log - n# tail -n 50 -f /var/log/stunnel.log Jun 8 00:00:00 typhoon newsyslog[72831]: logfile turned over 2008.06.08 04:05:41 LOG7[21238:134664192]: Snagged 64 random bytes from /root/.rnd 2008.06.08 04:05:41 LOG7[21238:134664192]: Wrote 1024 new random bytes to /root/.rnd 2008.06.08 04:05:41 LOG7[21238:134664192]: RAND_status claims sufficient entropy for the PRNG 2008.06.08 04:05:41 LOG7[21238:134664192]: PRNG seeded successfully 2008.06.08 04:05:41 LOG7[21238:134664192]: Certificate: /usr/local/etc/stunnel/mail.pem 2008.06.08 04:05:41 LOG7[21238:134664192]: Certificate loaded 2008.06.08 04:05:41 LOG7[21238:134664192]: Key file: /usr/local/etc/stunnel/mail.pem 2008.06.08 04:05:41 LOG7[21238:134664192]: Private key loaded 2008.06.08 04:05:41 LOG7[21238:134664192]: SSL context initialized for service pop3s 2008.06.08 04:05:41 LOG5[21238:134664192]: stunnel 4.25 on i386-unknown-freebsd6.2 with OpenSSL 0.9.8h 28 May 2008 2008.06.08 04:05:41 LOG5[21238:134664192]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6 Auth:LIBWRAP 2008.06.08 04:05:41 LOG6[21238:134664192]: file ulimit = 11095 (can be changed with 'ulimit -n') 2008.06.08 04:05:41 LOG6[21238:134664192]: poll() used - no FD_SETSIZE limit for file descriptors 2008.06.08 04:05:41 LOG5[21238:134664192]: 5417 clients allowed 2008.06.08 04:05:41 LOG7[21238:134664192]: FD 5 in non-blocking mode 2008.06.08 04:05:41 LOG7[21238:134664192]: FD 6 in non-blocking mode 2008.06.08 04:05:41 LOG7[21238:134664192]: FD 7 in non-blocking mode 2008.06.08 04:05:41 LOG7[21238:134664192]: SO_REUSEADDR option set on accept socket 2008.06.08 04:05:41 LOG3[21238:134664192]: Error binding pop3s to 0.0.0.0:995 2008.06.08 04:05:41 LOG3[21238:134664192]: bind: Address already in use (48) --- configuration --- # cat /usr/local/etc/stunnel/stunnel.conf # Sample stunnel configuration file # Copyright by Michal Trojnara 2002 # Comment it out on Win32 cert = /usr/local/etc/stunnel/mail.pem chroot = /var/run/stunnel #chroot = /var/run # PID is created inside chroot jail pid = /stunnel.pid setuid = stunnel setgid = stunnel # grep stunnel /etc/rc.conf stunnel_enable=YES # cat /usr/local/etc/rc.d/stunnel #!/bin/sh # # $FreeBSD: ports/security/stunnel/files/stunnel.in,v 1.9 2008/01/26 14:18:12 roam Exp $ # # PROVIDE: stunnel # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # KEYWORD: shutdown # # Add some of the following variables to /etc/rc.conf to configure stunnel: # stunnel_enable (bool):Set to NO by default. # Set it to YES to enable stunnel. # stunnel_config (str): Default /usr/local/etc/stunnel/stunnel.conf # Set it to the full path to the config file # that stunnel will use during the automated # start-up. # stunnel_pidfile (str):Default /usr/local/var/stunnel/stunnel.pid # Set it to the value of 'pid' in # the stunnel.conf file. # . /etc/rc.subr name=stunnel rcvar=`set_rcvar` load_rc_config $name : ${stunnel_enable=NO} : ${stunnel_config=/usr/local/etc/stunnel/${name}.conf} : ${stunnel_pidfile=/var/run/stunnel/${name}.pid} command=/usr/local/bin/stunnel command_args=${stunnel_config} pidfile=${stunnel_pidfile} required_files=${stunnel_config} run_rc_command $1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep Guru
Jos Chrispijn wrote: I tried to make a grep script on find a string in all files on path ./ and down. It does anything exept searching in files and reporting them. Is there a Grep Guru who can hint me out? Thanks, -- Jos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You want it to report the files in which the string was found? grep -rl pattern path ~Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep Guru
On Sun, Jun 08, 2008 at 10:23:19PM +0200, Simon Jolle sjolle wrote: On 06/08/2008 10:12 PM, Bill Campbell wrote: On Sun, Jun 08, 2008, Jos Chrispijn wrote: I tried to make a grep script on find a string in all files on path ./ and down. It does anything exept searching in files and reporting them. Is there a Grep Guru who can hint me out? Thanks, I expect you need something like: find . -type f -print0 | xargs -0 grep pattern Or install the GNU grep (from the man) -R, -r, --recursive Read all files under each directory, recursively; this is equivalent to the -d recurse option. What's gained from GNU grep? FreeBSD grep, automatically recurses in to each subdir unless given the -maxdepth option. Looks like FreeBSD grep wins (one less argument needed) ;) Bill cheers Simon Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep Guru
--On June 8, 2008 1:12:56 PM -0700 Bill Campbell [EMAIL PROTECTED] wrote: On Sun, Jun 08, 2008, Jos Chrispijn wrote: I tried to make a grep script on find a string in all files on path ./ and down. It does anything exept searching in files and reporting them. Is there a Grep Guru who can hint me out? Thanks, I expect you need something like: find . -type f -print0 | xargs -0 grep pattern Or just grep -r string path Paul Schmehl If it isn't already obvious, my opinions are my own and not those of my employer.
Re: Grep Guru
On Sun, Jun 08, 2008 at 09:34:20PM +0100, Frank Shute wrote: On Sun, Jun 08, 2008 at 10:23:19PM +0200, Simon Jolle sjolle wrote: On 06/08/2008 10:12 PM, Bill Campbell wrote: On Sun, Jun 08, 2008, Jos Chrispijn wrote: I tried to make a grep script on find a string in all files on path ./ and down. It does anything exept searching in files and reporting them. Is there a Grep Guru who can hint me out? Thanks, I expect you need something like: find . -type f -print0 | xargs -0 grep pattern Or install the GNU grep (from the man) -R, -r, --recursive Read all files under each directory, recursively; this is equivalent to the -d recurse option. What's gained from GNU grep? FreeBSD grep, automatically recurses in to each subdir unless given the -maxdepth option. Looks like FreeBSD grep wins (one less argument needed) ;) Sorry, got confused between grep and xargs! Regards, -- Frank -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mergemaster problem
Jack Raats wrote: after upgrade 6.3 to 7.0 mergemaster didn't do the job properly After a normal reboot I get a lot of Warnings like /etc/rc: WARNING: $variable_enable is not set properly - see rc.conf(5) HOw to solve this problem??? Thanks Jack Rerun mergemaster. When it asks you to [i]nstall the new /etc/defaults/rc.conf, [m]erge it or leave it for later. Choose i. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
On Sun, 8 Jun 2008 22:08:59 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: As you might have read, I have quite a lot of RAM available on this server (4GB), but ofcource I want the operating system to take as little as possible so that I have as much RAM as possible over for the server processes to work with (mostly web-server and mysql-server). ZFS is memory and CPU eater. prepare that very few will be left for actual work ;) Bollocks. It consumes memory. The more seperate filesystems, the more memory. But don't execurate. For a webserver on zfs 4GB is more than enough. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxde 01/08 ++ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
On Sun, 8 Jun 2008 22:05:08 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: On a system with an Athlon 1700+ and only 512 MB of RAM, receiving snapshots on OpenSolaris renders the GUI pretty much useless. looks like very bad CPU and I/O scheduling on Solaris. maybe that's their 32-64 hardware threads capable chip is advertised so much? :) Don't write about things you don't know. *Maybe's* don't help. You don't have to like solaris but don't troll about it, please. Both systems have their pro's and cons. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxde 01/08 ++ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep Guru
On 06/08/2008 10:26 PM, Matthew Seaman wrote: The system supplied grep(1) /is/ gnu grep: happy-idiot-talk:~:% grep --version grep (GNU grep) 2.5.1-FreeBSD [...] Sorry you are right. I didn't had any FreeBSD box around. Cheers, Matthew cheers Simon signature.asc Description: OpenPGP digital signature
Re: FreeBSD + ZFS on a production server?
On Sun, 8 Jun 2008 22:01:23 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: while i don't use it, it works rather as in manual. no crashes if configured right. that's just my opinion about ZFS that it isn't very useful at all. it's just memory and CPU eater. Your entitled to your opinion, but please try to base it on some facts. ZFS is herre to stay. You better get used to it. at least you could try to work with it before you make up an opinion. Have you -any- idea at all what this FS is capable off? -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxde 01/08 ++ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Playing back motion jpeg saved by firefox
I just discovered that firefox can save motion video in addition to displaying it. But I don't know how to play back the saved video.cgi file. Mplayer complains about missing configuration data. Does anyone know how to play back the file saved by firefox? Is there some other mailing list to which I should post this question? Thanks, Dave Feustel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
This hasn't anything to do with ZFS but on the different configuration of the clockrate. FreeBSD uses 1000 ticks, while it's 500 on Solaris. With OpenSolaris 2008.05 the GUI becomes unresponsive for multiple-seconds on my system, and it's not clear to me how the clock rate difference would explain that. no. it's just because of scheduling and I/O algorithms used in solaris. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
ZFS is memory and CPU eater. prepare that very few will be left for actual work ;) Bollocks. It consumes memory. The more seperate filesystems, the more memory. But don't execurate. For a webserver on zfs 4GB is more than enough. still enough for UFS with softupdates - which is REALLY fast. you may set kern.maxvnodes much higher to speed it up even more. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
configured right. that's just my opinion about ZFS that it isn't very useful at all. it's just memory and CPU eater. Your entitled to your opinion, but please try to base it on some facts. ZFS is herre to stay. You better get used to it. at least you could try AFAIK there are no plans to FORCE using ZFS instead of UFS in FreeBSD. or there are? if so - fine time to check something else. to work with it before you make up an opinion. Have you -any- idea at yes i am. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
ZFS is herre to stay. You better get used to it. at least you could try to work with it before you make up an opinion. Have you -any- idea at all what this FS is capable off? if you like - quick summary 1) ZFS turns random writes into sequential writes as they say. yes that's true. they just forgot to say that it then turns sequential reads into random reads. simple for anyone that still can use his/her brain. 2) ZFS RAID-z turns your X drives to single drive performance both on read and write. every normal RAID-5 implementation will give you random read speed of X-1 times single drive speed, while slow random write speeds (but still at least half of single drive). but this is advertised as a feature 3) a CPU,cache and memory bandwidth hogging feature of checksumming all blocks. thing that are already done in disk hardware. fortunately you can turn this off 4) write anywhere style of writing, just with large buffers it could get large blocks to be written at once if only large continous space are found. quite good (but not that much better than UFS) as long as your drive is mostly empty. 5) incredibly high memory consumption. very high CPU consumption compared to UFS. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Make buildworld
Jos Chrispijn wrote: Can someone tell me the difference between 'make -j2 buildworld' and 'make -j4 buildworld' ? Thanks, Jos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] fyi, the below is from /usr/src/UPDATING: COMMON ITEMS: General Notes - Avoid using make -j when upgrading. From time to time in the past there have been problems using -j with buildworld and/or installworld. This is especially true when upgrading between distant versions (eg one that cross a major release boundary or several minor releases, or when several months have passed on the -current branch). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep Guru
On Sun, Jun 08, 2008 at 10:15:50PM +0200, Wojciech Puchar wrote: find . -type f -print0|xargs -0 grep grepoptions text to search There's no more need for find | xargs Try: find . -type -f -exec grep grepoptions text to search {} \+ -exec foo {} \+ behaves like xargs foo -exec foo {} \; exec foo for every file Regards Raphael -- Raphael Becker [EMAIL PROTECTED] http://rabe.uugrn.org/ GnuPG:E7B2 1D66 3AF2 EDC7 9828 6D7A 9CDA 3E7B 10CA 9F2D .|.|.|.|.|.|.|.. pgpNOAj47TfSE.pgp Description: PGP signature
Re: Grep Guru
On Mon, Jun 09, 2008, Raphael Becker wrote: On Sun, Jun 08, 2008 at 10:15:50PM +0200, Wojciech Puchar wrote: find . -type f -print0|xargs -0 grep grepoptions text to search There's no more need for find | xargs Try: find . -type -f -exec grep grepoptions text to search {} \+ -exec foo {} \+ behaves like xargs foo -exec foo {} \; exec foo for every file The issue here is that grep execs grep for each file found while xargs batches the files. This is of particular importance if one wants to see the file names in the output. In relation to this, if one wants to be sure that grep always generates the file name, insure that it always gets at least two files as arguments: find . -type f -print0 | xargs -0 grep pattern /dev/null FWIW, I have learned about gnu-grep's -r option reading this thread, which I had not noticed previously. I guess that just goes to show that old habits die hard :-). Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 Good luck to all you optimists out there who think Microsoft can deliver 35 million lines of quality code on which you can operate your business. -- John C. Dvorak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep Guru
On Jun 8, 2008, at 5:50 PM, Raphael Becker wrote: find . -type -f -exec grep grepoptions text to search {} \+ -exec foo {} \+ behaves like xargs foo -exec foo {} \; exec foo for every file Way cool! I hadn't known that about find(1). Cheers, -j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
Wojciech Puchar wrote: 2) ZFS RAID-z turns your X drives to single drive performance both on read and write. every normal RAID-5 implementation will give you random read speed of X-1 times single drive speed, while slow random write speeds (but still at least half of single drive). but this is advertised as a feature Is this because of checksum verification (the need to read all components) or something else? Any documentation/references? signature.asc Description: OpenPGP digital signature
Re: FreeBSD + ZFS on a production server?
In the last episode (Jun 09), Ivan Voras said: Wojciech Puchar wrote: 2) ZFS RAID-z turns your X drives to single drive performance both on read and write. every normal RAID-5 implementation will give you random read speed of X-1 times single drive speed, while slow random write speeds (but still at least half of single drive). but this is advertised as a feature Is this because of checksum verification (the need to read all components) or something else? Any documentation/references? RAID-Z stores a single checksum over the whole stripe, instead of checksumming each disks's section separately, so it has to read from all disks to validate the stripe. Only random reads are penalized, though. http://blogs.sun.com/roch/entry/when_to_and_not_to -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with default route
/etc/rc.conf defaultrouter=10.0.0.1 static_routes=route1 route1=-net 10.0.0.0/24 -iface ipw0 How about this? 2008/6/9 Matt Brennan [EMAIL PROTECTED]: Well, I can't be sure without seeing your entire routing table, but I would bet you need to do something more like this: route add -net 10.0.0.0/24 -iface ipw0 route add default 10.0.0.1 (or maybe route add default gw 10.0.0.1) If that doesn't work try giving us the output from your routing table (netstat -rn). -Matt On Sun, Jun 8, 2008 at 10:27 AM, Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: Hi! I usually use the wired network at home, in which everything gets configured automatically as soon as I attach the cable to my network card. However, when using the wireless network, I need to run # route add default -iface ipw0 This will give me a route to the gateway (10.0.0.1), and I can ping the gateway, as well as other machines on our local network. But if I try to connect to anything outside of 10/24, I get a no route to host error. If I manually add a route, with # route add x.y.z.t 10.0.0.1 I can connect to that host. If I change my default route to anything but -iface ipw0 I cannot connect to the gateway (10.0.0.1). I cannot keep adding routes to all hosts I need to connect to. I've solved the problem for web usage, by running a proxy on another machine on the local network (that's reachable) What am I doing wrong? I don't think I have a thorough understanding of network routes. Svein Halvor ___ 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] -- 橋本紘希 東京大学工学部電子情報科4年生 江崎研究室所属 [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mplayer plug-in not playing some streams
Hi, I have installed mplayer-0.99.10_14 and mplayerplug-in-3.45 using packages on my 7.0-RELEASE machine which runs Firefox 2.0.0.12. I am not able to see *some* online content, though, and I couldn't find any pattern. For example, going to http://www.davidgilmour.com/dvd.htm , I can see the Windows Media streams (both low and high resolution versions), but QuickTime and Real Player streams are not played at all --- a new tab opens in Firefox, and I see Getting playlist... and Connecting to server... messages, but then it says Stopped and that's it! But, if I go to http://www.satriani.com/podcast/Satchafunkilus/ and click on any of the podcasts (they are in .m4v which, if I'm not mistaken, is just a container for QuickTime .mov videos), mplayerplug-in plays them flawlessly. Another example for QuickTime is http://www.vai.com/SightsSounds/video_vault/index.html where all the videos can be played perfectly. As for Real Player, I see watch BBC Persian website's videos in Windows Media (e.g. this one about Euro2008 games http://www.bbc.co.uk/persian/meta/dps/2008/06/bb/080606_op-euro2008_16x9_bb.asx), but if I choose Real Player as my format, I can only hear the sound and no video is played! I would appreciate any help :) Thanks a lot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Weekly Dubai Events
If you are having trouble viewing this email, please click here http://www.eyeofdubai.com/en/newsletter/temp/events.asp to see it online. Eyeofdubai.com http://www.eyeofdubai.com 8 - 14 June, 2008 News http://www.eyeofdubai.com/v1/news/ Events http://www.eyeofdubai.com/v1/events/ Advertise with us http://www.eyeofdubai.com/v1/about/advertisewithus.asp Email icon Send this to a friend http://www.eyeofdubai.com/v1/home/mailtofriend.asp?title=Weekly Events Newslettergoto=http%3A%2F%2Fwww%2Eeyeofdubai%2Ecom%2Fen%2Fnewsletter%2F temp%2Fevents%2Easp http://www.eyeofdubai.com mailto:[EMAIL PROTECTED] Click here for advertising info http://www.eyeofdubai.com/v1/about/advertisewithus.asp http://events.eyefortravel.com/tdme/ Disclaimer: Date and venue are subject to change. Please contact the organizer of the event for confirmed date and venue. 8 - 10 June, 2008 Big 5 Exteriors Show http://www.eyeofdubai.com/v1/events/event_detail.asp?eve_id=1679eve_ca t=2 Venue : Dubai World Trade Center add this event to outlook calendar http://www.eyeofdubai.com/v1/includes/send_to_outlook.asp?eve_id=1679 _ 8 - 10 June, 2008 The Hotel Show http://www.eyeofdubai.com/v1/events/event_detail.asp?eve_id=1677eve_ca t=2 Venue : Dubai World Trade Center The Hotel Show is the largest and most important event for the hospitality sector in the region and beyond. The show features a comprehensive range of the very latest products, services and technologies from around the world and attracts the key industry decision makers across the territory. add this event to outlook calendar http://www.eyeofdubai.com/v1/includes/send_to_outlook.asp?eve_id=1677 _ 8 - 10 June, 2008 In Retail 2008 http://www.eyeofdubai.com/v1/events/event_detail.asp?eve_id=1678eve_ca t=2 Venue : Dubai World Trade Center For the design, fit-out and operational management of retail outlets, supermarkets and shopping malls. add this event to outlook calendar http://www.eyeofdubai.com/v1/includes/send_to_outlook.asp?eve_id=1678 _ 8 - 10 June, 2008 Facilities Management Expo http://www.eyeofdubai.com/v1/events/event_detail.asp?eve_id=1772eve_ca t=2 Venue : Dubai World Trade Center In 2008 FM Expo will co-locate with The Hotel Show and InRetail exhibition, this collaboration of leading shows delivered 17,966 visitors in 2007. Of these, 3,167 were dedicated FM visitors, an increase of 98% on the 2006 attendance. The visitors traveled from the Middle East, India, Europe and from North America. The combination of the three shows will mean increased buyers, increased networking opportunities and increased sales for you. add this event to outlook calendar http://www.eyeofdubai.com/v1/includes/send_to_outlook.asp?eve_id=1772 _ 8 - 12 June, 2008 Fraud 2008 http://www.eyeofdubai.com/v1/events/event_detail.asp?eve_id=1940eve_ca t=1 Venue : Beach Rotana hotel and Towers Fraud 2008 will tackle these issues head-on with practical, real-world case studies to provide you with the necessary tools to decrease fraud at your company add this event to outlook calendar http://www.eyeofdubai.com/v1/includes/send_to_outlook.asp?eve_id=1940 _ 8 - 12 June, 2008 The 12th Annual Compensation And Benefits Forum http://www.eyeofdubai.com/v1/events/event_detail.asp?eve_id=1938eve_ca t=15 Venue : JW MArriott Hotel Dubai This Forum will bring together an experienced faculty of compensation benefits specialists to discuss the hot issues and offer possible solutions to the challenges. Through a mixture of presentations, workshops, panel sessions and discussions you will hear from top companies like Microsoft, Dubai Holding, Vodafone, TNS Middle East and Arc International. add this event to outlook calendar http://www.eyeofdubai.com/v1/includes/send_to_outlook.asp?eve_id=1938 _ 8 - 12 June, 2008 Developing HR Policy Manual http://www.eyeofdubai.com/v1/events/event_detail.asp?eve_id=1939eve_ca t=4 Venue : Dusit Thani Hotel Developing HR Policy Manual will emphasise the importance of having the skills and expertise to create a cutting edge, up-to-date HR policy manual. Developing HR Policy Manual also gives you the unique opportunity to learn how to achieve buy-in from all line managers in your organisation, share and discuss your organisational needs add this event to outlook calendar http://www.eyeofdubai.com/v1/includes/send_to_outlook.asp?eve_id=1939 _ 8 - 12 June, 2008 The 7 Habits of Highly Effective People http://www.eyeofdubai.com/v1/events/event_detail.asp?eve_id=1941eve_ca t=4 Venue : Kempinski Hotel - Mall Of Emirates This course incorporates an important productivity component, Focus: Achieving Your Highest Priorities, which will provide you with tips and tools that will help you focus on the most important things
Re: Make buildworld
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian wrote: Jos Chrispijn wrote: Can someone tell me the difference between 'make -j2 buildworld' and 'make -j4 buildworld' ? Thanks, Jos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] fyi, the below is from /usr/src/UPDATING: COMMON ITEMS: General Notes - Avoid using make -j when upgrading. From time to time in the past there have been problems using -j with buildworld and/or installworld. This is especially true when upgrading between distant versions (eg one that cross a major release boundary or several minor releases, or when several months have passed on the -current branch). I really don't think that's a fault of make(1), it's a fault of the Makefiles, which have to be written very carefully so that having multiple parallel processes going might screw up building. Yes, it has done that in the past, but it's an occaisonal thing, not a regular thing, because there's a good number of folks who build there kernels with something like -j4. I often do. One just has to be really awake when you hit a problem, or when reporting a build error... rebuild without the -jN. I did some testing, at least for me, I get the most improvements when the number of cores or processors equals the -j number. You can make it higher, even double it, withoout hurting things, but 95% of the improvements come from matching the number of processes to the number of available CPUs (and that' by my own testing, not theory). Still, if you aren't willing to do your won troubleshooting, best to avoid using - -j anything. It's very easy to screw up. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFITI8Uz62J6PPcoOkRAvc0AKCihT7rT4VrDI/6ve1BXfWjXwrsHgCdE4qr F1uwEvIAQt8qNrQADQZbkvI= =g9B0 -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: Setting up a VPN
--- On Tue, 6/3/08, Schiz0 [EMAIL PROTECTED] wrote: Hey, I'm looking for information on how to setup a Virtual Private Network on a FreeBSD 7.0-RELEASE system Hi I've recently implemented OpenVPN under FreeBSD For our team, it's been rock solid I found the OpenVPN docs were excellent for Windohs/Linux but were lacking a little for BSD I can send you my personal BSD related notes if you like Take care Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Networking issues
Hello, I have, for some time, been able to ssh into my father's FreeBSD machine in the Road Runner network in Central New York. Last night, I tried so that I could fix a problem for him and ssh timed out. No problem I thought, his modem has a different IP than the one I have in my /etc/hosts file, but this turned to not be the case. Well, after some digging, I did a traceroute to his IP address. The packets went all over the place, from San Jose, to Colorado, back to San Jose, to Colorado then to Ohio, then to Denver, then to San Jose, then to Ohio, etc. (you get the idea). Eventually, traceroute was just lost and confused and I hit ctrl-c. Thinking the problem would work itself out, I decided to wait and try again tonight however, I'm having the same problem tonight. Obviously, though, I can use my Internet connection (after all, the e-mail . . .), but why can't I get to his IP address. For kicks and grins tonight, I logged onto my DSL modem and looked at it's routing table. I found some interesting information. First, my DSL modems IP is 71.221.172.38, however, the default route appears to be 67.41.38.201. Obviously, I've got to cross at least one network to get to this default route in the first place. I'm assuming this is the default route because it appears in the routing table as such: destnetmask gateway 0.0.0.0 0.0.0.0 67.41.38.201 Now, here's the output of traceroute (with name resolution turned off): [/usr/home/andy] - traceroute -n 67.41.38.201 traceroute to 67.41.38.201 (67.41.38.201), 64 hops max, 52 byte packets 1 * * * 2 67.41.38.201 40.303 ms * 39.421 ms Why on earth would there be delays on the first hop when not using name resolution? Ok, now my machines setup: my DSL modem is the router (as you all knew). It also acts as a DHCP server but my FreeBSD machine is setup as static IP. The local, private, IP network is 192.168.0.0/24 with the DSL modem as 192.168.0.1 and my box is statically assigned 192.168.0.10. Any thoughts as what might be wrong on my end before I start bugging my ISP? Thanks, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up a VPN
On Sunday 08 June 2008 23:07:28 Steve Quinn wrote: --- On Tue, 6/3/08, Schiz0 [EMAIL PROTECTED] wrote: Hey, I'm looking for information on how to setup a Virtual Private Network on a FreeBSD 7.0-RELEASE system Hi I've recently implemented OpenVPN under FreeBSD For our team, it's been rock solid I found the OpenVPN docs were excellent for Windohs/Linux but were lacking a little for BSD I can send you my personal BSD related notes if you like Take care Steve Please _do_ send them to this list or throw a pointer at where they are at ! I'm sure more people than you can think of will find them usefull. I, for once, could really use them :) Thanks in advanced -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
question about posting to FreeBSD mailing lists
Hi, Is there any way to answer the posts in the mailing lists if one is not subscribed to the list and does not receive them in his mailbox? From time to time, I see posts which I can actually answer and contribute to, but since I'm not subscribed to the lists, even if I post an answer to the person asking the question and CC it to the list, it doesn't regroup with other posts on the same topic. Is there any way around this? Thanks :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up a VPN
On Mon, Jun 09, 2008 at 12:04:14AM -0300, Gonzalo Nemmi wrote: On Sunday 08 June 2008 23:07:28 Steve Quinn wrote: --- On Tue, 6/3/08, Schiz0 [EMAIL PROTECTED] wrote: Hey, I'm looking for information on how to setup a Virtual Private Network on a FreeBSD 7.0-RELEASE system Hi I've recently implemented OpenVPN under FreeBSD For our team, it's been rock solid I found the OpenVPN docs were excellent for Windohs/Linux but were lacking a little for BSD I can send you my personal BSD related notes if you like Take care Steve Please _do_ send them to this list or throw a pointer at where they are at ! I'm sure more people than you can think of will find them usefull. I, for once, could really use them :) Thanks in advanced -- Blessings Gonzalo Nemmi I second this request. I am getting ready to implement a VPN for a small company and any extra documentation I can get would be greatly appreciated. Regards, ~Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?
On Sat, Jun 07, 2008, Yuri wrote: Hi Jyun-Yi, With these environment variables prompt window pops up from QT apps but editboxes don't get selected word. Also all GTK applications begin to speak Chinese. How about, unset LC_ALL unset LANG export LC_CTYPE=zh_TW.UTF-8 Edward ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD on a CompactFlash
What im trying to figure out is the best way to install the OS on a compact flash, put it as read only, then install a 2nd HDD to store the mysql data,etc. What is the best way to do this? Thanks. Ryan Nichols ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Whine when EHCI controller enabled in BIOS
I have a high pitched whine coming from my motherboard when the EHCI USB 2.0 controller is enabled in the BIOS. The whine only starts once FreeBSD 7.0-RELEASE is halfway through booting. The whine also goes away when I plugin a USB drive in with EHCI controller enabled (usb keyboard and mouse being already plugged in). Is this a hardware problem, or could it possibly be software related??? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Whine when EHCI controller enabled in BIOS
On Sun, Jun 08, 2008 at 09:40:17PM -0600, James wrote: I have a high pitched whine coming from my motherboard when the EHCI USB 2.0 controller is enabled in the BIOS. The whine only starts once FreeBSD 7.0-RELEASE is halfway through booting. The whine also goes away when I plugin a USB drive in with EHCI controller enabled (usb keyboard and mouse being already plugged in). Is this a hardware problem, or could it possibly be software related??? I can't imagine this is a software issue. Sounds strange. Have you tried to see if it isn't a fan issue? We have some Dell GX280s with a bad batch of motherboards at my university---under specific conditions (e.g., using certain video cards) the system fan will spin up 'til the system sounds like it's about to take off. Good luck, ~Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PXE booting 7.0-R
Hi try using this lines in your /usr/local/etc/dhcpd.conf instead of yours : subnet [your subnet IP] netmask [your netmask] { range [start range] [finish range]; next-server [your PXE server IP]; filename pxeboot; option root-path [your Root server IP (if you mount your server root its obvious that your server IP)]:/; } and you should make change in your /etc/inetd.conf and comment out this line : tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot/ place your pxeboot and loader in /tftpboot/ and reboot your system it should solve your problem but if you want to use tftp instead of nfs you should make your pxeboot and loader using tftp enable to do this you can read this article : http://www.ultradesic.com/index.php?section=72 but there is a mistake in this article : after you make new files are place here : pxeboot : /usr/obj/usr/src/sys/boot/i386/pxeldr/ loader : /usr/obj/usr/src/sys/boot/i386/loader/ and you should export / and all its directory for successful loading . for more information you can read this article too. http://www.ultradesic.com/?section=144 I hope you make it - Original Message From: CZUCZY Gergely [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Friday, June 6, 2008 1:17:08 PM Subject: PXE booting 7.0-R Hello, I'm trying to PXE boot 7.0-RELEASE, but it stops at a time. At boot I see the following on the screen: BIOS drive C: is disk0 BIOS drive D: is disk1 PXE version 2.1, real mode entry point @9188:0106 BIOS 517kB/3406144kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 ([EMAIL PROTECTED], date) pxe_open: server addr: 10.0.0.1 pxe_open: serve path: /wwwbladebsd/ pxe_open: gateway ip: 10.0.0.1 Consoles: internal video/keybaord BIOS drive C: is disk0 BIOS drive D: is diskl BIOS 517kB/3406144kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 ([EMAIL PROTECTED], date) Can't work out which disk we are booting from. Guessed BIOS device 0x not found by probes, defaulting to disk0 can't loader 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK lsdev cd devices: disk devices: disk0: BIOS drive C: disk1: BIOS drive D: pxe devices: on the server I see t serving pxeboot via tftp, and mounting the root via NFS: Jun 6 11:38:22 nfs dhcpd: DHCPDISCOVER from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:22 nfs dhcpd: DHCPOFFER on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs dhcpd: DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs atftpd[2221]: Serving /bsd/pxeboot to 10.0.0.32:2070 Jun 6 11:38:24 nfs atftpd[]: Serving /bsd/pxeboot to 10.0.0.32:2071 Jun 6 11:38:25 nfs dhcpd: DHCPDISCOVER from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPOFFER on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs mountd[2120]: authenticated mount request from 10.0.0.32:1023 for /wwwbladebsd (/wwwbladebsd) (around 30-40 from these NFS mount messages in the log). The NFS server is a linux box right now. The dhcpd.conf: host blade1 { hardware ethernet 00:30:48:8d:00:36; fixed-address 10.0.0.32; server-name 10.0.0.1; filename /bsd/pxeboot; next-server 10.0.0.1; option root-path /wwwbladebsd/; } i'm using atftpd with /tftpboot as root directory. /tftpboot/bsd/ is a symlink to the root system's /boot . I've NFS-exported /wwwbladebsd/, and that seems to work. The question is, why loader is unable to load the kernel? How could I force the loader to use tftp instead of NFS? Or using any other solutions, how can I make this box boot? If I've left out outsomething from here, please tell me, I will post it. Thanks in advance. -- Sincerely, Gergely CZUCZY Harmless Digital Bt mailto: [EMAIL PROTECTED] Tel: +36-30-9702963 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?
Edward G.J. Lee wrote: unset LC_ALL unset LANG export LC_CTYPE=zh_TW.UTF-8 Thank you Edward, Now gcin menu is shown from QT app and all apps still speak English. But the problem is that selected Chinese character doesn't appear in the editbox in QT applications. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?
On Sun, Jun 08, 2008, Yuri wrote: Edward G.J. Lee wrote: unset LC_ALL unset LANG export LC_CTYPE=zh_TW.UTF-8 Thank you Edward, Now gcin menu is shown from QT app and all apps still speak English. But the problem is that selected Chinese character doesn't appear in the editbox in QT applications. Your qt app and gcin must start via zh_TW.UTF-8 environment. We don't have qt immodule in gcin ports yet. Edward ps. You need XIM when you use qt app. In ~/.bash_profile, export QT_IM_MODULE=xim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Make buildworld
I did some testing, at least for me, I get the most improvements when the number of cores or processors equals the -j number. You can make it higher, even double it, withoout hurting things, but 95% of the improvements come from matching the number of processes to the number of available CPUs (and that' by my own testing, not theory). I've found that on my Q6600 (quad core) system, the optimal is 8 though the improvements after 5 were minimal. It depends if the jobs are I/O bound or not and the scheduler. Although even with ffmpeg, the optimal number of threads with this quad core system is 8. On my previous system with a dual-core chip with the same hardware, the magic number was 4 (again, 2x the number of cores). This was with the ULE scheduler, I'm not sure if the same holds true for the 4BSD scheduler or not. And as you said, it's important to use make without -j if the build fails before reporting bugs, since there are no guarantees that world will build properly with multiple jobs. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]