Re: ntpd problems since upgrading to 5.3 - found the problem!
On Tue, 18 Jan 2005 17:13, Christian Hiris wrote: > On Tuesday 18 January 2005 07:19, Ian Moore wrote: > > Now I'm not sure what the best way to get around this would be. I run a > > caching name server on the machine, so I guess I can tweak it to force > > localhost.foo.com resolve to 127.0.0.1 > > I'm running ntpd and a caching nameserver on one machine, too. The external > IP is only referenced by /etc/hosts. My bind holds only the internal > networks, including it's own localhost. There also could be some influence > from your /etc/resolv.conf, but I'm not sure about. > > # dig localhost.matrix.net > > ; <<>> DiG 9.3.0 <<>> localhost.matrix.net > ;; global options: printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47348 > ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 > > ;; QUESTION SECTION: > ;localhost.matrix.net. IN A > > ;; ANSWER SECTION: > localhost.matrix.net. 3600IN A 127.0.0.1 > > ;; AUTHORITY SECTION: > matrix.net. 3600IN NS ns.matrix.net. > > ;; ADDITIONAL SECTION: > ns.matrix.net. 3600IN A 192.168.123.1 > > ;; Query time: 1 msec > ;; SERVER: 192.168.123.1#53(192.168.123.1) > ;; WHEN: Tue Jan 18 07:27:54 2005 > ;; MSG SIZE rcvd: 87 > > > # cat /etc/resolv.conf > search matrix.net > nameserver 127.0.0.1 Oops, I've just realised I'm not running a name server at all on my 5.3 system. I have 4.9 installed on this computer too & I'd set up the caching server on it, I guess I forgot that step when I installed 5.3. I'll set it up & see that makes any difference. Cheers, -- Ian GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc pgpSR9uAmIFYt.pgp Description: PGP signature
console resolution on a T41
I am trying to increase the console resolution on my Thinkpad T41 which has an ATI mobility radeon card. >From what I read the standard step is to add the lines following lines in the kernel configuration file: options VESA options SC_PIXEL_MODE However when I run vidcontrol -g 100x37 VESA_800x600 I still get that the mode is not supported by the device. Is there something that I am missing here? Has anyone tried to increase console resolution on a T41 Thinkpad or even an ATI mobility radeon laptop? D. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[IDLE] Issues
For some reason today my load average seemed to spike repeatedly at intervals going over 5.38 making my mouse laggy and machine terribly slow. Its a desktop machine. ps -aux output UsER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 11 90.5 0.0 0 12 ?? RL 29Dec04 20354:56.82 [idle] systat output /0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100 root idle XX Moving along to figure out what process is idling i killed X postfix and basically everything running except moused, cron, and inetd and the bare minimum needed to run csh. I didnt seem to find any applications idling or running out of the ordinary. I cant seem to kill the [IDLE] splads, what i am curious about is how would one diagnose such an issue? The problem started out today. My usualy load average is about 0.5. Machine Specs 2.6ghz p4 1gb ram 2gb swap thanks +--==/\/\==--+ (__) FreeBSD | <[EMAIL PROTECTED]> |\\\'',) The |Kernel ESCAFLOWNE | \/ \ ^Power | Web http://unixdaemon.org | .\._/_)To +--==\/\/==--+ Serve [ We've switched the bath sponge with a tribble. ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
atapicam error message
Hello All, I am referring to the standard non-critical kernel error message: cd0: Attempt to query device size failed: NOT READY, Medium not present This occurs when one compiles the device atapicam to access the atapi CD through the SCSI interface. In addition to this message there is a very annoying 30 something second delay. 1) Does anyone know the origin of this message? 2) How do I get rid of it without having to put a CD in the tray before a boot? I have been google about this problem for quite a while but with not much luck, so any information would be appreciated. D. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ntpd problems since upgrading to 5.3 - found the problem!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 18 January 2005 07:19, Ian Moore wrote: > > Now I'm not sure what the best way to get around this would be. I run a > caching name server on the machine, so I guess I can tweak it to force > localhost.foo.com resolve to 127.0.0.1 I'm running ntpd and a caching nameserver on one machine, too. The external IP is only referenced by /etc/hosts. My bind holds only the internal networks, including it's own localhost. There also could be some influence from your /etc/resolv.conf, but I'm not sure about. # dig localhost.matrix.net ; <<>> DiG 9.3.0 <<>> localhost.matrix.net ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47348 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;localhost.matrix.net. IN A ;; ANSWER SECTION: localhost.matrix.net. 3600IN A 127.0.0.1 ;; AUTHORITY SECTION: matrix.net. 3600IN NS ns.matrix.net. ;; ADDITIONAL SECTION: ns.matrix.net. 3600IN A 192.168.123.1 ;; Query time: 1 msec ;; SERVER: 192.168.123.1#53(192.168.123.1) ;; WHEN: Tue Jan 18 07:27:54 2005 ;; MSG SIZE rcvd: 87 # cat /etc/resolv.conf search matrix.net nameserver 127.0.0.1 - -- Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB7LAC09WjGjvKU74RAkZjAKCC6C+33mjGMf3tK36/36KV0yUrlgCdGpr8 6RVG2fKYma3/+tJbdPrx3YI= =pwmk -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kernel time-keeping adjustments - how to tune?
John wrote: On Mon, Jan 17, 2005 at 03:05:22PM -0600, Kevin Kinsey wrote: John wrote: OK - on my FreeBSD 5.3-STABLE system, as I have documented (cf: message thread Re: ntpd problems since upgrading to 5.3), ntpd won't run, even with an identical configuation to the 5.2.1 system next to it. Furthermore, when I run adjkerntz -a, it totally whacks the system's ability to keep time - it races forward at quite a high rate. ntpdate runs, and sets the time correctly. At one point, something managed to get the timekeeping parameters pretty near normal - less than a second of drift per hour (much better than the 40% rate it is now - it gains about 24 seconds PER MINUTE). Then I ran adjkerntz -a again, just to see if it really was the culprit. It does seem that it is adjkerntz that is causing (or triggering) the problem, but now I can't get the system back to a decent time-keeping rate. Whatever it was I stumbled across before, I'm not finding it again now. Now, it doesn't appear that adjkerntz itself has changed in YEARS, so it must be some change in the system call operation, parameters, or data structures that is causing this. So - since I don't seem to be able to stumble across what I did right before to get the timekeeping somewhat near normal, I am wondering if there's a manual way to reach them. I read through the cited thread, and don't see any replies; nor do I see enough explanation to give you any magic beans. Of course, I'm no one's fairy godmother... LOL! No - I don't expect you to be - that'd take ALL the challenge out of it! the clock on my 5.3-STABLE system is RACING. It is going at almost twice as fast as real time. Hmm, that might mean something. What do you get from: sysctl -a | grep timecounter I don't know what all this means, but here it is... kern.timecounter.stepwarnings: 0 kern.timecounter.nbinuptime: 37254938 kern.timecounter.nnanouptime: 0 kern.timecounter.nmicrouptime: 3040 kern.timecounter.nbintime: 19671985 kern.timecounter.nnanotime: 2982761 kern.timecounter.nmicrotime: 16689224 kern.timecounter.ngetbinuptime: 0 kern.timecounter.ngetnanouptime: 318046 kern.timecounter.ngetmicrouptime: 14256461 kern.timecounter.ngetbintime: 0 kern.timecounter.ngetnanotime: 0 kern.timecounter.ngetmicrotime: 3461614 kern.timecounter.nsetclock: 87 kern.timecounter.hardware: TSC kern.timecounter.choice: TSC(800) i8254(0) dummy(-100) kern.timecounter.tick: 1 Are these all documented somewhere? I'm sure they must be, but I don't know where to look... I dunno; my first guess would be sysctl(8), but I don't see that every knob is mentioned. I've experienced a "racing" clock on some mobos (but mostly older ones) with 5.X --- I don't remember it with 4.X, but I've set up many more 5.X boxes now. Setting the kern.timecounter.hardware sysctl to i8254 fixed a "racing" situation for me. After that, things settled down a bit, and finally ntpd could sync up with its master. It was quite unsettling, because my secretary's time records and emails were coming to me anywhere from 4 hours to 3 days in the future until we figured out what was going on. So, just a thought, but you might try, as root: # sysctl kern.timecounter.hardware=i8254 YMMV, of course. If it makes things worse, you'd go back to TSC in a similar manner. If it helps, add this line: kern.timecounter.hardware=i8254 to /etc/sysctl.conf. Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ntpd problems since upgrading to 5.3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 18 January 2005 01:09, John wrote: > This is what goes into the log: > Jan 17 18:04:29 pearl ntpd[838]: ntpd 4.2.0-a Sun Jan 9 10:58:59 CST 2005 > (1) Jan 17 18:04:29 pearl ntpd[838]: bind() fd 7, family 2, port 123, addr > 0.0.0.0,in_classd=0 flags=8 fails: Address already in use I can reproduce this, it only happens if you try start more than one ntp-daemons on the same interfaces. Better start this via rc. # killall ntpd # /etc/rc.d/ntpd start Starting ntpd. # /etc/rc.d/ntpd start ntpd already running? (pid=68961). # /etc/rc.d/ntpd stop Stopping ntpd. - -- Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB7KwI09WjGjvKU74RAiOsAJwM4urvuaeSka6k22X2AnSwh/ty0QCggDLA +aT+p15ZiIqVdK8HkvMdFV0= =yI9F -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ntpd problems since upgrading to 5.3 - found the problem!
On Tue, 18 Jan 2005 12:50, Christian Hiris wrote: > On Tuesday 18 January 2005 01:09, John wrote: > > On Mon, Jan 17, 2005 at 12:49:00PM -0600, John wrote: > > > On Mon, Jan 17, 2005 at 12:22:48PM -0600, John wrote: > > > > On Tue, Jan 11, 2005 at 11:23:28PM +0900, Rob wrote: > > > > > Ian Moore wrote: > > > > > > Hi, > > > > > > Ever since I upgraded from 5.2.1-RELEASE to 5.3-RELEASE, I've > > > > > > been getting the following error on boot: > > > > > > ntpd[380]: bind() fd 7, family 28, port 123, addr fe80:1 > > > > > > > > > > > > ::204:61ff:fe46:be89, in6_is_addr_multicast=0 flags=0 fails: > > > > > > :: Can't assign > > > > > > > > > > > > requested address > > > > > > > > > > > > ntpd seems to be working from what I can see in it's log file, > > > > > > but I can't do anything with ntpq to check it. > > > > > > Wether I run it as my normal user or as root, running ntpq -p > > > > > > always gives: ntpq: write to localhost.foo.com failed: Permission > > > > > > denied > > Try to add "disable auth" to your ntp.conf. > I tried that, sadly it made no difference. However, I think I've found the problem - the error message I get with ntpq is "write to localhost.foo.com failed: Permission denied". My machine's hostname is daemon.foo.com, something I assumed was safe to use. Well it turns out that localhost.foo.com actually exists, it resolves to 216.234.246.150, as do lots of others like localhost.foo.org, foobar.org, example.org etc. So ntpq must do a reverse name lookup for localhost. and in my case it doesn't reslove to 127.0.0.1 but to 216.234.246.150, to which ntpq has no access - hence the Permission denied error! Now I'm not sure what the best way to get around this would be. I run a caching name server on the machine, so I guess I can tweak it to force localhost.foo.com resolve to 127.0.0.1 Cheers, -- Ian GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc pgpNlb5tuOeDC.pgp Description: PGP signature
Re: Slow directory access with lots of files
On Tue, Jan 18, 2005 at 01:32:10AM +0100, Erik Trulsson wrote: > On Mon, Jan 17, 2005 at 02:49:11PM -0800, Kris Kennaway wrote: > > On Mon, Jan 17, 2005 at 09:34:25PM +0100, Miguel Mendez wrote: > > > On Mon, 17 Jan 2005 11:13:43 -0800 > > > Kris Kennaway <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > > Do you have UFS_DIRHASH in your kernel? If you don't, or if you added > > > > it after the disk was already populated, you'll see the benefits if > > > > you dump, wipe and restore the disk. > > > > > > Could you elaborate on that? My impression has always been that dirhash > > > does all its magic in memory, without persistant data stored on disk. > > > > No. It's an optimized method for laying out the data on disk. I > > think you're confusing it with softupdates, but that still doesn't > > work entirely that way. > > No, this time it is you who are confused. UFS_DIRHASH does not affect > the layout on disk at all as far as I can tell. > You are probably confusing it with the dirpref changes that were made > back in 2001 at approximately the same time as UFS_DIRHASH was added. Sorry, you're right! Kris pgpsZhb9bqFJq.pgp Description: PGP signature
Re: ntpd problems since upgrading to 5.3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 18 January 2005 05:23, Rob wrote: > Christian Hiris wrote: > > On the server ntp.matrix.net I run ntpd with the following config files > > (This machine still runs 5.3-BETA-4): > > > > # cat /etc/rc.conf | grep ntp > > ntpdate_flags="-b clock.netcetera.dk tick.keso.fi" > > ntpdate_enable="YES" > > ntpd_enable="YES" > > - - > > No need for "ntpdate -b". > Following has same effect, using the time servers from ntp.conf: > > xntpd_enable="YES" > xntpd_flags="-g" Thanks, I know this, but old the old ntpdate method has been reported to be faster. The use of xntpd* variables has been deprecated some time ago. http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.subr.diff?r1=1.3&r2=1.4&f=h Cheers, ch - -- Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB7JbR09WjGjvKU74RAj8aAJwPs+9rIFGrwKfYipDbZvvu/jYqFQCfeJD0 GcE2vzHpGCeLTkFfSdxi4lw= =lDYr -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kernel time-keeping adjustments - how to tune?
On Mon, Jan 17, 2005 at 05:17:12PM -0700, Danny MacMillan wrote: > On Mon, Jan 17, 2005 at 03:12:46PM -0600, John wrote: > > On Mon, Jan 17, 2005 at 03:05:22PM -0600, Kevin Kinsey wrote: > > > John wrote: > > > > > > >OK - on my FreeBSD 5.3-STABLE system, as I have documented (cf: > > > >message thread Re: ntpd problems since upgrading to 5.3), ntpd > > > >won't run, even with an identical configuation to the 5.2.1 system > > > >next to it. Furthermore, when I run adjkerntz -a, it totally whacks > > > >the system's ability to keep time - it races forward at quite a > > > >high rate. ntpdate runs, and sets the time correctly. > > > > > > > >At one point, something managed to get the timekeeping parameters > > > >pretty near normal - less than a second of drift per hour (much > > > >better than the 40% rate it is now - it gains about 24 seconds PER > > > >MINUTE). Then I ran adjkerntz -a again, just to see if it really > > > >was the culprit. It does seem that it is adjkerntz that is causing > > > >(or triggering) the problem, but now I can't get the system back > > > >to a decent time-keeping rate. Whatever it was I stumbled across > > > >before, I'm not finding it again now. > > > > > > > >Now, it doesn't appear that adjkerntz itself has changed in YEARS, > > > >so it must be some change in the system call operation, parameters, > > > >or data structures that is causing this. > > > > > > > >So - since I don't seem to be able to stumble across what I did > > > >right before to get the timekeeping somewhat near normal, I am > > > >wondering if there's a manual way to reach them. > > > > > > I read through the cited thread, and don't see any replies; > > > nor do I see enough explanation to give you any magic > > > beans. Of course, I'm no one's fairy godmother... > > > > LOL! No - I don't expect you to be - that'd take ALL the challenge > > out of it! > > > > > > the clock on my 5.3-STABLE system is RACING. > > > > It is going at almost twice as fast as real time. > > > > > > > > > Hmm, that might mean something. What do you get from: > > > > > > sysctl -a | grep timecounter > > > > I don't know what all this means, but here it is... > > kern.timecounter.stepwarnings: 0 > > kern.timecounter.nbinuptime: 37254938 > > kern.timecounter.nnanouptime: 0 > > kern.timecounter.nmicrouptime: 3040 > > kern.timecounter.nbintime: 19671985 > > kern.timecounter.nnanotime: 2982761 > > kern.timecounter.nmicrotime: 16689224 > > kern.timecounter.ngetbinuptime: 0 > > kern.timecounter.ngetnanouptime: 318046 > > kern.timecounter.ngetmicrouptime: 14256461 > > kern.timecounter.ngetbintime: 0 > > kern.timecounter.ngetnanotime: 0 > > kern.timecounter.ngetmicrotime: 3461614 > > kern.timecounter.nsetclock: 87 > > kern.timecounter.hardware: TSC > > kern.timecounter.choice: TSC(800) i8254(0) dummy(-100) > > kern.timecounter.tick: 1 > > > > Are these all documented somewhere? I'm sure they must be, but > > I don't know where to look... > > > > > ?? > > > > > > IANAE, but I wonder if ntpd is going to be able to sync > > > > Well, maybe you will be soon. An "expert" is anyone who makes > > three consecutive correct guesses on the same topic... :) > > > > > up until the local clock runs realistically > > > > Well, I thought of that, too, and during the period between when I > > had it running decently and before I decided to try (all too > > successfully) to recreate the problem with adjkerntz, I did > > try ntpd again, but with the same results. It simply acted like > > it could not see the server. > > There are limits to ntpd's ability. It can't correct for an inaccuracy > in the local timecounter of more than around 500 ppm. I'm not sure > what happens when the actual offset is 400 000 ppm ... it could be the > behaviour you're seeing. > > I see that Kevin has already asked about timecounter. I was about to > suggest the same. My server at work had much the same problem as yours > (the clock raced at nearly double the proper speed). I resolved the > issue by instructing the server to use an alternative timecounter. I > put the following in my /etc/sysctl.conf and rebooted (this is on a > 5.1 system): > > kern.timecounter.hardware=i8254 > > In my case, the bogus timecounter was one labelled "ACPI-Safe" in the > dmesg output. I would try the i8254 if I were you, since it looks like > it's the only other option available. Hopefully the i8254 will fall > within the operating tolerances of ntpd. Awright I don't know how this happens, but using TSC(whatever that is), the clock skew is all over the dang map! With the i8254, it's VERY stable. It didn't help with ntpd, which is still saying Jan 17 22:26:17 pearl ntpd[1897]: ntpd 4.2.0-a Sun Jan 9 10:58:59 CST 2005 (1) Jan 17 22:26:17 pearl ntpd[1897]: bind() fd 7, family 2, port 123, addr 0.0.0.0, in_classd=0 flags=8 fails: Address already in use even though netstat doesn't show anything bound to port 123 before I start it. But I'm not gaining
Re: ntpd problems since upgrading to 5.3
Christian Hiris wrote: On the server ntp.matrix.net I run ntpd with the following config files (This machine still runs 5.3-BETA-4): # cat /etc/rc.conf | grep ntp ntpdate_flags="-b clock.netcetera.dk tick.keso.fi" ntpdate_enable="YES" ntpd_enable="YES" - - No need for "ntpdate -b". Following has same effect, using the time servers from ntp.conf: xntpd_enable="YES" xntpd_flags="-g" At least, that's how I use it. Rob. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: KPDF and KGhostView errors
On Tuesday 18 January 2005 03:46, Trey Sizemore wrote: > I'm getting an error when trying to view PDFs with these applications: > > ghostscript: unknown device x11 > > I have ghostscript version 7.07 installed and was able to view PDFs as > recently as a few days ago. Acrobat Reader won't even start now, so I > don't know if these are related. > > I've been upgrading my ports daily, so it might be due to a recent > upgrade. Is anyone else experiencing this? I got this error once because I had a ghostscript nox port installed. Actually, I think I had two versions simultaneously, one of which was a nox version (not sure how that happened). Anyway I deinstalled the offending version and fixed the depedencies, (I may also have forced a rebuild) and it worked. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gmirror: replacing failed disks
On Sun, Jan 16, 2005 at 11:14:48PM +0100, Christian Hiris wrote: > On Sunday 16 January 2005 21:14, Doug Poland wrote: > > > > (My system has a provider gm0s1 with ad4 and ad6 as consumers, so > > I'll use those device names) > > > > Simulate ad4 failing: > > > > pull the drive > > put the drive back in, reboot if necessary to detect drive > > After you put the drive in, you can try to attach or reinit the > controller channel where it's connected to with the command > 'atacontrol'. > did that, atacontrol reinit 2, and the drive shows up, yee haw! > If you put the same drive in, and you haven't zeroed the bootblocks > and the slicetable (on ad4) geom will recognice that the missing disk > has been re-attached and will start rebuilding. > That's not happening, gmirror says: GEOM_MIRROR: Component ad4 (device gm0s1) broken, skipping. GEOM_MIRROR: Cannot add disk ad4 to gm0s1 (error=22). > If you want to simulate insertion of a blank disk, run the 'gmirror > forget' > I'll try this after I've got the above working :) Hey, thanks for all your help so far, I really appreciate it. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
KPDF and KGhostView errors
I'm getting an error when trying to view PDFs with these applications: ghostscript: unknown device x11 I have ghostscript version 7.07 installed and was able to view PDFs as recently as a few days ago. Acrobat Reader won't even start now, so I don't know if these are related. I've been upgrading my ports daily, so it might be due to a recent upgrade. Is anyone else experiencing this? -- Cheers, Trey --- "Men do not differ much about what things they will call evils; they differ enormously about what evils they will call excusable." -- GK Chesterton 10:39PM up 4:06, 0 users, load averages: 0.09, 0.15, 0.13 FreeBSD salamander.thesizemores.net 5.3-STABLE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /usr full from wrong cvsup install
Marty Landman wrote: Cryptic enough subject? Here's what I think is my biggest problem at the moment; my fbsd (4.8 fm. mini-iso) is a small box having only 3 gb on two hard drives. Unfortunately I didn't do anything selective - like leave out x11 when I did --- Stop in /usr/ports/net/samba. # cd ../cvsup # make install clean --- which resulted in --- fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/fcpackage.2_1.tar.gz: Host not found >> Couldn't fetch it - please try to retrieve this >> port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/x11-fonts/fontconfig. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries. *** Error code 1 Stop in /usr/ports/net/cvsup. --- which I didn't understand. But I do understand # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a516062 35154 439624 7%/ /dev/ad1s1f516062 2 474776 0%/mnt /dev/ad0s1f170334 51912 10479633%/tmp /dev/ad1s1e 1032142 935616 1395699%/usr /dev/ad0s1e170334 1386 155322 1%/var procfs 4 4 0 100%/proc # This says that I blew my 1GB /usr, right? Heh, funny thing is I lost my last installation when trying to clean up a similar problem. What now? Marty You still have 104MB left on it, and that has nothing to do with the cvsup install not working. "Host not found" It's a problem with dns, directly or due to something like incomplete routing tables. What should we tell you besides "get a new (or old, for that matter) hard drive"? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: X11 configuration at 5.3 ?
On Mon, 2005-01-17 at 19:21, John wrote: > On Mon, Jan 17, 2005 at 07:12:16PM -0500, Mike Jeays wrote: > > On Mon, 2005-01-17 at 10:24, Giorgos Keramidas wrote: > > > On 2005-01-17 14:44, Frank Bonnet <[EMAIL PROTECTED]> wrote: > > > > how is called the X11 configuration tool at 5.3 ? > > > > > > It is called `xorgcfg'. Try running as root: > > > > > > # xorgcfg -textmode > > > > > > ___ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > > I had a lot of difficulty when I installed 5.3, even though I have been > > configuring X since FreeBSD 2.1.5. The tools seem to have taken a step > > backwards with xorg. xorgcfg -textmode seems to result in a bad > > configuration file, and in graphical mode, it is very obscure, and does > > not show scroll bars on list boxes and the like. > > > > Having to run Knoppix (which gets it right without asking any questions > > at all) isn't a very satisfying solution. > > I agree about the tools, but... > > I am having VERY good luck with the steps in section 5.4 of > the handbook: > 1) X -configure > 2) Test the config where it stands by starting X directly > 3) Add monitor or any other information you need > 4) Copy it to a standard location > Done! Up and running! (but see the handbook pages) > > For laptops, I have found it very helpful to glean the flat panel display > info from /var/logs/Xorg.0.log where it is put. > > I have had very BAD luck using the config scripts. They left me with > locked up or unreadable systems. Yes, next time I am going to follow the handbook to the letter! And I shall also carefully preserve my old configuration files, just in case. By now, I have installed several Linux distributions, and last night I tried Freesbie 1.1 for the first time. They all seem to get the right answers automatically, which proves it can be done at least for some machines. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: window managers don't work over ssh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 18 January 2005 02:17, [EMAIL PROTECTED] wrote: > > Hello Xian, > > sometimes using -Y instead of -X solves a lot of X11 forwarding > problems. Not sure if it would solve your problem, but did you try this? If you use this in a multiuser environment, please also read about the securtity considerations of options "ForwardX11" and "ForwardX11Trusted" in 'man 5 ssh_config' . Cheers, ch - -- Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB7HVB09WjGjvKU74RAvrXAJ4rnSRVF93KMQXqY+whDrt7Be1udACfSqOY wzsSDkhltEQLnMArmXOtNLA= =Uo0B -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ntpd problems since upgrading to 5.3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 18 January 2005 01:09, John wrote: > On Mon, Jan 17, 2005 at 12:49:00PM -0600, John wrote: > > On Mon, Jan 17, 2005 at 12:22:48PM -0600, John wrote: > > > On Tue, Jan 11, 2005 at 11:23:28PM +0900, Rob wrote: > > > > Ian Moore wrote: > > > > > Hi, > > > > > Ever since I upgraded from 5.2.1-RELEASE to 5.3-RELEASE, I've been > > > > > getting the following error on boot: > > > > > ntpd[380]: bind() fd 7, family 28, port 123, addr fe80:1 > > > > > > > > > > ::204:61ff:fe46:be89, in6_is_addr_multicast=0 flags=0 fails: Can't > > > > > :: assign > > > > > > > > > > requested address > > > > > > > > > > ntpd seems to be working from what I can see in it's log file, but > > > > > I can't do anything with ntpq to check it. > > > > > Wether I run it as my normal user or as root, running ntpq -p > > > > > always gives: ntpq: write to localhost.foo.com failed: Permission > > > > > denied Try to add "disable auth" to your ntp.conf. > > > > I had once a problem with ntpd, when also running named. Some > > > > hostname resolution failed, because the servers were started in the > > > > wrong order. Are you also running named? > > > > > > > > > Here is my ntpd entries in rc.conf: > > > > > ntpd_enable="YES" # Run ntpd Network Time Protocol > > > > > (or NO). ntpd_program="/usr/sbin/ntpd" # path to ntpd, if you > > > > > want a different one. ntpd_flags="-c /etc/ntp.conf -p > > > > > /var/run/ntpd.pid" > > > > > > > > I use: > > > > ntpd_enable="YES" > > > > ntpd_flags="-g" > > > > > > > > > and the contents of ntp.conf: > > > > > server 210.48.130.204 > > > > > server augean.eleceng.adelaide.edu.au > > > > > driftfile /var/db/ntpd.drift > > > > > logfile /var/log/ntpd > > > > > > > > And here I use: > > > > driftfile /var/db/ntpd.drift > > > > pidfile /var/run/ntpd.pid > > > > server nr1.time.server > > > > server nr2.time.server > > > > server nr3.time.server > > > > > > OK - this is interesting! > > > > > > I have identical ntp.conf files on my 5.2.1 system and my 5.3-STABLE > > > system. Guess what? The 5.2.1 system works, and the 5.3-STABLE system > > > doesn't. Not only that, but the clock on my 5.3-STABLE system is > > > RACING. It is going at almost twice as fast as real time. > > > > > > Here's the ntp.conf file: > > > # stratum 3 time server > > > server 192.168.1.1 > > > > > > driftfile /var/db/ntp.drift > > > > > > In both cases, name resolution is working. On the 5.2.1 system, ntpdc > > > shows: > > > ntpdc> peers > > > remote local st poll reach delay offsetdisp > > > === > > > *dexter.starfire 192.168.1.52 3 64 377 0.00073 0.060184 0.00093 > > > ntpdc> > > > > > > On the 5.3-STABLE system, it ntpdc shows: > > > ntpdc> peers > > > remote local st poll reach delay offsetdisp > > > === > > > =dexter.starfire 192.168.1.5316 640 0.0 0.00 0.0 > > > ntpdc> > > > > > > This shows that DNS is working fine, as the remote name is being > > > correctly resolved. (I know I'm showing some of my IP numbers, but > > > it's all NAT). > > > > > > I'm afraid something is broke! > > > > > > Oh, and ntpdate works on the 5.3 system just fine (when ntpd isn't > > > running, of course). > > > > > > The system that is running 5.3-STABLE was a good time keeper before > > > this update (4.9-STABLE). > > > > OK. An update. > > > > I ran > > "ntpdate 192.168.1.1 ; ntpdate 192.168.1.1 ; ntpdate 192.168.1.1" and > > suddenly, I'm keeping time MUCH better! > > > > My current theory is that whatever is going wrong with adjkerntz, > > it messed up the kernel time keeping adjustment, and when I ran ntpdate > > close enough together that it was able to use adjtime rather than > > stepping the time, that helped things out greatly. > > > > ntpd still doesn't work, but my system is keeping time much better! > > MUCH better! > > Stranger and stranger. > > Well, since ntp kept RUNNING, I neglected to check the logs. Shame on me. > > This is what goes into the log: > Jan 17 18:04:29 pearl ntpd[838]: ntpd 4.2.0-a Sun Jan 9 10:58:59 CST 2005 > (1) Jan 17 18:04:29 pearl ntpd[838]: bind() fd 7, family 2, port 123, addr > 0.0.0.0,in_classd=0 flags=8 fails: Address already in use > > HOWEVER, when I do a netstat -na | grep "\.12" before running it, there > is no matches. > After running it (and getting the error, but it stays running, > and non-functional), I get: > udp4 0 0 192.168.1.53.123 *.* > udp6 0 0 fe80:5::206:25ff.123 *.* > udp6 0 0 fe80:4::1.123 *.* > udp6 0 0 ::1.123*.* > udp4 0 0 127.0.0.1.123 *.* > udp6 0 0 fe80:1::2d0:59ff.123 *.* > udp6 0 0 *.123
Re: programming languages and visual programming under FreeBSD
koen de wijs wrote: Hallo, I'm just new wtih unix and FreeBSD and I have a question about programming languages, I want to learn some of them but don't know where to start. C, it was the first programming language that I learned, so I may be a little biased. However, it is not that hard to learn, and tied closely enough with the hardware that you will probably learn some things about hardware as you go. I heard that C is the most powerfull language under unix and almost the complete system is written under it. You can do everything with it. Where is a good toturial? I don't remember what book I used to learn it. Right now I have the O'Reilly book _Practical C Programming_, but I don't know if it is as good as it could be. If you decide that you want to learn C++ instead, I like _Using C++_ but my wife says _C++ Primer Plus_. Can you read and write directly with the printer port or does the kernell block that?? I got a programm from someone that putted some assmebler in his c programm to adress the printer port. And where can I find an overview of all the *.h files that you can use under FreeBSD As others have noted, don't do this. The other languages that I know are: Perl, I could only find that it is especially for tasks for your system and that it's based on C Shell scripts, for tasks for your systems and simple programms Python. Good, I think you will find that knowing Perl and C is a very good combination. What are the advantages of these languages above C... Faster development time... for example string manipulation of any sort in C is far more difficult than Perl. However, their are some things that you can do in C far more efficiently than in a higher level language. PS- Java is a nice language if you want to learn something purely object oriented. However, some people object to Sun's politics. -- Tabor Kelly [EMAIL PROTECTED] http://tabor.taborandtashell.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: window managers don't work over ssh
Kris Maglione wrote: what's in your ~/.xinitrc ? you may be running twm or the like. Oh, you're trying to run twm. I guess that's not what's running, then. signature.asc Description: OpenPGP digital signature
Re: can't build a gettext package
On Mon, Jan 17, 2005 at 08:00:35PM -0500, daniel quinn wrote: > On January 17, 2005 07:43 pm, Kris Kennaway wrote: > > On Mon, Jan 17, 2005 at 06:57:23PM -0500, daniel quinn wrote: > > > On January 17, 2005 06:16 pm, Kris Kennaway wrote: > > > > Those files are expected to be installed when the package is built on > > > > FreeBSD. Since your system didn't build them, there must be something > > > > different about it. You could check the output of the configure and > > > > build scripts to find out why, or just use a precompiled package from > > > > the FTP site if you don't care this much. > > > > > > there's not much different with this machine when compared to a default > > > install other than the make.conf file, which i've been experimenting > > > with. maybe i've gibbled something in there?: > > > > > > CC=gcc > > > CXX=g++ > > > CPUTYPE?=p3 > > > CFLAGS+= -O2 -pipe > > > > You definitely don't want this if you're on 4.x. > > i'm running 5.3-RELEASE. is this still not ok? Yes, in fact. Use the default setting. 5.3-STABLE uses -O2 -pipe -fno-strict-alias (the latter is important), but I'm not certain this will work on 5.3-RELEASE. Kris pgpwGTfoK1TXx.pgp Description: PGP signature
Re: window managers don't work over ssh
On Tue, Jan 18, 2005, [EMAIL PROTECTED] wrote: >On Mon, Jan 17, 2005 at 11:43:27PM +, Xian wrote: >> I cant seem to make any window manager work over ssh, but they all work >> locally. I am using Xorg now, and i didn't have this problem with XFree86. >> >> I start X with just xterm for testing: >> >> startx /usr/X11R6/bin/xterm >> >> and then type >> >> ssh -CXf my.home.machine twm > >Hello Xian, > >sometimes using -Y instead of -X solves a lot of X11 forwarding >problems. Not sure if it would solve your problem, but did you try this? Several conditions have to be met to forward X11 using ssh/openssh: 1. The sshd_config file on the machine you're connecting to has to have ``X11Forwarding yes'' set. 2. On the client machine, the ssh_config file needs ``ForwardX11 yes'' or the ssh command must use the ``-X'' option. 3. On newer versions of openssh, the client ssh_config must have ``ForwardX11Trusted yes''. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``Find out just what people will submit to, and you have found out the exact amount of injustice and wrong which will be imposed upon them; and these will continue until they are resisted with either words or blows, or both. The limits of tyrants are prescribed by the endurance of those whom they oppress.'' -- Frederick Douglass. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: purpose of /var/backups
On Mon, Jan 17, 2005 at 04:04:52PM -0600, Doug Poland wrote: > Hello, > > On my 5.3-STABLE systems I have a directory in /var called backups. A > view of man hier says: > >backups/ miscellaneous backup files > > with files like: > > aliases.bak > aliases.bak2 > group.bak > group.bak2 > master.passwd.bak > master.passwd.bak2 > > I'm curious, what process are writing these files to this directory? periodic daily is at work here. --->$ find /etc/periodic -name '*backup*' /etc/periodic/daily/200.backup-passwd /etc/periodic/daily/210.backup-aliases > Does something depend on these files existing? Potentially, your ability to recover your system should any of the files backed up become corrupted or compromised. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpB1keN6ZLhg.pgp Description: PGP signature
Re: window managers don't work over ssh
On Mon, Jan 17, 2005 at 11:43:27PM +, Xian wrote: > I cant seem to make any window manager work over ssh, but they all work > locally. I am using Xorg now, and i didn't have this problem with XFree86. > > I start X with just xterm for testing: > > startx /usr/X11R6/bin/xterm > > and then type > > ssh -CXf my.home.machine twm Hello Xian, sometimes using -Y instead of -X solves a lot of X11 forwarding problems. Not sure if it would solve your problem, but did you try this? > in the xterm and it tells me it cant find any unmanaged screens. > > Ive no idea whats doing wrong because other X apps work over ssh and window > managers work locally. > > Any help much appreciated. > -- > /Xian Good luck, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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 build a gettext package
On January 17, 2005 07:43 pm, Kris Kennaway wrote: > On Mon, Jan 17, 2005 at 06:57:23PM -0500, daniel quinn wrote: > > On January 17, 2005 06:16 pm, Kris Kennaway wrote: > > > Those files are expected to be installed when the package is built on > > > FreeBSD. Since your system didn't build them, there must be something > > > different about it. You could check the output of the configure and > > > build scripts to find out why, or just use a precompiled package from > > > the FTP site if you don't care this much. > > > > there's not much different with this machine when compared to a default > > install other than the make.conf file, which i've been experimenting > > with. maybe i've gibbled something in there?: > > > > CC=gcc > > CXX=g++ > > CPUTYPE?=p3 > > CFLAGS+= -O2 -pipe > > You definitely don't want this if you're on 4.x. i'm running 5.3-RELEASE. is this still not ok? > > CXXFLAGS+= -fmemoize-lookups -fsave-memoized > > You probably don't want this. k thanks. -- the more law and order are made prominent, the more thieves and robbers there will be. - lao-tsu ___ 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 build a gettext package
On Mon, Jan 17, 2005 at 06:57:23PM -0500, daniel quinn wrote: > On January 17, 2005 06:16 pm, Kris Kennaway wrote: > > Those files are expected to be installed when the package is built on > > FreeBSD. Since your system didn't build them, there must be something > > different about it. You could check the output of the configure and > > build scripts to find out why, or just use a precompiled package from > > the FTP site if you don't care this much. > > there's not much different with this machine when compared to a default > install other than the make.conf file, which i've been experimenting with. > maybe i've gibbled something in there?: > > CC=gcc > CXX=g++ > CPUTYPE?=p3 > CFLAGS+= -O2 -pipe You definitely don't want this if you're on 4.x. > CXXFLAGS+= -fmemoize-lookups -fsave-memoized You probably don't want this. Kris pgpMj0x4BDuUA.pgp Description: PGP signature
racoon and WinXP
I'm trying to use windows xp on my laptop to test the performance of my wifi adapter vs the freebsd ath driver (which is performing horribly), but I can't get the windows isakmp implementation to negotiate a psk with racoon. tcpdump gives me things like: 19:28:04.011379 0:50:fc:e8:dd:ae 0:f:b5:34:3d:9b ip 286: 192.168.1.1.isakmp > 192.168.1.254.isakmp: isakmp: phase 1 I agg: [|sa] 19:28:04.012103 0:f:b5:34:3d:9b 0:50:fc:e8:dd:ae ip 98: 192.168.1.254.isakmp > 192.168.1.1.isakmp: isakmp: phase 2/others R inf: [|n] 19:28:05.680401 0:f:b5:34:3d:9b 0:50:fc:e8:dd:ae ip 77: 192.168.1.254.1036 > 192.168.0.1.domain: 30+ A? crl.microsoft.com. (35) 19:28:24.029320 0:50:fc:e8:dd:ae 0:f:b5:34:3d:9b ip 286: 192.168.1.1.isakmp > 192.168.1.254.isakmp: isakmp: phase 1 I agg: [|sa] 19:28:24.030058 0:f:b5:34:3d:9b 0:50:fc:e8:dd:ae ip 98: 192.168.1.254.isakmp > 192.168.1.1.isakmp: isakmp: phase 2/others R inf: [|n] 19:28:44.047271 0:50:fc:e8:dd:ae 0:f:b5:34:3d:9b ip 286: 192.168.1.1.isakmp > 192.168.1.254.isakmp: isakmp: phase 1 I agg: [|sa] 19:28:44.047982 0:f:b5:34:3d:9b 0:50:fc:e8:dd:ae ip 98: 192.168.1.254.isakmp > 192.168.1.1.isakmp: isakmp: phase 2/others R inf: [|n] btw, anyone have an idea what's trying to talk to crl.microsoft.com? and racoon -F -v gives me things like: 2005-01-17 19:19:53: INFO: isakmp.c:813:isakmp_ph1begin_i(): begin Aggressive mode. 2005-01-17 19:21:53: ERROR: isakmp.c:1447:isakmp_ph1resend(): phase1 negotiation failed due to time up. b50ba08611fb67ea: 2005-01-17 19:22:14: ERROR: isakmp.c:1786:isakmp_chkph1there(): phase2 negotiation failed due to time up waiting for phase1. ESP 192.168.1.254->192.168.1.1 2005-01-17 19:22:14: INFO: isakmp.c:1791:isakmp_chkph1there(): delete phase 2 handler. 2005-01-17 19:27:04: INFO: isakmp.c:1694:isakmp_post_acquire(): IPsec-SA request for 192.168.1.254 queued due to no phase1 found. 2005-01-17 19:27:04: INFO: isakmp.c:808:isakmp_ph1begin_i(): initiate new phase 1 negotiation: 192.168.1.1[500]<=>192.168.1.254[500] 2005-01-17 19:27:04: INFO: isakmp.c:813:isakmp_ph1begin_i(): begin Aggressive mode. Any ideas? I'll post the config file if you want, but trying to describe the windows settings is more than a bitch. They both have the same key, I'll tell you that much. I set the timeouts in the racoon conf file to 140 secs. Thanks. signature.asc Description: OpenPGP digital signature
Re: Slow directory access with lots of files
On Mon, Jan 17, 2005 at 02:49:11PM -0800, Kris Kennaway wrote: > On Mon, Jan 17, 2005 at 09:34:25PM +0100, Miguel Mendez wrote: > > On Mon, 17 Jan 2005 11:13:43 -0800 > > Kris Kennaway <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > > Do you have UFS_DIRHASH in your kernel? If you don't, or if you added > > > it after the disk was already populated, you'll see the benefits if > > > you dump, wipe and restore the disk. > > > > Could you elaborate on that? My impression has always been that dirhash > > does all its magic in memory, without persistant data stored on disk. > > No. It's an optimized method for laying out the data on disk. I > think you're confusing it with softupdates, but that still doesn't > work entirely that way. No, this time it is you who are confused. UFS_DIRHASH does not affect the layout on disk at all as far as I can tell. You are probably confusing it with the dirpref changes that were made back in 2001 at approximately the same time as UFS_DIRHASH was added. -- Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: window managers don't work over ssh
what's in your ~/.xinitrc ? you may be running twm or the like. Xian wrote: I cant seem to make any window manager work over ssh, but they all work locally. I am using Xorg now, and i didn't have this problem with XFree86. I start X with just xterm for testing: startx /usr/X11R6/bin/xterm and then type ssh -CXf my.home.machine twm in the xterm and it tells me it cant find any unmanaged screens. Ive no idea whats doing wrong because other X apps work over ssh and window managers work locally. Any help much appreciated. signature.asc Description: OpenPGP digital signature
Re: X11 configuration at 5.3 ?
On Mon, Jan 17, 2005 at 07:12:16PM -0500, Mike Jeays wrote: > On Mon, 2005-01-17 at 10:24, Giorgos Keramidas wrote: > > On 2005-01-17 14:44, Frank Bonnet <[EMAIL PROTECTED]> wrote: > > > how is called the X11 configuration tool at 5.3 ? > > > > It is called `xorgcfg'. Try running as root: > > > > # xorgcfg -textmode > > > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > I had a lot of difficulty when I installed 5.3, even though I have been > configuring X since FreeBSD 2.1.5. The tools seem to have taken a step > backwards with xorg. xorgcfg -textmode seems to result in a bad > configuration file, and in graphical mode, it is very obscure, and does > not show scroll bars on list boxes and the like. > > Having to run Knoppix (which gets it right without asking any questions > at all) isn't a very satisfying solution. I agree about the tools, but... I am having VERY good luck with the steps in section 5.4 of the handbook: 1) X -configure 2) Test the config where it stands by starting X directly 3) Add monitor or any other information you need 4) Copy it to a standard location Done! Up and running! (but see the handbook pages) For laptops, I have found it very helpful to glean the flat panel display info from /var/logs/Xorg.0.log where it is put. I have had very BAD luck using the config scripts. They left me with locked up or unreadable systems. -- John Lind [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: Kernel time-keeping adjustments - how to tune?
On Mon, Jan 17, 2005 at 03:12:46PM -0600, John wrote: > On Mon, Jan 17, 2005 at 03:05:22PM -0600, Kevin Kinsey wrote: > > John wrote: > > > > >OK - on my FreeBSD 5.3-STABLE system, as I have documented (cf: > > >message thread Re: ntpd problems since upgrading to 5.3), ntpd > > >won't run, even with an identical configuation to the 5.2.1 system > > >next to it. Furthermore, when I run adjkerntz -a, it totally whacks > > >the system's ability to keep time - it races forward at quite a > > >high rate. ntpdate runs, and sets the time correctly. > > > > > >At one point, something managed to get the timekeeping parameters > > >pretty near normal - less than a second of drift per hour (much > > >better than the 40% rate it is now - it gains about 24 seconds PER > > >MINUTE). Then I ran adjkerntz -a again, just to see if it really > > >was the culprit. It does seem that it is adjkerntz that is causing > > >(or triggering) the problem, but now I can't get the system back > > >to a decent time-keeping rate. Whatever it was I stumbled across > > >before, I'm not finding it again now. > > > > > >Now, it doesn't appear that adjkerntz itself has changed in YEARS, > > >so it must be some change in the system call operation, parameters, > > >or data structures that is causing this. > > > > > >So - since I don't seem to be able to stumble across what I did > > >right before to get the timekeeping somewhat near normal, I am > > >wondering if there's a manual way to reach them. > > > > I read through the cited thread, and don't see any replies; > > nor do I see enough explanation to give you any magic > > beans. Of course, I'm no one's fairy godmother... > > LOL! No - I don't expect you to be - that'd take ALL the challenge > out of it! > > > > the clock on my 5.3-STABLE system is RACING. > > > It is going at almost twice as fast as real time. > > > > > > Hmm, that might mean something. What do you get from: > > > > sysctl -a | grep timecounter > > I don't know what all this means, but here it is... > kern.timecounter.stepwarnings: 0 > kern.timecounter.nbinuptime: 37254938 > kern.timecounter.nnanouptime: 0 > kern.timecounter.nmicrouptime: 3040 > kern.timecounter.nbintime: 19671985 > kern.timecounter.nnanotime: 2982761 > kern.timecounter.nmicrotime: 16689224 > kern.timecounter.ngetbinuptime: 0 > kern.timecounter.ngetnanouptime: 318046 > kern.timecounter.ngetmicrouptime: 14256461 > kern.timecounter.ngetbintime: 0 > kern.timecounter.ngetnanotime: 0 > kern.timecounter.ngetmicrotime: 3461614 > kern.timecounter.nsetclock: 87 > kern.timecounter.hardware: TSC > kern.timecounter.choice: TSC(800) i8254(0) dummy(-100) > kern.timecounter.tick: 1 > > Are these all documented somewhere? I'm sure they must be, but > I don't know where to look... > > > ?? > > > > IANAE, but I wonder if ntpd is going to be able to sync > > Well, maybe you will be soon. An "expert" is anyone who makes > three consecutive correct guesses on the same topic... :) > > > up until the local clock runs realistically > > Well, I thought of that, too, and during the period between when I > had it running decently and before I decided to try (all too > successfully) to recreate the problem with adjkerntz, I did > try ntpd again, but with the same results. It simply acted like > it could not see the server. There are limits to ntpd's ability. It can't correct for an inaccuracy in the local timecounter of more than around 500 ppm. I'm not sure what happens when the actual offset is 400 000 ppm ... it could be the behaviour you're seeing. I see that Kevin has already asked about timecounter. I was about to suggest the same. My server at work had much the same problem as yours (the clock raced at nearly double the proper speed). I resolved the issue by instructing the server to use an alternative timecounter. I put the following in my /etc/sysctl.conf and rebooted (this is on a 5.1 system): kern.timecounter.hardware=i8254 In my case, the bogus timecounter was one labelled "ACPI-Safe" in the dmesg output. I would try the i8254 if I were you, since it looks like it's the only other option available. Hopefully the i8254 will fall within the operating tolerances of ntpd. -- Danny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ntpd problems since upgrading to 5.3
On Mon, Jan 17, 2005 at 12:49:00PM -0600, John wrote: > On Mon, Jan 17, 2005 at 12:22:48PM -0600, John wrote: > > On Tue, Jan 11, 2005 at 11:23:28PM +0900, Rob wrote: > > > Ian Moore wrote: > > > > Hi, > > > > Ever since I upgraded from 5.2.1-RELEASE to 5.3-RELEASE, I've been > > > > getting the > > > > following error on boot: > > > > ntpd[380]: bind() fd 7, family 28, port 123, addr fe80:1 > > > > ::204:61ff:fe46:be89, in6_is_addr_multicast=0 flags=0 fails: Can't > > > > assign > > > > requested address > > > > > > > > ntpd seems to be working from what I can see in it's log file, but I > > > > can't do > > > > anything with ntpq to check it. > > > > Wether I run it as my normal user or as root, running ntpq -p always > > > > gives: > > > > ntpq: write to localhost.foo.com failed: Permission denied > > > > > > > > > > I had once a problem with ntpd, when also running named. Some hostname > > > resolution failed, because the servers were started in the wrong order. > > > Are you also running named? > > > > > > > Here is my ntpd entries in rc.conf: > > > > ntpd_enable="YES" # Run ntpd Network Time Protocol (or > > > > NO). > > > > ntpd_program="/usr/sbin/ntpd" # path to ntpd, if you want a different > > > > one. > > > > ntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid" > > > > > > I use: > > > ntpd_enable="YES" > > > ntpd_flags="-g" > > > > > > > and the contents of ntp.conf: > > > > server 210.48.130.204 > > > > server augean.eleceng.adelaide.edu.au > > > > driftfile /var/db/ntpd.drift > > > > logfile /var/log/ntpd > > > > > > And here I use: > > > driftfile /var/db/ntpd.drift > > > pidfile /var/run/ntpd.pid > > > server nr1.time.server > > > server nr2.time.server > > > server nr3.time.server > > > > OK - this is interesting! > > > > I have identical ntp.conf files on my 5.2.1 system and my 5.3-STABLE > > system. Guess what? The 5.2.1 system works, and the 5.3-STABLE system > > doesn't. Not only that, but the clock on my 5.3-STABLE system is RACING. > > It is going at almost twice as fast as real time. > > > > Here's the ntp.conf file: > > # stratum 3 time server > > server 192.168.1.1 > > > > driftfile /var/db/ntp.drift > > > > In both cases, name resolution is working. On the 5.2.1 system, ntpdc > > shows: > > ntpdc> peers > > remote local st poll reach delay offsetdisp > > === > > *dexter.starfire 192.168.1.52 3 64 377 0.00073 0.060184 0.00093 > > ntpdc> > > > > On the 5.3-STABLE system, it ntpdc shows: > > ntpdc> peers > > remote local st poll reach delay offsetdisp > > === > > =dexter.starfire 192.168.1.5316 640 0.0 0.00 0.0 > > ntpdc> > > > > This shows that DNS is working fine, as the remote name is being > > correctly resolved. (I know I'm showing some of my IP numbers, but > > it's all NAT). > > > > I'm afraid something is broke! > > > > Oh, and ntpdate works on the 5.3 system just fine (when ntpd isn't > > running, of course). > > > > The system that is running 5.3-STABLE was a good time keeper before > > this update (4.9-STABLE). > > OK. An update. > > I ran > "ntpdate 192.168.1.1 ; ntpdate 192.168.1.1 ; ntpdate 192.168.1.1" and > suddenly, I'm keeping time MUCH better! > > My current theory is that whatever is going wrong with adjkerntz, > it messed up the kernel time keeping adjustment, and when I ran ntpdate > close enough together that it was able to use adjtime rather than > stepping the time, that helped things out greatly. > > ntpd still doesn't work, but my system is keeping time much better! > MUCH better! Stranger and stranger. Well, since ntp kept RUNNING, I neglected to check the logs. Shame on me. This is what goes into the log: Jan 17 18:04:29 pearl ntpd[838]: ntpd 4.2.0-a Sun Jan 9 10:58:59 CST 2005 (1) Jan 17 18:04:29 pearl ntpd[838]: bind() fd 7, family 2, port 123, addr 0.0.0.0,in_classd=0 flags=8 fails: Address already in use HOWEVER, when I do a netstat -na | grep "\.12" before running it, there is no matches. After running it (and getting the error, but it stays running, and non-functional), I get: udp4 0 0 192.168.1.53.123 *.* udp6 0 0 fe80:5::206:25ff.123 *.* udp6 0 0 fe80:4::1.123 *.* udp6 0 0 ::1.123*.* udp4 0 0 127.0.0.1.123 *.* udp6 0 0 fe80:1::2d0:59ff.123 *.* udp6 0 0 *.123 *.* udp4 0 0 *.123 *.* I don't get it. It's almost like it's trying to start twice, or forking at the wrong time, or something. Those ports for listening look pretty resonable, but it doesn't work, and it gives that error message. Very odd. It's definitely broke. Who wants to send in t
Re: X11 configuration at 5.3 ?
On Mon, 2005-01-17 at 10:24, Giorgos Keramidas wrote: > On 2005-01-17 14:44, Frank Bonnet <[EMAIL PROTECTED]> wrote: > > how is called the X11 configuration tool at 5.3 ? > > It is called `xorgcfg'. Try running as root: > > # xorgcfg -textmode > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" I had a lot of difficulty when I installed 5.3, even though I have been configuring X since FreeBSD 2.1.5. The tools seem to have taken a step backwards with xorg. xorgcfg -textmode seems to result in a bad configuration file, and in graphical mode, it is very obscure, and does not show scroll bars on list boxes and the like. Having to run Knoppix (which gets it right without asking any questions at all) isn't a very satisfying solution. ___ 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 build a gettext package
On January 17, 2005 06:16 pm, Kris Kennaway wrote: > Those files are expected to be installed when the package is built on > FreeBSD. Since your system didn't build them, there must be something > different about it. You could check the output of the configure and > build scripts to find out why, or just use a precompiled package from > the FTP site if you don't care this much. there's not much different with this machine when compared to a default install other than the make.conf file, which i've been experimenting with. maybe i've gibbled something in there?: CC=gcc CXX=g++ CPUTYPE?=p3 CFLAGS+= -O2 -pipe CXXFLAGS+= -fmemoize-lookups -fsave-memoized NO_BLUETOOTH= true# do not build Bluetooth related stuff NO_USB= true# do not build usbd(8) and related programs # # these were in there as defaults: # PERL_VER=5.8.5 PERL_VERSION=5.8.5 PERL_ARCH=mach NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo -- to be upset over what you don't have... is to waste what you do have. - ken keyes jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kernel time-keeping adjustments - how to tune?
On Mon, Jan 17, 2005 at 03:12:46PM -0600, John wrote: > On Mon, Jan 17, 2005 at 03:05:22PM -0600, Kevin Kinsey wrote: > > John wrote: > > > > >OK - on my FreeBSD 5.3-STABLE system, as I have documented (cf: > > >message thread Re: ntpd problems since upgrading to 5.3), ntpd > > >won't run, even with an identical configuation to the 5.2.1 system > > >next to it. Furthermore, when I run adjkerntz -a, it totally whacks > > >the system's ability to keep time - it races forward at quite a > > >high rate. ntpdate runs, and sets the time correctly. > > > > > >At one point, something managed to get the timekeeping parameters > > >pretty near normal - less than a second of drift per hour (much > > >better than the 40% rate it is now - it gains about 24 seconds PER > > >MINUTE). Then I ran adjkerntz -a again, just to see if it really > > >was the culprit. It does seem that it is adjkerntz that is causing > > >(or triggering) the problem, but now I can't get the system back > > >to a decent time-keeping rate. Whatever it was I stumbled across > > >before, I'm not finding it again now. > > > > > >Now, it doesn't appear that adjkerntz itself has changed in YEARS, > > >so it must be some change in the system call operation, parameters, > > >or data structures that is causing this. > > > > > >So - since I don't seem to be able to stumble across what I did > > >right before to get the timekeeping somewhat near normal, I am > > >wondering if there's a manual way to reach them. > > > > I read through the cited thread, and don't see any replies; > > nor do I see enough explanation to give you any magic > > beans. Of course, I'm no one's fairy godmother... > > LOL! No - I don't expect you to be - that'd take ALL the challenge > out of it! > > > > the clock on my 5.3-STABLE system is RACING. > > > It is going at almost twice as fast as real time. > > > > > > Hmm, that might mean something. What do you get from: > > > > sysctl -a | grep timecounter > > I don't know what all this means, but here it is... > kern.timecounter.stepwarnings: 0 > kern.timecounter.nbinuptime: 37254938 > kern.timecounter.nnanouptime: 0 > kern.timecounter.nmicrouptime: 3040 > kern.timecounter.nbintime: 19671985 > kern.timecounter.nnanotime: 2982761 > kern.timecounter.nmicrotime: 16689224 > kern.timecounter.ngetbinuptime: 0 > kern.timecounter.ngetnanouptime: 318046 > kern.timecounter.ngetmicrouptime: 14256461 > kern.timecounter.ngetbintime: 0 > kern.timecounter.ngetnanotime: 0 > kern.timecounter.ngetmicrotime: 3461614 > kern.timecounter.nsetclock: 87 > kern.timecounter.hardware: TSC > kern.timecounter.choice: TSC(800) i8254(0) dummy(-100) > kern.timecounter.tick: 1 > > Are these all documented somewhere? I'm sure they must be, but > I don't know where to look... > > > ?? > > > > IANAE, but I wonder if ntpd is going to be able to sync > > Well, maybe you will be soon. An "expert" is anyone who makes > three consecutive correct guesses on the same topic... :) > > > up until the local clock runs realistically > > Well, I thought of that, too, and during the period between when I > had it running decently and before I decided to try (all too > successfully) to recreate the problem with adjkerntz, I did > try ntpd again, but with the same results. It simply acted like > it could not see the server. Rebooting got the basic time-keeping parameters back in order. I'll try to do some work tomorrow night to figure out what is wrong with adjkerntz and why it is causing my clock to race. -- John Lind [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: programming languages and visual programming under FreeBSD
koen de wijs wrote: > I heard that C is the most powerfull language under unix Two points here: first, this is just one opinion, and one that may start a flame war (which I'll avoid); second, C is not just for UNIX, it's a platform neutral standard language. That means you can write a program with it and, as long as you stay away from system specific things, compile and run it on UNIX, Windows, Mac, you name what. This holds true for many, but not all, languages. C is quite powerful and I'd assess its difficulty as medium. You might definitely want to give it a try, since it's very widespread. > Can you read and write directly with the printer port or does the > kernell block that?? I got a programm from someone that putted some > assmebler in his c programm to adress the printer port. You had better not do this. Not on any multitasking OS. > What are the advantages of these languages above C Without digging too deeply into it (it would require a book): C is a *programming language*, as opposed to *scripting* languages The difference is quite subtle: a programming language aims at effectiveness and is usually to be preferred for large scale projects; a scripting language aims at simplicity and fast developing times. I would say PERL and Python are scripting language, but now someone will fire on me :) > and are there more programming languages under FreeBSD? Too many to list here. From C++ and Java to oldies like Fortran and tons of others. Googling a bit will surely provide you with a list. bye av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
window managers don't work over ssh
I cant seem to make any window manager work over ssh, but they all work locally. I am using Xorg now, and i didn't have this problem with XFree86. I start X with just xterm for testing: startx /usr/X11R6/bin/xterm and then type ssh -CXf my.home.machine twm in the xterm and it tells me it cant find any unmanaged screens. Ive no idea whats doing wrong because other X apps work over ssh and window managers work locally. Any help much appreciated. -- /Xian "Knowledge speaks but wisdom listens" Jimi Hendrix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
/usr full from wrong cvsup install
Cryptic enough subject? Here's what I think is my biggest problem at the moment; my fbsd (4.8 fm. mini-iso) is a small box having only 3 gb on two hard drives. Unfortunately I didn't do anything selective - like leave out x11 when I did --- Stop in /usr/ports/net/samba. # cd ../cvsup # make install clean --- which resulted in --- fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/fcpackage.2_1.tar.gz: Host not found >> Couldn't fetch it - please try to retrieve this >> port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/x11-fonts/fontconfig. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries. *** Error code 1 Stop in /usr/ports/net/cvsup. --- which I didn't understand. But I do understand # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a516062 35154 439624 7%/ /dev/ad1s1f516062 2 474776 0%/mnt /dev/ad0s1f170334 51912 10479633%/tmp /dev/ad1s1e 1032142 935616 1395699%/usr /dev/ad0s1e170334 1386 155322 1%/var procfs 4 4 0 100%/proc # This says that I blew my 1GB /usr, right? Heh, funny thing is I lost my last installation when trying to clean up a similar problem. What now? Marty Marty Landman, Face 2 Interface Inc. 845-679-9387 Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml Web Installed Formmail: http://face2interface.com/formINSTal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: KDE issues after upgrade
On Mon, Jan 17, 2005 at 06:06:48PM +0100, gustaaf wijnands said: > > > did you read /usr/ports/UPDATING , entry 20041229 ? Yeah you guys who suggested reading UPDATING were right. I should have known better! Thanks -- Adam Smith Internode : http://www.internode.on.net Phone : (08) 8228 2999 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Slow directory access with lots of files
Kris Kennaway wrote: On Mon, Jan 17, 2005 at 11:09:52AM -0800, Totem wrote: Hello, I'm new to this list so please excuse me if this has been asked before or if I don't provide enough info. I'm having an issue and I hope someone can help me understand what is happening. I have a FreeBSD server that is running Samba. When users access directories that store lots of files (3k or so), access to the files is very slow. I'm guessing that it is a file system issue. I'd like to troubleshoot the problem but I don't know where to start. (In the mean time I have just told the users to create sub-directories and sort their files). Is there anything that I can do to make things run faster? Do you have UFS_DIRHASH in your kernel? If you don't, or if you added it after the disk was already populated, you'll see the benefits if you dump, wipe and restore the disk. Also try updating to 5.3, which is much better than the 5.2.1 developers preview release. Kris I will upgrade to 5.3 in the next few days and I will investigate how to use UFS_DIRHASH. Thanks for the help. Totem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: bsd.port.mk problems => make failing for all ports
On Mon, Jan 17, 2005 at 08:27:06AM +, [EMAIL PROTECTED] wrote: > Hi, > > Yesterday, I was upgrading some KDE dependencies using portupgrade. Since then > make fails for *every* port. > > uname -a > > FreeBSD gandalf 5.3-RELEASE-p1 FreeBSD 5.3-RELEASE-p1 #9: Wed Dec 29 19:29:37 > UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL.686.5.3 i386 > > e.g., > > cd /usr/ports/misc/kenny > make > > gives: > > "/usr/ports/Mk/bsd.port.mk", line 1993: warning: String comparison operator > should be either == or != > "/usr/ports/Mk/bsd.port.mk", line 1993: Malformed conditional > (${PKGINSTALLVER} > < 20030417) > "/usr/ports/Mk/bsd.port.mk", line 1993: Need an operator > "/usr/ports/Mk/bsd.port.mk", line 2940: warning: String comparison operator > should be either == or != > "/usr/ports/Mk/bsd.port.mk", line 2940: Malformed conditional > (${PKGINSTALLVER} > < 20040125 || ${OSVERSION} < 420001 || ${OSVERSION} >= 50 && ${OSVERSION} > < > 500014) > "/usr/ports/Mk/bsd.port.mk", line 2940: Need an operator > "/usr/ports/Mk/bsd.port.mk", line 2942: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 2942: Need an operator > "/usr/ports/Mk/bsd.port.mk", line 5022: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 5022: Need an operator > make: fatal errors encountered -- cannot continue > > + a pkg_info.core file is generated, which from gdb indicates a Signal 11, > segmentation fault 0x2826faad. My ports tree (and Mk files) are cvsuped to the > latest available. Do you have pkg_install or pkg_install-devel installed, and was this upgraded with the others? Kris pgp0NV5MREhfZ.pgp Description: PGP signature
Re: can't build a gettext package
On Mon, Jan 17, 2005 at 11:57:25AM -0500, daniel quinn wrote: > i've managed to build packages for everything else on the system, and gettext > seems to compile and install just fine, but for some reason, building the > package fails: > > ===> Building package for gettext-0.14.1 > Creating package /usr/ports/packages/All/gettext-0.14.1.tbz > Registering depends: libiconv-1.9.2_1. > Creating bzip'd tar ball in '/usr/ports/packages/All/gettext-0.14.1.tbz' > tar: include/autosprintf.h: Could not stat: No such file or directory > tar: lib/libasprintf.a: Could not stat: No such file or directory > tar: lib/libasprintf.so: Could not stat: No such file or directory > tar: lib/libasprintf.so.0: Could not stat: No such file or directory > tar: share/doc/libasprintf/autosprintf.html: Could not stat: No such file or > directory > pkg_create: make_dist: tar command failed with code 256 > *** Error code 1 > > now i understand what the error means, what i don't understand is why the > error exists in the first place. if these files aren't created with the > initial make, why is the packager trying to include them? and how do i fix > this? Those files are expected to be installed when the package is built on FreeBSD. Since your system didn't build them, there must be something different about it. You could check the output of the configure and build scripts to find out why, or just use a precompiled package from the FTP site if you don't care this much. Kris pgp0FsBPLlApu.pgp Description: PGP signature
Re: IPF firewalling
Kövesdán Gábor wrote: Anyway, thanks for your ideas, which were very useful for me. I'm using now the catch-all rules as You suggested. You also mentioned, there can be some problems with the ftp server. Could You tell me please, what You meant? Ftp hasn't been running yet, so I can't test it, but there will also be an ftp soon. Setting up ftp-session is straight forward, it works as any other server, binds to port 21. The problem is ftp-data, you have active and passive. This is from the servers point of view and relates to who establishes the connection. In active mode the server will connect (so server is the active end) _to_ the client _from_ port 20. You had a rule for _in_ coming trafic _to_ port 20, this should be deleted. Instead you need: pass out proto tcp from any port = 20 to any port > 1023 flags S \ keep state keep frags Now, since you allow any outgoing traffic you can skip this. The port > 1023 could be left out also, but I prefer to be strict. In pasive mode the client will connect to some port, specified by the server (this is really complicated). The good thing is that normally you can configure the server to use a specific port interval. Typically the range port > 49151 (dynamic range) is used. So you need something like this: pass in proto tcp from any to any port > 49151 flags S keep state \ keep frags All this ftp-data has sometimes effect on what you would expect to be ordinary ftp-session, output from some commands like ls may be sent as ftp-data, so if ftp-data doesn't work, you may experience that you can change directory but not list content and other peculiar behaviour. I don't know how to configure this for the ftpd included in base, I use vsftpd which has a simple config. Hope this explains it, otherwise, I suggest you search the rfc's or firewall documentation. Also, keep in mind, that if you have a gateway with NAT you almost always need to setup some kind of ftp-proxy to let your clients on the LAN connect. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: tracking cvsup p5 vs STABLE ?
At 04:54 PM 1/17/2005, Kris Kennaway wrote: On Mon, Jan 17, 2005 at 04:46:24PM -0600, J.D. Bronson wrote: > can someone explain to me the difference here: > > FreeBSD 5.3-RELEASE-p5 > > vs > > FreeBSD 5.3-STABLE > > > ..I wanted to track 5.3-STABLE, but when I did that I didnt get some of the > newer files (still unknown why). I was especially interested in the SMP > fixes. > > > I was having random reboots and wanted to start with a fresh 5.3 install > and then cvsup from there, but when I tracked STABLE, I didnt get some of > the files that 5.3-REL tracking gave me. > > Am I missing something here? > > I dont want to be on BLEEDING edge, but on something more than 5.3-REL and > yet stable. This is described in the handbook. Ask if you have more questions once you've read the relevant chapter. Kris well it (the book) could be clearer. Your prior post explained the most to me. -- J.D. Bronson Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282 AIM:lonebanditusa // MSN:[EMAIL PROTECTED] // Yahoo:lonebanditusa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: tracking cvsup p5 vs STABLE ?
On Mon, Jan 17, 2005 at 04:46:24PM -0600, J.D. Bronson wrote: > can someone explain to me the difference here: > > FreeBSD 5.3-RELEASE-p5 > > vs > > FreeBSD 5.3-STABLE > > > ..I wanted to track 5.3-STABLE, but when I did that I didnt get some of the > newer files (still unknown why). I was especially interested in the SMP > fixes. > > > I was having random reboots and wanted to start with a fresh 5.3 install > and then cvsup from there, but when I tracked STABLE, I didnt get some of > the files that 5.3-REL tracking gave me. > > Am I missing something here? > > I dont want to be on BLEEDING edge, but on something more than 5.3-REL and > yet stable. This is described in the handbook. Ask if you have more questions once you've read the relevant chapter. Kris pgpnxhV94Ge0Z.pgp Description: PGP signature
Re: 5.3 Building Kernel/World
On Mon, Jan 17, 2005 at 12:25:55PM -0800, Doug Hardie wrote: > >The number of changes between RELENG_5_3_0_RELEASE and RELENG_5_3 is > >very small. If you're seeing lots of changes, it means that you > >didn't actually have a 5.3-RELEASE source tree installed before now, > >which explains the problems you were seeing in compiling it. > > > >Kris > > > > Thats interesting. I was using the 5.3 release CD. The checksums > match those listed. It was installed onto a re-formatted drive as I > wanted the UFS-2. The source was installed as part of the original > installation. Anyway, either the cvsup or the cleandirs worked. I was > able to buildworld and a new kernel. Installation of both appears to > have gone correctly. uname gives the new kernel and strings of > /boot/kernel/kernel also shows the new name. uname before said > 5.3-RELEASE. It would appear that when I build the production systems > I will immediately after instalation cvsup to RELENG_5_3 and then run > make cleandir before anything else. Fortunately right now I am playing > with test systems. > > It it at all possible to not have to buildworld when building a new > kernel? For example, I was trying to add option atapicam. It would > seem that buildworld would not be necessary in that situation. If you're modifying the kernel configuration and you have not updated your sources you can use the 'config' method to build your kernels. If you update your sources then you must use buildworld/buildkernel, or you will occasionally encounter errors. This is described in the handbook in greater detail. Kris pgpeE9YSSHLlb.pgp Description: PGP signature
Re: FreeBSD/i386 may panic under heavy load on SMP machines
On Mon, Jan 17, 2005 at 01:32:10PM -0600, J.D. Bronson wrote: > At 01:08 PM 01/17/2005, you wrote: > >> The cvsup I am using is: > >> > >> *default host=cvsup8.us.FreeBSD.org > >> *default base=/var/db > >> *default prefix=/usr > >> *default release=cvs tag=RELENG_5 > >> *default delete use-rel-suffix > >> *default compress > >> > >> > >> ..doesnt this track STABLE and if so, why didnt I get these updated > >files? > > > >You did, weeks ago. > > > Thats what I had thought. But the version numbers are much older than the > ones in the announcement. > > Once I changed the tag from tag=RELENG_5 to tag=RELENG_5_3 then and only > then did I get the correct files. > > Prior to that, I tried to delete /var/db/sup and then even /usr/src > and still I was not seeing the updated files. > > I have no idea why, but I am glad that I have things working now. The errata notice is for users of 5.3-RELEASE and not users of 5.3-STABLE. Users of -STABLE branches are expected to monitor the CVS commit logs if they're interested in merges of particular bug fixes. Kris pgpiNl0MjTf7S.pgp Description: PGP signature
Re: Slow directory access with lots of files
On Mon, Jan 17, 2005 at 09:34:25PM +0100, Miguel Mendez wrote: > On Mon, 17 Jan 2005 11:13:43 -0800 > Kris Kennaway <[EMAIL PROTECTED]> wrote: > > Hi, > > > Do you have UFS_DIRHASH in your kernel? If you don't, or if you added > > it after the disk was already populated, you'll see the benefits if > > you dump, wipe and restore the disk. > > Could you elaborate on that? My impression has always been that dirhash > does all its magic in memory, without persistant data stored on disk. No. It's an optimized method for laying out the data on disk. I think you're confusing it with softupdates, but that still doesn't work entirely that way. Kris pgpB0fK4iP8aA.pgp Description: PGP signature
tracking cvsup p5 vs STABLE ?
can someone explain to me the difference here: FreeBSD 5.3-RELEASE-p5 vs FreeBSD 5.3-STABLE ..I wanted to track 5.3-STABLE, but when I did that I didnt get some of the newer files (still unknown why). I was especially interested in the SMP fixes. I was having random reboots and wanted to start with a fresh 5.3 install and then cvsup from there, but when I tracked STABLE, I didnt get some of the files that 5.3-REL tracking gave me. Am I missing something here? I dont want to be on BLEEDING edge, but on something more than 5.3-REL and yet stable. thanks - Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [INFO] buildworld problems
On Mon, Jan 17, 2005 at 10:52:56PM +0100, Daniel S. Haischt wrote: > Hello, > > yesterday I did install compat3x & compat4x. Each of > this port istalls a script to /usr/local/etc/rc.d > wich executes ldconfig -m /usr/local/lib/compat. > > Could this be the reason for my ldconfig problem? I doubt it. The default ldconfig_paths is: ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib" so if your system is not seeing libraries in /usr/local/lib then this may have been changed. One other possibility is that you made this directory world-writable, and ldconfig will refuse to read it. Kris pgpOEt8W64y1e.pgp Description: PGP signature
Re: I can't get anything from mailing list
I can't again !!! my mail server: jazzcafe.no-ip.org I can receive mailing-list @ freebsd.org recently, but I can't receive mail now Some debug message below: % less /var/log/maillog ... Jan 18 06:17:15 jazzcafe sm-mta[10027]: j0HMFSaV010027: mx2.freebsd.org [216.136.204.119] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 Jan 18 06:17:20 jazzcafe sm-mta[10028]: j0HMFXRj010028: mx2.freebsd.org [216.136.204.119] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 Jan 18 06:17:23 jazzcafe sm-mta[10029]: j0HMFaHG010029: mx2.freebsd.org [216.136.204.119] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 ... --- CryBaby <[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: Software mirgration from Windows for my friend
On Mon, 17 Jan 2005 03:00:25 -0800 Sandy Rutherford <[EMAIL PROTECTED]> wrote: > > On Sat, 15 Jan 2005 15:20:58 -0600, > > Vulpes Velox <[EMAIL PROTECTED]> said: > > >> Virtual CD is a program to mount iso images if I'm correct ( > >just> like alcohol or deamontools ) you can just mount .iso files > >with> FreeBSD : man mount_cd9660 > > > Last I checked, it required a bit more... you have to use > > mdconfig to create a device entry in /dev for the file so you can > > point mount at it. > > Yes, this is true. > > Sergei, this should do the job for you and your friend. I have only > used this up to FreeBSD 4.10. Therefore, if vnode support is > different in 5.x, it may need some updating. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html Look at 16.6.2, for info on mounting a file and a example of both. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
purpose of /var/backups
Hello, On my 5.3-STABLE systems I have a directory in /var called backups. A view of man hier says: backups/ miscellaneous backup files with files like: aliases.bak aliases.bak2 group.bak group.bak2 master.passwd.bak master.passwd.bak2 I'm curious, what process are writing these files to this directory? Does something depend on these files existing? -- 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: freebsd IT mailing list or newsgroup?
Ever thought about starting one of your own? Gene Jim Durham wrote: On Saturday 15 January 2005 01:12 pm, Chuck Swiger wrote: Jim Durham wrote: I am the sys admin for a company of about 500 people and I am running Sendmail/Procmail/Spamassassin, Samba, Apache/PHP/MySql on FreeBSD..about 8 servers in 3 offices across the US and soon to be more. OK. Freebsd-questions is wonderful and I find a lot of answers there, but the signal-to-noise is low when you are just looking for IT-oriented information regarding FreeBSD. Especially regarding systems implemented for an office/LAN environment. I was wondering if there is any mailing list or newsgroup devoted to IT on FreeBSD? Google is not returning any hits on this, nor the listing on freebsd.org. Your question parses, but it is not clear what specific thing you have in mind that would seperate an IT-oriented list from a non-IT oriented list. Can you either give an example question or two, or can you say why freebsd-questions is *not* IT-oriented? Sorry for the slow reply...I was out of touch for a day.. I guess I'm thinking that there are just a lot of things that you get into in a corporate environment . "For instances" are hard to think of off the top of my head, but, how about implementing Citrix NFuse on Tomcat on FreeBSD? They always assume Linux or Solaris or (sorry..SCO..8-) ) and while you can make it work on FreeBSD, you spend a lot of time fixing stuff that probably someone else has fixed before or conversly, you should be sharing thi info so others don't have to wade through the 'discovery' process. Or does your question mean you looking for a list whose members are mostly sysadmins and network managers, rather than end-users? Exactly. FreeBSD doesn't really make much distinction between an end-user and a sysadmin [1], but you might find freebsd-stable or freebsd-isp to come closer to what you are looking for. What I'm saying is a list like freebsd-isp, but focused on corporate IT with FreeBSD. -isp is helpful, and I *am* subscribed, but doesn't include a lot of IT types. (snip) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [INFO] buildworld problems
Hello, yesterday I did install compat3x & compat4x. Each of this port istalls a script to /usr/local/etc/rc.d wich executes ldconfig -m /usr/local/lib/compat. Could this be the reason for my ldconfig problem? I'll try to add /usr/local/lib/compat to ldconfig_paths in /etc/rc.conf. Additionally I'll remove the executable bits from the just mentioned shell scripts. Maybe that'll help ... Kris Kennaway schrieb: On Sun, Jan 16, 2005 at 08:01:06PM +0100, Daniel S. Haischt wrote: Anyway, the problem here was that the following line was missing in the bktr_core.c source file: #include Because of the missing line, FNDELAY was undefined. At least this one, and possibly the other, were already resolved. cvsup and retry. Kris !DSPAM:41ead270103581740810059! -- Mit freundlichen Gruessen / With kind regards Daniel S. Haischt Wan't a complete signature??? Type at a shell prompt: $ > finger -l [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
4327b
Hello, Has anyone had any luck getting a Crystal Sound CS4327B sound card working with 5.3? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: IPF firewalling
Hello, >Now reading this - maybe you left out the default action at the top of >the ruleset? - I only see pass rules and unless you compiled your kernel >with default block, then default is pass, leaving your host with no >effective firewall at all. > >Should suffice just to flush the rules, unless you compile your kernel >with default block. Whatever default is, it is always a good idea for >clarity to include a catch all rule. > >Also, make sure to add "log" and start ipmon, when something falls >through or is blocked for other reasons, you have a log entry stating >which rule blocked so you can debug your ruleset. - I see I left it out >in the default rules I suggested, these rules should go at top of the file: > >block out log all >block in log all > >Whatever falls through your ruleset will be logged so you can analyse it. > >When you flush your rulesets, the state table is not flushed, so you >shouldn't loose your connection. Also, I recommend you reading rules >into the inactive ruletable first. Then swap. This way you make sure >your rules does not contain typos and you don't leave your firewall/host >vulnerable. > ># ipf -IFa && ipf -I -f && ipf -s && sleep 60 && ipf -s > >lets you test the new ruleset 60 seconds, should you loose connection. >If things work then > ># ipf -Ifa && ipf -I -f && ipf -s && ipf -IFa I've resolved the problem with individual pass out rules for tcp, udp and icmp protocols. I don't know why "pass out all" was not okay, but it wasn't. Thus my ruleset starts with these lines: pass out quick on re0 proto tcp from any to any keep state keep frags pass out quick on re0 proto udp from any to any keep state keep frags pass out quick on re0 proto icmp from any to any keep state keep frags Anyway, thanks for your ideas, which were very useful for me. I'm using now the catch-all rules as You suggested. You also mentioned, there can be some problems with the ftp server. Could You tell me please, what You meant? Ftp hasn't been running yet, so I can't test it, but there will also be an ftp soon. Thanks, Gábor Kövesdán ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 5.3 Building Kernel/World
Doug Hardie wrote: [ ... ] It it at all possible to not have to buildworld when building a new kernel? For example, I was trying to add option atapicam. It would seem that buildworld would not be necessary in that situation. Yes, if the kernel sources and the world sources are in sync with each other, *and* with the binaries which are installed, you can rebuild the kernel without changing or reinstalling the world. If you simply want to try compiling the kernel several times over using different options, that's fine. If you run cvsup and it changes /usr/src, and you do not know that those changes are not significant enough to make a difference, *that's* when you need to rebuild world as well. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
they need you
Cuddle with a coed secretly http://histogenshamesick.com/sse/ get-me-0ff : histogenshamesick.com/yap/ The bootstrapping basic demented airy architect . She palestine calendrical deft attach cut . bifocal vaporous hayden spartan . degrease partial buchenwald . The daffodil spec eft cultivable nominate . She cantabrigian accentual simper . And anthropomorphic amelia alert collimate boone . She cominform debater sullivan .and ancestor burnham dementia equine proposal . The benedikt locomotor caiman convolve exhibitor . yearbook perchlorate hawk whistleable dolomitic derbyshire .and lint ohmic higgins . leave sheave noblesse riordan kaolin . The cough dorcas presbytery thoriate auburn . She queasy mattson hartley rattlesnake dissociable . The groggy betray mavis notion hypoactive desperate . status indicter baptism predict . freebsd-questions@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: Kernel time-keeping adjustments - how to tune?
On Mon, Jan 17, 2005 at 03:05:22PM -0600, Kevin Kinsey wrote: > John wrote: > > >OK - on my FreeBSD 5.3-STABLE system, as I have documented (cf: > >message thread Re: ntpd problems since upgrading to 5.3), ntpd > >won't run, even with an identical configuation to the 5.2.1 system > >next to it. Furthermore, when I run adjkerntz -a, it totally whacks > >the system's ability to keep time - it races forward at quite a > >high rate. ntpdate runs, and sets the time correctly. > > > >At one point, something managed to get the timekeeping parameters > >pretty near normal - less than a second of drift per hour (much > >better than the 40% rate it is now - it gains about 24 seconds PER > >MINUTE). Then I ran adjkerntz -a again, just to see if it really > >was the culprit. It does seem that it is adjkerntz that is causing > >(or triggering) the problem, but now I can't get the system back > >to a decent time-keeping rate. Whatever it was I stumbled across > >before, I'm not finding it again now. > > > >Now, it doesn't appear that adjkerntz itself has changed in YEARS, > >so it must be some change in the system call operation, parameters, > >or data structures that is causing this. > > > >So - since I don't seem to be able to stumble across what I did > >right before to get the timekeeping somewhat near normal, I am > >wondering if there's a manual way to reach them. > > I read through the cited thread, and don't see any replies; > nor do I see enough explanation to give you any magic > beans. Of course, I'm no one's fairy godmother... LOL! No - I don't expect you to be - that'd take ALL the challenge out of it! > > the clock on my 5.3-STABLE system is RACING. > > It is going at almost twice as fast as real time. > > > Hmm, that might mean something. What do you get from: > > sysctl -a | grep timecounter I don't know what all this means, but here it is... kern.timecounter.stepwarnings: 0 kern.timecounter.nbinuptime: 37254938 kern.timecounter.nnanouptime: 0 kern.timecounter.nmicrouptime: 3040 kern.timecounter.nbintime: 19671985 kern.timecounter.nnanotime: 2982761 kern.timecounter.nmicrotime: 16689224 kern.timecounter.ngetbinuptime: 0 kern.timecounter.ngetnanouptime: 318046 kern.timecounter.ngetmicrouptime: 14256461 kern.timecounter.ngetbintime: 0 kern.timecounter.ngetnanotime: 0 kern.timecounter.ngetmicrotime: 3461614 kern.timecounter.nsetclock: 87 kern.timecounter.hardware: TSC kern.timecounter.choice: TSC(800) i8254(0) dummy(-100) kern.timecounter.tick: 1 Are these all documented somewhere? I'm sure they must be, but I don't know where to look... > ?? > > IANAE, but I wonder if ntpd is going to be able to sync Well, maybe you will be soon. An "expert" is anyone who makes three consecutive correct guesses on the same topic... :) > up until the local clock runs realistically Well, I thought of that, too, and during the period between when I had it running decently and before I decided to try (all too successfully) to recreate the problem with adjkerntz, I did try ntpd again, but with the same results. It simply acted like it could not see the server. > Kevin Kinsey -- John Lind [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: Kernel time-keeping adjustments - how to tune?
John wrote: OK - on my FreeBSD 5.3-STABLE system, as I have documented (cf: message thread Re: ntpd problems since upgrading to 5.3), ntpd won't run, even with an identical configuation to the 5.2.1 system next to it. Furthermore, when I run adjkerntz -a, it totally whacks the system's ability to keep time - it races forward at quite a high rate. ntpdate runs, and sets the time correctly. At one point, something managed to get the timekeeping parameters pretty near normal - less than a second of drift per hour (much better than the 40% rate it is now - it gains about 24 seconds PER MINUTE). Then I ran adjkerntz -a again, just to see if it really was the culprit. It does seem that it is adjkerntz that is causing (or triggering) the problem, but now I can't get the system back to a decent time-keeping rate. Whatever it was I stumbled across before, I'm not finding it again now. Now, it doesn't appear that adjkerntz itself has changed in YEARS, so it must be some change in the system call operation, parameters, or data structures that is causing this. So - since I don't seem to be able to stumble across what I did right before to get the timekeeping somewhat near normal, I am wondering if there's a manual way to reach them. I read through the cited thread, and don't see any replies; nor do I see enough explanation to give you any magic beans. Of course, I'm no one's fairy godmother... the clock on my 5.3-STABLE system is RACING. It is going at almost twice as fast as real time. Hmm, that might mean something. What do you get from: sysctl -a | grep timecounter ?? IANAE, but I wonder if ntpd is going to be able to sync up until the local clock runs realistically Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Kernel time-keeping adjustments - how to tune?
OK - on my FreeBSD 5.3-STABLE system, as I have documented (cf: message thread Re: ntpd problems since upgrading to 5.3), ntpd won't run, even with an identical configuation to the 5.2.1 system next to it. Furthermore, when I run adjkerntz -a, it totally whacks the system's ability to keep time - it races forward at quite a high rate. ntpdate runs, and sets the time correctly. At one point, something managed to get the timekeeping parameters pretty near normal - less than a second of drift per hour (much better than the 40% rate it is now - it gains about 24 seconds PER MINUTE). Then I ran adjkerntz -a again, just to see if it really was the culprit. It does seem that it is adjkerntz that is causing (or triggering) the problem, but now I can't get the system back to a decent time-keeping rate. Whatever it was I stumbled across before, I'm not finding it again now. Now, it doesn't appear that adjkerntz itself has changed in YEARS, so it must be some change in the system call operation, parameters, or data structures that is causing this. So - since I don't seem to be able to stumble across what I did right before to get the timekeeping somewhat near normal, I am wondering if there's a manual way to reach them. -- John Lind [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: IPF firewalling
correction, I meant pass out quick on rl0 proto tcp from any to any port = 53 keep state frags pass out quick on rl0 proto udp from any to any port = 53 keep state frags I did it in kind of a hurry. On Jan 17, 2005, at 3:33 PM, Alvaro J. Gurdián wrote: If you compiled you kernel, and added options IPFILTER_DEFAULT_BLOCK, then you need to explicitly allow each service to leave the interface, as well as come in thru the interface. For example add: pass in quick proto tcp from any to any port = 53 keep state keep keep state frags pass in quick proto udp from any to any port = 53 keep state keep frags this allows the the computer to attempt to contact the DNS server upstream from it. Hope this helps, Alvaro Gurdián Jr. On Jan 16, 2005, at 10:35 AM, Kövesdán Gábor wrote: Hi, I have some trouble with the ipf configuration. I made the following ruleset: pass in quick on rl0 proto udp from any to any port = 68 keep state pass in quick proto udp from any to any port = 53 keep state keep frags pass in quick on rl0 proto tcp/udp from any to any port = 42 keep state keep frags pass in quick on rl0 proto tcp from any to any port = 22 flags S keep state pass in quick on rl0 proto tcp from any to any port = 25 keep state pass in quick on rl0 proto tcp from any to any port = 21 keep state pass in quick on rl0 proto tcp from any to any port = 20 keep state pass in quick on rl0 proto tcp from any to any port = 80 keep state block return-rst in log quick on rl0 proto tcp from any to any block return-icmp-as-dest(port-unr) in log quick on rl0 proto udp from any to any block in quick on rl0 all pass in quick on lo0 all pass out quick on lo0 all Everything seems okay, but the named. Neiher the ISP's nameserver (set by the dhcp) nor the local nameserver works. BIND 9 wrote this to /var/log/messages: Jan 16 13:59:35 server named[1028]: starting BIND 9.3.0 -u named -t /usr/local/named -c /etc/named.conf Jan 16 13:59:35 server named[1028]: could not listen on UDP socket: address in use Jan 16 13:59:35 server named[1028]: creating IPv4 interface re0 failed; interface ignored Jan 16 13:59:35 server named[1028]: could not listen on UDP socket: address in use Jan 16 13:59:35 server named[1028]: creating IPv4 interface lo0 failed; interface ignored Jan 16 13:59:35 server named[1028]: not listening on any interfaces Jan 16 13:59:35 server named[1028]: /etc/named.conf:14: couldn't add command channel 127.0.0.1#953: address in use Jan 16 13:59:35 server named[1028]: could not listen on UDP socket: permission denied Jan 16 13:59:35 server named[1028]: creating IPv4 interface re0 failed; interface ignored Jan 16 13:59:35 server named[1028]: could not listen on UDP socket: permission denied Jan 16 13:59:35 server named[1028]: creating IPv4 interface lo0 failed; interface ignored The rndc doesn't matter, I'm not going to use it, but the neither named can listen on the network and the loopback interface. Could You suggest me any solution for this trouble? Btw, this machine is going to be a web, dns, mail, etc. server and is being tested on an ordinary cable connection, that's why I'm using dhcp. Best regards, Gábor Kövesdán ___ 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: how to install a different sub-release from the port
At 03:43 PM 1/15/2005, Frank Staals wrote: You can install a newer release of apache by upgrading your portstree and than compiling it again ( use cvsup for the upgrading part: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html ) I'm going to learn to use cvsup. if you want to compile the exact version without the ports ( the linux way ) than you have to download the sourcecode from www.apache.org extract it, run a ./configure && make && make install to install This didn't work for me for some reason. I'm not going to pursue it right now, it might bite me along the way though so we'll see. btw. why don't you use apache-2 ? I use 2 for my windows boxes but 1.3 is, afaik the most commonly used version on nix boxes. Thanks Frank. Marty Marty Landman, Face 2 Interface Inc. 845-679-9387 Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml Web Installed Formmail: http://face2interface.com/formINSTal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Slow directory access with lots of files
On Mon, 17 Jan 2005 11:13:43 -0800 Kris Kennaway <[EMAIL PROTECTED]> wrote: Hi, > Do you have UFS_DIRHASH in your kernel? If you don't, or if you added > it after the disk was already populated, you'll see the benefits if > you dump, wipe and restore the disk. Could you elaborate on that? My impression has always been that dirhash does all its magic in memory, without persistant data stored on disk. Cheers, -- Miguel Mendez <[EMAIL PROTECTED]> http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 pgpHMiM21Thq3.pgp Description: PGP signature
Re: IPF firewalling
If you compiled you kernel, and added options IPFILTER_DEFAULT_BLOCK, then you need to explicitly allow each service to leave the interface, as well as come in thru the interface. For example add: pass in quick proto tcp from any to any port = 53 keep state keep keep state frags pass in quick proto udp from any to any port = 53 keep state keep frags this allows the the computer to attempt to contact the DNS server upstream from it. Hope this helps, Alvaro Gurdián Jr. On Jan 16, 2005, at 10:35 AM, Kövesdán Gábor wrote: Hi, I have some trouble with the ipf configuration. I made the following ruleset: pass in quick on rl0 proto udp from any to any port = 68 keep state pass in quick proto udp from any to any port = 53 keep state keep frags pass in quick on rl0 proto tcp/udp from any to any port = 42 keep state keep frags pass in quick on rl0 proto tcp from any to any port = 22 flags S keep state pass in quick on rl0 proto tcp from any to any port = 25 keep state pass in quick on rl0 proto tcp from any to any port = 21 keep state pass in quick on rl0 proto tcp from any to any port = 20 keep state pass in quick on rl0 proto tcp from any to any port = 80 keep state block return-rst in log quick on rl0 proto tcp from any to any block return-icmp-as-dest(port-unr) in log quick on rl0 proto udp from any to any block in quick on rl0 all pass in quick on lo0 all pass out quick on lo0 all Everything seems okay, but the named. Neiher the ISP's nameserver (set by the dhcp) nor the local nameserver works. BIND 9 wrote this to /var/log/messages: Jan 16 13:59:35 server named[1028]: starting BIND 9.3.0 -u named -t /usr/local/named -c /etc/named.conf Jan 16 13:59:35 server named[1028]: could not listen on UDP socket: address in use Jan 16 13:59:35 server named[1028]: creating IPv4 interface re0 failed; interface ignored Jan 16 13:59:35 server named[1028]: could not listen on UDP socket: address in use Jan 16 13:59:35 server named[1028]: creating IPv4 interface lo0 failed; interface ignored Jan 16 13:59:35 server named[1028]: not listening on any interfaces Jan 16 13:59:35 server named[1028]: /etc/named.conf:14: couldn't add command channel 127.0.0.1#953: address in use Jan 16 13:59:35 server named[1028]: could not listen on UDP socket: permission denied Jan 16 13:59:35 server named[1028]: creating IPv4 interface re0 failed; interface ignored Jan 16 13:59:35 server named[1028]: could not listen on UDP socket: permission denied Jan 16 13:59:35 server named[1028]: creating IPv4 interface lo0 failed; interface ignored The rndc doesn't matter, I'm not going to use it, but the neither named can listen on the network and the loopback interface. Could You suggest me any solution for this trouble? Btw, this machine is going to be a web, dns, mail, etc. server and is being tested on an ordinary cable connection, that's why I'm using dhcp. Best regards, Gábor Kövesdán ___ 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: 5.3 Building Kernel/World
> > On Jan 17, 2005, at 11:07, Kris Kennaway wrote: > > >>>cd /usr/src > >>>make cleandir > >>>make cleandir > >>>make buildworld > >>> > >>>Kris > >> Interesting, what does "make cleandir" do? Is it different than running # cd /usr/obj # chflags -R noschg * # rm -rf * as documented in the handbook? -- 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: 5.3 Building Kernel/World
On Jan 17, 2005, at 11:07, Kris Kennaway wrote: On Sun, Jan 16, 2005 at 11:32:31PM -0800, Doug Hardie wrote: The only way I can think for this to happen is if your source tree was inconsistent (i.e. not completely updated), or you updated your sources after you did the installworld, and the kernel depends on the newer version of config than the one you have built (in this case the 'safe' buildworld/buildkernel/installkernel method you used to begin with should still work). Kris Well, I tried makeworld again. Dies in Step 3. Reloaded all source from the distribution CD. makeworld dies in exactly the same place: Really, this all points to something else having changed on your system in the meantime. Try cd /usr/src make cleandir make cleandir make buildworld Kris Wish I had seen that earlier. I just tried a cvs from RELENG_5_3. I thought that would only have security fixes. Its downloading a ton of stuff. Obviously I can't stop it. Seems like just about all the userland source files are being changed. Lots of deletes too. I'll give the above a try when this finishes. Why so many files from cvs? The number of changes between RELENG_5_3_0_RELEASE and RELENG_5_3 is very small. If you're seeing lots of changes, it means that you didn't actually have a 5.3-RELEASE source tree installed before now, which explains the problems you were seeing in compiling it. Kris Thats interesting. I was using the 5.3 release CD. The checksums match those listed. It was installed onto a re-formatted drive as I wanted the UFS-2. The source was installed as part of the original installation. Anyway, either the cvsup or the cleandirs worked. I was able to buildworld and a new kernel. Installation of both appears to have gone correctly. uname gives the new kernel and strings of /boot/kernel/kernel also shows the new name. uname before said 5.3-RELEASE. It would appear that when I build the production systems I will immediately after instalation cvsup to RELENG_5_3 and then run make cleandir before anything else. Fortunately right now I am playing with test systems. It it at all possible to not have to buildworld when building a new kernel? For example, I was trying to add option atapicam. It would seem that buildworld would not be necessary in that situation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: bimap instead of public ip and servers
>I don't know anything about qmail particularly, but if you're running >your own DNS, you should be able to report anything you want to the >DNS queries of your own mail daemon... > You are probably right. I can use split horizon DNS and return to requests from localhost different IP than to requests from outside, but i'm not sure, this will solve all my problems ;-). DNS server is also sitting in LAN, on different IP, than he is claiming is his DNS responses. -- freebsd(at)beke.info ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Booting Process: Something real funny happening
Hello. I've been trying to install FreeBSD 5.3-RELEASE (miniinst.iso) on this HP Compaq DC7100 for a few months now. But the thing is, FreeBSD just won't boot! I've been searching help for this high and low, in HP forums as well as other BSD forums, with little luck. I'm installing this on a 150GB S-ATA harddrive, and the installation goes just fine. I've tried with the FreeBSD bootloader (BootMgr) as well as with the standard MBR, but the result is the same: either I press F1 to boot to FreeBSD or my machine goes through this step automatically. And what happens next? Nothing. The computer reboots, and does the same, over and over again. That's about it. And I've tried many things: 1) Playing with the BIOS setup, disabling ACPI and DMA settings, as well as looking for places to 'add a UNIX OS' but there are none. 2) Tried booting to my harddrive from the installation CD-ROM, by going to option 6: Escape to loader prompt. I did a lsdev and was returned: cd devices: cd0:Device 0x0 disk devices: disk0: BIOS drive A: disk1: BIOS drive C: disk1s1: Unknown fs: 0x7 disk2: BIOS drive D: disk2s1a: FFS disk2s1b: swap disk2s1d: FFS disk2s1e: FFS disk2s1f: FFS Booting like this "boot disk2s1a:/boot/kernel" is the only thing this loader prompt boots to, but that boots me to the installation CD-ROM :( I actually have two harddrives. One is ad4 (believed in this case to be the C: and the other is ad6 (the one I have Windows installed on), both are S-ATA. Since I have a clean MBR I'm taken directly to Windows every time. People have asked me to be more verbose on this issue, but this is as deep as I can possibly take you! All the best, Johann ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Creating a custom package
Chad Morland wrote: I have recently setup a FreeBSD jumpstart server to install using PXE. I would like to add some additional third-party applications as part of the install. The last page of the FreeBSD jumpstart guide describes how to make a custom package but it looks like it has to be built from the ports tree. The applications that I am trying to install are heavily customized and built from source. Would it be best to create a package of the compiled sources? Can a package be built if it is not a port? Do I need to create a custom port first AND THEN create a package? or.. Should I create a small package with pre and post install scripts that install the compiled source files via NFS as well as configure any system settings? My aim is to Jumpstart my server and have it running 100% operational by the end of the install process with no human interaction. So I assume that you have an install.cfg file? You can execute any available command from there by adding lines like system config_and_install_whatever_command.sh Either it should be available on a NFS mount or you must first fetch it with ftp. You will probably add such command at the end of install.cfg when you have a base system installed. This way, you can install your custom package in any way you want, be it compiling from source or installing a package or other. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD/i386 may panic under heavy load on SMP machines
At 01:08 PM 01/17/2005, you wrote: > The cvsup I am using is: > > *default host=cvsup8.us.FreeBSD.org > *default base=/var/db > *default prefix=/usr > *default release=cvs tag=RELENG_5 > *default delete use-rel-suffix > *default compress > > > ..doesnt this track STABLE and if so, why didnt I get these updated files? You did, weeks ago. Thats what I had thought. But the version numbers are much older than the ones in the announcement. Once I changed the tag from tag=RELENG_5 to tag=RELENG_5_3 then and only then did I get the correct files. Prior to that, I tried to delete /var/db/sup and then even /usr/src and still I was not seeing the updated files. I have no idea why, but I am glad that I have things working now. -- J.D. Bronson Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: System Freeze with freebsd-5.3-Release-p5
On Mon, Jan 17, 2005 at 03:38:09PM +0800, Lin, Tsung Ching wrote: > I had recompiled the kernel without those kern options. > if I enable both nis client and the second network interface, the > console shows "bge1: gigabit link up" and then the system freezes > without any log. OK, I asked a colleague, who told me that the IBM xseries 335 is known to have buggy ACPI support, which causes this problem. You could try to disable ACPI, but this also may not work. Kris pgpsm570kGz0O.pgp Description: PGP signature
Re: System Freeze with freebsd-5.3-Release-p5
On Mon, Jan 17, 2005 at 03:38:09PM +0800, Lin, Tsung Ching wrote: > I had recompiled the kernel without those kern options. > if I enable both nis client and the second network interface, the > console shows "bge1: gigabit link up" and then the system freezes > without any log. I don't think you posted a dmesg yet. Can you please do so? Kris pgp1zZ60CWC7m.pgp Description: PGP signature
RE: bandwidthd
> -Original Message- > From: Freek Nossin [mailto:[EMAIL PROTECTED] > Sent: Monday, January 17, 2005 6:09 AM > To: freebsd-questions@freebsd.org > Subject: bandwidthd > > > Hello, > > I use a program called bandwidthd to monitor my internet traffic. I've > configured the program in such a way that I can see how much > data traffic is > used by which ip (at what time of day) for several intervals of time > (current day, week and year). Bandwidthd gives nice results > and statistics, > however it crashes very often. Furthermore it is not updated > very often so > waiting for an update could take forever. Two thinks might help me out > > - someone has experience with bandwidthd and found the same bug with a > solution for it I have the same problem with the program. It still functions but it does crash very often. I talked with the devel about 6 months ago about these problems, but I never got anywhere with it that was stable. It use to have problems running on OpenBSD as well. I believe that got functional. I am currently useing IPAudit. > > - or I look for another program in the ports tree with > similar functionality > (but which one...) > > Probably it will come down to the second solution. > > Does someone has any suggestions? > > Thanks! > > Freek > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, is directed in confidence solely to the person(s) to whom it is addressed, or an authorized recipient, and may not otherwise be distributed, copied or disclosed. The contents of the transmission may also be subject to intellectual property rights and all such rights are expressly claimed and are not waived. If you have received this transmission in error, please notify the sender immediately by return electronic transmission and then immediately delete this transmission, including all attachments, without copying, distributing or disclosing same. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Slow directory access with lots of files
On Mon, Jan 17, 2005 at 11:09:52AM -0800, Totem wrote: > Hello, > > I'm new to this list so please excuse me if this has been asked before > or if I don't provide enough info. > > I'm having an issue and I hope someone can help me understand what is > happening. I have a FreeBSD server that is running Samba. When users > access directories that store lots of files (3k or so), access to the > files is very slow. I'm guessing that it is a file system issue. I'd > like to troubleshoot the problem but I don't know where to start. (In > the mean time I have just told the users to create sub-directories and > sort their files). Is there anything that I can do to make things run > faster? Do you have UFS_DIRHASH in your kernel? If you don't, or if you added it after the disk was already populated, you'll see the benefits if you dump, wipe and restore the disk. Also try updating to 5.3, which is much better than the 5.2.1 developers preview release. Kris pgpwTIr25HwIn.pgp Description: PGP signature
Slow directory access with lots of files
Hello, I'm new to this list so please excuse me if this has been asked before or if I don't provide enough info. I'm having an issue and I hope someone can help me understand what is happening. I have a FreeBSD server that is running Samba. When users access directories that store lots of files (3k or so), access to the files is very slow. I'm guessing that it is a file system issue. I'd like to troubleshoot the problem but I don't know where to start. (In the mean time I have just told the users to create sub-directories and sort their files). Is there anything that I can do to make things run faster? Here is my OS version: # uname -a FreeBSD server.example.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Here is some of the software used by the users to access files (installed via ports): samba-3.0.4,1 nss_ldap-1.204_5 openldap-server-2.1.30 (plenty of others) I'm using POSIX ACL's on the files/directories that are slow. User account information is stored in LDAP. The server is a fast enough, uses RAID 5 w/ SCSI drives, and there is plenty of RAM. Utilization is fairly low so I don't think it is a HW problem. I'm going to update the OS and ports on this server soon. Perhaps that will help, but I'm not too hopeful. Any thoughts? Thanks, Totem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: where did net-snmp go?
On Mon, Jan 17, 2005 at 12:31:46PM +0200, DA Forsyth wrote: > Hiya > > Way back when I installed FreeBSD 5.0-R I installed net-snmp from the > ports tree without issues. > > Now I have a live server running 5.2.1-R and I need SNMP to monitor > it with and it is not in the ports tree in the sense that there are > some directories called net-snmp* but they all contain only one file, > README.html. > > How do I install it now? > (Yes I did update the ports tree) See /usr/ports/MOVED Kris pgpcekLFVe9vV.pgp Description: PGP signature
Re: FreeBSD/i386 may panic under heavy load on SMP machines
On Mon, Jan 17, 2005 at 06:18:46AM -0600, J.D. Bronson wrote: > Topic: FreeBSD/i386 may panic under heavy load on SMP machines > > Category: core > Module: smp > Announced: 2005-01-16 > Credits:Stephan Uphoff, Xin LI > Affects:FreeBSD 5.3-RELEASE > Corrected: 2005-01-16 08:29:14 UTC > > ..I just got this today and was wondering...since I follow 5.3-STABLE > how come my files are not up-to-date with at least respect to this bug? > > I checked the files required and mine are quite older...even after a cvsup. > > The cvsup I am using is: > > *default host=cvsup8.us.FreeBSD.org > *default base=/var/db > *default prefix=/usr > *default release=cvs tag=RELENG_5 > *default delete use-rel-suffix > *default compress > > > ..doesnt this track STABLE and if so, why didnt I get these updated files? You did, weeks ago. Kris pgpb7iZNJ4ep6.pgp Description: PGP signature
Re: 5.3 Building Kernel/World
On Sun, Jan 16, 2005 at 11:32:31PM -0800, Doug Hardie wrote: > >>>The only way I can think for this to happen is if your source tree > >>>was > >>>inconsistent (i.e. not completely updated), or you updated your > >>>sources after you did the installworld, and the kernel depends on the > >>>newer version of config than the one you have built (in this case the > >>>'safe' buildworld/buildkernel/installkernel method you used to begin > >>>with should still work). > >>> > >>>Kris > >> > >>Well, I tried makeworld again. Dies in Step 3. Reloaded all source > >>from the distribution > >>CD. makeworld dies in exactly the same place: > > > >Really, this all points to something else having changed on your > >system in the meantime. Try > > > >cd /usr/src > >make cleandir > >make cleandir > >make buildworld > > > >Kris > > Wish I had seen that earlier. I just tried a cvs from RELENG_5_3. I > thought that would only have > security fixes. Its downloading a ton of stuff. Obviously I can't > stop it. Seems like just about all the > userland source files are being changed. Lots of deletes too. I'll > give the above a try when this > finishes. Why so many files from cvs? The number of changes between RELENG_5_3_0_RELEASE and RELENG_5_3 is very small. If you're seeing lots of changes, it means that you didn't actually have a 5.3-RELEASE source tree installed before now, which explains the problems you were seeing in compiling it. Kris pgpHEFIceREyD.pgp Description: PGP signature
Re: freebsd IT mailing list or newsgroup?
On Saturday 15 January 2005 03:15 pm, [EMAIL PROTECTED] wrote: > Jim Durham wrote: > > I am the sys admin for a company of about 500 people and I am running > > Sendmail/Procmail/Spamassassin, Samba, Apache/PHP/MySql on FreeBSD..about > > 8 servers in 3 offices across the US and soon to be more. > > <...> > > > I was wondering if there is any mailing list or newsgroup devoted to IT > > on FreeBSD? Google is not returning any hits on this, nor the listing on > > freebsd.org. > > I'm not really understanding the distinction that you're looking for. > For FreeBSD-specific technical discussions, this is the place. > Applications of course have their own lists, which are obviously more > appropriate for application-specific questions. I guess I would have to say that the niche I am talking about is supporting applications of a corporate/business nature on FreeBSD. > > For broader discussions, perhaps regarding best practices in system > administration, commercial backup recommendations, etc, I find SAGE (the > System Administrators Guild) to be an extremely valuable resource. The > community seems roughly split between the educational and corporate > sectors, with a very high level of signal. The topics covered on the > SAGE mailing list are of high relevance to the profession and practices > of system administrators, especially for someone with a network such as > yours. > > http://www.sage.org > Good suggestion. I will check that out. Thanks! -Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Configuring X [Fixed]
On Mon, 2005-01-17 at 13:07 +, Walker, Michael wrote: > Hi All, > > I am having a real problem setting up X under FreeBSD 5.3 on a Acer > Travelmate 280 laptop. > The laptop uses the Intel onboard i810 video controller, I know Xorg has > issues with this controller from past experience, so I added the necessary > line to my /etc/make.conf and proceeded to build XFree86-4. (My ports tree > is updated as of yesterday afternoon) > > However I can't seem to find a useable mode, when I try to configure X using > "xf86cfg -textmode" I select the appropriate values, and run the test it > specifies, the test works great, I get a plain screen with nothing on it, > and the mouse (touchpad in this case) is working perfectly, but the > resolution is low, it looks less than 800x600 to be honest. > If I try to "startx" at any depth setting the screen just goes black and > locks up, I cant return to the console, and ctrl+alt+del does not restart X. > I have to turn the machine off and back on manually, which results in the > boot up sequence complaining about things not being correctly unmounted. > > I have used XFree86 on this laptop before, however that was using FreeBSD > 5.2.1 and it worked fine. And it also works fine on my desktop machine (that > to has a Intel i810 controller) > Does anyone have any ideas where in my setup I am going wrong, or have a > working XF86Config file for their Intel video controller. > > Regards > > Mick Walker > NAAFI Finance International Just to update people, I managed to solve my issues by going into my system BIOS and changing my video memory from 1mb to 8mb. Thanks to all who replied. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ntpd problems since upgrading to 5.3
On Mon, Jan 17, 2005 at 12:22:48PM -0600, John wrote: > On Tue, Jan 11, 2005 at 11:23:28PM +0900, Rob wrote: > > Ian Moore wrote: > > > Hi, > > > Ever since I upgraded from 5.2.1-RELEASE to 5.3-RELEASE, I've been > > > getting the > > > following error on boot: > > > ntpd[380]: bind() fd 7, family 28, port 123, addr fe80:1 > > > ::204:61ff:fe46:be89, in6_is_addr_multicast=0 flags=0 fails: Can't assign > > > requested address > > > > > > ntpd seems to be working from what I can see in it's log file, but I > > > can't do > > > anything with ntpq to check it. > > > Wether I run it as my normal user or as root, running ntpq -p always > > > gives: > > > ntpq: write to localhost.foo.com failed: Permission denied > > > > > > > I had once a problem with ntpd, when also running named. Some hostname > > resolution failed, because the servers were started in the wrong order. > > Are you also running named? > > > > > Here is my ntpd entries in rc.conf: > > > ntpd_enable="YES" # Run ntpd Network Time Protocol (or NO). > > > ntpd_program="/usr/sbin/ntpd" # path to ntpd, if you want a different > > > one. > > > ntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid" > > > > I use: > > ntpd_enable="YES" > > ntpd_flags="-g" > > > > > and the contents of ntp.conf: > > > server 210.48.130.204 > > > server augean.eleceng.adelaide.edu.au > > > driftfile /var/db/ntpd.drift > > > logfile /var/log/ntpd > > > > And here I use: > > driftfile /var/db/ntpd.drift > > pidfile /var/run/ntpd.pid > > server nr1.time.server > > server nr2.time.server > > server nr3.time.server > > OK - this is interesting! > > I have identical ntp.conf files on my 5.2.1 system and my 5.3-STABLE > system. Guess what? The 5.2.1 system works, and the 5.3-STABLE system > doesn't. Not only that, but the clock on my 5.3-STABLE system is RACING. > It is going at almost twice as fast as real time. > > Here's the ntp.conf file: > # stratum 3 time server > server 192.168.1.1 > > driftfile /var/db/ntp.drift > > In both cases, name resolution is working. On the 5.2.1 system, ntpdc > shows: > ntpdc> peers > remote local st poll reach delay offsetdisp > === > *dexter.starfire 192.168.1.52 3 64 377 0.00073 0.060184 0.00093 > ntpdc> > > On the 5.3-STABLE system, it ntpdc shows: > ntpdc> peers > remote local st poll reach delay offsetdisp > === > =dexter.starfire 192.168.1.5316 640 0.0 0.00 0.0 > ntpdc> > > This shows that DNS is working fine, as the remote name is being > correctly resolved. (I know I'm showing some of my IP numbers, but > it's all NAT). > > I'm afraid something is broke! > > Oh, and ntpdate works on the 5.3 system just fine (when ntpd isn't > running, of course). > > The system that is running 5.3-STABLE was a good time keeper before > this update (4.9-STABLE). OK. An update. I ran "ntpdate 192.168.1.1 ; ntpdate 192.168.1.1 ; ntpdate 192.168.1.1" and suddenly, I'm keeping time MUCH better! My current theory is that whatever is going wrong with adjkerntz, it messed up the kernel time keeping adjustment, and when I ran ntpdate close enough together that it was able to use adjtime rather than stepping the time, that helped things out greatly. ntpd still doesn't work, but my system is keeping time much better! MUCH better! -- John Lind [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Creating a custom package
I have recently setup a FreeBSD jumpstart server to install using PXE. I would like to add some additional third-party applications as part of the install. The last page of the FreeBSD jumpstart guide describes how to make a custom package but it looks like it has to be built from the ports tree. The applications that I am trying to install are heavily customized and built from source. Would it be best to create a package of the compiled sources? Can a package be built if it is not a port? Do I need to create a custom port first AND THEN create a package? or.. Should I create a small package with pre and post install scripts that install the compiled source files via NFS as well as configure any system settings? My aim is to Jumpstart my server and have it running 100% operational by the end of the install process with no human interaction. Thanks! -CM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd IT mailing list or newsgroup?
On Saturday 15 January 2005 03:05 pm, Ted Mittelstaedt wrote: > > Have you seen my book and website? > > http://www.freebsd-corp-net-guide.com > > It is out of print now but still available on Amazon. > I have the book and I contributed some stuff to you a few years ago 8-) . -- -Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd IT mailing list or newsgroup?
On Saturday 15 January 2005 01:12 pm, Chuck Swiger wrote: > Jim Durham wrote: > > I am the sys admin for a company of about 500 people and I am running > > Sendmail/Procmail/Spamassassin, Samba, Apache/PHP/MySql on FreeBSD..about > > 8 servers in 3 offices across the US and soon to be more. > > OK. > > > Freebsd-questions is wonderful and I find a lot of answers there, but the > > signal-to-noise is low when you are just looking for IT-oriented > > information regarding FreeBSD. Especially regarding systems implemented > > for an office/LAN environment. > > > > I was wondering if there is any mailing list or newsgroup devoted to IT > > on FreeBSD? Google is not returning any hits on this, nor the listing on > > freebsd.org. > > Your question parses, but it is not clear what specific thing you have in > mind that would seperate an IT-oriented list from a non-IT oriented list. > Can you either give an example question or two, or can you say why > freebsd-questions is *not* IT-oriented? Sorry for the slow reply...I was out of touch for a day.. I guess I'm thinking that there are just a lot of things that you get into in a corporate environment . "For instances" are hard to think of off the top of my head, but, how about implementing Citrix NFuse on Tomcat on FreeBSD? They always assume Linux or Solaris or (sorry..SCO..8-) ) and while you can make it work on FreeBSD, you spend a lot of time fixing stuff that probably someone else has fixed before or conversly, you should be sharing thi info so others don't have to wade through the 'discovery' process. > > Or does your question mean you looking for a list whose members are mostly > sysadmins and network managers, rather than end-users? Exactly. > FreeBSD doesn't > really make much distinction between an end-user and a sysadmin [1], but > you might find freebsd-stable or freebsd-isp to come closer to what you are > looking for. What I'm saying is a list like freebsd-isp, but focused on corporate IT with FreeBSD. -isp is helpful, and I *am* subscribed, but doesn't include a lot of IT types. (snip) -- -Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ntpd problems since upgrading to 5.3
On Tue, Jan 11, 2005 at 11:23:28PM +0900, Rob wrote: > Ian Moore wrote: > > Hi, > > Ever since I upgraded from 5.2.1-RELEASE to 5.3-RELEASE, I've been getting > > the > > following error on boot: > > ntpd[380]: bind() fd 7, family 28, port 123, addr fe80:1 > > ::204:61ff:fe46:be89, in6_is_addr_multicast=0 flags=0 fails: Can't assign > > requested address > > > > ntpd seems to be working from what I can see in it's log file, but I can't > > do > > anything with ntpq to check it. > > Wether I run it as my normal user or as root, running ntpq -p always gives: > > ntpq: write to localhost.foo.com failed: Permission denied > > > > I had once a problem with ntpd, when also running named. Some hostname > resolution failed, because the servers were started in the wrong order. > Are you also running named? > > > Here is my ntpd entries in rc.conf: > > ntpd_enable="YES" # Run ntpd Network Time Protocol (or NO). > > ntpd_program="/usr/sbin/ntpd" # path to ntpd, if you want a different one. > > ntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid" > > I use: > ntpd_enable="YES" > ntpd_flags="-g" > > > and the contents of ntp.conf: > > server 210.48.130.204 > > server augean.eleceng.adelaide.edu.au > > driftfile /var/db/ntpd.drift > > logfile /var/log/ntpd > > And here I use: > driftfile /var/db/ntpd.drift > pidfile /var/run/ntpd.pid > server nr1.time.server > server nr2.time.server > server nr3.time.server OK - this is interesting! I have identical ntp.conf files on my 5.2.1 system and my 5.3-STABLE system. Guess what? The 5.2.1 system works, and the 5.3-STABLE system doesn't. Not only that, but the clock on my 5.3-STABLE system is RACING. It is going at almost twice as fast as real time. Here's the ntp.conf file: # stratum 3 time server server 192.168.1.1 driftfile /var/db/ntp.drift In both cases, name resolution is working. On the 5.2.1 system, ntpdc shows: ntpdc> peers remote local st poll reach delay offsetdisp === *dexter.starfire 192.168.1.52 3 64 377 0.00073 0.060184 0.00093 ntpdc> On the 5.3-STABLE system, it ntpdc shows: ntpdc> peers remote local st poll reach delay offsetdisp === =dexter.starfire 192.168.1.5316 640 0.0 0.00 0.0 ntpdc> This shows that DNS is working fine, as the remote name is being correctly resolved. (I know I'm showing some of my IP numbers, but it's all NAT). I'm afraid something is broke! Oh, and ntpdate works on the 5.3 system just fine (when ntpd isn't running, of course). The system that is running 5.3-STABLE was a good time keeper before this update (4.9-STABLE). -- John Lind [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: "make package" question
Brian McCann wrote: Hi all...easy question for someone. I'm starting to use one machine to make my ports and system on and NFS mount and install from that one central machine. I'm trying to use "make package" and "make package-recursive" for ports...but is there a way to have it NOT try to install the port, just make the package file? The simple answer is "no". A more complex answer is "yes, create a jail, chroot there, and build your ports inside of that". -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: this IMAP stuff is kicking my @$$...
At 08:14 PM 1/15/2005, Eric F Crist wrote: On Jan 15, 2005, at 7:06 PM, albi wrote: Eric F Crist wrote: do you get my point ? i'm trying to say that perhaps squirrelmail still demands a maildir-based imap-server (i don't know whether that's true, google could not give me an answer to that within a reasonable time) Squirrel mail definitely does not require maildir. I know this because I'm running it with mbox mailboxes. anyway, i hope you get it working soonish! good luck! ciao, albi Actually, I know the error is correct. Actually, I know what I need to do to fix this problem, it's just not working for me... I've posted a couple links that direct me in various ways regarding this error, but my server won't accept plain-text logins. Can't figure out how to get it to do so. My only suggestion for how to get things to work is to completely disable the SSL stuff from uw-imap. That's about the only way I was able to get things to work properly (although I didn't try to hard to get it to work with ssl, since I only use imap for web based mail). To do this, you need to recompile the cclient and imap-uw ports with the option -DWITHOUT_SSL (I think that's the proper option), and then recompile the php4-imap port so it recognizes that your imap doesn't use ssl. And of course make sure you run the configure script for squirrelmail. Gary Schrock [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
"make package" question
Hi all...easy question for someone. I'm starting to use one machine to make my ports and system on and NFS mount and install from that one central machine. I'm trying to use "make package" and "make package-recursive" for ports...but is there a way to have it NOT try to install the port, just make the package file? Thanks, --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: KDE issues after upgrade
Adam Smith wrote: Recent activities: o CVSup of Ports o portupgrade -Oar Hmm perhaps I shouldn't have specified the O, because my KDE is broken. Quite broken! I've reinstalled it by adding in ALL of the options, just to make sure nothing got missed, and besides perhaps deinstalling all of the KDE packages and starting again. What happens is, upon loading of KDE from KDM, just after "Initializing Peripherals", it backs out with no error and Xorg reloads. I see no errors in /var/log/messages or /var/log/Xorg.0.log or any other logs I cared to look at. I moved my ~/.kderc and ~/.kde directories elsewhere to clean out my profile but to no avail; KDE still fails in the same spot. Other windowmanagers (WindowMaker) work fine. Anyone got any suggestions as to what I might try to resolve this problem? did you read /usr/ports/UPDATING , entry 20041229 ? -- Gustaaf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: different behaviour between 4.x and 5.x (ping response/disk io) [was Re: ...
In a message dated 1/16/05 7:43:15 PM Eastern Standard Time, [EMAIL PROTECTED] writes: >stheg > >P.S. (to the list in general) Why do all of the questions about FBSD >performance, especially 4.x vs 5.x, come from people posting from >Windows boxes? Theories? Because performance is a server issue and what you use for a server has little to do with what you use on your desktop. Most people that don't have a religious repulsion with Microsoft use Windows on the desktop. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Configuring X
Walker, Michael wrote: Hi All, I am having a real problem setting up X under FreeBSD 5.3 on a Acer Travelmate 280 laptop. The laptop uses the Intel onboard i810 video controller, I know Xorg has issues with this controller from past experience, so I added the necessary line to my /etc/make.conf and proceeded to build XFree86-4. (My ports tree is updated as of yesterday afternoon) However I can't seem to find a useable mode, when I try to configure X using "xf86cfg -textmode" I select the appropriate values, and run the test it specifies, the test works great, I get a plain screen with nothing on it, and the mouse (touchpad in this case) is working perfectly, but the resolution is low, it looks less than 800x600 to be honest. If I try to "startx" at any depth setting the screen just goes black and locks up, I cant return to the console, and ctrl+alt+del does not restart X. I have to turn the machine off and back on manually, which results in the boot up sequence complaining about things not being correctly unmounted. Scary, to be sure, but probably not life threatening just yet. Take a backup ;-) Surely you meant "CTL-ATL-Bksp". Another strategem I have used --- CTL-F2 to another vtty, login as root, re-edit the config file, and -HUP the X server. Or, you could shutdown from there. At any rate you can probably find a way around a hard reboot if you try (include #disclaimer.h) {I guess you could at least consider that encouragement?} I have used XFree86 on this laptop before, however that was using FreeBSD 5.2.1 and it worked fine. And it also works fine on my desktop machine (that to has a Intel i810 controller) Does anyone have any ideas where in my setup I am going wrong, or have a working XF86Config file for their Intel video controller. Regards Mick Walker NAAFI Finance International Nothing much. The handbook does state that: If you are using *XFree86 4.1.0* (or later) and messages about unresolved symbols like fbPictureInit appear, try adding the following line after Driver "i810" in the X11 configuration file: Option "NoDDC" Of course, I have no idea if you are getting such messages, and if the box is locking up, you probably don't either. Nor do I know if that particular section has been changed lately, or if it needs to be. I seem to remember getting X up on an 810 once, but I don't have that box anymore, and it wasn't a laptop anyhow. Anything in the log files? You might attached your configuration file and see if anyone can spot something you might have missed. Good luck, Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: KDE issues after upgrade
On Monday 17 January 2005 16:47, Chris wrote: > Adam Smith wrote: > >What happens is, upon loading of KDE from KDM, just after "Initializing > >Peripherals", it backs out with no error and Xorg reloads. > >Anyone got any suggestions as to what I might try to resolve this problem? > > When ever you pull off a cvsup of the ports tree, you MUST, again - MUST > read /usr/ports/UPDATING > to view additional instructions, issues, etc. That should be the 2nd > thing you do. 1st being the actual cvsup. > > Read that file and see if anything pops out at you. See the 20041229 entry in particular. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
can't build a gettext package
i've managed to build packages for everything else on the system, and gettext seems to compile and install just fine, but for some reason, building the package fails: ===> Building package for gettext-0.14.1 Creating package /usr/ports/packages/All/gettext-0.14.1.tbz Registering depends: libiconv-1.9.2_1. Creating bzip'd tar ball in '/usr/ports/packages/All/gettext-0.14.1.tbz' tar: include/autosprintf.h: Could not stat: No such file or directory tar: lib/libasprintf.a: Could not stat: No such file or directory tar: lib/libasprintf.so: Could not stat: No such file or directory tar: lib/libasprintf.so.0: Could not stat: No such file or directory tar: share/doc/libasprintf/autosprintf.html: Could not stat: No such file or directory pkg_create: make_dist: tar command failed with code 256 *** Error code 1 now i understand what the error means, what i don't understand is why the error exists in the first place. if these files aren't created with the initial make, why is the packager trying to include them? and how do i fix this? -- What could it be, we're all doomed! who's flying this thing?!?! Oh, that would be me. - Wash, Firefly, "Bushwhacked" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: different behaviour between 4.x and 5.x (ping response/disk io) [was Re: ...
In a message dated 1/16/05 7:43:15 PM Eastern Standard Time, [EMAIL PROTECTED] writes: >>Now i am really puzzled because i cannot understand why 4.x behaves >>relatively good compared to 5.x on this specific issue. Is there a >>good explanation or does one have to investigate this further? >Also, as you saw yourself, using an SMP kernel in FBSD 5.3 doesn't >cause a performance hit in networking but it does in NBSD 2.0. >So your choices seem to be use 4.11RC2 (full release due shortly) to >get the best network response, 5.3 to get as good performance as NBSD >2.0 but with SMP, or use NBSD 2.0 to get as good perfomance as 5.3 but >without SMP. Of course, you can wait until NBSD (your prefered OS) >performs as well as FBSD, but that may be a lnng time.:) Of course you won't be able to run 4.x on the latest hardware, because they've stopped supporting such things. What "puzzles" me is that they call 5.x the "production version", even though they seem to know its not there yet. So (sadly), you can't run the fastest version on the fastest hardware. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: system time mysteriously changes
On Mon, Jan 17, 2005 at 09:28:04AM -0700, Danny MacMillan wrote: > On Tue, Dec 28, 2004 at 09:05:53PM -0800, Kevin Smith wrote: > > I'm having a problem with my system clock. The time will be fine for > > a few days, then all of a sudden, I will notice that it has jumped > > ahead by a number of hours (usually enough to change the day to the > > next day). I can confirm that the time has changed on the system > > cloth in the BIOs setup as well. This has happened once every few > > days. > > > > I thought it may be a clock battery problem on the the motherboard, but > > I am thinking that this is not the case as the minutes are usually OK - > > it is just the hours/day that changes. > > > > Another idea that I had was that because I am dual booting windows (on > > occasion) and freeBSD, windows may be the culprit, but I verified that > > by rebooting windows, it is not resetting the system clock. > > If you told FreeBSD when installing that your system clock was set to > UTC that is likely the problem. Windows assumes the system clock is > set to local time. It's moving exactly 8 hours, which appears to be > your time zone offset from UTC. Go into /stand/sysinstall and tell it > your system clock is set to local time. I'm not sure where that is; > there might even be command line utilities that will do it more easily > but it should be easy to find. You'll probably have to reset the clock > afterwards but I suspect that will be the end of your problems. > > > Any ideas on what could be wrong ? I also have ntpd running, which I > > used as an attempt to keep the clock set correctly (in effort to find a > > solution to the problem), but it does not appear to be able to handle > > correcting the time. > > If the offset is too large ntpd won't by default be able to correct it. > A good idea is to enable ntpdate at boot as well. ntpdate will sync > the clock at boot, and ntpd will keep it synced thereafter. I have > this in my rc.conf, in addition to my ntpd setup: > > ntpdate_enable="YES" > ntpdate_flags="-b -v" > > You shouldn't have to specify a server in your case; ntpdate will read > your existing ntp.conf for that. I think that adjkerntz is not working correctly. I am having the same problem. As adjkerntz doesn't appear to have been fiddled with in a long, long time, it must be something else about the current environment. Anyway - when I use adjkerntz - my time gets set ahead 5 hours. This odd, since I am 6 hours from GMT.I think that Kevin is having the same problem, where his clock is getting bumped by 1 hour less than his GMT offset. I have temporarily commented out the adjkerntz entry in my /etc/crontab, and advised him to do the same. When I have some time tonight, when I'm not doing my "real job," I'll look into this and see if I can figure out what's going on. It's something strange! -- John Lind [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: KDE issues after upgrade
Adam Smith wrote: Recent activities: o CVSup of Ports o portupgrade -Oar Hmm perhaps I shouldn't have specified the O, because my KDE is broken. Quite broken! I've reinstalled it by adding in ALL of the options, just to make sure nothing got missed, and besides perhaps deinstalling all of the KDE packages and starting again. What happens is, upon loading of KDE from KDM, just after "Initializing Peripherals", it backs out with no error and Xorg reloads. I see no errors in /var/log/messages or /var/log/Xorg.0.log or any other logs I cared to look at. I moved my ~/.kderc and ~/.kde directories elsewhere to clean out my profile but to no avail; KDE still fails in the same spot. Other windowmanagers (WindowMaker) work fine. Anyone got any suggestions as to what I might try to resolve this problem? When ever you pull off a cvsup of the ports tree, you MUST, again - MUST read /usr/ports/UPDATING to view additional instructions, issues, etc. That should be the 2nd thing you do. 1st being the actual cvsup. Read that file and see if anything pops out at you. KDE has never really been a to-the-point upgrade. There have always been gotcha's. -- Best regards, Chris PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Microkernel version of FreeBSD
On Sun, Jan 16, 2005 at 08:17:47PM -0500, Nicholas Ink wrote: > Dear FreeBSD, > Is there a microkernel version of the FreeBSD software that has > source code available for download? Is it directly related to the > project? You may want to have a look at Darwin. > I am currently working on a microkernel project and would be interested > in any such system. Which microkernel? Perhaps L4Ka::Pistachio (http://l4ka.org/)? It would be nice to have a {Net,Open,Free}BSD port to Pistachio someday. At least NetBSD should be relatively easy to port. > Thanks, > Nicholas Ink Cheers, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"