Re: Various package/ports problems
On Monday 28 August 2006 23:59, Dr. Jennifer Nussbaum wrote: Gerard Seibert [EMAIL PROTECTED] wrote: On Mon, 28 Aug 2006, Dr. Jennifer Nussbaum wrote: Hi, I inherited a FreeBSD 4.8 box that had a lot of out of date ports on it. in trying to fix some of this, i seem to have screwed up the package or ports system in a way i cant manage to fix. That is really quite an old version of FSBD. If possible, I think you would be well served by updating to the latest version - 6.1 - if possible. I may be wrong, but I do not believe that there is a lot of support for that version anymore. There is some support... I wish i could, but i dont have physical access to the machine - its in a remote location with no serial console. So if anything gets messed up during an upgrade, im in a hell of a lot of trouble. I suppose, you can update to 4.11-STABLE without physical access to the machine. I suppose it will work. Then you could use binary packages(pkg_add -r something). Packages are built for 4-STABLE. ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/ I dont know when i'll be able to fix this problem so until i can upgrade the OS i at least want to keep the rest of it up to date. Why don't you use cvs to get your ports tree up to date? and then build everything you want? Jen. - Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Νικόλαος Βασιλειάδης Τεχνικός Δικτύου Teledome SA Φιλαρέτου 10 Δοϊράνης Καλλιθέα 176 72 Τηλ.: 210 955 1500 Φάξ: 210 956 3882 e-mail:[EMAIL PROTECTED] http://www.teledome.gr This e-mail is confidential. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and delete the copy from your system. TELEDOME SA is not responsible for, nor endorses, any opinion, recommendation, conclusion, solicitation, offer or agreement or any information contained in this communication. TELEDOME SA cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. If you suspect that the message may have been intercepted or amended, please contact the sender. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
include format for /etc/rc.conf
Hey all, Are there any supported formats for INCLUDES in /etc/rc.conf such that I can drop default configs into /etc/rc.conf and then have files in a certain directory (ala includerc) override them? Basically, I'd like to do mass-updates of several dozen machines' configs normally found in /etc/rc.conf, but then have per-machine configs (like hostnames) elsewhere. -Dan Mahoney -- Don't be so depressed dear. I have no endorphins, what am I supposed to do? -DM and SK, February 10th, 1999 Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: include format for /etc/rc.conf
On Wednesday 30 August 2006 09:40, Dan Mahoney, System Admin wrote: Hey all, Are there any supported formats for INCLUDES in /etc/rc.conf such that I can drop default configs into /etc/rc.conf and then have files in a certain directory (ala includerc) override them? Basically, I'd like to do mass-updates of several dozen machines' configs normally found in /etc/rc.conf, but then have per-machine configs (like hostnames) elsewhere. Look at rc_conf_files (man rc.conf). By default there are three ``levels'' of config: /etc/defaults/rc.conf /etc/rc.conf /etc/rc.conf.local each one overriding the previous one. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fw: lothlorien.nagual.nl security run output
My guess is that there is nothing to be worried about, however i could be wrong. Let me explain.. This morning i received the same kind of message in my security run output (yesterday i've updated all my ports): Checking setuid files and devices: nlp setuid diffs: --- /var/log/setuid.today Fri Aug 25 08:12:19 2006 +++ /tmp/security.Ia2whJjb Wed Aug 30 08:15:56 2006 @@ -3,8 +3,8 @@ 49434 -r-sr-xr-x 1 root wheel 23648 Aug 22 11:05:26 2006 /sbin/ping 49435 -r-sr-xr-x 1 root wheel 31924 Aug 22 11:05:26 2006 /sbin/ping6 49448 -r-sr-x--- 1 root operator 10308 Aug 22 11:05:27 2006 /sbin/shutdown -7795756 -rws--x--x 1 root wheel 2069783 Aug 24 09:17:07 2006 /usr/X11R6/bin/Xorg -7795717 -rws--x--x 1 root wheel 303748 Aug 24 09:03:51 2006 /usr/X11R6/bin/xterm +7795722 -rws--x--x 1 root wheel 2069783 Aug 29 13:08:10 2006 /usr/X11R6/bin/Xorg +7796599 -rws--x--x 1 root wheel 305764 Aug 29 12:57:30 2006 /usr/X11R6/bin/xterm 1625095 -r-sr-xr-x 4 root wheel 22260 Aug 22 11:05:50 2006 /usr/bin/at 1625095 -r-sr-xr-x 4 root wheel 22260 Aug 22 11:05:50 2006 /usr/bin/atq 1625095 -r-sr-xr-x 4 root wheel 22260 Aug 22 11:05:50 2006 /usr/bin/atrm If i look at my message, i see that lines between 3 to 8 have been changed. After a manual diff between /var/log/setuid.today/yesterday i only get the xorg related lines. Which is correct, since i remember seeing some xorg ports being updated. In your message you state, Begin forwarded message [some Xorg update warnings deleted]: Isn't it so that in your message, lines 3 to 12 are just port related binaries? (i assume xorg related). Meaning that ping/ping6, etc aren't updated at all. At least i don't see the +/- signs infront of your ping/ping6 ones. My guess. Greets. Nick dick hoogendijk wrote: I'm a little worried after reading the security output this morning. It seems some files [ping, ping6, shutdown, at, atq and atrm] have setuid diffs. I really don't know why this could have happened. I updated some ports yesterday, but I don't think any port writes in /sbin (?) Could someboddy advice me on what can have happened? Begin forwarded message [some Xorg update warnings deleted]: Checking setuid files and devices: Checking setuid files and devices: lothlorien.nagual.nl setuid diffs: --- /var/log/setuid.today Mon Aug 14 03:03:25 2006 +++ /tmp/security.aJbHsCR6 Sun Aug 27 03:03:22 2006 @@ -3,12 +3,12 @@ 23637 -r-sr-xr-x 1 root wheel 21792 May 12 21:47:15 2006 /sbin/ping 23638 -r-sr-xr-x 1 root wheel 28660 May 12 21:47:15 2006 /sbin/ping6 23651 -r-sr-x--- 1 root operator 10148 May 12 21:47:17 2006 /sbin/shutdown 7042059 -r-sr-xr-x 4 root wheel 20948 May 12 21:48:10 2006 /usr/bin/at 7042059 -r-sr-xr-x 4 root wheel 20948 May 12 21:48:10 2006 /usr/bin/atq 7042059 -r-sr-xr-x 4 root wheel 20948 May 12 21:48:10 2006 /usr/bin/atrm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fw: lothlorien.nagual.nl security run output
On 30 Aug nicky wrote: In your message you state, Begin forwarded message [some Xorg update warnings deleted]: Isn't it so that in your message, lines 3 to 12 are just port related binaries? (i assume xorg related). Meaning that ping/ping6, etc aren't updated at all. At least i don't see the +/- signs infront of your ping/ping6 ones. You are absolutely right. I'm blushing, I really am. Jee, I totally missed the + / - signs. I overlooked and worried about the 'wrong' files. It was Xorg that was updated. Just like you have done and seen ;-) Thanks for the response. Remains one question (too me): what program would be best to have as a system integraty checker? Shamhein, Osiris or what? -- dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 +++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fullscreen crashes
Sean M. [EMAIL PROTECTED] writes: Everytime* I use a program, usually a game, that switches into full-screen mode, I get dumped to a tty screen and everything is hung; I have to power cycle to fix it. Yesterday, everything worked perfectly. The only thing I did in the interim that influenced the system was to install gcc42 from ports, and then immediately after deinstall it. OS is 6.1-REL. I'm using the NVIDIA binary driver. It doesn't matter whether I start the programs in KDE or twm. Is it happening with the x.org nv driver also? Is there anything in the X logs that gives a clue? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
real media server (hlxserver) for freebsd amd64?
Hi! I need to get a Helix server (hlx server, real media server) running on FreeBSD @ amd64. Anyone tried this before? Seems there are no good options, really, and I have had trouble running the linux version as well. Just want to know if I'm alone in needing this? /Palle ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: taking many 198k mp3 files and converting them to 16k mp3
On Sun, Aug 27, 2006 at 06:13:40PM -0400, [EMAIL PROTECTED] wrote: I suppose I can buy a DVD-R[W] and fnd out, but is there any reason why I can't have many hours of audio on a DVD? In other words, id a DVD *only* for video? --Might be nice to gather (parts of) my favorite CD's onto one Very long-playing disk. If your DVD player can't play mp3s, then it can't play DVDs. ;) Remember, mp3s are the audio layer of mpegs. And DVD videos consist of mpegs. The main issue I've had is that some (particularly older) DVD players won't recognise the file system on data DVDs (neither ISO or UDF), and so won't see that there are MP3s on the disc. The same players happily accepted MP3s on data CDs though. Blank CDs are also dirt cheap. Based on my rough calculations, you should be able to store about 3000 minutes (50 hours) of 32 kbit MP3 audio on a single 700 Mb data CD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FW: Lustig
Respekt! Die Aktion ist ja der Hammer! Die sieht gut uns und setzt es für ne gute Sache ein ;-) --- Weitergeleitete Nachricht --- Von: Klaus Becker [EMAIL PROTECTED] An: [EMAIL PROTECTED]; Betreff: Fwd:FW: Echte Tierliebe :-) Datum: Wed, 18 Aug 2006 17:49:02 +0100 (MET) Hallo zusammen! Schaut Euch mal den Link hier an: http://www.animal-fans.comFW: Lustig, lustig Süßes Mädel gibt ihr letztes Hamd für den Tierschutz. :-))) Ziemlich verrückt die Aktion, aber sie traut sich was!! Bin mal gespannt, wie weit sie am Ende wirklich geht... ;-) Viel Spaß damit, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: real media server (hlxserver) for freebsd amd64?
--On onsdag, augusti 30, 2006 12.40.42 +0400 [EMAIL PROTECTED] wrote: Hi! I need to get a Helix server (hlx server, real media server) running on FreeBSD @ amd64. Anyone tried this before? Seems there are no good options, really, and I have had trouble running the linux version as well. Just want to know if I'm alone in needing this? /Palle You not alone!.. Good to hear. How do we pursue this? I need the commercial package that links with the open source stuff, or else I cannot serve real media content, which leaves me with a useless server (I'd rather run apple quicktime server in that case...). So I guess we are out of luck unless we can get Real to build it for FreeBSD, which I doubt they would care to do. Is there any other software out there that can serve real audio files? /Palle ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: taking many 198k mp3 files and converting them to 16k mp3
[EMAIL PROTECTED] wrote: If your DVD player can't play mp3s, then it can't play DVDs. ;) Remember, mp3s are the audio layer of mpegs. And DVD videos consist of mpegs. For a DVD-Video disc, the audio formats are PCM (plain old wav, effectively), AC-3 (dolby digital) and MPEG-1 Audio Layer II (only). A lot of DVD players will also play MP3s, either on data CDs or data DVDs (or both), but it isn't a requirement as far as I can tell. The choices seem pretty arbitrary too. My Pioneer player will play a DVD-R full of MP3s, but the replacement model will only play MP3 CD-Rs (and you have to read the fine print in the manual to figure it out, too). It seems that a lot of DivX-playing DVD players only play CDs of DivX, not DVDs too (Toshiba, Pioneer again). That's why I was fiddling around with MP2 and minimal video - it's an actual standard DVD then. Although in fact I made an NTSC disc with MP2, which is apparently a no-no. My source was for the audio info was: http://stream.uen.org/medsol/dvd/pages/dvd_format_audio4DVDvideo.html Howie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: include format for /etc/rc.conf
Dan Mahoney, System Admin wrote: Hey all, Are there any supported formats for INCLUDES in /etc/rc.conf such that I can drop default configs into /etc/rc.conf and then have files in a certain directory (ala includerc) override them? Basically, I'd like to do mass-updates of several dozen machines' configs normally found in /etc/rc.conf, but then have per-machine configs (like hostnames) elsewhere. rc.conf is just a shell script so you can include a file like: . /path/to/include but make sure it exists on every host. It could easily be . /etc/rc.conf.`hostname -s` as long as you don't have a host called local :-) There is also rc.conf.local where you could put machine specific and leave rc.conf for your generic defaults. Not clear to me if rc.conf.local is meant to last though as it is described as historic. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: having hard time with mounting floppies
Mikhail, I suspect the problem does not lie in FreeBSD, but elsewhere. Have you tried using different floppy discs? Specially another brand? Maybe the cable connecting your floppy drive is playing on you or even the drive itself is faulty. If this were the case, would I notice it with Linux, too? Kubuntu LiveCD lets me use the floppy drive. In any case, I will try mtools. Thanks for your help! Tuomas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: include format for /etc/rc.conf
You might want to look at /etc/rc.conf.local, though I would consider just writing a script to handle what you want to do since rc.conf.local isn't really the FreeBSD way, seems to be more of an OpenBSD approach. See: 'man rc' cheers, Gabriel -- Gabriel O'Brien IT Analyst, MPS-EN-CBC.ca w: 416-205-8740 m: 416-996-5679 Dan Mahoney, System Admin wrote: Hey all, Are there any supported formats for INCLUDES in /etc/rc.conf such that I can drop default configs into /etc/rc.conf and then have files in a certain directory (ala includerc) override them? Basically, I'd like to do mass-updates of several dozen machines' configs normally found in /etc/rc.conf, but then have per-machine configs (like hostnames) elsewhere. -Dan Mahoney -- Don't be so depressed dear. I have no endorphins, what am I supposed to do? -DM and SK, February 10th, 1999 Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ 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: question about network setup
On Tue, 29 Aug 2006, Nazar wrote: Alright guys. This is probably the complete newbie question, but I just cant fight a straight answer on google. The questions usually I found, werent answered. Anyways, to the point. I'm behind router. Cable modem - Router - pc's. Basic home setup. I set up apache and want to figure out how is it possible for me to use external ip to connect to my server? I can access the server via internal ip people can access it via my external, but for me doesnt show up. What does this mean? Others can use the public IP on your router and hit the apache server? But you can only hit the apache server from the private IP? If the answers to the above are yes, this is the way your router keeps the public IP separate from the private LAN ip's. It is not routing between the two networks. Most routers are configured in this way. Some more full featured routers can be configured to route between the subnets, but it is generally not a good idea to route between the public subnet and the private subnet for securuty reasons. -Derek I know this configuration has to do with my network, rather than apache, or at least main configuration of my network and probably some tweaking with apacheWell, if possible, some replies would be appreciated. Maybe at least point me at the right direction. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Monitor display problem
I would check the errat on the S3 you are using. It sounds like there may be some kernel/system changes you may need to make since your lockups are from going back to text mode from graphics mode. It is likely some conflict this is causing is hardware related. -Derek On Wed, 30 Aug 2006, Roger Merritt wrote: I recently acquired a newer box to hold my server. I was using a PII 300MHz with 64MB RAM. The new box has an AMD Athlon XP 1800+ with 239MB (?) RAM and what seems most pertinent, an S3 ProSavage DDR (86c420) graphics chip. When I first tried configuring X I discovered that when I tried to exit x-windows the machine would hang. When I hit the reset button my monitor showed a brief message, signal outside frequency range (which might very well be normal behavior). Eventually I got xorg working at a pleasant 1024x768 size, a great relief after the 640x480 I was limited to before, but I still have the problem that when I try to exit the x-server the machine hangs. It happens regardless of whether I use fvwm's exit command or hit CtlAltBackspace. Checking my xorg.conf file I find that none of the optional commands are uncommented, and I started to remember years ago when I had to enable one of the options (something to do with using the software cursor) to get XFree86 to work -- I think that machine had an S3 card, but it might have been SiS. Anyway, I noticed that when I came in to work one morning, the pilot light on the monitor was blinkiing. No graphics signal to the monitor. Moved the mouse, hit the Alt key, hit other keys, no help. So I rebooted by hitting the reset button. Everything seemed to work fine. Now, I usually don't work at the console -- even though my regular working (MS Win 2000 Pro) is right next to it, it's usually easier just to use PuTTY to make an SSH connection, so I didn't notice for some time that the monitor light was blinking again. I've tried the Bsd Google search engine, but can't seem to find a similar problem. I've wondered whether I should add the VESA option to my configuration file and rebuild the kernel. Can anyone offer suggestions -- possibly I just need to set something in vidcontrol? -- Roger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Memory leak in PHP on FreeBSD
I was reading http://www.bsdnews.com and ran across an article about a memory leak in php and mysql on FreeBSD. This is fairly concerning considering I run quite a few servers with this setup. I haven't been able to find much documentation regarding this subject. It has been reported as a permanent hole which seems odd. However, if there is a problem does anyone have any info? -Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CVS
Hello Which ports does I need for a cvs system (client and server)? I searched against cvs in ports but it gets a lot of links. Any hints are welcome. -- Regards Martin Schweizer [EMAIL PROTECTED] PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgpe0IrCFqxJr.pgp Description: PGP signature
Re: CVS
In response to Martin Schweizer [EMAIL PROTECTED]: Hello Which ports does I need for a cvs system (client and server)? I searched against cvs in ports but it gets a lot of links. Any hints are welcome. CVS is included in the base FreeBSD system. The ports you see are various addons. -- Bill Moran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
free-bsd's mount_smbfs having issues with EMC Celerra
I'm trying to connect my FreeBSD notebook to some shares at work, which are on an EMC Celerra box, which uses the windows SMB protocol, but I keep getting an odd error, which right now I'm suspecting is an incompatability between the two, and I was wondering if anyone here has had previous experience with this: 1) I can mount_smbfs shares on my windows desktop at home 2) People here can mount drives on the celerra box from Windows and Linux 3) Every time I try to map a share from FreeBSD, I get the error: mount_smbfs: unable to open connection: resource temporarily unavailable And no, I am not installing windows/linux on my notebook to get this (and sound) working, each has it's own issues which make it much worse for my uses. :-P Thanks -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Memory leak in PHP on FreeBSD
In response to Tom Grove [EMAIL PROTECTED]: I was reading http://www.bsdnews.com and ran across an article about a memory leak in php and mysql on FreeBSD. This is fairly concerning considering I run quite a few servers with this setup. I haven't been able to find much documentation regarding this subject. It has been reported as a permanent hole which seems odd. However, if there is a problem does anyone have any info? Anyone have Tayler's email address? I understand that he doesn't want to get caught in a OS Holy War, but he has to realize that the FreeBSD community needs to know the specifics of the problem so it can be fixed. The email link on his site appears broken. I just want contact information for the people who gave him the report so I can get in touch with them for details. We use PHP extensively, but not MySQL. Personally, if the problem only exists between PHP and MySQL, it's not a major concern with me. If it exists in PHP when MySQL isn't involved, it's a BIG deal ;) -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS
Martin Schweizer wrote: Hello Which ports does I need for a cvs system (client and server)? I searched against cvs in ports but it gets a lot of links. Any hints are welcome. Hi, cvs is part of the base system. You can just start using it, no need to install everything. See cvs(1) for the details how you can init a repository. -- Cheers, Gabor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS
Martin Schweizer wrote: Hello Which ports does I need for a cvs system (client and server)? I searched against cvs in ports but it gets a lot of links. Any hints are welcome. cvs is already in the base system. //Niclas -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Anything stronger than hw.ata.ata_dma=0?
I'm trying to get a Kingston 1GB 50x 'elite pro' Compact Flash working as ad1 initially, and then move it to ad0 to install FreeBSD-6.1 on it. The hardware is an Soekris net4801 and it's known that CF cards usually only work in PIO mode. A line in /boot/loader.conf saying: hw.ata.ata_dma=0 is usually enough, but not in this case. It seems, from the output of a verbose boot (see below), that the controller is successfully setting PIO4 mode, but then it sets UDMA33 again, eventually failing with: ad1: FAILURE - READ_DMA timed out LBA=0 Using 'atacontrol mode ad1 PIO4' works and I can then fdisk, label and mount it without error. So what can I do that would be more effective than the hw.ata.ata_dma sysctl. I'm willing to patch the kernel source and build a custom kernel if necessary. uname -a FreeBSD mail.freeode.co.uk 6.0-RELEASE FreeBSD 6.0-RELEASE #9: Sun May 7 22:51:56 BST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/ SOEKRIS i386 Soekris comBIOS detects: Pri Sla CF300 (LBA Xlt 999-32-63 1007 Mbyte) ata parts of verbose boot output: atapci0: National Geode SC1100 ATA33 controller port 0x1f0-0x1f7,0x3f6,0x170-0 x177,0x376,0xe000-0xe00f at device 18.2 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xe000 ata0: ATA channel 0 on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=03 ostat0=50 ostat1=50 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=50 devices=0x3ATA_SLAVE,ATA_MASTER ata0: [MPSAFE] ata1: ATA channel 1 on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 ata1: reset tp1 mask=00 ostat0=ff ostat1=ff ata1: [MPSAFE] Geode CBA@ 0x6000 Geode rev: 06 03 Timecounter Geode frequency 2700 Hz quality 1000 pci0: bridge at device 18.5 (no driver attached) pci0: serial bus, USB at device 19.0 (no driver attached) ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it [...] ata0-slave: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=40 wire ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire ad0: success setting PIO4 on National chip ad0: 38154MB FUJITSU MHT2040AT 0022 at ata0-master PIO4 ad0: 78140160 sectors [77520C/16H/63S] 16 sectors/interrupt 1 depth queue GEOM: new disk ad0 ad1: success setting PIO4 on National chip ad1: success setting UDMA33 on National chip ad1: 983MB CF300 Ver1.27 at ata0-slave UDMA33 ad1: 2014992 sectors [1999C/16H/63S] 1 sectors/interrupt 1 depth queue GEOM: new disk ad1 ata0: reiniting channel .. ata0: reset stray irq7 tp1 mask=03 ostat0=50 ostat1=58 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=50 devices=0x3ATA_SLAVE,ATA_MASTER ad0: success setting PIO4 on National chip ad1: success setting PIO4 on National chip ad1: success setting UDMA33 on National chip ata0: reinit done .. ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=0 ata0: reiniting channel .. ata0: reset tp1 mask=03 ostat0=50 ostat1=58 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=50 devices=0x3ATA_SLAVE,ATA_MASTER ad0: success setting PIO4 on National chip ad1: success setting PIO4 on National chip ad1: success setting UDMA33 on National chip ata0: reinit done .. ad1: TIMEOUT - READ_DMA retrying (0 retries left) LBA=0 ata0: reiniting channel .. ata0: reset tp1 mask=03 ostat0=50 ostat1=58 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=50 devices=0x3ATA_SLAVE,ATA_MASTER ad0: success setting PIO4 on National chip ad1: success setting PIO4 on National chip ad1: success setting UDMA33 on National chip ata0: reinit done .. ad1: FAILURE - READ_DMA timed out LBA=0 ata0: reiniting channel .. ata0: reset tp1 mask=03 ostat0=50 ostat1=58 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=50 devices=0x3ATA_SLAVE,ATA_MASTER ad0: success setting PIO4 on National chip ad1: success setting PIO4 on National chip ad1: success setting UDMA33 on National chip ata0: reinit done .. ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=1 ata0: reiniting channel .. ata0: reset tp1 mask=03 ostat0=50 ostat1=58 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=50 devices=0x3ATA_SLAVE,ATA_MASTER ad0: success setting PIO4 on National chip ad1: success setting PIO4 on National chip ad1: success setting UDMA33 on National chip ata0: reinit done .. ad1: TIMEOUT - READ_DMA retrying (0 retries left) LBA=1 ata0: reiniting channel .. ata0: reset tp1 mask=03 ostat0=50 ostat1=58 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=50
deleting with wildcards over ssh ... how ?
I want to delete some remote files with a wildcard, running 'rm' over ssh. The obvious syntax doesn't work at all - it doesn't even make an ssh connection - I think it is interpreting the wildcard locally: # ssh [EMAIL PROTECTED] rm -rf /some/testdir/* ssh: No match. Then, these combinations of single and double quotes: ssh [EMAIL PROTECTED] 'rm -rf /some/testdir/*' ssh [EMAIL PROTECTED] rm -rf '/some/testdir/*' ssh [EMAIL PROTECTED] 'rm -rf /some/testdir/*' All connect over ssh, and produce no errors, but the remote files are still there - nothing was deleted. So what is the _right_ way to do 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: problems with creating bind9 under a jail (make: don't know how to make /usr/jail/bind9/usr/lib/libc.a. Stop)
freebsd neophyte [EMAIL PROTECTED] writes: i'm following the following tutorial to create bind9 under a jail: http://www.onlamp.com/pub/a/bsd/2003/09/04/jails.html in doing so, i'm getting the following error: --- # make world DESTDIR=/usr/jail/bind9 -- Building an up-to-date make(1) -- make: don't know how to make /usr/jail/bind9/usr/lib/libc.a. Stop *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. i've tried googling this, and i haven't come up with any workable solutions. i've cvsup'd the latest stable sources, and i've retried after doing a make clean DESTDIR=... (i don't know if this does anything to help), but i run into the same issue. i'm using 6.1 on a Sparc64 machine (an ultra5) that was booted from a CD, but pulled files from an FTP server. Looks like you don't have a full source tree. What did you mean by pulled files from an FTP server? When you used cvsup, what kind of supfile did you use, and did you have existing files in the source tree that you were trying to update? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: deleting with wildcards over ssh ... how ?
In response to Ensel Sharon [EMAIL PROTECTED]: I want to delete some remote files with a wildcard, running 'rm' over ssh. The obvious syntax doesn't work at all - it doesn't even make an ssh connection - I think it is interpreting the wildcard locally: # ssh [EMAIL PROTECTED] rm -rf /some/testdir/* ssh: No match. Then, these combinations of single and double quotes: ssh [EMAIL PROTECTED] 'rm -rf /some/testdir/*' ssh [EMAIL PROTECTED] rm -rf '/some/testdir/*' ssh [EMAIL PROTECTED] 'rm -rf /some/testdir/*' All connect over ssh, and produce no errors, but the remote files are still there - nothing was deleted. So what is the _right_ way to do this ? Most of those should work. What are the names of the files you are trying to delete? By default, * does not match filenames beginning with a '.'. The best command line would be: ssh [EMAIL PROTECTED] 'rm -rf /some/testdir/*' which will cause the local machine to send the command without expanding the * first. The * should then be expanded on the remote system. Try: ssh [EMAIL PROTECTED] 'echo /some/testdir/*' to see if it's doing what you expect. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any issue having multiple sound cards running at the same time in 6.1?
Philip Hallstrom [EMAIL PROTECTED] writes: Hi all - I've got a freebsd server in the garage that has a low end soundblaster (I think) card in it that I've been using to play music. Works just fine. We moved and now I'd like to be able to have different music play in different rooms (living, family, and outside). I can do all the other wiring for speakers... But was wondering if there are any problems having three sound cards in the box and have them all work at the same time. I'm currently using flac123 to play music and would probably continue to do so... Thoughts? In principle, there's no problem. But most software will only drive one audio device at a time. Also, note that running long cables at fairly low signal levels can degrade the audio quality... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: deleting with wildcards over ssh ... how ?
--On Wednesday, August 30, 2006 11:06:39 -0400 Ensel Sharon [EMAIL PROTECTED] wrote: I want to delete some remote files with a wildcard, running 'rm' over ssh. The obvious syntax doesn't work at all - it doesn't even make an ssh connection - I think it is interpreting the wildcard locally: # ssh [EMAIL PROTECTED] rm -rf /some/testdir/* ssh: No match. Then, these combinations of single and double quotes: ssh [EMAIL PROTECTED] 'rm -rf /some/testdir/*' ssh [EMAIL PROTECTED] rm -rf '/some/testdir/*' ssh [EMAIL PROTECTED] 'rm -rf /some/testdir/*' All connect over ssh, and produce no errors, but the remote files are still there - nothing was deleted. So what is the _right_ way to do this ? Thanks. How about: ssh [EMAIL PROTECTED] rm -rf /some/testdir/\* pgpG0YjshePL9.pgp Description: PGP signature
Re: Memory leak in PHP on FreeBSD
On 8/30/06, Tom Grove [EMAIL PROTECTED] wrote: I was reading http://www.bsdnews.com and ran across an article about a memory leak in php and mysql on FreeBSD. This is fairly concerning considering I run quite a few servers with this setup. I haven't been able to find much documentation regarding this subject. It has been reported as a permanent hole which seems odd. However, if there is a problem does anyone have any info? -Tom yea, i wouldn't really pay attention to this, from the article: I'm just repeating what the server guys have told me. No, I don't want your offer of technical help. betting the admin's may have misunderstood something or misconfigured something... -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: deleting with wildcards over ssh ... how ?
On Wed, Aug 30, 2006 at 11:06:39AM -0400, Ensel Sharon wrote: I want to delete some remote files with a wildcard, running 'rm' over ssh. [...] So what is the _right_ way to do this ? ssh [EMAIL PROTECTED] 'sh -c rm -rf /some/testdir/*' As * has to be expanded before is sent to rm. Bye. -- * Pillon Matteo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache22 Checksum mismatch
Hi. I'm trying to install apache22 on a 6.1 machine. Here what I get since days: = MD5 Checksum OK for apache22/httpd-2.2.3.tar.bz2. = SHA256 Checksum OK for apache22/httpd-2.2.3.tar.bz2. = MD5 Checksum mismatch for apache22/apr_dbd_mysql.rev-50.c. = SHA256 Checksum mismatch for apache22/apr_dbd_mysql.rev-50.c. === Giving up on fetching files: apache22/apr_dbd_mysql.rev-50.c apache22/apr_dbd_mysql.rev-50.c I've obviously tried deleting that file and refetching, but I always end up the same. Is it happening to everyone? Any hint or plan to correct this? bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: free-bsd's mount_smbfs having issues with EMC Celerra
nevermind, my own dumb mistake with the connection string, first I didn't have the right stuff for logging into a domain, second time around when that was fixed, I had a / where there should have been an @. Just point, laugh and make funny faces at me, I deserve it for the latter error. Thanks, -Jim Stapleton On 8/30/06, Jim Stapleton [EMAIL PROTECTED] wrote: I'm trying to connect my FreeBSD notebook to some shares at work, which are on an EMC Celerra box, which uses the windows SMB protocol, but I keep getting an odd error, which right now I'm suspecting is an incompatability between the two, and I was wondering if anyone here has had previous experience with this: 1) I can mount_smbfs shares on my windows desktop at home 2) People here can mount drives on the celerra box from Windows and Linux 3) Every time I try to map a share from FreeBSD, I get the error: mount_smbfs: unable to open connection: resource temporarily unavailable And no, I am not installing windows/linux on my notebook to get this (and sound) working, each has it's own issues which make it much worse for my uses. :-P Thanks -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem with phpMyAdmin port
Hello fbsd, Wednesday, August 30, 2006, 6:18:05 PM, you wrote: Just downloaded phpMyAdmin port make files on 6.1 system and ran make install clear. Already had php5 and mysql5 previously installed and working. The phpMyAdmin port installed fine. Problem is the phpMyAdmin directory was installed as /www/phpMyAdmin and it should have been /usr/local/www/phpMyAdmin. This looks to me like port error to me. not sure here, wait for others' replies. I tried to do work around by cp -R /www/phpMyAdmin /usr/local/www/ This copied all the files and subdirectories ok. When I try to run phpMyAdmin I get this error Fatal error: Call to undefined function preg_replace() in /usr/local/www/phpMyAdmin/libraries/sanitizing.lib.php on line 37 this is not error of the port. You are missing PCRE php extension. Install the lang/php4-extensions or php5-extensions port. This again looks like another port error. Is the phpMyAdmin port broken -- Best regards, Danielmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem with phpMyAdmin port
Just downloaded phpMyAdmin port make files on 6.1 system and ran make install clear. Already had php5 and mysql5 previously installed and working. The phpMyAdmin port installed fine. Problem is the phpMyAdmin directory was installed as /www/phpMyAdmin and it should have been /usr/local/www/phpMyAdmin. This looks to me like port error to me. I tried to do work around by cp -R /www/phpMyAdmin /usr/local/www/ This copied all the files and subdirectories ok. When I try to run phpMyAdmin I get this error Fatal error: Call to undefined function preg_replace() in /usr/local/www/phpMyAdmin/libraries/sanitizing.lib.php on line 37 This again looks like another port error. Is the phpMyAdmin port broken ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem with phpMyAdmin port
In response to Daniel Gerzo [EMAIL PROTECTED]: When I try to run phpMyAdmin I get this error Fatal error: Call to undefined function preg_replace() in /usr/local/www/phpMyAdmin/libraries/sanitizing.lib.php on line 37 this is not error of the port. You are missing PCRE php extension. Install the lang/php4-extensions or php5-extensions port. Actually, this _is_ an error in the port. The port should properly specify the pcre extension as a dependency. The workaround suggested will get you going, however. If this problem is reproducible, you should file a PR. Are you sure the port installed successfully? I just installed this port a few weeks ago and it worked fine. If you're ports tree is up to date, then these bugs are newly introduced. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SMP detection
I've read that SMP should be disabled for performance issues (I did not know that before installing freebsd). I have a P4 3GHz with hyperthreading technology. I have the SMP-GENERIC kernel and it only launches one cpu. So, I've decided to disable SMP from BIOS. Is that ok?, knowing that I have a Smp enabled kernel? or should I install one without smp? If so, is there a way to install one already precompiled? Thanks in advance -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any issue having multiple sound cards running at the same time in 6.1?
I've got a freebsd server in the garage that has a low end soundblaster (I think) card in it that I've been using to play music. Works just fine. We moved and now I'd like to be able to have different music play in different rooms (living, family, and outside). I can do all the other wiring for speakers... But was wondering if there are any problems having three sound cards in the box and have them all work at the same time. I'm currently using flac123 to play music and would probably continue to do so... Thoughts? In principle, there's no problem. But most software will only drive one audio device at a time. Also, note that running long cables at fairly low signal levels can degrade the audio quality... Good points... but no reason I couldn't run three flac123 processes and point each to their own /dev/ entry...? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP detection
Jordi Carrillo wrote: I've read that SMP should be disabled for performance issues (I did not know that before installing freebsd). I have a P4 3GHz with hyperthreading technology. I have the SMP-GENERIC kernel and it only launches one cpu. So, I've decided to disable SMP from BIOS. Is that ok?, knowing that I have a Smp enabled kernel? or should I install one without smp? If so, is there a way to install one already precompiled? Thanks in advance I believe that HTT was disabled in FreeBSD per security report FreeBSD-SA-05:09.htt (http://security.freebsd.org/advisories/FreeBSD-SA-05:09.htt.asc). If you want to enable, I believe you can set the loader.conf option machdep.hlt_logical_cpus to 2. Having SMP enabled on a uniprocessor box shouldn't give you any stability problems, but SMP does use a different locking mechanism that can affect performance. You will probably get slightly better performance if you run with an SMP-disabled kernel. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ signature.asc Description: OpenPGP digital signature
Trying to get external monitor working
I have a Dell D810 Latitude. I don't necessarilly want to get multiple monitors working, but I do want to get an external monitor working. I put my laptop in the docking station, and with Windows or almost any version of Linux, I can do Function F8 and it will go to the external display. However, with FreeBSD and X, it seems to ignore that. I assume this is just a missing key code map or something. Is there anyone that has experience with this that could assist? Thanks! Regards, Matt Juszczak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Install then reboot
When I compile a new program from ports, freebsd takes quite a lot of RAM. Is that something right or it's a flaw? It does happen to you? The main problem is that not all memory used in compilation is freed, so it can be a problem (meaning rebooting) after compiling a very big software such as openoffice or gnome. -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: problem with phpMyAdmin port
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bill Moran Sent: Wednesday, August 30, 2006 1:14 PM To: Daniel Gerzo Cc: fbsd; [EMAIL PROTECTED] ORG Subject: Re: problem with phpMyAdmin port In response to Daniel Gerzo [EMAIL PROTECTED]: When I try to run phpMyAdmin I get this error Fatal error: Call to undefined function preg_replace() in /usr/local/www/phpMyAdmin/libraries/sanitizing.lib.php on line 37 this is not error of the port. You are missing PCRE php extension. Install the lang/php4-extensions or php5-extensions port. Actually, this _is_ an error in the port. The port should properly specify the pcre extension as a dependency. The workaround suggested will get you going, however. If this problem is reproducible, you should file a PR. Are you sure the port installed successfully? I just installed this port a few weeks ago and it worked fine. If you're ports tree is up to date, then these bugs are newly introduced. -- Bill Moran Collaborative Fusion Inc. ** pkg_info shows php5-pcre-5.1.4 installed so is this not the correct pcre dependency? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS
Hello Bill Thank you for the hint. Am Wed, Aug 30, 2006 at 10:35:28AM -0400 Bill Moran schrieb: In response to Martin Schweizer [EMAIL PROTECTED]: Hello Which ports does I need for a cvs system (client and server)? I searched against cvs in ports but it gets a lot of links. Any hints are welcome. CVS is included in the base FreeBSD system. The ports you see are various addons. -- Bill Moran -- Regards Martin Schweizer [EMAIL PROTECTED] PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgpxVfUeb6ecA.pgp Description: PGP signature
Re: problem with phpMyAdmin port
fbsd wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bill Moran Sent: Wednesday, August 30, 2006 1:14 PM To: Daniel Gerzo Cc: fbsd; [EMAIL PROTECTED] ORG Subject: Re: problem with phpMyAdmin port In response to Daniel Gerzo [EMAIL PROTECTED]: When I try to run phpMyAdmin I get this error Fatal error: Call to undefined function preg_replace() in /usr/local/www/phpMyAdmin/libraries/sanitizing.lib.php on line 37 this is not error of the port. You are missing PCRE php extension. Install the lang/php4-extensions or php5-extensions port. Actually, this _is_ an error in the port. The port should properly specify the pcre extension as a dependency. The workaround suggested will get you going, however. If this problem is reproducible, you should file a PR. Are you sure the port installed successfully? I just installed this port a few weeks ago and it worked fine. If you're ports tree is up to date, then these bugs are newly introduced. -- Bill Moran Collaborative Fusion Inc. ** pkg_info shows php5-pcre-5.1.4 installed so is this not the correct pcre dependency? You have to make sure that the pcre extension is actually being loaded by PHP. Check that you have the following line un /usr/local/etc/php/extensions.ini: extension=pcre.so I believe this should have been added automatically though, but to double check that it is loaded, restart apache if you've got PHP running as a module, and check the output of phpinfo(); ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with creating bind9 under a jail (make: don't know how to make /usr/jail/bind9/usr/lib/libc.a. Stop)
On 8/30/06, Lowell Gilbert [EMAIL PROTECTED] wrote: freebsd neophyte [EMAIL PROTECTED] writes: ...snip... --- # make world DESTDIR=/usr/jail/bind9 -- Building an up-to-date make(1) -- make: don't know how to make /usr/jail/bind9/usr/lib/libc.a. Stop *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ...snip... Looks like you don't have a full source tree. What did you mean by pulled files from an FTP server? When you used cvsup, what kind of supfile did you use, and did you have existing files in the source tree that you were trying to update? thanks for the reply. as for pulling from the FTP server. what i wanted to say was that i booted from a CD, but used an FTP server as my install medium. as for cvsup, i used the following: /usr/share/examples/cvsup/stable-supfile. as for the existing source tree, i used sysinstall to add all the sources, and then i used cvsup to update them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Install then reboot
On Wed, Aug 30, 2006 at 07:58:58PM +0200, Jordi Carrillo wrote: When I compile a new program from ports, freebsd takes quite a lot of RAM. Is that something right or it's a flaw? It does happen to you? The main problem is that not all memory used in compilation is freed, so it can be a problem (meaning rebooting) after compiling a very big software such as openoffice or gnome. How much memory FreeBSD uses when installing a port usually depends on the port. However, how are you determining that the memory is not freed up after the port is done installing? Are you running into situation where a huge percentage of your ram is being used during the build process, which then forces the system to swap *after* the install is complete? If you are determining the amount of free ram by simply looking at top(1), and the system is not swapping, then I don't think you have an issue. FreeBSD will free up the memory when it needs it. Cheer, Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fwd: Install then reboot
In fact when compiling, freebsd uses lots of RAM, but then when finished, I don't see it frees the memory used. I see the ram consumption from the gnome system monitor. In any case, I have not payed a lot of attention since I haven't reach the point where freebsd has the need to use swap. Thanks anyway, -- Forwarded message -- From: Jason Morgan [EMAIL PROTECTED] Date: 30/08/2006 16:52 Subject: Re: Install then reboot To: freebsd-questions@freebsd.org On Wed, Aug 30, 2006 at 07:58:58PM +0200, Jordi Carrillo wrote: When I compile a new program from ports, freebsd takes quite a lot of RAM. Is that something right or it's a flaw? It does happen to you? The main problem is that not all memory used in compilation is freed, so it can be a problem (meaning rebooting) after compiling a very big software such as openoffice or gnome. How much memory FreeBSD uses when installing a port usually depends on the port. However, how are you determining that the memory is not freed up after the port is done installing? Are you running into situation where a huge percentage of your ram is being used during the build process, which then forces the system to swap *after* the install is complete? If you are determining the amount of free ram by simply looking at top(1), and the system is not swapping, then I don't think you have an issue. FreeBSD will free up the memory when it needs it. Cheer, Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[Surfing the Net with Kids] Goodbye
This message confirms your cancellation of the free weekly Surfing the Net with Kids newsletter. . RSS EDITION . If you would prefer an RSS edition of the newsletter, you will find it at http://www.surfnetkids.com/newsletter-rss.xml For details on the what, how, and why of RSS, see: http://www.surfnetkids.com/rss.htm ... EXIT SURVEY ... If you could take a moment to answer two questions for me via email to mailto:[EMAIL PROTECTED], it will help me create a better newsletter: 1) Why are you canceling? 2) What can I do to make the Surfnetkids newsletter better? Thank you, Barbara J. Feldman Surfing the Net with Kids http://www.surfnetkids.com P.S. If you would like to sign up under a different email address, you can do so at: http://www.surfnetkids.com/emailedition.htm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any issue having multiple sound cards running at the same time in 6.1?
On 30/08/2006 19:35, Philip Hallstrom wrote: I've got a freebsd server in the garage that has a low end soundblaster (I think) card in it that I've been using to play music. Works just fine. We moved and now I'd like to be able to have different music play in different rooms (living, family, and outside). I can do all the other wiring for speakers... But was wondering if there are any problems having three sound cards in the box and have them all work at the same time. I'm currently using flac123 to play music and would probably continue to do so... Thoughts? In principle, there's no problem. But most software will only drive one audio device at a time. Also, note that running long cables at fairly low signal levels can degrade the audio quality... Good points... but no reason I couldn't run three flac123 processes and point each to their own /dev/ entry...? I'm using two sound cards all the time. One (Audigy, PCI) to make noise in my room (music/tv/etc), and the second (nVidia, onboard) to make calls with skype or listen to music late at night. I don't know about flac123 - have a look at it's manpage - but at least with xmms, mplayer and skype (that's what I've got here) you can change output /dev/dsp device to whichever you like. HTH, Karol -- Karol Kwiatkowski freebsd at orchid dot homeunix dot org OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc signature.asc Description: OpenPGP digital signature
Re: Fwd: Install then reboot
[format recovered, please don't top post to the list] On 30/08/2006 21:05, Jordi Carrillo wrote: -- Forwarded message -- From: Jason Morgan [EMAIL PROTECTED] Date: 30/08/2006 16:52 Subject: Re: Install then reboot To: freebsd-questions@freebsd.org On Wed, Aug 30, 2006 at 07:58:58PM +0200, Jordi Carrillo wrote: When I compile a new program from ports, freebsd takes quite a lot of RAM. Is that something right or it's a flaw? It does happen to you? The main problem is that not all memory used in compilation is freed, so it can be a problem (meaning rebooting) after compiling a very big software such as openoffice or gnome. How much memory FreeBSD uses when installing a port usually depends on the port. However, how are you determining that the memory is not freed up after the port is done installing? Are you running into situation where a huge percentage of your ram is being used during the build process, which then forces the system to swap *after* the install is complete? If you are determining the amount of free ram by simply looking at top(1), and the system is not swapping, then I don't think you have an issue. FreeBSD will free up the memory when it needs it. Cheer, Jason In fact when compiling, freebsd uses lots of RAM, but then when finished, I don't see it frees the memory used. I see the ram consumption from the gnome system monitor. In any case, I have not payed a lot of attention since I haven't reach the point where freebsd has the need to use swap. Thanks anyway, Basically, free memory is wasted memory. It's in the FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM Regards, Karol -- Karol Kwiatkowski freebsd at orchid dot homeunix dot org OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc signature.asc Description: OpenPGP digital signature
HP 1020 and CUPS
I am trying to add my HP LaserJet 1020 printer via CUPS page at http://localhost:631/admin. CUPS will not accept my root username password to install the driver. Any ideas? lptest /dev/ulpt0 returns: /dev/ulpt0: Device busy. grep ulpt /var/run/dmesg.boot returns: module_register: module uhub/ulpt already exists! Module uhub/ulpt failed to register: 17 ulpt0: Hewlett-Packard HP LaserJet 1020, rev 2.00/1.00, addr 2, iclass 7/1 ulpt0: using bi-directional mode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mkisofs: out of memory
Hi all, I'm trying to write a DVD-RW with a directory created with rsnapshot, but there are some problem with mkisofs: Not enough memory # mkisofs -R -J -o /data/rsnap.iso /data/.snapshots mkisofs: Cannot allocate memory. Not enough memory The machine has more then 350MB of free memory and 1GB of swap, but mkisofs exausts memory and start to use swap when the problem happen. The volume I'm trying to copy has 4 GB. The same problem happen with growisofs, and K3b front end. System FreeBSD 5.4. Any clue? - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any issue having multiple sound cards running at the same time in 6.1?
Karol Kwiatkowski wrote: On 30/08/2006 19:35, Philip Hallstrom wrote: I've got a freebsd server in the garage that has a low end soundblaster (I think) card in it that I've been using to play music. Works just fine. We moved and now I'd like to be able to have different music play in different rooms (living, family, and outside). I can do all the other wiring for speakers... But was wondering if there are any problems having three sound cards in the box and have them all work at the same time. I'm currently using flac123 to play music and would probably continue to do so... Thoughts? In principle, there's no problem. But most software will only drive one audio device at a time. Also, note that running long cables at fairly low signal levels can degrade the audio quality... Good points... but no reason I couldn't run three flac123 processes and point each to their own /dev/ entry...? I'm using two sound cards all the time. One (Audigy, PCI) to make noise in my room (music/tv/etc), and the second (nVidia, onboard) to make calls with skype or listen to music late at night. I don't know about flac123 - have a look at it's manpage - but at least with xmms, mplayer and skype (that's what I've got here) you can change output /dev/dsp device to whichever you like. HTH, Karol Just looking at the source a bit for libao and flac123, it appears that flac123 is capable of using multiple sound daemons to send information out to the soundcard. So, if you configure OSS and arts (assuming you have arts installed) differently in terms of which default device the daemon uses when playing sound, you should be ok I think. Other than that, I think you're stuck because OSS doesn't support sound input from multiple sources, and last I remember arts and the rest that actually supported taking sound from multiple inputs didn't support outputting sound on multiple cards simultaneously. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP detection
On Wednesday 30 August 2006 20:20, Jordi Carrillo wrote: I've read that SMP should be disabled for performance issues (I did not know that before installing freebsd). I have a P4 3GHz with hyperthreading technology. I have the SMP-GENERIC kernel and it only launches one cpu. So, I've decided to disable SMP from BIOS. Is that ok?, knowing that I have a Smp enabled kernel? or should I install one without smp? If so, is there a way to install one already precompiled? Thanks in advance Try here: http://www.bsdforums.org/forums/showthread.php?t=152goto=nextnewest Good luck! -- Best regards, Simon Phoenix (Phoenix Lab.) --- KeyID: 0x2569D30B Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B --- pgpawwtJTiIXM.pgp Description: PGP signature
Re: SMP detection
--- Jordi Carrillo [EMAIL PROTECTED] wrote: I've read that SMP should be disabled for performance issues (I did not know that before installing freebsd). I have a P4 3GHz with hyperthreading technology. I have the SMP-GENERIC kernel and it only launches one cpu. So, I've decided to disable SMP from BIOS. Is that ok?, knowing that I have a Smp enabled kernel? or should I install one without smp? If so, is there a way to install one already precompiled? Thanks in advance -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] if the system runs with one cpu now and you don't enable smp with HT with the sysctl variable then you should be ok. If your not doing SMP then recompiling the kernel for single processor mode will make things run a little quicker because the SMP code won't come into play. with HT disabling in FreeBSD is more for the security issues about a potential exploit whereby one process in one pipe can access the priveledged information of a process in another pipe because the two cores share one processor cache and thus one cache table. To my knowledge this hasn't been exploited yet. If you just install the generic kernel you it should be only the uniprocessor one. I would just do a: cd /usr/src make buildworld make KERNCONF=GENERIC buildkernel make KERNCONF=GENERIC installkernel as opposed to a binary version assuming you haven't updated yet you won't have to install world but I believe it must have the build in the source tree to build a kernel. On your P4 though the difference between SMP and uniproc may not be worth the trouble because I don't think much of a gain would be made. on a P1 a much different story... if you aren't concerned with bad users or hackers hitting the box I would just enable HT with the sysctl variable. This will not make things run slower at all, just (in theory) less secure, which is why the veriable was created in the first place as I recall. If you are concerned I would wait until you update your system and then just build a GENERIC/CUSTOM kernel without the SMP option set. -brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP detection
2006/8/30, backyard [EMAIL PROTECTED]: --- Jordi Carrillo [EMAIL PROTECTED] wrote: I've read that SMP should be disabled for performance issues (I did not know that before installing freebsd). I have a P4 3GHz with hyperthreading technology. I have the SMP-GENERIC kernel and it only launches one cpu. So, I've decided to disable SMP from BIOS. Is that ok?, knowing that I have a Smp enabled kernel? or should I install one without smp? If so, is there a way to install one already precompiled? Thanks in advance -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] if the system runs with one cpu now and you don't enable smp with HT with the sysctl variable then you should be ok. If your not doing SMP then recompiling the kernel for single processor mode will make things run a little quicker because the SMP code won't come into play. with HT disabling in FreeBSD is more for the security issues about a potential exploit whereby one process in one pipe can access the priveledged information of a process in another pipe because the two cores share one processor cache and thus one cache table. To my knowledge this hasn't been exploited yet. If you just install the generic kernel you it should be only the uniprocessor one. I would just do a: cd /usr/src make buildworld make KERNCONF=GENERIC buildkernel make KERNCONF=GENERIC installkernel as opposed to a binary version assuming you haven't updated yet you won't have to install world but I believe it must have the build in the source tree to build a kernel. On your P4 though the difference between SMP and uniproc may not be worth the trouble because I don't think much of a gain would be made. on a P1 a much different story... if you aren't concerned with bad users or hackers hitting the box I would just enable HT with the sysctl variable. This will not make things run slower at all, just (in theory) less secure, which is why the veriable was created in the first place as I recall. If you are concerned I would wait until you update your system and then just build a GENERIC/CUSTOM kernel without the SMP option set. -brian I will disable smp from bios. If I have a smp kernel, I suppose there will be no problem after all. Would that be ok? The problem with having SMP enabled is that the smp kernel only detects one cpu and the system monitor only features one cpu as well as gkrellm (in Linux it shows two cpus). When compiling the system monitor shows the cpu at a maximum of 50%, so what's going on with the other 50%? writing machdep.hlt_logical_cpus to 2 in loader.conf does not solve anything. -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading BSD
Hi, I have a machine which has BSD 4.8 on it. Is it possible to upgrade to version 6.0 without affecting/deleting/losing any files currently present on the machine. $ uname -a FreeBSD tcp-01-pc7 4.8-RELEASE FreeBSD 4.8-RELEASE #1: Fri Jul 18 10:43:30 PDT 2003 [EMAIL PROTECTED]:/usr/devtest/kame/freebsd4/sys/compile/tcp-pc3 i386 $ Thanks, Amita ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
{Classmates#889-142}read it immediately
I want to cancel my membership as soon as possible. Thank you, Jane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Playing Audio CDs
--- Viswas Nair [EMAIL PROTECTED] wrote: I am new to BSD and have mplayer installed (Gmplayer) and I do not see the option to play an Audio CD, only CDs, files and DVDs. How do I get Audio CD's to play? Can they be mounted, if so how? Is there any specific audio alone CD player (GUI based) that you suggest? KsCD in KDE environment. You don't need to mount an AudioCD. Make sure you connected your CD/DVD device audio output to the sound card. Also, whats the most commonly used or popular CD + DVD burning software used in BSD? Try k3b. I like it. Thanks in advance. Andriy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Client oracle for FreeBSD 5.4!
I need to connect in a server of data base oracle 9i through the FreeBSD. Exists one client oracle for the FreeBSD? How I can make? Thank you! Daniel Bitencourt Cadorin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Clean way to install font packs for Acrobat Reader?
Hi, is there a port to only install the different font packs for acroread7? Basically, I don't want the interface to be in other language, but for some pdf files without embedded fonts these Asian or European font packs provided in Acrobat's website are indeed needed. If you are familiar with Gentoo's portage system, there is a portage called acroread-asianfonts for simply installing the font packs. Xiao-Yong -- ,,, (o o) ---ooO-(_)-Ooo--- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading BSD
On Wednesday 30 August 2006 1:02 pm, Amita Bargal (ambargal) wrote: Hi, I have a machine which has BSD 4.8 on it. Is it possible to upgrade to version 6.0 without affecting/deleting/losing any files currently present on the machine. $ uname -a FreeBSD tcp-01-pc7 4.8-RELEASE FreeBSD 4.8-RELEASE #1: Fri Jul 18 10:43:30 PDT 2003 [EMAIL PROTECTED]:/usr/devtest/kame/freebsd4/sys/compile/tcp-pc3 i386 $ Thanks, Amita ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Usually you have to upgrade from major release to major release i.e. 4.8 to 5.5, 5.5 to 6.1 etc. However, if you are only protecting data files then copy them to a cd, dvd or separate disk drive and do a clean install of 6.1. If you want to protect configuration files then you may have to upgrade step by step. Upgrading using the make buildworld, make build kernel, make install kernel, reboot, make install world, mergemaster process is time comsuming. If you only need to protect data, then copy it off and do a clean install. Are you using this for a server or a desktop? Ralph Ellis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mounting Linux Procfs at Boot
What's the canonical way of mounting the Linux procfs at boot-time? I've seen several recommendations to add the following to fstab: linproc/compat/linux/proc linprocfs rw 0 0 But in a standard installation, this mount-point is really under /usr, which isn't mounted until pass 2. If I change the pass number to 2, it fails with an unexpected inconsistencies error. I presume this is because mount is trying to fsck it, and failing to find fsck_linprocfs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Client oracle for FreeBSD 5.4!
On 30 Aug 2006, at 21:15, Daniel Bitencourt Cadorin wrote: I need to connect in a server of data base oracle 9i through the FreeBSD. Exists one client oracle for the FreeBSD? How I can make? Thank you! Daniel Bitencourt Cadorin Hi Theres some info here you might find useful: http://tomclegg.net/oracle9i-bsd5 Other info about oracle client here aswell. Good luck. Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrade ghostscript? How?
Hi, I wanna upgrade ghostscript to ghostscript-gpl-8.15 from ghostscript-gnu-7.07. I've installed the gpl version via port. But when I tried to pkg_delete the gnu version, it said pkg_delete: package 'ghostscript-gnu-7.07_15' is required by these other packages and may not be deinstalled: ImageMagick-6.2.8.5 auctex-11.83 cm-super-0.3.3 dvipdfmx-20050831_2 dvipsk-tetex-5.95a_1 freetype-tools-1.3.1_3 ghostscript-gnu-commfont-7.07_3 gv-3.6.1 hplip-0.9.11 html2ps-letter-1.0.b4_1,1 teTeX-3.0_1 teTeX-base-3.0_9 transfig-3.2.4_1 xdvik-tetex-22.84.10 zh-CJK-4.6.0_1 zh-moefonts-cid-1.0_3 I'll probably also delete ghostscript-gnu-commfont-7.07_3 and zh-moefonts-cid-1.0_3. But is there anything more I should consider harmful to my system when I switch ghostscript gnu to gpl? Or simply pkg_delete by --force is enough? Thank you, Xiao-Yong -- ,,, (o o) ---ooO-(_)-Ooo--- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading BSD
Ralph Ellis writes: Usually you have to upgrade from major release to major release i.e. 4.8 to 5.5, 5.5 to 6.1 etc. However, if you are only protecting data files then copy them to a cd, dvd or separate disk drive and do a clean install of 6.1. If you want to protect configuration files then you may have to upgrade step by step. Upgrading using the make buildworld, make build kernel, make install kernel, reboot, make install world, mergemaster process is time comsuming. If you only need to protect data, then copy it off and do a clean install. Optimal solution (if available): change address on old disk, set jumper to read-only install new disk install FreeBSD on new disk mount old disk read-only copy as desired Seriously: you can* source upgrade across major versions - been there - but every iteration is another possible failure mode. You'll also be stuck with all the crud left over from previous versions. Robert Huff * - unless the Release Engineering folks say otherwise ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade ghostscript? How?
On Aug 30, 2006, at 1:28 PM, Xiao-Yong Jin wrote: Hi, I wanna upgrade ghostscript to ghostscript-gpl-8.15 from ghostscript-gnu-7.07. I've installed the gpl version via port. But when I tried to pkg_delete the gnu version, it said pkg_delete: package 'ghostscript-gnu-7.07_15' is required by these other packages and may not be deinstalled: ImageMagick-6.2.8.5 auctex-11.83 cm-super-0.3.3 dvipdfmx-20050831_2 dvipsk-tetex-5.95a_1 freetype-tools-1.3.1_3 ghostscript-gnu-commfont-7.07_3 gv-3.6.1 hplip-0.9.11 html2ps-letter-1.0.b4_1,1 teTeX-3.0_1 teTeX-base-3.0_9 transfig-3.2.4_1 xdvik-tetex-22.84.10 zh-CJK-4.6.0_1 zh-moefonts-cid-1.0_3 I'll probably also delete ghostscript-gnu-commfont-7.07_3 and zh-moefonts-cid-1.0_3. But is there anything more I should consider harmful to my system when I switch ghostscript gnu to gpl? Or simply pkg_delete by --force is enough? Thank you, Xiao-Yong Try pkg_delete -f {name of all ghostscript files here}. Then install the newest port version and be sure to run pkgdb -F afterwards so you can fix the package database, such that it references the right ghostscript. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting Linux Procfs at Boot
RW wrote: What's the canonical way of mounting the Linux procfs at boot-time? I've seen several recommendations to add the following to fstab: linproc/compat/linux/proc linprocfs rw 0 0 But in a standard installation, this mount-point is really under /usr, which isn't mounted until pass 2. If I change the pass number to 2, it fails with an unexpected inconsistencies error. I presume this is because mount is trying to fsck it, and failing to find fsck_linprocfs. This is what I have in my /etc/fstab file: linprocfs /compat/linux/proc linprocfs rw 00 Is this what you are referring to? -- Gerard Seibert [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Customized Install CD
I'm looking at trying to build my own customized FreeBSD install CD. The purpose of this is to be able to install FreeBSD with customized kernel, certain packages installed and some added scripts of my own. Being that I have no idea how to do this I have two questions. 1. Is this feasible? 2. Is there some good literature regarding this on the internet that you recommend? Any information would be greatly appreciated! LIFE'S A GARDENDIG IT! smime.p7s Description: S/MIME cryptographic signature
Re: SMP detection
Jordi Carrillo wrote: 2006/8/30, backyard [EMAIL PROTECTED]: --- Jordi Carrillo [EMAIL PROTECTED] wrote: I've read that SMP should be disabled for performance issues (I did not know that before installing freebsd). I have a P4 3GHz with hyperthreading technology. I have the SMP-GENERIC kernel and it only launches one cpu. So, I've decided to disable SMP from BIOS. Is that ok?, knowing that I have a Smp enabled kernel? or should I install one without smp? If so, is there a way to install one already precompiled? Thanks in advance -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] if the system runs with one cpu now and you don't enable smp with HT with the sysctl variable then you should be ok. If your not doing SMP then recompiling the kernel for single processor mode will make things run a little quicker because the SMP code won't come into play. with HT disabling in FreeBSD is more for the security issues about a potential exploit whereby one process in one pipe can access the priveledged information of a process in another pipe because the two cores share one processor cache and thus one cache table. To my knowledge this hasn't been exploited yet. If you just install the generic kernel you it should be only the uniprocessor one. I would just do a: cd /usr/src make buildworld make KERNCONF=GENERIC buildkernel make KERNCONF=GENERIC installkernel as opposed to a binary version assuming you haven't updated yet you won't have to install world but I believe it must have the build in the source tree to build a kernel. On your P4 though the difference between SMP and uniproc may not be worth the trouble because I don't think much of a gain would be made. on a P1 a much different story... if you aren't concerned with bad users or hackers hitting the box I would just enable HT with the sysctl variable. This will not make things run slower at all, just (in theory) less secure, which is why the veriable was created in the first place as I recall. If you are concerned I would wait until you update your system and then just build a GENERIC/CUSTOM kernel without the SMP option set. -brian I will disable smp from bios. If I have a smp kernel, I suppose there will be no problem after all. Would that be ok? The problem with having SMP enabled is that the smp kernel only detects one cpu and the system monitor only features one cpu as well as gkrellm (in Linux it shows two cpus). When compiling the system monitor shows the cpu at a maximum of 50%, so what's going on with the other 50%? writing machdep.hlt_logical_cpus to 2 in loader.conf does not solve anything. I believe FreeBSD uses the other logical CPU to handle hardware interrupts, which can still help performance. You can check dmesg to see how it's actually handling it. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ signature.asc Description: OpenPGP digital signature
Re: Upgrade ghostscript? How?
Garrett Cooper wrote: On Aug 30, 2006, at 1:28 PM, Xiao-Yong Jin wrote: Hi, I wanna upgrade ghostscript to ghostscript-gpl-8.15 from ghostscript-gnu-7.07. I've installed the gpl version via port. But when I tried to pkg_delete the gnu version, it said pkg_delete: package 'ghostscript-gnu-7.07_15' is required by these other packages and may not be deinstalled: ImageMagick-6.2.8.5 auctex-11.83 cm-super-0.3.3 dvipdfmx-20050831_2 dvipsk-tetex-5.95a_1 freetype-tools-1.3.1_3 ghostscript-gnu-commfont-7.07_3 gv-3.6.1 hplip-0.9.11 html2ps-letter-1.0.b4_1,1 teTeX-3.0_1 teTeX-base-3.0_9 transfig-3.2.4_1 xdvik-tetex-22.84.10 zh-CJK-4.6.0_1 zh-moefonts-cid-1.0_3 I'll probably also delete ghostscript-gnu-commfont-7.07_3 and zh-moefonts-cid-1.0_3. But is there anything more I should consider harmful to my system when I switch ghostscript gnu to gpl? Or simply pkg_delete by --force is enough? Thank you, Xiao-Yong Try pkg_delete -f {name of all ghostscript files here}. Then install the newest port version and be sure to run pkgdb -F afterwards so you can fix the package database, such that it references the right ghostscript. -Garrett Additionally I had to set GHOSTSCRIPT_PORT=print/ghostscript-gpl /etc/make.conf in order to get newly installed/upgraded ports to depend on gs-gpl instead of gs-gnu. I was never able to get gs-afpl to work properly. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP detection
Skylar, So, 50% is used for processes and the other 50% to handle hardware interrupts. Is that right? 2006/8/30, Skylar Thompson [EMAIL PROTECTED]: Jordi Carrillo wrote: 2006/8/30, backyard [EMAIL PROTECTED]: --- Jordi Carrillo [EMAIL PROTECTED] wrote: I've read that SMP should be disabled for performance issues (I did not know that before installing freebsd). I have a P4 3GHz with hyperthreading technology. I have the SMP-GENERIC kernel and it only launches one cpu. So, I've decided to disable SMP from BIOS. Is that ok?, knowing that I have a Smp enabled kernel? or should I install one without smp? If so, is there a way to install one already precompiled? Thanks in advance -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] if the system runs with one cpu now and you don't enable smp with HT with the sysctl variable then you should be ok. If your not doing SMP then recompiling the kernel for single processor mode will make things run a little quicker because the SMP code won't come into play. with HT disabling in FreeBSD is more for the security issues about a potential exploit whereby one process in one pipe can access the priveledged information of a process in another pipe because the two cores share one processor cache and thus one cache table. To my knowledge this hasn't been exploited yet. If you just install the generic kernel you it should be only the uniprocessor one. I would just do a: cd /usr/src make buildworld make KERNCONF=GENERIC buildkernel make KERNCONF=GENERIC installkernel as opposed to a binary version assuming you haven't updated yet you won't have to install world but I believe it must have the build in the source tree to build a kernel. On your P4 though the difference between SMP and uniproc may not be worth the trouble because I don't think much of a gain would be made. on a P1 a much different story... if you aren't concerned with bad users or hackers hitting the box I would just enable HT with the sysctl variable. This will not make things run slower at all, just (in theory) less secure, which is why the veriable was created in the first place as I recall. If you are concerned I would wait until you update your system and then just build a GENERIC/CUSTOM kernel without the SMP option set. -brian I will disable smp from bios. If I have a smp kernel, I suppose there will be no problem after all. Would that be ok? The problem with having SMP enabled is that the smp kernel only detects one cpu and the system monitor only features one cpu as well as gkrellm (in Linux it shows two cpus). When compiling the system monitor shows the cpu at a maximum of 50%, so what's going on with the other 50%? writing machdep.hlt_logical_cpus to 2 in loader.conf does not solve anything. I believe FreeBSD uses the other logical CPU to handle hardware interrupts, which can still help performance. You can check dmesg to see how it's actually handling it. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
php5/mysql5
Production server is running apache13/php4/mysql4. Have fresh 6.1 install on workbench PC. Workbench PC is being used to build apache13/php5/mysql51 environment for working php web application writing and reading mysql database. Installed mysql51-server then php5 and made sure make config had apache support. When I executed the web application I get Fatal error: Call to undefined function mysql_pconnect() in /usr/local/www/mls/signup.php on line 348. Is there some other port now required to get php to talk to mysql??? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
shared cache -- Re: SMP detection
On Aug 30, 2006, at 12:12 PM, backyard wrote: with HT disabling in FreeBSD is more for the security issues about a potential exploit whereby one process in one pipe can access the priveledged information of a process in another pipe because the two cores share one processor cache and thus one cache table. To my knowledge this hasn't been exploited yet. How is this any different than say an Intel Core Duo or Core 2 Duo? I believe they have a shared cache as well for each (real) processor core. Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP detection
Jordi Carrillo wrote: Skylar, So, 50% is used for processes and the other 50% to handle hardware interrupts. Is that right? I believe so, but the blurb that I read that in is from 2003. There's a good chance someone will jump in to correct me. :) It was in /usr/src/UPDATING: 20031022: Support for HyperThread logical CPUs has now been enabled by default. As a result, the HTT kernel option no longer exists. Instead, the logical CPUs are always started so that they can handle interrupts. However, the extra logical CPUs are prevented from executing user processes by default. To enable the logical CPUs, change the value of the machdep.hlt_logical_cpus from 1 to 0. This value can also be set from the loader as a tunable of the same name. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ signature.asc Description: OpenPGP digital signature
Re: php5/mysql5
Production server is running apache13/php4/mysql4. Have fresh 6.1 install on workbench PC. Workbench PC is being used to build apache13/php5/mysql51 environment for working php web application writing and reading mysql database. Installed mysql51-server then php5 and made sure make config had apache support. When I executed the web application I get Fatal error: Call to undefined function mysql_pconnect() in /usr/local/www/mls/signup.php on line 348. Is there some other port now required to get php to talk to mysql??? databases/php5-mysql ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5/mysql5
On 30 Aug 2006, at 22:37, fbsd wrote: Production server is running apache13/php4/mysql4. Have fresh 6.1 install on workbench PC. Workbench PC is being used to build apache13/php5/mysql51 environment for working php web application writing and reading mysql database. Installed mysql51-server then php5 and made sure make config had apache support. When I executed the web application I get Fatal error: Call to undefined function mysql_pconnect() in /usr/local/www/mls/signup.php on line 348. Is there some other port now required to get php to talk to mysql??? Hi You can install the php5-extensions port... /usr/ports/lang/php5-extensions and run a make config to decide on what you need. Hope that helps Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS
On 2006-08-30 16:32, Martin Schweizer [EMAIL PROTECTED] wrote: Hello Which ports does I need for a cvs system (client and server)? I searched against cvs in ports but it gets a lot of links. Any hints are welcome. You don't need any ports. CVS is part of the base system, and it can work both as a client and server. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
linux-firefox
did a 'make install' for linux-firefox I got an error that libXfixes.so.3 (as part of linux-glib2, IIRC) could not be found . . . after some googling and a few bad leads for some reason I did another make install and got no errors . . . but now linux-firefox won't run because libXfixes.so.3 is missing . . . Any clues appreciated . . . Pete C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.1 current instabilty on Sun Ultra 40's
I can't get 6.1 to even compile a new kernel on 2 different Sun Ultra 40's Anyone have nay reason that it should not work on these machines? Both are dul processor BTW, should I try the non MP kernel? -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP detection
--- Jordi Carrillo [EMAIL PROTECTED] wrote: 2006/8/30, backyard [EMAIL PROTECTED]: --- Jordi Carrillo [EMAIL PROTECTED] wrote: I've read that SMP should be disabled for performance issues (I did not know that before installing freebsd). I have a P4 3GHz with hyperthreading technology. I have the SMP-GENERIC kernel and it only launches one cpu. So, I've decided to disable SMP from BIOS. Is that ok?, knowing that I have a Smp enabled kernel? or should I install one without smp? If so, is there a way to install one already precompiled? Thanks in advance -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] if the system runs with one cpu now and you don't enable smp with HT with the sysctl variable then you should be ok. If your not doing SMP then recompiling the kernel for single processor mode will make things run a little quicker because the SMP code won't come into play. with HT disabling in FreeBSD is more for the security issues about a potential exploit whereby one process in one pipe can access the priveledged information of a process in another pipe because the two cores share one processor cache and thus one cache table. To my knowledge this hasn't been exploited yet. If you just install the generic kernel you it should be only the uniprocessor one. I would just do a: cd /usr/src make buildworld make KERNCONF=GENERIC buildkernel make KERNCONF=GENERIC installkernel as opposed to a binary version assuming you haven't updated yet you won't have to install world but I believe it must have the build in the source tree to build a kernel. On your P4 though the difference between SMP and uniproc may not be worth the trouble because I don't think much of a gain would be made. on a P1 a much different story... if you aren't concerned with bad users or hackers hitting the box I would just enable HT with the sysctl variable. This will not make things run slower at all, just (in theory) less secure, which is why the veriable was created in the first place as I recall. If you are concerned I would wait until you update your system and then just build a GENERIC/CUSTOM kernel without the SMP option set. -brian I will disable smp from bios. If I have a smp kernel, I suppose there will be no problem after all. Would that be ok? The problem with having SMP enabled is that the smp kernel only detects one cpu and the system monitor only features one cpu as well as gkrellm (in Linux it shows two cpus). When compiling the system monitor shows the cpu at a maximum of 50%, so what's going on with the other 50%? writing machdep.hlt_logical_cpus to 2 in loader.conf does not solve anything. -- machdep.hyperthreading_allowed=1 in loader.conf from my reading on the web... is the variable you should probably be setting, the other variable will disable cpu's on the system or limit how many are used. It does not turn on HT. Linux does not have an option like this to disable HT, I believe it must be passed to the kernel at boot and I don't know what the exact switch is but the Linux community is not as concerned with the potential exploit as the *BSD community is and so they let HTs run under their SMP kernel. 50% is running idle, this is pretty normal, At least on the systems I've seen when it is building the system. You have to remember most of compiling is reading code and libraries then putting it together and back on the hard drive. Compiling is I/O intensive more then CPU intensive. If you set MAKEOPTS=-j5 in make.conf you will compile quicker use more cpu power, but it will maybe spike around 80%. usually this is set by 2X CPU_CORES +1 but it makes my dual p3 550Mhz Xeon build a system with the quickness... You maybe able to get away with -j9 as my little formula might be based on Linux more then BSD and I know generally BSD allows for more make processes to be going at once. maybe 4x CPU_CORE +1 is more in order. Experiment until your loaded as high as you want to, but its nice to have Gnome/KDE going while you're building a system and watching a movie; so having 50% to play with isn't a bad thing... -brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fwd: SMP detection
2006/8/30, backyard [EMAIL PROTECTED]: --- Jordi Carrillo [EMAIL PROTECTED] wrote: 2006/8/30, backyard [EMAIL PROTECTED]: --- Jordi Carrillo [EMAIL PROTECTED] wrote: I've read that SMP should be disabled for performance issues (I did not know that before installing freebsd). I have a P4 3GHz with hyperthreading technology. I have the SMP-GENERIC kernel and it only launches one cpu. So, I've decided to disable SMP from BIOS. Is that ok?, knowing that I have a Smp enabled kernel? or should I install one without smp? If so, is there a way to install one already precompiled? Thanks in advance -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] if the system runs with one cpu now and you don't enable smp with HT with the sysctl variable then you should be ok. If your not doing SMP then recompiling the kernel for single processor mode will make things run a little quicker because the SMP code won't come into play. with HT disabling in FreeBSD is more for the security issues about a potential exploit whereby one process in one pipe can access the priveledged information of a process in another pipe because the two cores share one processor cache and thus one cache table. To my knowledge this hasn't been exploited yet. If you just install the generic kernel you it should be only the uniprocessor one. I would just do a: cd /usr/src make buildworld make KERNCONF=GENERIC buildkernel make KERNCONF=GENERIC installkernel as opposed to a binary version assuming you haven't updated yet you won't have to install world but I believe it must have the build in the source tree to build a kernel. On your P4 though the difference between SMP and uniproc may not be worth the trouble because I don't think much of a gain would be made. on a P1 a much different story... if you aren't concerned with bad users or hackers hitting the box I would just enable HT with the sysctl variable. This will not make things run slower at all, just (in theory) less secure, which is why the veriable was created in the first place as I recall. If you are concerned I would wait until you update your system and then just build a GENERIC/CUSTOM kernel without the SMP option set. -brian I will disable smp from bios. If I have a smp kernel, I suppose there will be no problem after all. Would that be ok? The problem with having SMP enabled is that the smp kernel only detects one cpu and the system monitor only features one cpu as well as gkrellm (in Linux it shows two cpus). When compiling the system monitor shows the cpu at a maximum of 50%, so what's going on with the other 50%? writing machdep.hlt_logical_cpus to 2 in loader.conf does not solve anything. -- machdep.hyperthreading_allowed=1 in loader.conf from my reading on the web... is the variable you should probably be setting, the other variable will disable cpu's on the system or limit how many are used. It does not turn on HT. Linux does not have an option like this to disable HT, I believe it must be passed to the kernel at boot and I don't know what the exact switch is but the Linux community is not as concerned with the potential exploit as the *BSD community is and so they let HTs run under their SMP kernel. 50% is running idle, this is pretty normal, At least on the systems I've seen when it is building the system. You have to remember most of compiling is reading code and libraries then putting it together and back on the hard drive. Compiling is I/O intensive more then CPU intensive. If you set MAKEOPTS=-j5 in make.conf you will compile quicker use more cpu power, but it will maybe spike around 80%. usually this is set by 2X CPU_CORES +1 but it makes my dual p3 550Mhz Xeon build a system with the quickness... You maybe able to get away with -j9 as my little formula might be based on Linux more then BSD and I know generally BSD allows for more make processes to be going at once. maybe 4x CPU_CORE +1 is more in order. Experiment until your loaded as high as you want to, but its nice to have Gnome/KDE going while you're building a system and watching a movie; so having 50% to play with isn't a bad thing... -brian Yes, having only 50% on compiling, let's you do other tasks, which is great if the soft to compile is very large such as openoffice and you only have one computer at home. -- http://jordilin.wordpress.com -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/dev filesystem at 100% capacity?
I'm new to Freebsd, and the other day I installed FreeBSD and let FreeBSD to partition my hard disk. Now, when I do df -k I see that the devfs filesystem mounted on /dev is at 100% of capacity. $df -k devfs 1 10 100%/dev with 1 kb of capacity. is this normal, or there is sth wrong with this. Please do df -k and let me know, Thanks -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev filesystem at 100% capacity?
2006/8/31, Javier Henderson [EMAIL PROTECTED]: On Aug 30, 2006, at 7:11 PM, Jordi Carrillo wrote: I'm new to Freebsd, and the other day I installed FreeBSD and let FreeBSD to partition my hard disk. Now, when I do df -k I see that the devfs filesystem mounted on /dev is at 100% of capacity. $df -k devfs 1 10 100%/dev with 1 kb of capacity. is this normal Yes. -jav Thanks, Jordi -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev filesystem at 100% capacity?
I'm new to Freebsd, and the other day I installed FreeBSD and let FreeBSD to partition my hard disk. Now, when I do df -k I see that the devfs filesystem mounted on /dev is at 100% of capacity. $df -k devfs 1 10 100%/dev with 1 kb of capacity. is this normal, or there is sth wrong with this. Please do df -k and let me know, This is normal. It is a special filesystem, not a real one. jerry Thanks -- http://jordilin.wordpress.com ___ 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: Mounting Linux Procfs at Boot
On Wednesday 30 August 2006 21:55, Gerard Seibert wrote: RW wrote: What's the canonical way of mounting the Linux procfs at boot-time? I've seen several recommendations to add the following to fstab: linproc/compat/linux/proc linprocfs rw 0 0 But in a standard installation, this mount-point is really under /usr, which isn't mounted until pass 2. If I change the pass number to 2, it fails with an unexpected inconsistencies error. I presume this is because mount is trying to fsck it, and failing to find fsck_linprocfs. This is what I have in my /etc/fstab file: linprocfs /compat/linux/proc linprocfs rw 00 Is this what you are referring to? I tried it and it didn't work. Irrespective of whether it should begin linproc or linprocfs, /compat is a link to /usr/compat, and /usr isn't mounted at that point. Do you have a different arrangement? BTW I'm running 6.1 (upgraded from an original 5.3 install) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fullscreen crashes (solved)
I recompiled x11/nvidia-driver and rebooted, and that fixed it somehow. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resolved??? Re: Apache 2.2 http accept filter
At 20:01 2006-08-25, you wrote: Did accept filter error problem get resolved? I do NOT have NO_MODULES set in the kernel config or in /etc/make.conf anywhere, and I checked: unicorn[126]# pwd /boot/kernel unicorn[127]# ll *http* -r-xr-xr-x 1 root wheel 5544 Aug 25 12:05 accf_http.ko* unicorn[128]# kldload accf_http.ko kldload: can't load accf_http.ko: File exists unicorn[130]# grep -i http rc.conf # apache22_http_accept_enable (bool): Set to NO by default. # Set to yes to check for accf_http kernel # put accf_http in the kernel config? not yet. apache22_http_accept_enable=YES Do I need to put something in /boot/modules? I already have accf_http loaded, apparently because of the apache22_http_accept_enable flag in rc.conf. Let me know if you've gotten anywhere with this. tack On Sat, 19 Aug 2006, Ian Lord wrote: At 12:18 2006-08-19, you wrote: Ian Lord wrote: well, the apache22_http_accept_enable=YES should do this for him, but it seems like the problems stands elsewhere. Ian, are you sure that these modules are present under the /boot/modules directory? Hi, I just checked and the /boot/modules directory is empty so I guess the problem is there... Do I need to build a port or something to have them ? You might have option NO_MODULES in your kernel config file. If so, remove it and rebuild your kernel as described in the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html Hmmm, the reason the the NO_MODULES is set to yes in my kernel, is because I use PAE Here is a snip from the /usr/src/sys/i386/conf/PAE file # Don't build modules with this kernel config, since they are not built with # the correct options headers. makeoptions NO_MODULES=yes So I guess since I am Using PAE, I just can't build the modules... So from there, what is the recommended solution ? I tried removing apache22_http_accept_enable=YES from rc.conf and using AcceptFilter http none AcceptFilter https none in my httpd.conf file (I also tried not mentionning the AcceptFilter lines in http.conf) I still get the same problem ie: I get the error message [Sat Aug 19 13:00:14 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter [Sat Aug 19 13:00:14 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter [Sat Aug 19 13:00:14 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I still have problem with it... From what I understand, the problem comes from the fact that I use PAE. When you compile a kernel with PAE, it is clearly mentionnend we need to use the no_module=YES here is a snip from the file /usr/src/sys/i386/conf/PAE ~~ # Don't build modules with this kernel config, since they are not built with # the correct options headers. makeoptions NO_MODULES=yes ~~ So basically, the modules are not built :) So I guess that I cannot use acceptfilter with PAE The problem is that apache keeps on asking for the file so I have warning everytime I start apache... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP detection
Skylar Thompson wrote: Jordi Carrillo wrote: 2006/8/30, backyard [EMAIL PROTECTED]: --- Jordi Carrillo [EMAIL PROTECTED] wrote: I've read that SMP should be disabled for performance issues (I did not know that before installing freebsd). I have a P4 3GHz with hyperthreading technology. I have the SMP-GENERIC kernel and it only launches one cpu. So, I've decided to disable SMP from BIOS. Is that ok?, knowing that I have a Smp enabled kernel? or should I install one without smp? If so, is there a way to install one already precompiled? Thanks in advance -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] if the system runs with one cpu now and you don't enable smp with HT with the sysctl variable then you should be ok. If your not doing SMP then recompiling the kernel for single processor mode will make things run a little quicker because the SMP code won't come into play. with HT disabling in FreeBSD is more for the security issues about a potential exploit whereby one process in one pipe can access the priveledged information of a process in another pipe because the two cores share one processor cache and thus one cache table. To my knowledge this hasn't been exploited yet. If you just install the generic kernel you it should be only the uniprocessor one. I would just do a: cd /usr/src make buildworld make KERNCONF=GENERIC buildkernel make KERNCONF=GENERIC installkernel as opposed to a binary version assuming you haven't updated yet you won't have to install world but I believe it must have the build in the source tree to build a kernel. On your P4 though the difference between SMP and uniproc may not be worth the trouble because I don't think much of a gain would be made. on a P1 a much different story... if you aren't concerned with bad users or hackers hitting the box I would just enable HT with the sysctl variable. This will not make things run slower at all, just (in theory) less secure, which is why the veriable was created in the first place as I recall. If you are concerned I would wait until you update your system and then just build a GENERIC/CUSTOM kernel without the SMP option set. -brian I will disable smp from bios. If I have a smp kernel, I suppose there will be no problem after all. Would that be ok? The problem with having SMP enabled is that the smp kernel only detects one cpu and the system monitor only features one cpu as well as gkrellm (in Linux it shows two cpus). When compiling the system monitor shows the cpu at a maximum of 50%, so what's going on with the other 50%? writing machdep.hlt_logical_cpus to 2 in loader.conf does not solve anything. I believe FreeBSD uses the other logical CPU to handle hardware interrupts, which can still help perormance. You can check dmesg to see how it's actually handling it. No! Kernel threads (e.g. handling interrupts) aren't that much different to normal processes. Logical CPUs on a single HTT capable CPU share most of the CPU logic, especially all the external stuff (handling interrupts). Scheduling handling of interrupts on the secondary/logical core wouldn't probably help performance at all (if that is at all possible). When FreeBSD sees logical CPUs it means HTT is either enabled in BIOS or that disabling HTT in BIOS does not hide the CPUs to FreeBSD (bug in BIOS/FreeBSD). Until you enable scheduler to schedule tasks to HTT cores (with machdep.hyperthreading_allowed=1 in loader.conf) (disabled by default due to mentioned security/performance reasons) machine won't utilize the logical HTT CPUs. Therefore total CPU utilization won't be more than 50%, because there are the (unused) logical CPUs which don't get scheduled tasks. As far as know - trying to use HTT normally hurts performance and only a very special load on a machine can show increase in overall performance. Newer Intel CPUs have better HTT (probably meaning less sharing of stuff among the HTT cores - towards current trend - multi-core) and there they say it performs quite good with real world load to handle the logical cores as separate CPUs. Of course (if you built purpose built appliance) you can squeeze more from the HW when you exactly know what you need to do - you have some task(s) which do the data analysis and kernel threads which do the interrupt processing/data shifting) - than effectively using HTT might be possible (I have never heard of anyone effectively using HTT). Newest Intel CPUs don't bother with HTT - they are multicore - close to nothing is shared among (logical) CPUs. You would see each of these CPUs as a CPU in FreeBSD and they will get scheduled tasks to finish. Michal
Re: SMP detection
Michal Mertl wrote: No! Kernel threads (e.g. handling interrupts) aren't that much different to normal processes. Logical CPUs on a single HTT capable CPU share most of the CPU logic, especially all the external stuff (handling interrupts). Scheduling handling of interrupts on the secondary/logical core wouldn't probably help performance at all (if that is at all possible). Could you clarify note 20031022 in /usr/src/UPDATING? It states that HTT CPUs are used for interrupts if they are detected, even if they aren't used by regular processes. Was this something that just showed up in pre-6.x releases? -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ signature.asc Description: OpenPGP digital signature
Re: Customized Install CD
Cody Holland wrote: I'm looking at trying to build my own customized FreeBSD install CD. The purpose of this is to be able to install FreeBSD with customized kernel, certain packages installed and some added scripts of my own. Being that I have no idea how to do this I have two questions. 1. Is this feasible? 2. Is there some good literature regarding this on the internet that you recommend? Any information would be greatly appreciated! Hi, This might put you on the right track: man release(7) http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-build.html Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: linux-firefox
On Wed, 30 Aug 2006 17:59:17 -0400 Pete C [EMAIL PROTECTED] wrote: did a 'make install' for linux-firefox I got an error that libXfixes.so.3 (as part of linux-glib2, IIRC) could not be found . . . after some googling and a few bad leads for some reason I did another make install and got no errors . . . but now linux-firefox won't run because libXfixes.so.3 is missing . . . What linux- packages have you installed? $ pkg_info | grep linux linux-XFree86-libs-4.3.99.902_7 XFree86 libraries, Linux binary linux-atk-1.9.1 Accessibility Toolkit, Linux/i386 binary linux-blackdown-jdk-1.4.2_3 Blackdown Java Development Kit 1.4 for Linux linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library linux-firefox-1.5.0.6 Web browser based on the browser portion of Mozilla linux-flashplugin-7.0r63_1 Adobe Flash Player NPAPI Plugin linux-fontconfig-2.2.3_5 Linux/i386 binary of Fontconfig linux-glib2-2.6.6 Version 2.X Linux/i386 binary port of GLib linux-gtk2-2.6.10 GTK+ library, version 2.X, Linux binary linux-hicolor-icon-theme-0.5 A high-color icon theme shell from the FreeDesktproject linux-jpeg-6b.34RPM of the JPEG lib linux-mplayerplug-in-3.25 Embed MPlayer into browser linux-pango-1.8.1 Linux pango binary linux-png-1.2.8_2 RPM of the PNG lib linux-realplayer-10.0.7.785.20060201 Linux RealPlayer 10 from RealNetworks linux-tiff-3.7.1TIFF library, Linux/i386 binary linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries linux_base-fc-4_8 Base set of packages needed in Linux mode (for i386/amd64) linux_dri-6.5 Binary Linux DRI libraries for 3D hardware acceleration of linuxpluginwrapper-20051113_4 A wrapper allowing use of linux-plugins with native applica and: $ locate libXfixes /usr/X11R6/lib/libXfixes.a /usr/X11R6/lib/libXfixes.so /usr/X11R6/lib/libXfixes.so.3 /usr/compat/linux/usr/X11R6/lib/libXfixes.so.3 /usr/compat/linux/usr/X11R6/lib/libXfixes.so.3.0 /usr/ports/x11/libXfixes /usr/ports/x11/libXfixes/Makefile /usr/ports/x11/libXfixes/distinfo /usr/ports/x11/libXfixes/pkg-descr /usr/ports/x11/libXfixes/pkg-plist _ {Beto|Norberto|Numard} Meijome The greater danger for most of us is not that our aim is too high and we miss it. But that it is too low... and we reach it. Michelangelo (1475-1564) I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: linux-firefox
On Wed, 30 Aug 2006 21:18:49 -0400 Pete C [EMAIL PROTECTED] wrote: On Wed, 30 Aug 2006 17:59:17 -0400 Pete C [EMAIL PROTECTED] wrote: did a 'make install' for linux-firefox I got an error that libXfixes.so.3 (as part of linux-glib2, IIRC) could not be found . . . after some googling and a few bad leads for some reason I did another make install and got no errors . . . but now linux-firefox won't run because libXfixes.so.3 is missing . . . What linux- packages have you installed? I get . . . [jaguar] ~# pkg_info | grep linux linux-XFree86-libs-4.3.99.902_7 XFree86 libraries, Linux binary linux-atk-1.9.1 Accessibility Toolkit, Linux/i386 binary linux-expat-1.95.7 Linux/i386 binary port of Expat XML-parsing library linux-firefox-1.5.0.6 Web browser based on the browser portion of Mozilla linux-fontconfig-2.2.3_2 Linux/i386 binary of Fontconfig linux-glib2-2.6.6 Version 2.X Linux/i386 binary port of GLib linux-hicolor-icon-theme-0.5 A high-color icon theme shell from the FreeDesktop project linux-jpeg-6b.34RPM of the JPEG lib linux-pango-1.8.1 Linux pango binary linux-png-1.2.8_2 RPM of the PNG lib linux-sun-jdk-1.4.2.10 Sun Java Development Kit 1.4 for Linux linux-tiff-3.7.1TIFF library, Linux/i386 binary linux_base-8-8.0_14 Base set of packages needed in Linux mode (for i386/amd64) linux_base-fc-4_8 Base set of packages needed in Linux mode (for i386/amd64) why do u have 2 _base ? u only need -fc (_base-8 is outdated) and: $ locate libXfixes [jaguar] ~# locate libXfixes /usr/X11R6/lib/libXfixes.a /usr/X11R6/lib/libXfixes.so /usr/X11R6/lib/libXfixes.so.3 /usr/ports/x11/libXfixes /usr/ports/x11/libXfixes/Makefile /usr/ports/x11/libXfixes/distinfo /usr/ports/x11/libXfixes/pkg-descr /usr/ports/x11/libXfixes/pkg-plist Pete C that' very strange... my linux libXfixes is /usr/compat/linux/usr/X11R6/lib/libXfixes.so.3 - libXfixes.so.3.0 but neither of them is owned by any pkg (pkg_info -W ... shows zilch) pkg_info -L linux-XFree* doesnt show them either... sorry, cant look much more into this now... this thing called 'work' keeps nagging ;) B _ {Beto|Norberto|Numard} Meijome I was born not knowing and have had only a little time to change that here and there. Richard Feynman I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
not adding daemons to rc.conf
ive noticed that apache can be started manually using the apachectl tool, even if it is not enabled in /etc/rc.conf. do many other daemons have this ability? i have a dev server that i would like to not have many things enabled in the rc.conf, but i would like an easy way to just start specific daemons when i need. thanks, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: not adding daemons to rc.conf
Jonathan Horne wrote: ive noticed that apache can be started manually using the apachectl tool, even if it is not enabled in /etc/rc.conf. do many other daemons have this ability? i have a dev server that i would like to not have many things enabled in the rc.conf, but i would like an easy way to just start specific daemons when i need. Take a look at /usr/local/etc/rc.d You will see several scripts belonging to server applications you installed. Each one of these scripts can start or stop the service. For example: /usr/local/etc/rc.d/apache.sh start /usr/local/etc/rc.d/apache.sh stop When you put something into rc.conf it is actually this script that is executed, so every daemon that can be enabled in rc.conf can also be started/stopped using those scripts. Daemons coming with the base system have there scripts in the /etc/rc.d directory. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: not adding daemons to rc.conf
On Wed, Aug 30, 2006 at 08:47:06PM -0500, Jonathan Horne wrote: ive noticed that apache can be started manually using the apachectl tool, even if it is not enabled in /etc/rc.conf. do many other daemons have this ability? i have a dev server that i would like to not have many things enabled in the rc.conf, but i would like an easy way to just start specific daemons when i need. Why, yes. There's nothing magical about the rc mechanisms, and you are free to start daemons on your own. Be warned that there may be side effects with some daemons, being that they are not started the same way regarding login class or whatnot. But normally this won't be a problem. -- Darrin Chandler| Phoenix BSD Users Group [EMAIL PROTECTED] | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BSDstats: Looking for OpenBSD / NetBSD users ...
I hate to admit that I've lost email, but I had one OpenBSD/FreeBSD user that was trying to help me get it working there ... but I lost his email ... so, please email me again :( And, I'd like to find a NetBSD user that is willing to help debug/tweak it over there, if there are any laying about here? I don't have either systems, so can't do my own testing :( Thx .. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: php5/mysql5
Production server is running apache13/php4/mysql4. Have fresh 6.1 install on workbench PC. Workbench PC is being used to build apache13/php5/mysql51 environment for working php web application writing and reading mysql database. Installed mysql51-server then php5 and made sure make config had apache support. When I executed the web application I get Fatal error: Call to undefined function mysql_pconnect() in /usr/local/www/mls/signup.php on line 348. Is there some other port now required to get php to talk to mysql??? databases/php5-mysql -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 5:54 PM To: fbsd Cc: [EMAIL PROTECTED] ORG Subject: Re: php5/mysql5 That was the correct solution. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AMD64 make buildworld failure
On Fri, Aug 25, 2006 at 08:26:54PM -0400, stan wrote: I'm trying to do a buildworld (AMD64) on a Sum Ultra 40, but it's failing like this: cc -O2 -fno-strict-aliasing -pipe -DRRESTORE -DRESCUE -c /usr/src/sbin/restore /restore.c cc -O2 -fno-strict-aliasing -pipe -DRRESTORE -DRESCUE -c /usr/src/sbin/restore /dirs.c /usr/src/sbin/restore/dirs.c: In function `extractdirs': /usr/src/sbin/restore/dirs.c:192: internal compiler error: Segmentation fault: 1 1 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 Stop in /usr/src/sbin/restore. *** Error code 1 Stop in /usr/obj/usr/src/rescue/rescue. *** Error code 1 This is installed from the 6.1 Release CD, and then cvsup'd Can anyone tell me where I should start looking. That URL, or the FreeBSD FAQ. Kris pgpwSZkdw3gvv.pgp Description: PGP signature
Re: not adding daemons to rc.conf
Darrin Chandler writes: On Wed, Aug 30, 2006 at 08:47:06PM -0500, Jonathan Horne wrote: ive noticed that apache can be started manually using the apachectl tool, even if it is not enabled in /etc/rc.conf. do many other daemons have this ability? i have a dev server that i would like to not have many things enabled in the rc.conf, but i would like an easy way to just start specific daemons when i need. Why, yes. There's nothing magical about the rc mechanisms, and you are free to start daemons on your own. Be warned that there may be side effects with some daemons, being that they are not started the same way regarding login class or whatnot. But normally this won't be a problem. The cool thing about using a properly designed script is it will be aware of all the things which need to be started first and try to start them is they aren't already running. For a hard-core development server maybe this doesn't matter ... but the closer one gets to a production environment, the more useful it tends to become. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]