Re: nvidia-driver weirdness
On Wed, Nov 30, 2005 at 03:01:34PM -0800, Remington L wrote: Spoke to soon, it still crashing... Sorry to hear that. Did you ever try out the Nvidia Linux driver forum? Despite its name it also applies to FreeBSD. You can find a link to it from the Nvidia drivers download page, IIRC. There you will find discussions about all kinds of problems related to nvidia drivers on Linux/FreeBSD, and even nvidia people read that forum. HTH, Christopher On 11/29/05, Remington [EMAIL PROTECTED] wrote: NvAGP 0 is running solid, dont know what it is... has to be the nvidia driver On Tue, 2005-11-29 at 08:26 +0100, Christopher Illies wrote: On Mon, Nov 28, 2005 at 02:01:02PM -0800, Remington L wrote: This is a fresh install as of three days ago. I can try NvAGP 0 but what point would that do if it disables AGP? Well, in my case it did solve the problem of xorg locking up. It is something you can try out, maybe it works, maybe it doesn't. The card still works with AGP disabled, only a bit slower, but ... it works and does not lock up anymore. I don't know much about hardware, but I guess there some problem with Nvidia working together with certain AGP chipsets on FreeBSD/Linux, but not on Windows. Strange Anyway, your problem might be the same, might be diffenrent, disabling AGP might help, or it might not, just try it out. I would be interested to hear whether it worked, though. Christopher On 11/28/05, Louis LeBlanc [EMAIL PROTECTED] wrote: On 11/27/05 10:37 PM, Remington sat at the `puter and typed: FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Sat Nov 26 23:19:14 PST 2005 root@:/usr/obj/usr/src/sys/MACHINE i386 nvidia-driver-1.0.7676_1 All ports current as of a few hours ago. No special make flags. Im sure this is a repeat post or I'm missing something stupid. Xorg keeps randlonly locking and hard rebooting my machine when the nvidia xorg driver is loaded. It can keep running for a few minutes, or take a few hours before the lockup can occur. I have commented out device agp out of my kernel config, and likewise kept it in there, both with no luck. I've also tried NvAGP set to both 1, and 2 with no luck Driver nvidia VendorName NVIDIA BoardName Geforce 6800 GT Option NvAGP 2 BusID PCI:1:0:0 Any assitance would be great, after an extensive google search I got nothing. Is this an upgrade, or a new install of 6.0? Many of the threads I've read regarding the Nvidia driver with 6.0 suggested that the Nvidia driver be rebuilt after the 6.0 upgrade. In fact, I believe rebuilding all ports was recommended, which is why I've decided to invest in a second hard drive to do a new install. I don't know if it will help, but my own config is pretty much the same - with a couple extras to omit the logo splash, accelerate rendering, etc. Of course, I'm still running 5.4. Try rebuilding the driver from ports - that's probably your best bet. HTH Lou -- Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Nusbaum's Rule: The more pretentious the corporate name, the smaller the organization. (For instance, the Murphy Center for the Codification of Human and Organizational Law, contrasted to IBM, GM, and ATT.) -- -- -- Dr. Christopher Illies Karolinska Intitute Rolf Luft Center for Diabetes Research Department of Molecular Medicine L3 Karolinska Hospital S-171 76 Stockholm Sweden Tel +46 (0)8 517 76549 (lab) Fax +46 (0)8 517 79450 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Update 5.4 - 6.0
Odhiambo Washington wrote: It's my suspicion that updating 5.4 to 6.0 via CVSup leaves alot of old libraries in place. Is this anywhere near correct? I updated my system recently thus, using the steps in /usr/src/UPDATING, but now when updating the ports (I am yet to try out portupgrade -a), I see such output as: /usr/bin/ld: warning: libcrypt.so.2, needed by /usr/local/lib/mysql/libmysqlclient.so, may conflict with libcrypt.so.3 /usr/bin/ld: warning: libz.so.2, needed by /usr/local/lib/mysql/libmysqlclient.so, may conflict with libz.so.3 /usr/bin/ld: warning: libc.so.5, needed by /usr/local/lib/libsasl2.so.2, may conflict with libc.so.6 What does these suggest? Is there an easy way to fix them? Yes. You need to run: portupgrade -fa ie. recompile all of your installed software, so that it links against the up to date system libraries. Software compiled under 5.x will almost definitely still run perfectly well when the box is upgraded to 6.0, but as soon as you start installing new software or upgrading some packages you'll start running into library version conflicts. Re-installing wholesale will prevent that. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk problem
Hi, I had same problem while I installed FreeBSD5.4 on my machine. Ata devices may behave erratically, particularly SATA devices. Reported symptoms include command timeouts or missing interrupts. First, Install FreeBSD using safe mode. And than, Disable ACPI and APIC using the ``safe mode'' of the bootloader. hint.acpi.0.disabled=1 hint.apic.0.disabled=1 If avaible, use the host's BIOS setup optios to put the ATA controller in its 'legacy mode'. Ahmet F.L At 01:28 AM 11/30/2005, Yavuz Maslak wrote: Hello I wanted to install freeBSD6.0 on my machine. formerly windows2000 was running on it. But I could not install freebsd. Because it gave an error about harddisk. My harddisk is Western Digital WD400 40Gbyte capacity. I got the error message on the screen as below ATA0_MASTER : FAILURE - ATA_IDENTIFY TIME OUT What shall I do ? Is your drive jumpered correctly? You will get that error if you have a drive jumpered as slave when there is no master. -Glenn ___ 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: FreeBSD telnetd and Microsoft Internet Explorer
Am Donnerstag, 1. Dezember 2005 06:37 schrieb Peter Clutton: 8 ... funny things... 8 Thanks for your off-topic message... You helped very well to solve a problem. :-( Now everybody knows where the problem is, or not? There are many ftp-sites where IE can access them without problems. But not ftpd from FreeBSD 5.4 in this special case... Question again, why? Is that a special problem oft ftpd? I think it seems to be an IE-problem, but what is happening between IE and ftpd causing this problem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB DataTraveller works but.
Rowdy wrote: Wojciech Puchar wrote: with lot of errors after i umount'ed dos filesystem Nov 29 12:00:35 chylonia kernel: umass1: Phase Error, residue = 0 Nov 29 12:00:35 chylonia kernel: (da4:umass-sim1:1:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 Nov 29 12:00:35 chylonia kernel: umass1: Phase Error, residue = 0 Nov 29 12:00:35 chylonia kernel: sio4: 8 more silo overflows (total 50) Nov 29 12:00:35 chylonia kernel: (da4:umass-sim1:1:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 Nov 29 12:00:35 chylonia kernel: umass1: Phase Error, residue = 0 Nov 29 12:00:35 chylonia kernel: (da4:umass-sim1:1:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 [EMAIL PROTECTED] Nov 29 12:00:35 chylonia kernel: umass1: Phase Error, residue = 0 Nov 29 12:00:35 chylonia kernel: (da4:umass-sim1:1:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 I have had similar problems, and a quick search revealed this: http://lists.freebsd.org/pipermail/freebsd-bugs/2005-November/015744.html That suggests to make a small change to scsi_da.c (in /usr/src/sys/cam/scsi) and presumably recompile the kernel. I have not tried thisat yet (still trying to schedule an upgrade to 6.0 - I intend to patch the file and recompile as part of the upgrade), but there are several references I found to suggest that it should work. Rowdy Before upgrading to 6.0 I patched scsi_da.c as described in the above link. After everything settled down after the upgrade I plugged in the DataTraveler, and: Dec 1 20:54:28 khaki kernel: umass0: vendor 0x0930 DataTraveler 2.0, rev 2.00/1.00, addr 2 Dec 1 20:54:30 khaki kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Dec 1 20:54:30 khaki kernel: da0: Kingston DataTraveler 2.0 1.04 Removable Direct Access SCSI-0 device Dec 1 20:54:30 khaki kernel: da0: 1.000MB/s transfers Dec 1 20:54:30 khaki kernel: da0: 244MB (499712 512 byte sectors: 64H 32S/T 244C) At this point I was able to mount it and manipulate files. Then I dismounted and unplugged the device, and: Dec 1 21:00:45 khaki kernel: umass0: at uhub0 port 2 (addr 2) disconnected Dec 1 21:00:45 khaki kernel: (da0:umass-sim0:0:0:0): lost device Dec 1 21:00:45 khaki kernel: (da0:umass-sim0:0:0:0): removing device entry Dec 1 21:00:45 khaki kernel: umass0: detached No sign of any errors anywhere :) Rowdy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB DataTraveller works but.
Dec 1 21:00:45 khaki kernel: (da0:umass-sim0:0:0:0): lost device Dec 1 21:00:45 khaki kernel: (da0:umass-sim0:0:0:0): removing device entry Dec 1 21:00:45 khaki kernel: umass0: detached No sign of any errors anywhere :) Rowdy thank you. so nothing is really wrong except FreeBSD tries to send command that doesn't exist for umass drives. anyway all data is OK, so i've just ignored it. but i wanted to be sure ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem with firefox 1.5 port at 6.0
Hello I've compiled and install the 1.5 firefox version this morning and I have some trouble starting it, see below the error message . firefox /libexec/ld-elf.so.1: /usr/X11R6/lib/firefox/components/libxremote_client.so: Undefined symbol_Z20NS_NewGenericModule2P12nsModuleInfoPP9nsIModule -- Cordialement Frank Bonnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD DVD
run bootonly CD and write down the messages OK? That would be great, thanks! so here is. i chose master FTP site, and http proxy and of course IP,gateway and DNS (IPv4) at beginning of OS install it shows Checking access to ftp://ftp.freebsd.org/some_directory; 6 or 7 times with different directories. on debug console there is Zero length name or value passed to variable_set2(httpFtpMode) two times for each directory checked. after this normal installation begins and goes smoothly. and that will be OK, but when things comes to installing from ports collection it does that things for EVERY port fetched, and it takes more time to do this checking access than to actually fetch file. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to enable NCQ?
I believe the Raptor series is the only SATA version with NCQ. NForce 4 Ultra and certain high end raid controllers support it. a bit not understanding! does NCQ require some special hardware on motherboard?! isn't that just serial ATA? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem updating mozilla
When attempting to update mozilla I get the following error nd === mozilla-1.7.12_3,2 depends on executable: pkg-config - found === mozilla-1.7.12_3,2 depends on shared library: jpeg.9 - found === mozilla-1.7.12_3,2 depends on shared library: png.5 - found === mozilla-1.7.12_3,2 depends on shared library: nspr4 - found === mozilla-1.7.12_3,2 depends on shared library: nss3 - not found ===Verifying install for nss3 in /usr/ports/security/nss === Patching for nss-3.10 === nss-3.10 depends on file: /usr/local/bin/perl5.8.7 - found === Applying FreeBSD patches for nss-3.10 patch: can't cd to /usr/ports/security/nss/work/nss-3.10/mozilla/security/nss: No such file or directory = Patch patch-..::coreconf::FreeBSD.mk failed to apply cleanly. *** Error code 1 Stop in /usr/ports/security/nss. *** Error code 1 Stop in /usr/ports/www/mozilla any help appreciated sincerely Filippo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts
On Wed, 30 Nov 2005 12:26:43 +0100 Stevan Tiefert [EMAIL PROTECTED] wrote: Anirban Adhikary schrieb: Hi this is Anirban. I have to write a shell script that will take the tar back-up of a directory (named anirban)on a dialy basis Hope i will receive the ans soon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Use this script: #!/bin/sh echo Do it yourself! you will prob get a better answer if you try then ask questions when it goes wrong -- Why my wife is happy when I do a make buildkernel and a make installkernel? I have then a lot of time to do my housework :-( ___ 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: _dhcp user problems
On Nov 30, 2005, at 11:42 PM, N. Raghavendra wrote: At 2005-11-30T21:28:40-05:00, Anthony M. Agelastos wrote: Out of curiosity, to make sure nothing else is non-optimal, what other user accounts were added from 5.4 to 6.0? I cannot recall, did not save anything from 5.4, and never saw anything related to this on any of the documentation on the website. I only knew to do this for DHCP because I strictly followed the Handbook in updating and diff'd the master.passwd files and figured things out for myself. Did you `mergemaster -p' before building world? I did that when I upgraded from 5.4-STABLE to 6.0-STABLE, and noticed that it added the `_dhcp' record to `/etc/passwd' and `/etc/group', and did `pwd_mkdb' as well. As far as I remember, those were the only changes made by `mergemaster -p'. Hello and thank you for the reply. Yes, I did run mergemaster -p prior to building world. Perhaps when it showed me the diffs and asked me what to do, that is what prompted me to add the user myself so I knew that all of my custom users and groups would be saved. I assume you opted for the choice of merging the two files? Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | See message headers for contact Harish-Chandra Research Institute | and OpenPGP details. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD DVD - question 2
what tools do you use making FreeBSD packages CD? i mean tool that will split all of them to many CD's or DVD's and make all INDEX files just right. amd64 packages directory takes about 7.5GB, which are two DVD's. at worst case i may write dual-layer DVD, will fit all of it, but quite expensive. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD telnetd and Microsoft Internet Explorer
On 2005-12-01 09:51, Stevan Tiefert [EMAIL PROTECTED] wrote: Am Donnerstag, 1. Dezember 2005 06:37 schrieb Peter Clutton: 8 ... funny things... 8 Thanks for your off-topic message... You helped very well to solve a problem. :-( Now everybody knows where the problem is, or not? There are many ftp-sites where IE can access them without problems. But not ftpd from FreeBSD 5.4 in this special case... In a way, you could say that it's the FTP server's fault, but only if you have very good reasons to support that IE's ftp client mode is perfectly fine (which it isn't, but this is my personal opinion, of course). Question again, why? Because the parsing of FTP server's output for dir commands, that show the listing of files in a directory, is implemented entirely on the client side, and in this case it's horribly broken. Is that a special problem oft ftpd? No. I've wasted many hours trying to access FTP sites that don't run FreeBSD too, when I was forced to use IE as my interface. I think it seems to be an IE-problem, but what is happening between IE and ftpd causing this problem? 1. IE's ftp-client asks for a directory listing. 2. The ftp server provides one. 3. IE's ftp-client side tries to parse the listing. 4. It fails. As you said... it's an IE problem :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: _dhcp user problems
At 2005-12-01T06:04:31-05:00, Anthony M. Agelastos wrote: Yes, I did run mergemaster -p prior to building world. Perhaps when it showed me the diffs and asked me what to do, that is what prompted me to add the user myself so I knew that all of my custom users and groups would be saved. I assume you opted for the choice of merging the two files? Yes, I used the merging feature of `mergemaster'. Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | See message headers for contact Harish-Chandra Research Institute | and OpenPGP details. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD telnetd and Microsoft Internet Explorer
On 12/1/05, Stevan Tiefert [EMAIL PROTECTED] wrote: Am Donnerstag, 1. Dezember 2005 06:37 schrieb Peter Clutton: Thanks for your off-topic message... You helped very well to solve a problem. :-( Well actually I did help solve the problem, because the problem is most likely your client. It is impossible for anyone to look at what else could be causing problems, when your particular client in known to have very major problems. It's not that it's windows, we help here alot to connect the two, but the ftp client in particular, just plain out doesn't work. There are many ftp-sites where IE can access them without problems. I beg to differ, and so would anybody else who uses ftp on a regular basis. Do what i did today on my Win2k machine with IE and firefox and go to the site http://www.ftp-sites.org/ Find a locale near you, and go down the first 20 (or 100 if you have time) on the list and tell me how many work with IE and how many with Firefox. I got a 20 - 0 in favor of Firefox. In all cases i had to ctr-alt-del the IE because it failed. I mean it just isn't normal or acceptable for software to completely crash that often. Here's another one i had to ctl-alt-del for IE: ftp://ftp.windows.com . Works great out of Firefox! Pretty funny really. The point is you are asking us in our free time to chase a wild goose, because you're using a known broken ftp implementation. Someone might be more inclined if you suggested just about any other ftp client. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FREE OS
hi FreeBSD, Hi My Names Mr Marc Harry Charles Corn, I am The CEO of _www.skyline2.co.uk_ (http://www.skyline2.co.uk) i am e-mailing you on consern to your free OS um i want to develop an OS aswell are you able to give me instructions on how to start an OS or even join Forces to make an OS meny thanks from the Skyline2 Team ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to enable NCQ?
Wojciech Puchar schrieb: a bit not understanding! does NCQ require some special hardware on motherboard?! isn't that just serial ATA? NCQ is part of the SATA II specification and doesn't work with ATA controllers that can only deal with SATA devices of the first generation. Björn ___ 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 firefox 1.5 port at 6.0
Frank Bonnet wrote: Hello I've compiled and install the 1.5 firefox version this morning and I have some trouble starting it, see below the error message . firefox /libexec/ld-elf.so.1: /usr/X11R6/lib/firefox/components/libxremote_client.so: Undefined symbol_Z20NS_NewGenericModule2P12nsModuleInfoPP9nsIModule apparently make deinstall + make reinstall solved the problem some mismatches with previous intalled version (1.0.7) probabely apologize for noise ! -- Cordialement Frank Bonnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FREE OS
On Dec 1, 2005, at 4:57 AM, [EMAIL PROTECTED] wrote: hi FreeBSD, Hi My Names Mr Marc Harry Charles Corn, I am The CEO of _www.skyline2.co.uk_ (http://www.skyline2.co.uk) i am e-mailing you on consern to your free OS um i want to develop an OS aswell are you able to give me instructions on how to start an OS or even join Forces to make an OS meny thanks from the Skyline2 Team You might want to start by working on the image your web site projects of your group. The spelling errors make it look atrocious, and consequently, not many people would probably take you seriously after seeing it. Are you an actual company, or some kids doing this as a hobby, or...? If you're not an actual incorporated company, I don't know if you'd want to use the term CEO. If you're interested in creating a free operating system, a common response you'll probably get is to just download the source code and look at it yourselves; I'd not necessarily recommend this though, since if you're just starting such a project the source to FreeBSD or the Linux kernel may be a bit daunting. For learning how the best way to start may be to look through the Minix source code. There are some books available through Barnes and Noble and Amazon that may help; there are books on the Linux and FreeBSD kernels, and there are Tanenbaum's books on programming operating systems. There's also an old book floating around with a title similar to Create Your Own 32 Bit Operating System that I'm sure someone else could help clarify on the list. Actually, the BEST way to start is to sit down and actually write out your goals and aims for the particular OS (real time? Just something that boots? Will it be multiuser? Networking? etc.) before even starting the programming tasks. Then you can google for hobby operating systems to see what other people are doing, or maybe join other projects developer teams to see how they run things. -Bart ___ 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 burning CD-DAs
Stevan Tiefert [EMAIL PROTECTED] wrote: Fabian Keil schrieb: Stevan Tiefert [EMAIL PROTECTED] wrote: Fabian Keil schrieb: Stevan Tiefert [EMAIL PROTECTED] wrote: I can rip without problems a CD-DA to a wav-file (cdda2wav). I played this file in a wav-player without problems. When I burn these wav-files with cdrecord to a CD-R and then play this CD-R on a CD-Player I hear the songs but with a disturbing rushing! No klicks! I hear the song with a rush like a storm! All Audio-Tracks, the whole CD, rushing! Did you check with readcd -c2scan if the burned disc is c2 error free? If you rip the burned disc with cdda2wav -paranoia, do you get any suspicious error messages? Do the ripped wavs still have the problems you described? When I run: readcd dev=3,0,0 -c2scan it finish his work without hard read errors. It should finish without any errors. With: cdda2wav -v255 -D3,0,0 -B -Owav -paranoia I got 60 % korrekt read *.wav-files the others have minor problems, rereads and so on... That is bad as well. When I cdrecord the ONLY GOOD *.wav-files I got the same effect like before! I hear together with my songs a storm!!! It seems to be only the write process is not correct working! Please post the output of cdrecord dev=3,0,0 -atip, and the last four lines of the c2scan. Second, the output of cdrecord -atip dev=1,0,0: Cdrecord-Clone 2.01 (i386-unknown-freebsd5.4) Copyright (C) 1995-2004 Jörg Schilling scsidev: ´1,0,0´ scsibus: 1 target: 0 lun: 0 Using libscg version ´schily-0.8´. Device type: Removable CD-ROM Version: 0 Response Format: 1 Vendor_info: ´LG ´ Identifikation: ´CD-RW CED-8080B ´ Revision: ´1.06´ [...] Manufacturer: CMC Magnetics Corporation Third, the output of readcd dev=1,0,0 -c2scan: Read speed: 5645 kB/s (CD 32x, DVD 4x). Write speed: 1411 kB/s (CD 8x, DVD 1x). Capacity: 198010 Blocks = 396020 kBytes = 386 MBytes = 405 prMB Sectorsize: 2048 Bytes Copy from SCSI (1,0,0) disk to file ´/dev/null´ end: 198010 addr: 198010 cnt: 10 Time total: 225.993sec Read 511654.75 kB at 2264.0 kB/sec. Total of 0 hard read errors. C2 errors total: 0 bytes in 0 sectors on disk C2 errors rate: 0.00% C2 errors on worst sector: 0, sectors with 100+ C2 errors: 0 If you try cdda2wav -B dev=1,0,0 -paranoia, do you get as bad results as with 3,0,0? What is the result of readcd dev=3,0,0 -c2scan? Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
problem booting FreeBSD 6.0 on IBM Blade
Hi I'm having a problem installing freebsd on an ibm blade the problem I face is that during boot, it always stops in OK prompt with the message can't load 'kernel' CD Loder 1.2 Building the boot loader arguments Looking up /BOOT/LOADER... Found Relocating the loader and the BTX Starting the BTX loader BTX loader 1.00 BTX version is 1.01 Consoles: internal video/keyboard BIOS drive A: is disk0 BIOS drive C: is disk1 BIOS 630kB/2620340kB available memory FreeBSD/i386 bootstrap loader , Revision 1.1 ([EMAIL PROTECTED], Thu Nov 3 07:33:10 UTC 2005) \ can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed.. can anyone point me out... it seems that when I try type in load /boot/kernel/kernel I get ? instead of / kveðja Gestur ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading to 60 question.
On Tuesday 29 November 2005 20:52, Vizion wrote: On Tuesday 29 November 2005 12:02, the author RW contributed to the dialogue on- Re: Upgrading to 60 question.: On Tuesday 29 November 2005 18:53, Vizion wrote: On Tuesday 29 November 2005 07:16, the author RW contributed to the dialogue on- Re: Upgrading to 60 question.: On Tuesday 29 November 2005 14:01, Lowell Gilbert wrote: The ports will continue to work, but you should update them when you get a chance so that they link against the 6.0 libraries instead of the old ones. One exception is nvidia-driver, you must remove the driver from loader.conf and rebuild against 6.0 before re-enabling it. Umph just checked loader.conf and the file is blank Man nv(4) refers to the nvidia driver - I am not certain where/how the driver is being loaded -- X must be using it! any ideas? nv is the open-source driver. It's nvidia's own driver (in the x11/nvidia-driver port) that's causes a problem. ___ nvidia-driver and nvidia-setting are in /dev but I do not know where they are loaded from! Don't worry unless you have the x11/nvidia-driver installed and nvidia_load=YES in loader.conf. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk problem
Hello I applied your advice. The problem was solved. Thank you very much Also I saw your the site. it is a very good page. - Original Message - From: Ahmet Bulut [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Thursday, December 01, 2005 10:36 AM Subject: Re: disk problem Hi, I had same problem while I installed FreeBSD5.4 on my machine. Ata devices may behave erratically, particularly SATA devices. Reported symptoms include command timeouts or missing interrupts. First, Install FreeBSD using safe mode. And than, Disable ACPI and APIC using the ``safe mode'' of the bootloader. hint.acpi.0.disabled=1 hint.apic.0.disabled=1 If avaible, use the host's BIOS setup optios to put the ATA controller in its 'legacy mode'. Ahmet F.L At 01:28 AM 11/30/2005, Yavuz Maslak wrote: Hello I wanted to install freeBSD6.0 on my machine. formerly windows2000 was running on it. But I could not install freebsd. Because it gave an error about harddisk. My harddisk is Western Digital WD400 40Gbyte capacity. I got the error message on the screen as below ATA0_MASTER : FAILURE - ATA_IDENTIFY TIME OUT What shall I do ? Is your drive jumpered correctly? You will get that error if you have a drive jumpered as slave when there is no master. -Glenn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Update: Setting up VLAN interfaces with Cisco gear... getting traffic on broadcast only...
Brian J. McGovern wrote: I hate to add to my own issue. I did some more playing and VLANs != 1 seem to work ok (typically in the 100-150 range). However, operating on VLAN 1 still seems to be an issue. VLAN 1 is the default VLAN on Cisco gear. IIRC, all ports are members of VLAN 1 until you specify otherwise. I don't know if that really explains the symptoms you're seeing, but setting VLAN = 1 for a port seems like asking for confusion. -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) gregb at scls.lib.wi.us, (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem booting FreeBSD 6.0 on IBM Blade
Gestur A. Grjetarsson wrote: Hi I'm having a problem installing freebsd on an ibm blade the problem I face is that during boot, it always stops in OK prompt with the message can't load 'kernel' [...] can anyone point me out... it seems that when I try type in load /boot/kernel/kernel I get ? instead of / Hi there - I don't think I know the answer , but I've managed to figure things out in the past by issuing 'lsdev' (no quotes) from that point and see what it says/ what devices it can see. Then you can usually change where it tries to find the kernel (passing the right path from the hardware/BIOs point of view). (and again, maybe not ;) ) hope it helps. Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Warning: E-mail viruses detected
Our virus detector has just been triggered by a message you sent:- To: [EMAIL PROTECTED] Subject: Re: Question Date: Thu Dec 1 14:48:41 2005 One or more of the attachments (my_list01.exe) are on the list of unacceptable attachments for this site and will not have been delivered. Consider renaming the files to avoid this constraint. The virus detector said this about the message: Report: Executable DOS/Windows programs are dangerous in email (my_list01.exe) -- MailScanner Email Virus Scanner www.mailscanner.info ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading to 6.0 Nvidia question
On 30 Nov Vizion wrote: On Wednesday 30 November 2005 18:19, the author Diavolo contributed to the dialogue on- Re: Upgrading to 6.0 Nvidia question: you can use the kldstat command to see whether nvidia.ko was loaded. if not,add nvidia_enable=yes to the loader.conf Thanks to you and stephen both.. I have attached the output from kldstat. I see under kernel modules: 340 pci/agp_nvidia but no nvidia.ko so am I correct in presuming that nvidia.ko is not loaded? nvidia is NOT loaded, so it's safe to upgrade. No crashes from nvidia to be expected. -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.0 +++ 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: firefox-1.0.6_5,1 upgrade fails
[EMAIL PROTECTED] writes: At 09:30 AM 11/30/2005, you wrote: [EMAIL PROTECTED] writes: At 12:09 PM 11/29/2005, you wrote: [EMAIL PROTECTED] writes: /usr/include/gssapi.h:108: error: conflicts with previous declaration `typedef struct gss_buffer_desc_struct*gss_buffer_t' /usr/local/include/gssapi/gssapi.h:127: error: declaration of `typedef int*gss_buffer_t' Ouch! You are somehow including gssapi.h from both ports and the base system. The ports one may have come from a kerberos port, but it shouldn't be getting included from there. OK... Should I just deinstall/reinstall? I'm not sure. Do you have an include path (e.g., C_INCLUDE_PATH) set in your environment? How do I set that? This is the environment I have when portupgrading with sudo: No, the idea was that you *don't* want to have it set. Which you don't. I don't think any of the other variables you listed would be relevant, but to get a complete clean environment, you could use env -i or even su -. I'm sorry, but I don't appear to be helping much here. And I am now using (and rebuilding the *latest* updates to) Firefox 1.5, so I can't easily look at the file versions from your ports tree. The only suggestions I can really offer are (1) to update your ports tree and try the latest versions, including updating the dependencies first, and (2) to remove the Kerberos ports if you don't need them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mounting a linux partition under freebsd
Hello I can't mount a linux partition under freebsd with the -t ext3fs option could someone explain me how I could mount a linux partition under freebsd? I got an other question: how could I obtain a human readable output of fdisk to know the content in terms of partition of my disk? Thx -- Powered by FreeBSD 6.O http://www.freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pear compile issue
John Pineau [EMAIL PROTECTED] writes: Im getting the following issue installing a number of pear-dependent ports, (in this instance, Horde). My memory setting in my php.ini is set to 20M, yet this does not seem to care about that. This all started right around the time the PHP 4.4.1 mod_rewrite nonsense happened. (Currently running 4.4.1_2) I think the pear ports are still undergoing a lot of development, so maybe you should communicate with the maintainers... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Pear compile issue
Yeah, I just found this page: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/89049 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lowell Gilbert Sent: Thursday, December 01, 2005 10:02 AM To: John Pineau Cc: freebsd-questions@freebsd.org Subject: Re: Pear compile issue John Pineau [EMAIL PROTECTED] writes: Im getting the following issue installing a number of pear-dependent ports, (in this instance, Horde). My memory setting in my php.ini is set to 20M, yet this does not seem to care about that. This all started right around the time the PHP 4.4.1 mod_rewrite nonsense happened. (Currently running 4.4.1_2) I think the pear ports are still undergoing a lot of development, so maybe you should communicate with the maintainers... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Waaaaay OT, sorry.
Vizion wrote: On Tuesday 29 November 2005 05:05, the author virgil huston contributed to Way OT, sorry.: Folks, This is one of my more obscure questions and involves scanning not paper but something they used to store books, magazines, and newspapers--before the computer age. It is called a microfiche (or fiche). A friend got a copy of a rare out-of-print, not-for-sale book on microfiche. We're looking for some means of scanning this film into a scanner with OCR. So far, he has tried a camera with 8G memory. No joy, the scanner sees garbage. Anybody out there ever have anything like this prob? The book is from 1913 so it is well in the public domain. I've already written Google; zero response. I want to get this book up on my site, fully HTML it so that everybody has the opportunity to ready it ... . Just check some local libraries, many of them at least at one time had readers with printers already in place. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Rebuilding a corrupt disklabel
I tried posting this 12 hours ago, but haven't seen it flow through the list... reposting with updates: One of my disks has 3 active partitions: FreeBSD 5.4-RC3, NTFS (not-bootable), and FreeBSD 6.0-RELEASE. I developed problems while installing FreeBSD 6.0. Installation went well, but when I rebooted, nothing was bootable on that disk. I verified that the boot record (using boot0) seems okay: slice table is fine (40G, 80G, 40G, and 40G unused on 200G drive). Using bsdlabel, I confirmed that slice 3 (FreeBSD 6) is fine, but for some reason I'm not concerned with now, is unbootable. PROBLEM: bsdlabel showed me that slice 1 (FreeBSD 5.4) is damaged and only partition c existed and was incorrect. I do not have cannot find a written copy of my disklabel for that disk (a good suggestion to *strongly emphasize* in the installation manual for newbies!). I did recall that ad1s1a ('/') was 512M, so I was able to write a label and mount the root partition from a Fixit shell. QUESTIONS: How can I rederive the remaining disklabel for that disk? Could a copy possibly be stored somewhere on root if I didn't do it myself when building the system? I have not tried to boot from that root partition. Trying several possible labels has resulted in incorrect super block errors for the partitions after 'a'. Random guessing will be very tedious. My research has indicated that I could binary grep the raw ad1s1c partition to locate the magic numbers for the super blocks and derive the partitions from that information. I even found a little 'c' language program Peter Dufault posted 11 years ago on this list to locate magic numbers. My hope is that in 11 years of development, FreeBSD will have created a clever tool to aid this process! I've found enough entries while searching these lists to think that the effort would be justified and much appreciated. I found the value of FS_UFS2_MAGIC = 0x19540119. I presume that's what I should search for - it's a UFS2 filesystem. Having only a Fixit shell is somewhat limiting. I tried 'grep -ab -f pat /dev/ad1s1a' on a FreeBSD 5.1 installation, but it crashed with a swap error. The 'pat' file has the 4-byte magic number. It works with a small test file I created using vi. Thanks, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting a linux partition under freebsd
Guillaume R. schrieb: I can't mount a linux partition under freebsd with the -t ext3fs option could someone explain me how I could mount a linux partition under freebsd? FreeBSD has limited support for ext2, therefore you can mount it as ext2 filesystem only. You can convert the filesystem between ext2 and ext3 without data loss by just executing fsck. Run fsck.ext2 from the e2fsprogs package first. Now you can mount it with mount_ext2fs and access data. Finally after you have unmounted it you need run fsck.ext3 to recreate the filesystem journal. I got an other question: how could I obtain a human readable output of fdisk to know the content in terms of partition of my disk? In case you get used to use linux fdisk, you might get lucky with the ncurses based program cfdisk-linux from the linuxfdisk package. ;-) Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports: JDK15
I am having all sorts of problems trying to install JDK15. I put all the files in the distfiles but now when I install: make -D WITHOUT_WEB install clean I get the following after quite a long time of compiling: ../../../src/share/classes/sun/security/jca/ProviderConfig.java:243: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning obj = cons.newInstance(new String[] { argument }); ^ ../../../src/share/classes/javax/xml/transform/TransformerException.java:329: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class for a varargs call cast to java.lang.Class[] for a non-varargs call and to suppress this warning null); ^ ../../../src/share/classes/javax/xml/transform/TransformerException.java:334: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning exception = (Throwable) meth.invoke(exception, null); ^ ../../../src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java:1186: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning return (IOException)ctr.newInstance(args); ^ ../../../src/share/classes/com/sun/jmx/mbeanserver/StandardMetaDataImpl.java:637: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning result = meth.invoke(instance,null); ^ ../../../src/share/classes/com/sun/jmx/mbeanserver/MBeanInstantiatorImpl.java:162: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning moi= cons.newInstance(null); ^ Note: * uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 21 errors 12 warnings gmake[3]: *** [.compile.classlist] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/java' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Do the actors on Unsolved Mysteries ever get arrested because they look just like the criminal they are playing? Christopher ___ 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 burning CD-DAs
Am Donnerstag, 1. Dezember 2005 14:25 schrieb Fabian Keil: Stevan Tiefert [EMAIL PROTECTED] wrote: Fabian Keil schrieb: Stevan Tiefert [EMAIL PROTECTED] wrote: Fabian Keil schrieb: Stevan Tiefert [EMAIL PROTECTED] wrote: I can rip without problems a CD-DA to a wav-file (cdda2wav). I played this file in a wav-player without problems. When I burn these wav-files with cdrecord to a CD-R and then play this CD-R on a CD-Player I hear the songs but with a disturbing rushing! No klicks! I hear the song with a rush like a storm! All Audio-Tracks, the whole CD, rushing! Did you check with readcd -c2scan if the burned disc is c2 error free? If you rip the burned disc with cdda2wav -paranoia, do you get any suspicious error messages? Do the ripped wavs still have the problems you described? When I run: readcd dev=3,0,0 -c2scan it finish his work without hard read errors. It should finish without any errors. With: cdda2wav -v255 -D3,0,0 -B -Owav -paranoia I got 60 % korrekt read *.wav-files the others have minor problems, rereads and so on... That is bad as well. When I cdrecord the ONLY GOOD *.wav-files I got the same effect like before! I hear together with my songs a storm!!! It seems to be only the write process is not correct working! Please post the output of cdrecord dev=3,0,0 -atip, and the last four lines of the c2scan. Second, the output of cdrecord -atip dev=1,0,0: Cdrecord-Clone 2.01 (i386-unknown-freebsd5.4) Copyright (C) 1995-2004 Jörg Schilling scsidev: ´1,0,0´ scsibus: 1 target: 0 lun: 0 Using libscg version ´schily-0.8´. Device type: Removable CD-ROM Version: 0 Response Format: 1 Vendor_info: ´LG ´ Identifikation: ´CD-RW CED-8080B ´ Revision: ´1.06´ [...] Manufacturer: CMC Magnetics Corporation Third, the output of readcd dev=1,0,0 -c2scan: Read speed: 5645 kB/s (CD 32x, DVD 4x). Write speed: 1411 kB/s (CD 8x, DVD 1x). Capacity: 198010 Blocks = 396020 kBytes = 386 MBytes = 405 prMB Sectorsize: 2048 Bytes Copy from SCSI (1,0,0) disk to file ´/dev/null´ end: 198010 addr: 198010 cnt: 10 Time total: 225.993sec Read 511654.75 kB at 2264.0 kB/sec. Total of 0 hard read errors. C2 errors total: 0 bytes in 0 sectors on disk C2 errors rate: 0.00% C2 errors on worst sector: 0, sectors with 100+ C2 errors: 0 If you try cdda2wav -B dev=1,0,0 -paranoia, do you get as bad results as with 3,0,0? What is the result of readcd dev=3,0,0 -c2scan? Fabian When I used dev=3,0,0 the CD-RW was connected on a PCI-EIDE-Host-Adapter. I thought that the chipset of my mainboard don't support any correct writing of CD-DAs. But the EIDE-Controller of the mainboard and the Host-Adapter do have both the same results... dev=1,0,0 is the same CD-RW connected on the mainboard. With regards Stevan ___ 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 burning CD-DAs
Stevan Tiefert [EMAIL PROTECTED] wrote: Am Donnerstag, 1. Dezember 2005 14:25 schrieb Fabian Keil: Stevan Tiefert [EMAIL PROTECTED] wrote: Fabian Keil schrieb: Stevan Tiefert [EMAIL PROTECTED] wrote: Fabian Keil schrieb: Stevan Tiefert [EMAIL PROTECTED] wrote: I can rip without problems a CD-DA to a wav-file (cdda2wav). I played this file in a wav-player without problems. When I burn these wav-files with cdrecord to a CD-R and then play this CD-R on a CD-Player I hear the songs but with a disturbing rushing! No klicks! I hear the song with a rush like a storm! All Audio-Tracks, the whole CD, rushing! Did you check with readcd -c2scan if the burned disc is c2 error free? If you rip the burned disc with cdda2wav -paranoia, do you get any suspicious error messages? Do the ripped wavs still have the problems you described? With: cdda2wav -v255 -D3,0,0 -B -Owav -paranoia I got 60 % korrekt read *.wav-files the others have minor problems, rereads and so on... Third, the output of readcd dev=1,0,0 -c2scan: Read speed: 5645 kB/s (CD 32x, DVD 4x). Write speed: 1411 kB/s (CD 8x, DVD 1x). Capacity: 198010 Blocks = 396020 kBytes = 386 MBytes = 405 prMB Sectorsize: 2048 Bytes Copy from SCSI (1,0,0) disk to file ´/dev/null´ end: 198010 addr: 198010 cnt: 10 Time total: 225.993sec Read 511654.75 kB at 2264.0 kB/sec. Total of 0 hard read errors. C2 errors total: 0 bytes in 0 sectors on disk C2 errors rate: 0.00% C2 errors on worst sector: 0, sectors with 100+ C2 errors: 0 If you try cdda2wav -B dev=1,0,0 -paranoia, do you get as bad results as with 3,0,0? What is the result of readcd dev=3,0,0 -c2scan? When I used dev=3,0,0 the CD-RW was connected on a PCI-EIDE-Host-Adapter. I thought that the chipset of my mainboard don't support any correct writing of CD-DAs. But the EIDE-Controller of the mainboard and the Host-Adapter do have both the same results... dev=1,0,0 is the same CD-RW connected on the mainboard. It is strange, that your drive can read the disc without c2 errors, but you still don't get clean results with cdda2wav. Do you have any scratched discs to try if c2 errors are reported correctly by the drive? Also please post the complete cdda2wav output. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: pf blocking nfs
On Thu, 2005-12-01 at 02:40 +0100, J65nko BSD wrote: [snip] In your original post, there was something about a short packet. I'm guessing this might screw things up. You might try adding 'scrub in all' before the filtering rules. [smip] Be careful with scrub and NFS. From http://openbsd.bay13.net/faq/pf/scrub.html One reason not to scrub on an interface is if one is passing NFS through PF. Some non-OpenBSD platforms send (and expect) strange packets -- fragmented packets with the do not fragment bit set, which are (properly) rejected by scrub. Well, it looks like scrub fixed the issue. I had originally removed the scrub in all line because i too had read in the OBSD faq that scrub might be what was messing up my nfs connection. I put it back and i'm back to my one one state tracting rule for all outbound traffic for this machine. Just so everyone can see, this is the ruleset and it's working properly: scrub in all block in log all pass quick on lo0 all pass out on fxp0 proto { tcp, udp, icmp } all keep state thanks to everyone that helped, Aaron Martinez ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting a linux partition under freebsd
Guillaume R. wrote: Hello I can't mount a linux partition under freebsd with the -t ext3fs option could someone explain me how I could mount a linux partition under freebsd? [605] Thu 01.Dec.2005 10:21:55 [EMAIL PROTECTED]/scripts] ls /sbin/mount* /sbin/mount* /sbin/mount_msdosfs* /sbin/mount_procfs* /sbin/mount_cd9660*/sbin/mount_nfs* /sbin/mount_reiserfs* /sbin/mount_devfs* /sbin/mount_nfs4* /sbin/mount_smbfs* /sbin/mount_ext2fs*/sbin/mount_ntfs* /sbin/mount_std* /sbin/mount_fdescfs* /sbin/mount_nullfs*/sbin/mount_udf* /sbin/mount_linprocfs* /sbin/mount_nwfs* /sbin/mount_umapfs* /sbin/mount_mfs* /sbin/mount_portalfs* /sbin/mount_unionfs* I suppose it's because that option doesn't exist? ;-) I'm not sure of the state of ext3 support on FreeBSD. I got an other question: how could I obtain a human readable output of fdisk to know the content in terms of partition of my disk? Have you looked at bsdlabel(8) ? HTH, Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dhclient.conf is being ignored
Hello, I'm running 6.0-STABLE and having an issue with dhclient ignoring dhclient.conf(5). On this dual-homed host, I've created dhclient.conf in it's proper location with the option modifiers I want. However, everytime dhclient negotiates a new lease, I get my ISP's values in resolv.conf(5) and not my over-rides. Here's the relevent part of rc.conf(5): # grep ifconfig /etc/rc.conf ifconfig_fxp0=DHCP ifconfig_xl0=inet 172.16.1.1 netmask 255.255.255.0 and my dhclient.conf file: # cat /etc/dhclient.conf interface fxp0 { supersede domain mydomain.com supersede domain-name-servers 172.16.1.17, 172.16.1.32; } and the last lease issued in /var/db/dhclient.leases.fxp0: lease { interface fxp0; fixed-address 10.0.0.100; option subnet-mask 255.255.252.0; option routers 10.0.0.1; option domain-name-servers 10.0.0.10; option domain-name myisp.com; option broadcast-address 255.255.255.255; option dhcp-lease-time 59594; option dhcp-message-type 5; option dhcp-server-identifier 10.42.224.1; renew 4 2005/12/1 23:29:22; rebind 5 2005/12/2 05:41:49; expire 5 2005/12/2 07:45:59; } and lastly, what I see in /etc/resolv.conf: # cat /etc/resolv.conf search myisp.com nameserver 10.0.0.10 Not sure what I'm doing wrong here. Googling provided no useful information. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dhclient.conf is being ignored
On 2005-12-01 10:48, Doug Poland [EMAIL PROTECTED] wrote: Hello, I'm running 6.0-STABLE and having an issue with dhclient ignoring dhclient.conf(5). On this dual-homed host, I've created dhclient.conf in it's proper location with the option modifiers I want. However, everytime dhclient negotiates a new lease, I get my ISP's values in resolv.conf(5) and not my over-rides. Here's the relevent part of rc.conf(5): # grep ifconfig /etc/rc.conf ifconfig_fxp0=DHCP ifconfig_xl0=inet 172.16.1.1 netmask 255.255.255.0 and my dhclient.conf file: # cat /etc/dhclient.conf interface fxp0 { supersede domain mydomain.com supersede domain-name-servers 172.16.1.17, 172.16.1.32; } You're missing a semicolon after the first supersede line: interface fxp0 { supersede domain mydomain.com; supersede domain-name-servers 172.16.1.17, 172.16.1.32; } ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help deriving a corrupted disklabel
On Wednesday 30 November 2005 09:15 pm, Doug H wrote: One of my disks has 3 active partitions: FreeBSD 5.4-RC3, NTFS (not-bootable), and FreeBSD 6.0-RELEASE. I developed problems while installing FreeBSD 6.0. Installation went as well as can be expected using sysinstall (no difficulty other than pulling packages from the CD), but when I rebooted, nothing was bootable on that disk. I verified that the boot record (using boot0) seems okay: slice table is fine (40G, 80G, 40G, and 40G unused on 200G drive). Using bsdlabel, I confirmed that slice 3 (FreeBSD 6) is fine, but for some reason I'm not concerned with now, is unbootable. PROBLEM: bsdlabel showed me that slice 1 (FreeBSD 5.4) is damaged and only partition c existed and was incorrect. I do not have / cannot find a written copy of my disklabel for that disk (a good suggestion to *strongly emphasize* in the installation manual for newbies!). I did recall that ad1s1a ('/') was 512M, so I was able to write a label and mount that partition from a Fixit shell. QUESTIONS: How can I rederive the remaining disklabel for that disk? Could a copy possibly be stored somewhere on root if I didn't do it myself when building the system? I have not tried to boot from that root partition. Trying several possible labels has resulted in incorrect super block errors for the partitions after 'a'. Random guessing will be very tedious. My research has indicated that I could binary grep the raw ad1s1c partition to locate the magic numbers for the super blocks and derive the partitions from that information. I even found a little 'c' language program Peter Dufault posted 11 years ago on this list to locate magic numbers. My hope is that in 11 years of development, FreeBSD would have created a clever tool to aid this process! I've found enough entries in these lists to think that the effort would be justified and much appreciated. If there is no tool, can someone tell me the value of FS_UFS2_MAGIC? I presume that's what I should search for - it's a UFS2 filesystem. Having only a Fixit shell is somewhat limiting. sysutils/scan_ffs I've always used it from a emergency FreeBSD diagnostic CD (custom Freesbie) and it works great. I've never been stuck with only a fixit shell though. -- Anish Mistry pgpEMb2pnEvII.pgp Description: PGP signature
Re: dhclient.conf is being ignored
On Thu, December 1, 2005 11:00, Giorgos Keramidas wrote: On 2005-12-01 10:48, Doug Poland [EMAIL PROTECTED] wrote: Hello, I'm running 6.0-STABLE and having an issue with dhclient ignoring dhclient.conf(5). On this dual-homed host, I've created dhclient.conf in it's proper location with the option modifiers I want. However, everytime dhclient negotiates a new lease, I get my ISP's values in resolv.conf(5) and not my over-rides. and my dhclient.conf file: # cat /etc/dhclient.conf interface fxp0 { supersede domain mydomain.com supersede domain-name-servers 172.16.1.17, 172.16.1.32; } You're missing a semicolon after the first supersede line: interface fxp0 { supersede domain mydomain.com; supersede domain-name-servers 172.16.1.17, 172.16.1.32; } Duh. Thanks for pointing that out Giorgos. It would be nice if dhclient informed me of the error of my ways. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dhclient.conf is being ignored
On 2005-12-01 11:24, Doug Poland [EMAIL PROTECTED] wrote: On Thu, December 1, 2005 11:00, Giorgos Keramidas wrote: On 2005-12-01 10:48, Doug Poland [EMAIL PROTECTED] wrote: Hello, I'm running 6.0-STABLE and having an issue with dhclient ignoring dhclient.conf(5). On this dual-homed host, I've created dhclient.conf in it's proper location with the option modifiers I want. However, everytime dhclient negotiates a new lease, I get my ISP's values in resolv.conf(5) and not my over-rides. and my dhclient.conf file: # cat /etc/dhclient.conf interface fxp0 { supersede domain mydomain.com supersede domain-name-servers 172.16.1.17, 172.16.1.32; } You're missing a semicolon after the first supersede line: interface fxp0 { supersede domain mydomain.com; supersede domain-name-servers 172.16.1.17, 172.16.1.32; } Duh. Thanks for pointing that out Giorgos. It would be nice if dhclient informed me of the error of my ways. That's what I'd expect too. If it doesn't, it's probably a usability bug and you should file a problem report, IMHO. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sk0: watchdog timeout
Ferdinand Haselbacher (jr.) wrote: On Tue, Nov 29, 2005 at 07:22:17PM -0500, Nicolas Blais wrote: That's great. But as I said, there's nothing I can configure on my switch's side. Anyway, you and I aren't the only ones with the same problem, under the same circonstances. My forcing of the TX/RX mode does speed up recovery, but doesn't fix the actual issue. The driver has a bug somewhere. Although I'm not talented enough in driver programming, but someone with skills could probably fix this. Maybe the driver has a bug somewhere, but i also think that this marvell chips have some design flaws, iam using one on my A8V and it 's giving me problems in WinXp (although i didn't use it for a while), Linux (seems to work better now in 2.6.14-mm1, but still connection losses) and freebsd too. I can confirm that I got pretty much the same thing happening in Windows XP Professional SP2. There was a driver update for the Marvel Yukon NIC in Windows XP sometime ago which made it even worse and made the whole machine crash under heavy load (and my Windows XP is generally rock solid). I will be installing Gentoo soon and if it's still happening there with that skge (not sure if that's what it was called) driver, then I guess it's got to be something with the hardware. It's a bit of a shame that my other on-board nvidia NIC (nforce 4 chipset) doesn't really work well with the nve driver either. Two on-board NICs and I still need to go out and buy a 'real' one ;( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: dhclient.conf is being ignored
Hello, I'm running 6.0-STABLE and having an issue with dhclient ignoring dhclient.conf(5). On this dual-homed host, I've created dhclient.conf in it's proper location with the option modifiers I want. However, everytime dhclient negotiates a new lease, I get my ISP's values in resolv.conf(5) and not my over-rides. Create the file /etc/dhclient-enter-hooks Add these lines to this file #!/bin/sh # Don't replace /etc/resolv.conf make_resolv_conf() { } Brian E. Conklin, MCP+I, MCSE Director of Information Services Mason General Hospital http://www.masongeneral.com Here's the relevent part of rc.conf(5): # grep ifconfig /etc/rc.conf ifconfig_fxp0=DHCP ifconfig_xl0=inet 172.16.1.1 netmask 255.255.255.0 and my dhclient.conf file: # cat /etc/dhclient.conf interface fxp0 { supersede domain mydomain.com supersede domain-name-servers 172.16.1.17, 172.16.1.32; } and the last lease issued in /var/db/dhclient.leases.fxp0: lease { interface fxp0; fixed-address 10.0.0.100; option subnet-mask 255.255.252.0; option routers 10.0.0.1; option domain-name-servers 10.0.0.10; option domain-name myisp.com; option broadcast-address 255.255.255.255; option dhcp-lease-time 59594; option dhcp-message-type 5; option dhcp-server-identifier 10.42.224.1; renew 4 2005/12/1 23:29:22; rebind 5 2005/12/2 05:41:49; expire 5 2005/12/2 07:45:59; } and lastly, what I see in /etc/resolv.conf: # cat /etc/resolv.conf search myisp.com nameserver 10.0.0.10 Not sure what I'm doing wrong here. Googling provided no useful information. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] = Mason General Hospital 901 Mt. View Drive PO Box 1668 Shelton, WA 98584 http://www.masongeneral.com (360) 426-1611 = This message is intended for the sole use of the individual and entity to whom it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee nor authorized to receive for the addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone this message or any information contained in the message. If you have received this message in error, please immediately notify the sender and delete the message. Replying to this message constitutes consent to electronic monitoring of this message. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't run scripts no more: permission denied
Hi, I tried to make a simple script to launch sylpheed when mailto: is clicked in firefox: sylpheed --compose $1 I put that in a plain text file, made it executable.. and nothing happened. From the command line I get permission denied when I run it. Even when I set perm to 777. Next I find that another script (which copies a bunch of config files to a safe place) also won't run anymore. It worked fine this morning. Sudo makes no difference. I've been using FreeBSD for a couple of weeks now - so please don't laugh. Just tell what I am doing wrong please. thanks, --Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't run scripts no more: permission denied
On 2005-12-01 18:59, Blue Raccoon [EMAIL PROTECTED] wrote: Hi, I tried to make a simple script to launch sylpheed when mailto: is clicked in firefox: sylpheed --compose $1 I put that in a plain text file, made it executable.. and nothing happened. From the command line I get permission denied when I run it. Even when I set perm to 777. Is the script in a directory that is already in your PATH? Where is the script and what are the _EXACT_ steps you take to run it? Next I find that another script (which copies a bunch of config files to a safe place) also won't run anymore. It worked fine this morning. Sudo makes no difference. When did those scripts run fine? What did you change since then? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't run scripts no more: permission denied
Blue Raccoon schrieb: I tried to make a simple script to launch sylpheed when mailto: is clicked in firefox: sylpheed --compose $1 I put that in a plain text file, made it executable.. and nothing happened. From the command line I get permission denied when I run it. Even when I set perm to 777. Do you try to run it with ./nameofthescript? Could it be that the filesystem where you saved your script, is mounted with the noexec flag? mount lists the flags of each mounted file system. Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: enabling audio cd sound in emu10kx driver
On stardate Mon, 28 Nov 2005, the wise Lowell Gilbert entered: Unfortunately, there is more than one chipset in different cards that are called by that name. My dmesg says: pcm0: Creative Audigy 2 (EMU10K2) port 0xee80-0xeebf irq 21 at device 4.0 on pci6 pcm0: SigmaTel STAC9721/23 AC97 Codec Does this mean it has a SigmaTel chip? The user manual only speaks of an audigy2 chip. I don't understand. Those messages certainly seem to be *recognizing* the device. SigmaTel's STA97xx's chips are designed to implement their AC97 codecs, likely your card is using the chip for this purpose. The EMU10Kx chips are mostly for wav processing. AC97 is an analog codecs, and wav processing is digital. hope this helps Jimi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: www.skyline2.co.uk
Message: 2 Date: Thu, 1 Dec 2005 04:57:52 EST From: [EMAIL PROTECTED] Subject: FREE OS To: freebsd-questions@FreeBSD.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII hi FreeBSD, Hi My Names Mr Marc Harry Charles Corn, I am The CEO of _www.skyline2.co.uk_ (http://www.skyline2.co.uk) i am e-mailing you on consern to your free OS um i want to develop an OS aswell are you able to give me instructions on how to start an OS or even join Forces to make an OS meny thanks from the Skyline2 Team It has come to my attention that the queue to join forces has yet to form. Therefore, I shall put myself forward as Head Programmer And Person Who Does Important Things With Eax and Ecx. That should bury 'em :} Regards Deej ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't run scripts no more: permission denied
On Thu, 1 Dec 2005 20:15:12 +0200 Giorgos Keramidas [EMAIL PROTECTED] wrote: When did those scripts run fine? What did you change since then? First of all I've been stupid. I used # ./ script.name when I should have used # ./script.name Apparently, this is what causes the permission denied. And I now remembered I started doing it this (wrong) way because I could not run the 'sylpheed' script. As a newbie I had doubts... maybe there should be a space?... But the 'sylpheed' script still would not run: command not found. There is only one command in the file (which works fine on the command line) and a comment: #!/bin/bash I copied the script from the web. But apparently the comment is not a comment. When I remove it the script works (not from firefox, but that's a different problem). I'll go wipe the egg off my face now. - and thanks. -- Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't run scripts no more: permission denied
On 2005-12-01 19:48, Blue Raccoon [EMAIL PROTECTED] wrote: On Thu, 1 Dec 2005 20:15:12 +0200 Giorgos Keramidas [EMAIL PROTECTED] wrote: When did those scripts run fine? What did you change since then? First of all I've been stupid. I used # ./ script.name when I should have used # ./script.name Apparently, this is what causes the permission denied. Correct. And I now remembered I started doing it this (wrong) way because I could not run the 'sylpheed' script. As a newbie I had doubts... maybe there should be a space?... No. The strange ./ string before the path of the script is just a way of telling to your shell that yes, I really mean that you have to look for the executable of this program under the current directory. So, you shouldn't use a space. But the 'sylpheed' script still would not run: command not found. There is only one command in the file (which works fine on the command line) and a comment: #!/bin/bash I copied the script from the web. There is no /bin/bash executable in FreeBSD. This is a false assumption that Linux users tend to fall for. If the script doesn't use any special, bash-specific constructs and it works fine with /bin/sh you can replace /bin/bash with /bin/sh in that line. But apparently the comment is not a comment. When I remove it the script works (not from firefox, but that's a different problem). It's not a comment. When a script starts with a line of the form: #!/some/path/to/an/intepreter/binary then FreeBSD recognizes this as a special comment and it runs the rest of the script (starting from line 2) as an interpreted script. The effect is pretty much the same as typing manually something like: /some/path/to/an/intepreter/binary script-file All these minor details are explained in detail in many books about using UNIX. It will help a great deal if you read at least one of the introductory texts about UNIX. Since you are apparently new to UNIX, suggested reading material is: For People New to Both FreeBSD and UNIX http://www.freebsd.org/doc/en_US.ISO8859-1/articles/new-users/ FreeBSD Handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ Other FreeBSD documents, can be found at: http://www.FreeBSD.org/docs.html The Handbook contains a nice bibliography chapter, that will point you to even more reading material, if you find that you need it :) - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD DVD - question 2
On Thu, Dec 01, 2005 at 12:10:25PM +0100, Wojciech Puchar wrote: what tools do you use making FreeBSD packages CD? i mean tool that will split all of them to many CD's or DVD's and make all INDEX files just right. The tools in /usr/src/release/scripts. amd64 packages directory takes about 7.5GB, which are two DVD's. at worst case i may write dual-layer DVD, will fit all of it, but quite expensive. pgpyNYpUCZH7q.pgp Description: PGP signature
Re: Can't run scripts no more: permission denied
On Thu, Dec 01, 2005 at 07:48:50PM +0100, Blue Raccoon wrote: On Thu, 1 Dec 2005 20:15:12 +0200 But the 'sylpheed' script still would not run: command not found. There is only one command in the file (which works fine on the command line) and a comment: #!/bin/bash I copied the script from the web. But apparently the comment is not a comment. When I remove it the script works (not from firefox, but that's a different problem). That's not a (regular) comment, it's called 'sh-bang'. It tells the shell which command should be used to interpret the following code. For example, perl scripts usually start with #!/usr/bin/perl -w Which tells whatever shell you're running (like bash) to start perl as the interpreter for that script. In your case, you were trying to tell the shell to use bash as the interpreter. This is fine, as long as you have bash installed (it's not part of the FreeBSD base system). Moreover, you need to specify the correct path to the bash executable in your sh-bang. On FreeBSD, bash is usually installed via a port or package to /usr/local/bin. A better way of fixing your script (instead of just removing the sh-bang altogether) would be to edit it to read as follows: #!/bin/sh That'll point to FreeBSD's sh implementation, which is the standard Unix shell. Some Linuxes will use bash as their sh, but most BSDs use a more standard sh. Writing shell scripts for sh (and not bash, ksh or whatever) is a good idea as it will make your scripts easier to port to other systems. bash is similar to sh, so you might not need to change anything (unless you're using lots of bashisms or arrays or whatnot). -- o--{ Will Maier }--o | jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] | | [EMAIL PROTECTED] | [EMAIL PROTECTED] | *--[ BSD Unix: Live Free or Die ]--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
After Firefox upgrade, browser no longer prints without CUPS
What does Firefox use to recognize printers? Every other application recognizes and uses the generic UNIX lpd (with Ghostscript and hpdij), which is what Firefox used before I upgraded it to 1.5. Now it insists on using CUPS or PostScript. I've been Googling for two days and can't figure out how to get it back where it was. Have to say, I love FreeBSD, but printing is a serious hassle. Every time the smallest thing changes, it breaks and requires several days of maddening searching and tweaking to get it back the way it was. Am about to break down and get a print server, as this is way too much to deal with on a regular basis. - jt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
overloaded webserver: nfs wait issue?
We have a website with moderately high traffic, load balanced among 3 webservers. During peak traffic times however (when the volume is higher than normal), the load shoots up to over a 100, and the site crawls to its knees. We set up a script to take snapshots of top every 20 seconds. Here is what it looks like when everthing is normal: 127 last pid: 12003; load averages: 0.93, 1.36, 1.35 up 41+04:22:14 14:00:23 243 processes: 12 running, 230 sleeping, 1 zombie Mem: 222M Active, 74M Inact, 186M Wired, 16M Cache, 111M Buf, 503M Free Swap: 2048M Total, 16M Used, 2032M Free PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 136 root 32 0 1208K 420K RUN 33.1H 7.28% 7.28% amd 11918 nobody-1 0 149M 12292K nfsrcv 0:01 3.00% 1.95% httpd 11879 nobody 2 0 149M 12292K sbwait 0:01 2.10% 1.37% httpd 11896 nobody 2 0 148M 11704K RUN 0:00 1.80% 1.17% httpd 11962 nobody 2 0 147M 10072K RUN 0:00 4.33% 1.12% httpd 11892 nobody-1 0 145M 8804K nfsrcv 0:00 1.35% 0.88% httpd 11935 nobody 2 0 149M 12284K sbwait 0:00 1.73% 0.78% httpd 11925 nobody 2 0 149M 12288K sbwait 0:00 1.08% 0.68% httpd 11894 nobody 2 0 149M 12404K sbwait 0:00 0.98% 0.63% httpd 11937 nobody 2 0 149M 12456K RUN 0:00 1.61% 0.63% httpd 11954 nobody 2 0 149M 12288K sbwait 0:00 1.88% 0.49% httpd 191 root 2 0 144M 6632K select 13:23 0.34% 0.34% httpd 11930 nobody 2 0 145M 8852K sbwait 0:00 0.62% 0.34% httpd 11872 nobody 2 0 149M 12288K sbwait 0:00 0.45% 0.29% httpd 11911 nobody 2 0 148M 11604K accept 0:00 0.45% 0.29% httpd 11893 nobody 2 0 149M 12392K sbwait 0:00 0.38% 0.24% httpd 11876 nobody 2 0 149M 12264K sbwait 0:00 0.38% 0.24% httpd 11934 nobody 2 0 149M 12292K accept 0:00 0.41% 0.20% httpd When the load shoots up, the number of http clients hits Apache's MaxClients setting, here is what top shows: last pid: 12407; load averages: 87.84, 51.91, 27.52 up 41+04:40:51 14:19:00 268 processes: 2 running, 266 sleeping Mem: 715M Active, 68M Inact, 187M Wired, 29M Cache, 111M Buf, 2100K Free Swap: 2048M Total, 272M Used, 1776M Free, 13% Inuse PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 136 root 64 0 1208K 376K RUN 33.1H 2.69% 2.69% amd 11965 nobody-1 0 149M 6892K nfsrcv 0:05 0.24% 0.24% httpd 11913 nobody-1 0 149M 8300K nfsrcv 0:05 0.20% 0.20% httpd 11878 nobody-1 0 149M 8572K nfsrcv 0:09 0.15% 0.15% httpd 11948 nobody-1 0 149M 8852K nfsrcv 0:07 0.15% 0.15% httpd 11982 nobody-1 0 149M 6764K nfsrcv 0:04 0.15% 0.15% httpd 11912 nobody-1 0 149M 4912K nfsrcv 0:06 0.10% 0.10% httpd 12060 nobody-1 0 149M 7356K nfsrcv 0:05 0.10% 0.10% httpd 11999 nobody-1 0 149M 8352K nfsrcv 0:04 0.10% 0.10% httpd 12122 nobody-1 0 149M 8296K nfsrcv 0:04 0.10% 0.10% httpd 12028 nobody-1 0 149M 8664K nfsrcv 0:04 0.10% 0.10% httpd 12267 nobody-1 0 149M 8452K nfsrcv 0:03 0.10% 0.10% httpd 12270 nobody-1 0 150M 7156K nfsrcv 0:02 0.10% 0.10% httpd 11983 nobody-1 0 149M 8256K nfsrcv 0:09 0.05% 0.05% httpd 11977 nobody-1 0 149M 5488K nfsrcv 0:06 0.05% 0.05% httpd 11952 nobody-1 0 149M 6704K nfsrcv 0:06 0.05% 0.05% httpd 11895 nobody-1 0 148M 4404K nfsrcv 0:06 0.05% 0.05% httpd 11885 nobody-1 0 149M 8348K nfsrcv 0:06 0.05% 0.05% httpd The state of all the httpd prcesses are nfsrcv. Does this mean the bottleneck is at the NFS server that hosts the htdocs (and PHP scripts) or just that the server is low on memory? Thomas -- N.J. Thomas [EMAIL PROTECTED] Etiamsi occiderit me, in ipso sperabo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
geom_stripe and Performance
When using FBSD 4.x, I used vinum to stripe my /usr across two drives. Performance seemed good but I never used any tools to actually measure it. Now I've upgraded to 5.4 (and will upgrade to 6.0 soon) and disk performance doesn't seem very good. When upgrading to 5.4, I ditched vinum in favor of geom_stripe as that seemed to be the way to go from my reading on the lists. My box is a small personal server I use in my home. It provides mail services, personal web space, etc but is not heavily used. The box has two 9GB SCSI drives in it. I set it up with a 500 MB root partition on one drive, 500 MB swap on the other, and then built the /usr stripe with the remaining space on both drives. Other partitions such are /var, /tmp, /home, etc. are symlinked to /usr/var, /usr/tmp, /usr/home, etc. as described in The Complete FreeBSD 3rd edition. When I created the vinum stripes, I followed instructions in the vinum man pages and docs at http://vinum.org. As I recall, those docs suggested a large stripe size that was not a power of 2 to reduce seeking. 'man tuning' also recommends a large stripe under the STRIPING DISKS section and suggests a stripe size of 1152 blocks. However when I created the geom_stripes using the instructions in the gstripe man page, I created stripes with a size of 128K as indicated in the example. Performance doesn't seem nearly as good as it did with the vinum stripe. However I don't really know how to test this. So does the recommendation of a larger stripe size from the vinum and tuning docs hold true for geom_stripe? Or is geom_stripe different in some way and the smaller stripe sizes are better. What are some recommended stripe setups for my situation? Thanks for your input, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, More! http://www.alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem sourcing a file while configuring OpenVPN 2.0 on FreeBSD 6.0
Hi all, Perhaps I am missing something incredibly stupid here, but I can't source the vars file that is part of the OpeVPN configuration process: # source ./vars export: Command not found. D: Undefined variable. Here is the contents of vars (with the comments removed for the sake of brevity): # easy-rsa parameter settings export D=`pwd` export KEY_CONFIG=$D/openssl.cnf export KEY_DIR=$D/keys echo NOTE: when you run ./clean-all, I will be doing a rm -rf on $KEY_DIR export KEY_SIZE=1024 export KEY_COUNTRY=KG export KEY_PROVINCE=NA export KEY_CITY=BISHKEK export KEY_ORG=OpenVPN-TEST export KEY_EMAIL=[EMAIL PROTECTED] Please note, the info in that last section has been changed to be my correct info, I just didn't want to include it :) Thanks for any and all help on this! --Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem sourcing a file while configuring OpenVPN 2.0 on FreeBSD 6.0
Matt Singerman wrote: Hi all, Perhaps I am missing something incredibly stupid here, but I can't source the vars file that is part of the OpeVPN configuration process: # source ./vars export: Command not found. D: Undefined variable. You are running csh and this script is for sh and derivatives. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BSD vs Linux Threads
Ok, I know this has come up before but I cannot find any good documentation on BSD vs Linux threads using 5.4 or 6.0. This will basically be for a multi-processor mysql 5 server. What are your recommendations? Thanks, Cody ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem sourcing a file while configuring OpenVPN 2.0 on FreeBSD 6.0
Just as I thought, I'm a dullard. Switched to sh, and all is working find. Thanks. On 12/1/05, Alex Zbyslaw [EMAIL PROTECTED] wrote: Matt Singerman wrote: Hi all, Perhaps I am missing something incredibly stupid here, but I can't source the vars file that is part of the OpeVPN configuration process: # source ./vars export: Command not found. D: Undefined variable. You are running csh and this script is for sh and derivatives. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: overloaded webserver: nfs wait issue?
* N.J. Thomas [EMAIL PROTECTED] [2005-12-01 14:38:13 -0500]: We have a website with moderately high traffic, load balanced among 3 webservers. During peak traffic times however (when the volume is higher than normal), the load shoots up to over a 100, and the site crawls to its knees. I forgot to mention that the webservers are running FreeBSD 4.11 and Apache 1.3.x. Thomas -- N.J. Thomas [EMAIL PROTECTED] Etiamsi occiderit me, in ipso sperabo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Update 5.4 - 6.0
On Thu, Dec 01, 2005 at 08:16:51AM +, Matthew Seaman wrote: Odhiambo Washington wrote: It's my suspicion that updating 5.4 to 6.0 via CVSup leaves alot of old libraries in place. Is this anywhere near correct? I updated my system recently thus, using the steps in /usr/src/UPDATING, but now when updating the ports (I am yet to try out portupgrade -a), I see such output as: /usr/bin/ld: warning: libcrypt.so.2, needed by /usr/local/lib/mysql/libmysqlclient.so, may conflict with libcrypt.so.3 /usr/bin/ld: warning: libz.so.2, needed by /usr/local/lib/mysql/libmysqlclient.so, may conflict with libz.so.3 /usr/bin/ld: warning: libc.so.5, needed by /usr/local/lib/libsasl2.so.2, may conflict with libc.so.6 What does these suggest? Is there an easy way to fix them? Yes. You need to run: portupgrade -fa ie. recompile all of your installed software, so that it links against the up to date system libraries. Software compiled under 5.x will almost definitely still run perfectly well when the box is upgraded to 6.0, but as soon as you start installing new software or upgrading some packages you'll start running into library version conflicts. Re-installing wholesale will prevent that. Is this not mentioned in the upgrade instructions (e.g. the handbook)? Probably not - it should be added so this question doesn't have to be answered daily. Kris pgpThNoD8F0kX.pgp Description: PGP signature
Re: BSD vs Linux Threads
On Thu, Dec 01, 2005 at 02:14:05PM -0600, Cody Holland wrote: Ok, I know this has come up before but I cannot find any good documentation on BSD vs Linux threads using 5.4 or 6.0. This will basically be for a multi-processor mysql 5 server. What are your recommendations? What are your questions? :) Kris pgp3epjKKM08d.pgp Description: PGP signature
hi
hi - Enjoy this Diwali with Y! India Click here ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: BSD vs Linux Threads
Well in the past it was stated that on a MySQL server installed using Linux threads was faster than using the native BSD threads. I'm in the process of building a new MySQL 5 server with FreeBSD 5.4 and was wanting to know if using the Linux threads was still faster. Cody On Thu, Dec 01, 2005 at 02:14:05PM -0600, Cody Holland wrote: Ok, I know this has come up before but I cannot find any good documentation on BSD vs Linux threads using 5.4 or 6.0. This will basically be for a multi-processor mysql 5 server. What are your recommendations? What are your questions? :) Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
calcru: runtime went backwards
I running 6-RELEASE as a guest under vmware 5.5 and I'm having problems with the clock going backwards. I'm getting the message (sample): calcru: runtime went backwards from 10542602 usec to 10542600 usec for pid 13924 (vmware-guestd) calcru: runtime went backwards from 11589627 usec to 11589623 usec for pid 13924 (vmware-guestd) calcru: runtime went backwards from 11743728 usec to 11743726 usec for pid 13924 (vmware-guestd) calcru: runtime went backwards from 12550703 usec to 12550699 usec for pid 13924 (vmware-guestd) calcru: runtime went backwards from 12601970 usec to 12601968 usec for pid 13924 (vmware-guestd) calcru: runtime went backwards from 13571027 usec to 13571024 usec for pid 13924 (vmware-guestd) calcru: runtime went backwards from 13571027 usec to 13571024 usec for pid 13924 (vmware-guestd) calcru: runtime went backwards from 13731304 usec to 13731302 usec for pid 13924 (vmware-guestd) calcru: runtime went backwards from 15674182 usec to 15674180 usec for pid 13924 (vmware-guestd) Is this bsd or vmware related, and any way to fix it? Thanks Jim Ballantine ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Update 5.4 - 6.0
On Thursday 01 December 2005 08:16, Matthew Seaman wrote: Odhiambo Washington wrote: It's my suspicion that updating 5.4 to 6.0 via CVSup leaves alot of old libraries in place. Is this anywhere near correct? ... Is there an easy way to fix them? ... Software compiled under 5.x will almost definitely still run perfectly well when the box is upgraded to 6.0, but as soon as you start installing new software or upgrading some packages you'll start running into library version conflicts. Re-installing wholesale will prevent that. There are still about a dozen ports that directly depend on misc/compat5x - most notably the native opera port, and the nvidia driver port. I was just looking at how the compat5x port libraries get used, and it seems the abandoned 5x libraries are used in preference to those in the port despite the fact that the port may pickup security updates. Is there any easy way to clean-out these libraries? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSD vs Linux Threads
On Thu, Dec 01, 2005 at 02:36:19PM -0600, Cody Holland wrote: Well in the past it was stated that on a MySQL server installed using Linux threads was faster than using the native BSD threads. I'm in the process of building a new MySQL 5 server with FreeBSD 5.4 and was wanting to know if using the Linux threads was still faster. I don't think so, but feel free to benchmark and let us know :) Kris pgpTm15AEpvz9.pgp Description: PGP signature
gcc in freebsd to compile linux software
Hi, I need to compile a program to run it in a linux box. I know that freebsd has linux compatibility with binary files. Can I compile using freebsd gcc a binary file that can run under linux and try if it works with freebsd binary linux emulation?? If it is possible... what kind of options need I to put when I compile with gcc? Thx! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: overloaded webserver: nfs wait issue?
Can you provide the output of nfsstat -c 1 on the web servers (and nfsstat -s 1 on the nfs server if they are running FreeBSD)? Run them for a minute when you are getting bad performance. Please also quantify moderately high traffic. What is this in Mbit/s? Also, it may be helpful to know a little bit about your network infrastructure, i.e. are the switch ports set to full duplex and the machines to match. NFS performance is very dependent on a fast reliable network. Don't consider anything less than 100Mbit/s full duplex. Also what platform is the NFS server? We recently migrated from a cluster pair of NetApps to a single NFS server running FreeBSD. This is mounted by four NFS clients running Zeus. We have a lot of NFS experience and we felt confident this would work. It did and with the most marginal degradation in performance. Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Firefox build error in 5.X
Greetings, I am trying to build firefox 1.5 on 5.4-STABLE FreeBSD, but I get the following compile time issue. I looked on the web and thought that updating the nspr port would fix the ussue, but it didn't. Could someone tell give me a clue as to what I can do to get firefox to compile? Please email me directly as I do not receive list email. Thanks, Brian -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../../mozilla-config.h nsNSSComponent.cpp nsNSSComponent.cpp: In member function `virtual nsresult nsNSSComponent::LaunchSmartCardThread(SECMODModule*)': nsNSSComponent.cpp:585: error: `SECMOD_HasRemovableSlots' undeclared (first use this function) nsNSSComponent.cpp:585: error: (Each undeclared identifier is reported only once for each function it appears in.) gmake[4]: *** [nsNSSComponent.o] Error 1 gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla/security/manager/ssl/src' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/security/manager/ssl' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/security/manager' gmake[1]: *** [tier_50] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/firefox. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make buildworld run twice as fast
I recently rebuilt my FreeBSD system from sources and it took around 2 hours on an old PIII 800MHz pc to run make buildworld. If I include the -j option to run multiple processes as once such as make -j2 buildworld does that mean it would finish in half the time? Does anyone have any thoughts or experiences with this? Thank you, Jose ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc in freebsd to compile linux software
On Thu, Dec 01, 2005 at 10:06:16PM +0100, Javier Matos wrote: Hi, I need to compile a program to run it in a linux box. I know that freebsd has linux compatibility with binary files. Can I compile using freebsd gcc a binary file that can run under linux and try if it works with freebsd binary linux emulation?? If it is possible... what kind of options need I to put when I compile with gcc? No, but if you install a linux_devtools* port you can chroot to /compat/linux and build as usual with the linux gcc there. Kris pgpvkvZ72E2w3.pgp Description: PGP signature
Re: make buildworld run twice as fast
On Thu, Dec 01, 2005 at 01:19:41PM -0800, Jose Borquez wrote: I recently rebuilt my FreeBSD system from sources and it took around 2 hours on an old PIII 800MHz pc to run make buildworld. If I include the -j option to run multiple processes as once such as make -j2 buildworld does that mean it would finish in half the time? No, that would only be true if you were using less than 50% of your resources (e.g. CPU) - for example, if your system has 2 CPUs. Otherwise, on a single CPU machine you are already using close to 100% of CPU, but you may still achieve a few percent speed-up since e.g. one compiler process can be running while another process is blocked waiting for disk I/O. However, this is balanced against increased kernel overhead and memory use. Kris pgpPU9y8CQdw7.pgp Description: PGP signature
irq load when servicing ethernet
is it normal on AMD64 machine to have 10-15% CPU time spent in interrupt by sending file at 7MB/s by ftp to other machine? fxp0: Intel 82551 Pro/100 Ethernet port 0xec00-0xec3f mem 0xfbfff000-0xfbff,0xfbfc-0xfbfdfff f irq 17 at device 5.0 on pci2 nothing else uses irq 17 systat shows 3000 ints/s, with 1.8GHz CPU it's like 6-9 CPU clocks per single interrupt service. at least - TOO MUCH. with much higher traffic over hard drive interrupt percentage is below 1% if measurable at all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
deamon, priority
Hi, How can I set priority to start deamons when freebsd boots? mysql is starting first than jabberd and it write this log message. Thu Dec 1 17:22:03 2005 [error] mysql: connection to database failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Thanks... Efren Bravo. __ Renovamos el Correo Yahoo! Nuevos servicios, más seguridad http://correo.yahoo.es ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions about make arguments for ports
On Wednesday 30 November 2005 13:00, Ashley Moran wrote: Hello, When upgrading a machine from FreeBSD 5.4 to 6.0 I came across the problem of how to re-compile all the ports to use FreeBSD 6 libraries so I can ditch the compat5x port. Actually you can ditch it anyway, all of the library are either part of 6.0 or left behind from 5.4, but it's good to rebuild. man portupgrade I should # portupgrade -aRf to force a re-compile but that The trouble with portupgrade -af is that it is not restartable. I'd use either the latest portmanager, or something like: portupgrade -f '2005-11-30 20:37' See pkg_glob(1) then brought up the issue of how to configure each build. I found the section in pkgtools.conf that lets you specify arguments to pass to make but how do I deal with ports that have a config make target? I mean I could add MAKE_ARGS = { 'java/jdk115' = 'WITHOUT_WEB=1' } to pkgtools.conf, but is there a way to specify these arguments in this file, or is there no choice but to configure manually first time? If you use BATCH=yes, most ports will do their best to come up with sensible settings based on the arguments you supply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
newbie
After being an Windows/Cisco IT professional for the past 7 years, I have decided to make the plunge over to FreeBSD on my own time. I have it installed, and it is quite overwhelming. If anyone has any recommendations/tips or books for acquainting one's self with FreeBSD with no *nix experience I would greatly appreciate them. Thanks! Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSD vs Linux Threads
On 12/2/05, Cody Holland [EMAIL PROTECTED] wrote: Well in the past it was stated that on a MySQL server installed using Linux threads was faster than using the native BSD threads. I'm in the process of building a new MySQL 5 server with FreeBSD 5.4 and was wanting to know if using the Linux threads was still faster. I think this has been around the bends a bit, and people might be reluctant to start on it again. The best thing is to look through the archives, and also run some tests if you have the time and resources. Having said that hopefully you will get some helpful feedback on this thread. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: newbie
As someone from similar circumstances a few years ago, I found FreeBSD Unleashed by Michael Urban and published by SAMS quite valuable. Brian E. Conklin, MCP+I, MCSE Director of Information Services Mason General Hospital http://www.masongeneral.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglass, Erik Sent: Thursday, December 01, 2005 1:55 PM To: freebsd-questions@freebsd.org Subject: newbie After being an Windows/Cisco IT professional for the past 7 years, I have decided to make the plunge over to FreeBSD on my own time. I have it installed, and it is quite overwhelming. If anyone has any recommendations/tips or books for acquainting one's self with FreeBSD with no *nix experience I would greatly appreciate them. Thanks! Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] = Mason General Hospital 901 Mt. View Drive PO Box 1668 Shelton, WA 98584 http://www.masongeneral.com (360) 426-1611 = This message is intended for the sole use of the individual and entity to whom it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee nor authorized to receive for the addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone this message or any information contained in the message. If you have received this message in error, please immediately notify the sender and delete the message. Replying to this message constitutes consent to electronic monitoring of this message. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie
Douglass, Erik [EMAIL PROTECTED] writes: After being an Windows/Cisco IT professional for the past 7 years, I have decided to make the plunge over to FreeBSD on my own time. I have it installed, and it is quite overwhelming. If anyone has any recommendations/tips or books for acquainting one's self with FreeBSD with no *nix experience I would greatly appreciate them. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/new-users/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie
On Thu, Dec 01, 2005 at 03:54:46PM -0600, Douglass, Erik wrote: After being an Windows/Cisco IT professional for the past 7 years, I have decided to make the plunge over to FreeBSD on my own time. I have it installed, and it is quite overwhelming. If anyone has any recommendations/tips or books for acquainting one's self with FreeBSD with no *nix experience I would greatly appreciate them. It's easiest to start with the stuff that comes with it: the FreeBSD Handbook. It should be installed in /usr/share/doc/en_US.ISO8859-1/books/handbook/ For a beginner, I would especially reccommend chapters 3, 11 and 13. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpw05RHNjniV.pgp Description: PGP signature
Re: deamon, priority
Efren Bravo wrote: Hi, How can I set priority to start deamons when freebsd boots? mysql is starting first than jabberd and it write this log message. Thu Dec 1 17:22:03 2005 [error] mysql: connection to database failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) I *think* (because I'm no expert on rcNG) jabberd should have # REQUIRE: mysql in it's rc.d script, then it should be taken care off. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem updating mozilla
Filippo Moretti [EMAIL PROTECTED] writes: When attempting to update mozilla I get the following error nd === mozilla-1.7.12_3,2 depends on executable: pkg-config - found === mozilla-1.7.12_3,2 depends on shared library: jpeg.9 - found === mozilla-1.7.12_3,2 depends on shared library: png.5 - found === mozilla-1.7.12_3,2 depends on shared library: nspr4 - found === mozilla-1.7.12_3,2 depends on shared library: nss3 - not found ===Verifying install for nss3 in /usr/ports/security/nss === Patching for nss-3.10 === nss-3.10 depends on file: /usr/local/bin/perl5.8.7 - found === Applying FreeBSD patches for nss-3.10 patch: can't cd to /usr/ports/security/nss/work/nss-3.10/mozilla/security/nss: No such file or directory = Patch patch-..::coreconf::FreeBSD.mk failed to apply cleanly. *** Error code 1 Stop in /usr/ports/security/nss. *** Error code 1 Stop in /usr/ports/www/mozilla any help appreciated Seems like stale patches in the nss port. [Did you install the ports tree from a release and then cvsup onto that set at a later date?] Remove the whole port and re-download (cvsup, or whatever you use) the port skeleton. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: After Firefox upgrade, browser no longer prints without CUPS
Joshua Tinnin [EMAIL PROTECTED] writes: What does Firefox use to recognize printers? Every other application recognizes and uses the generic UNIX lpd (with Ghostscript and hpdij), which is what Firefox used before I upgraded it to 1.5. Now it insists on using CUPS or PostScript. I've been Googling for two days and can't figure out how to get it back where it was. With FreeBSD 6.0 and Firefox 1.5, I haven't noticed any such problem. Have to say, I love FreeBSD, but printing is a serious hassle. Every time the smallest thing changes, it breaks and requires several days of maddening searching and tweaking to get it back the way it was. Am about to break down and get a print server, as this is way too much to deal with on a regular basis. I do use apsfilter, which takes care of many of the annoying things for me, but still lets me use the regular old dependable lpd. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Kopete missing file. (clientiface_stub.h)
hi all. i try to install latest version of kopete on my system. (Freebsd5.4) first update kdenetwork package. then download source of kopete. and #./configure but when #make i got the error below : . . . connectionmanager.cpp:7:30: clientiface_stub.h: No such file or directory connectionmanager.cpp:18: error: ISO C++ forbids declaration of `ClientIface_stub' with no type connectionmanager.cpp:18: error: expected `;' before '*' token connectionmanager.cpp: In constructor `ConnectionManager::ConnectionManager(QObject*, const char*)': connectionmanager.cpp:27: error: 'class ConnectionManagerPrivate' has no member named 'm_stub' connectionmanager.cpp:27: error: `ClientIface_stub' has not been declared connectionmanager.cpp: In member function `void ConnectionManager::updateStatus()': connectionmanager.cpp:53: error: 'class ConnectionManagerPrivate' has no member named 'm_stub' connectionmanager.cpp: In member function `NetworkStatus::EnumRequestResult ConnectionManager::requestConnection(QWidget*, const QString, bool)': connectionmanager.cpp:115: error: 'class ConnectionManagerPrivate' has no member named 'm_stub' connectionmanager.cpp:121: error: 'class ConnectionManagerPrivate' has no member named 'm_stub' connectionmanager.cpp: In member function `void ConnectionManager::relinquishConnection(const QString)': connectionmanager.cpp:128: error: 'class ConnectionManagerPrivate' has no member named 'm_stub' connectionmanager.cpp: At global scope: connectionmanager.cpp:91: warning: unused parameter 'host' *** Error code 1 Stop in /root/Desktop/downloads/kopete-0.10.3/kopete/libkopete. *** Error code 1 Stop in /root/Desktop/downloads/kopete-0.10.3/kopete/libkopete. *** Error code 1 Stop in /root/Desktop/downloads/kopete-0.10.3/kopete. *** Error code 1 Stop in /root/Desktop/downloads/kopete-0.10.3. *** Error code 1 Stop in /root/Desktop/downloads/kopete-0.10.3. and searched for that file. [EMAIL PROTECTED] - [/usr/local/include/kopete]#locate clientiface_stub.h [EMAIL PROTECTED] - [/usr/local/include/kopete]# [EMAIL PROTECTED] find / -name clientiface_stub.h [EMAIL PROTECTED] as you see theres no output. whats missing you think ? any ideas ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DHCP failing with WiFi after 6.0 upgrade
I recently took my IBM ThinkPad X23, which had been running 4.11, and did a fresh install (backup files, wipe disk, install from scratch) to 6.0. Most things have gone smoothly, though there are still a few things to iron out. My biggest problem is that I can't seem to get DHCP to work with my wireless card. I have an Orinoco Gold 802.11b card that's always worked fine; I'm about to replace it with something else for 802.11g with a new WAP. There seem to be minor differences in how the card goes in; under 4.11 I would get various beeps when I plugged it in and after it associated, but now it's silent. And I had to remember to load WEP in my kernel. But I can seem to get things started by issuing the command ifconfig wi0 ssid jesterWAP wepmode on wepkey 0x[DELETED] which does seem to successfully reach my WAP: # ifconfig wi0 wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::202:[DELETED] prefixlen 64 scopeid 0x3 ether 00:02:[DELETED] media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) status: associated ssid jesterWAP channel 6 bssid 00:[DELETED] stationname FreeBSD WaveLAN/IEEE node authmode OPEN privacy MIXED deftxkey UNDEF wepkey 1:104-bit txpowmax 100 bintval 100 I can't seem to get a DHCP lease, however: # dhclient wi0 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 15 No DHCPOFFERS received. No working leases in persistent database - sleeping. (Under 4.11, I didn't get any verbose output from dhcpclient.) I can get a DHCP lease with fxp0, my Ethernet card; also, some Macs in the house have no problem getting leases through the WAP. (The DHCP server is in a separate router, not in the WAP.) Is there something that's changed under 6.0, or is there just something I'm forgetting to do? I do plan to get a new card, but I want to get this working too. Thanks. I thought this was more appropriate here than on -mobile. Jesse Sheidlower ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie
On 12/2/05, Douglass, Erik [EMAIL PROTECTED] wrote: After being an Windows/Cisco IT professional for the past 7 years, I have decided to make the plunge over to FreeBSD on my own time. I have it installed, and it is quite overwhelming. If anyone has any recommendations/tips or books for acquainting one's self with FreeBSD with no *nix experience I would greatly appreciate them. I found Greg Lehey's The Complete FreeBSD a very helpful resource. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: overloaded webserver: nfs wait issue?
N.J. Thomas wrote: We have a website with moderately high traffic, load balanced among 3 webservers. During peak traffic times however (when the volume is higher than normal), the load shoots up to over a 100, and the site crawls to its knees. We set up a script to take snapshots of top every 20 seconds. Here is what it looks like when everthing is normal: 127 last pid: 12003; load averages: 0.93, 1.36, 1.35 up 41+04:22:14 14:00:23 243 processes: 12 running, 230 sleeping, 1 zombie Mem: 222M Active, 74M Inact, 186M Wired, 16M Cache, 111M Buf, 503M Free Swap: 2048M Total, 16M Used, 2032M Free [...] When the load shoots up, the number of http clients hits Apache's MaxClients setting, here is what top shows: last pid: 12407; load averages: 87.84, 51.91, 27.52 up 41+04:40:51 14:19:00 268 processes: 2 running, 266 sleeping Mem: 715M Active, 68M Inact, 187M Wired, 29M Cache, 111M Buf, 2100K Free Swap: 2048M Total, 272M Used, 1776M Free, 13% Inuse [...] The state of all the httpd prcesses are nfsrcv. Does this mean the bottleneck is at the NFS server that hosts the htdocs (and PHP scripts) or just that the server is low on memory? Hi Thomas, What's your MaxClients set to? Please define your values for lot of traffic. What CPU? RAM (512MB seems a bit low nowadays)? Disks? I dont think i can give much advice on the NFS side of things but in the meantime I would : - increase # of MaxClients (the default is RIDICULOUSLY small, specially in 1.3. You will probably have to recompile with a new max. - Look at what the PHP scripts do : i.e., is there anything under your control that can be improved? - Install a PHP accelerator (like IonCube's, or Zend's). Or some reverse proxies if you feel like playing with the whole design of your architecture. - if you use mod_gzip, make sure you dont' compress on the fly - it takes a huge hit on the CPU. (Hint: You can pre-compress the files ) - You RAM seems OK ... you may want to tweak some sysctl or memory settings in Apache (I seem to remember in 1.3 some to do with MMap, but i could be wrong) ... or just add more RAM. Check vmstat (or systat -vm 1) to see how much swapping is going on. - Make sure you have tweaked your network sysctl settings (like send + receive buffers, depending on the kind of traffic you get), reduce your close timeouts,etc. - make use of the kernel modules accf_http.ko and accf_data.ko. - disable from Apache ANYTHING that is NOT needed. Enable stuff only as needed on a per virtual host basis. Hope this helps. Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie
On 12/1/05, Douglass, Erik [EMAIL PROTECTED] wrote: After being an Windows/Cisco IT professional for the past 7 years, I have decided to make the plunge over to FreeBSD on my own time. I have it installed, and it is quite overwhelming. If anyone has any recommendations/tips or books for acquainting one's self with FreeBSD with no *nix experience I would greatly appreciate them. There are several good books that people have recommended, but keep in mind that it is inherent in paper publishing that they will be a bit out of date. My recommendation is that you should refer to both the book that seems to best meet your needs, and to the online FreeBSD Handbook at http://www.freebsd.org/handbook/ - Bob -- If you're a spammer, please use [EMAIL PROTECTED] It helps me maintain my mail filters! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: overloaded webserver: nfs wait issue?
* Norberto Meijome [EMAIL PROTECTED] [2005-12-02 11:06:49 +1100]: What's your MaxClients set to? It was set to 256, we actually lowered it to 180. Please define your values for lot of traffic. Running wc -l on the daily Apache access logs, I get: ~1.8million hits per day What CPU? RAM (512MB seems a bit low nowadays)? Disks? One of the web servers is a (P4, 3GHz, 1GB RAM), the other is a (P3, 1.4GHz, 1GB RAM), they are load balanced evenly, both of them display the same error when the number of httpd processes reach MaxClients. I dont think i can give much advice on the NFS side of things but in the meantime I would : - increase # of MaxClients (the default is RIDICULOUSLY small, specially in 1.3. You will probably have to recompile with a new max. Higher than 256? - Look at what the PHP scripts do : i.e., is there anything under your control that can be improved? I'll ask the devs to take a look. - You RAM seems OK ... you may want to tweak some sysctl or memory settings in Apache (I seem to remember in 1.3 some to do with MMap, but i could be wrong) ... or just add more RAM. Check vmstat (or systat -vm 1) to see how much swapping is going on. Will do...thanks for the suggestions. Thomas -- N.J. Thomas [EMAIL PROTECTED] Etiamsi occiderit me, in ipso sperabo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bumping MAXPHYS - success
bumped to 1024*1024=1MB in /usr/src/sys/sys/param.h and recompiled kernel. all test performed on filesystem on which right newfs options were used so FFS were able to use it. effects: single process - almost no gain, bonnie++ showed about 5% worse speeds on linear read and linear write, about 2% better at rewrite, same with seek. multiple process and heavy disk load - HUGE gain. copying large files does not slow down so much when doing find / /dev/null in the same time, multiple large file operations performs smooth, much less seeks etc. i will keep this setting. tried to manipulate with vfs.{hi,lo}runningspace - defaults are OK, where hirunningspace=1MB=MAXPHYS. after enlarging performance was not better, while delays (average service time) much worse. so defaults are OK. settings more than 1MB probably doesn't make sense. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
{Classmates
I recently subscribed to the free 7-day trial offer and found that my bank account has been charged $39.00 already. How can this be reversed on my bank account as it is in error as I just signed up today? Please let me know. Thank you, Dottie Costa [EMAIL PROTECTED] is my OLD email. Please reply to the above address at sbc global. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: calcru: runtime went backwards
On 12/1/05, J. W. Ballantine [EMAIL PROTECTED] wrote: I running 6-RELEASE as a guest under vmware 5.5 and I'm having problems with the clock going backwards. I'm getting the message (sample): calcru: runtime went backwards from 10542602 usec to 10542600 usec for pid 13924 (vmware-guestd) [etc.] Is this bsd or vmware related, and any way to fix it? I don't have direct experience with this, but the reports I've seen indicate that vmware has clock problems with both FreeBSD and Linux. One suggestion is that in vmware, set host.useFastclock = FALSE in the .vmx file. Another suggestion is that in FreeBSD 6.0 you can try setting sysctl kern.MUMBLE.timecounter=TSC except I don't know what MUMBLE is in 6.0. sysctl -a | grep timecounter should reveal it, though. And if it is already TSC, try i8254, I've seen both recommended. There are probably other possibilities (e.g. ACPI-safe seems to be the default these days) but as I said, I have no direct experience with vmware. It has also been recommended to set options HZ=1000 in your kernel configuration. Hope that helps, and if I got any of that wrong, someone please correct me! - Bob -- Spammers: please send mail to [EMAIL PROTECTED] and help me tune my spam filters! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: calcru: runtime went backwards
On 12/1/05, Bob Johnson [EMAIL PROTECTED] wrote: sysctl kern.MUMBLE.timecounter=TSC except I don't know what MUMBLE is in 6.0. sysctl -a | grep timecounter should reveal it, though. And if it is already TSC, try i8254, I've seen both recommended. There are probably other possibilities (e.g. ACPI-safe seems to be the default these days) but as I said, I have no direct experience with vmware. In 5.x, this would be sysctl kern.timecounter.hardware=TSC but I don't know about 6.0 Good luck. - Bob -- Spammers: please send mail to [EMAIL PROTECTED] and help me tune my spam filters! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSD vs Linux Threads
For 6 Linux threads from my benchmarking and from what I have seen some peoples posts gives poor performance compared to libthr or libpthread I am using more of libthr over libpthread in 6.0 and have been benchmarking best results. Try this in /etc/libmap.conf [mysqld] libpthread.so.2 libthr.so.2 libpthread.so libthr.so Mike Cody Holland wrote: Ok, I know this has come up before but I cannot find any good documentation on BSD vs Linux threads using 5.4 or 6.0. This will basically be for a multi-processor mysql 5 server. What are your recommendations? Thanks, Cody ___ 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: List archive search broken?
At 23:06 11/28/2005, Micah wrote: Hey All, I just went to http://lists.freebsd.org/pipermail/freebsd-questions/ , typed in VNC into the Search box (left Match, Format, Sort By as All, Short, and Score), and got a page of results. When I try to move on to any other results page, I get an error. If I try to refine my search from the results page, I get an error. Is it a bug? Deranged Mutant Killer Monster Snow Goons? I guess google to the rescue. Try: http://www.mail-archive.com/freebsd-questions%40freebsd.org/ Start Here to Find It Fast! - http://www.US-Webmasters.com/best-start-page/ $8.77 Domain Names - http://domains.us-webmasters.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]