Re: freebsd7 & kde4 & performance
Brian wrote: > [EMAIL PROTECTED] wrote: >> Hi Michael, >> >> Unfortunetly I've been having the same difficulty with KDE4. I've >> tried using both the nv driver as well as nvidia. >> >> My hardware is intel core2 duo 1.8ghz, nvidia 8600 gs with 512 >> dedicated memory and 2gigs of system memory. I've tried using 7.0, 7.1 >> and 8.0(Current) with all malloc debugging features disabled as well >> as kernel debugging options turned off. I've also tried switching back >> to UFS filesystems from ZFS(root install) to no avail. >> >> In the end I ended up using kde3 due to endless headaches. I felt I'd >> share this in hopes someone has managed to get it to run reasonably well. >> >> Regards, >> >> Tom >> --Original Message-- >> From: Michal Kulczewski >> Sender: [EMAIL PROTECTED] >> To: freebsd-questions@freebsd.org >> Subject: freebsd7 & kde4 & performance >> Sent: Oct 11, 2008 12:18 AM >> >> Hi, >> >> I'm a little bit disappointed with the performance of kde4 on freebsd7. >> I have Pentium M 2GHz, 1GB RAM, radeon x300, tried both, radeon and ati >> drivers, but kde4 is still so slow that I cannot work with it. Is it >> because of poor graphic card or driver itself? I'm looking forward to >> any suggestions. >> >> Cheers, >> Michal > > > Here is some additional info, I too am doing v3. > > http://freebsd.kde.org/instructions.php well, there is no much information available though. IMHO it's a pity that once fancy gui is available, freebsd users can not make use of it. I have to switch to gnome (somehow I don't like kde3). Cheers, Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd7 & kde4 & performance
[EMAIL PROTECTED] wrote: Hi Michael, Unfortunetly I've been having the same difficulty with KDE4. I've tried using both the nv driver as well as nvidia. My hardware is intel core2 duo 1.8ghz, nvidia 8600 gs with 512 dedicated memory and 2gigs of system memory. I've tried using 7.0, 7.1 and 8.0(Current) with all malloc debugging features disabled as well as kernel debugging options turned off. I've also tried switching back to UFS filesystems from ZFS(root install) to no avail. In the end I ended up using kde3 due to endless headaches. I felt I'd share this in hopes someone has managed to get it to run reasonably well. Regards, Tom --Original Message-- From: Michal Kulczewski Sender: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: freebsd7 & kde4 & performance Sent: Oct 11, 2008 12:18 AM Hi, I'm a little bit disappointed with the performance of kde4 on freebsd7. I have Pentium M 2GHz, 1GB RAM, radeon x300, tried both, radeon and ati drivers, but kde4 is still so slow that I cannot work with it. Is it because of poor graphic card or driver itself? I'm looking forward to any suggestions. Cheers, Michal Here is some additional info, I too am doing v3. http://freebsd.kde.org/instructions.php Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd7 & kde4 & performance
Hi Michael, Unfortunetly I've been having the same difficulty with KDE4. I've tried using both the nv driver as well as nvidia. My hardware is intel core2 duo 1.8ghz, nvidia 8600 gs with 512 dedicated memory and 2gigs of system memory. I've tried using 7.0, 7.1 and 8.0(Current) with all malloc debugging features disabled as well as kernel debugging options turned off. I've also tried switching back to UFS filesystems from ZFS(root install) to no avail. In the end I ended up using kde3 due to endless headaches. I felt I'd share this in hopes someone has managed to get it to run reasonably well. Regards, Tom --Original Message-- From: Michal Kulczewski Sender: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: freebsd7 & kde4 & performance Sent: Oct 11, 2008 12:18 AM Hi, I'm a little bit disappointed with the performance of kde4 on freebsd7. I have Pentium M 2GHz, 1GB RAM, radeon x300, tried both, radeon and ati drivers, but kde4 is still so slow that I cannot work with it. Is it because of poor graphic card or driver itself? I'm looking forward to any suggestions. Cheers, Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Sent from my BlackBerry device on the Rogers Wireless Network___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
freebsd7 & kde4 & performance
Hi, I'm a little bit disappointed with the performance of kde4 on freebsd7. I have Pentium M 2GHz, 1GB RAM, radeon x300, tried both, radeon and ati drivers, but kde4 is still so slow that I cannot work with it. Is it because of poor graphic card or driver itself? I'm looking forward to any suggestions. Cheers, Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Need help installing on SATA
Conrad J. Sabatier wrote: Does anyone know the magic incantation that will permit me to install FreeBSD on this new machine of mine (nVidia chipset, SATA1 disk controller)? I've been trying for a week or so now, with no luck. Just out of curiosity, I downloaded and ran Ubuntu 8.x, and it recognized all of my hardware automatically. The FreeBSD installer (both in 7.x and 8.x), though, can't find my hard drive or CD-ROM. I *really* don't want to have to resort to Linux, not after using FreeBSD for 12 years now, but if I can't find a solution to this problem, I'll have no choice. :-( Thanks for any advice. Can u not get thru the install, or do you have issues afterwards? I make it thru the install ok, but when I upgrade to stable, I have problems due to numbering changes. I'd suggest using google or the freebsd website to search for your motherboard model and some other search terms. You'll probably be told to check the supported hw list to start with. Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Need help installing on SATA
Does anyone know the magic incantation that will permit me to install FreeBSD on this new machine of mine (nVidia chipset, SATA1 disk controller)? I've been trying for a week or so now, with no luck. Just out of curiosity, I downloaded and ran Ubuntu 8.x, and it recognized all of my hardware automatically. The FreeBSD installer (both in 7.x and 8.x), though, can't find my hard drive or CD-ROM. I *really* don't want to have to resort to Linux, not after using FreeBSD for 12 years now, but if I can't find a solution to this problem, I'll have no choice. :-( Thanks for any advice. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dmesg: Invalid time in clock: check and reset the date
Hi, I've just installed FreeBSD 7.0 Release along with Windows XP on my PC. I found that when I set the clock to the correct time&date, next time I boot into FreeBSD it changes and reports the wrong time&date. Both BIOS and Windows reports the time correctly. dmesg shows the following message: Invalid time in clock: check and reset the date! Can't figure out what's wrong... any help will be appreciated. regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
proflibs
Can anyone explain what are the proflibs on the install media, and what they are for? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kernel: Approaching the limit on PV entries...
> > vm.pmap.pv_entry_count: 583006 > > vm.pmap.shpgperproc: 200 > > vm.pmap.pv_entry_max: 2243305 > > > > The system: > > FreeBSD 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 1 > > 07:51:58 UTC 2008 > > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 > > > > Can someone briefly explain what this is telling me and how to decide > > which sysctl to increase? I have found some old postings that predate > > the sysctls that suggested increasing shpgperproc in the kernel > > configuration, about 50 at a time until the problem goes away, but I > > still have no clue what that is accomplishing. what (simplified): the pv_entry helps the virtual memory system track physical pages, so a physical page can be shared with another process or another virtual address. In the i386/amd64 the pv_entry entries are allocated in page size "chunks" on a per process memory map basis. This helps reduce redundant pointers and overall saves memory. "shpgperproc" can be read as "the number of shared pages per proceess". pv_entry_max is calculated from shpgperproc (and on the amd64, shpgperproc can be derived from setting the vm.pmap.pv_entry_max). On the amd64, the values can be adjusted by sysctl, but on the i386 the values must be compiled into the kernel. There are some automatic adjustments in the calculation of the number of pv_entry, but the warnings are given early enough to help aid in the tweaking of the value. The advice of slowly increasing vm.pmap.shpgperproc is probably the best solution. I would adjust up slower than 50 (25% increase seems to be pretty high). --Mark Tinguely. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewall and FreeBSD ports
sh/bash: export FTP_PASSIVE_MODE=true csh: setenv FTP_PASSIVE_MODE true First off, this did solve the problem. Thank you, Jeremy. Now, as to the why... That's odd, because if you are running 7.x with a default settings, FTP_PASSIVE_MODE should be irrelevant to fetching distfiles - even if it's set to "no". Do you have any FETCH_* variables defined? No What happens if you cd to a port directory and type: make -V FETCH_CMD ? [EMAIL PROTECTED]:~]> cd /usr/ports/shells/zsh '[EMAIL PROTECTED]:zsh]> make -V FETCH_CMD /usr/bin/fetch -ApRr [EMAIL PROTECTED]:zsh]> I then wanted to install NTP: cd /usr/ports/net/ntp make config; make install clean This failed because the mirrors were not accessible. I just tried this port myself and it failed on all four servers configured in the Makefile, only succeeding on the fallback Freebsd server, (Freebsd's own cache for package building). Unless you turn-up something odd for FETCH_CMD, I think there's a good chance that you never had an FTP firewall problem in the first place, and that the file has simply been added to ftp.freebsd.org since you got the original failure. I just removed the FTP_PASSIVE_MODE variable from .bash_profile, logged out, and logged back in. I then tried to install another port and it installed without problem. -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fwd: Firewall and FreeBSD ports
On Fri, 10 Oct 2008 16:16:29 -0400 John Almberg <[EMAIL PROTECTED]> wrote: > On Oct 10, 2008, at 2:41 PM, Jeremy Chadwick wrote: > > >>> See the fetch(1) man page. Try this first: > >>> > >>> sh/bash: export FTP_PASSIVE_MODE=true > >>> csh: setenv FTP_PASSIVE_MODE true > > First off, this did solve the problem. Thank you, Jeremy. > > Now, as to the why... That's odd, because if you are running 7.x with a default settings, FTP_PASSIVE_MODE should be irrelevant to fetching distfiles - even if it's set to "no". Do you have any FETCH_* variables defined? What happens if you cd to a port directory and type: make -V FETCH_CMD ? > I believe I am using ports. In this case, I had just installed and > configured PF (the first thing I do, now, when building a new > machine.) > > I then wanted to install NTP: > > cd /usr/ports/net/ntp > make config; make install clean > > This failed because the mirrors were not accessible. I just tried this port myself and it failed on all four servers configured in the Makefile, only succeeding on the fallback Freebsd server, (Freebsd's own cache for package building). Unless you turn-up something odd for FETCH_CMD, I think there's a good chance that you never had an FTP firewall problem in the first place, and that the file has simply been added to ftp.freebsd.org since you got the original failure. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kernel: Approaching the limit on PV entries...
Bob Johnson wrote: A web server with several jailed copies of Apache is having problems that seem to be caused by incorrect IPFW rules, but in the process of working on that, I find in the log the following repeated many times: Oct 8 23:29:50 spider kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl. Oct 8 23:30:52 spider kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl. sysctl gives me: # sysctl vm.pmap vm.pmap.pmap_collect_active: 0 vm.pmap.pmap_collect_inactive: 0 vm.pmap.pv_entry_spare: 45818 vm.pmap.pv_entry_allocs: 595716945 vm.pmap.pv_entry_frees: 595133939 vm.pmap.pc_chunk_tryfail: 0 vm.pmap.pc_chunk_frees: 3543052 vm.pmap.pc_chunk_allocs: 3546795 vm.pmap.pc_chunk_count: 3743 vm.pmap.pv_entry_count: 583006 vm.pmap.shpgperproc: 200 vm.pmap.pv_entry_max: 2243305 The system: FreeBSD 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 1 07:51:58 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 Can someone briefly explain what this is telling me and how to decide which sysctl to increase? I have found some old postings that predate the sysctls that suggested increasing shpgperproc in the kernel configuration, about 50 at a time until the problem goes away, but I still have no clue what that is accomplishing. Also, the system has been rebooted since I collected those messages, and they aren't happening any more, but I expect they will reappear eventually. Until then I probably can't actually test anything. Thanks for your time, -- Bob Johnson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" For what it's worth, I just came across a machine with the same exact problem, except when I do finally run out of entries, I get a kernel panic. FBSD 7-RELEASE-p4 ~Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: an even dumber q: how do i get sage's ports-ypgrade working?
Are you referring to sysinstall? /usr/sbin/sysinstall In the older days it was under /stand if I'm correct If you are missing the ports you could also simply use ftp to transfer the tar.gz archive from ftp.freebsd.org or an alternative mirror... Regards, Tom Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: Gary Kline <[EMAIL PROTECTED]> Date: Fri, 10 Oct 2008 16:21:34 To: FreeBSD Mailing List Subject: an even dumber q: how do i get sage's ports-ypgrade working? Late last December my small network began falling apart. Still not sure how, but a fellow from Dallas came to my rescue and from his home, slowly rebuilt and re-configured everything. E.g.: for one thing, where I hack sendmail working via various kludges, he set up imap. I had thought that was mostly for students He also filled me in on jails. Previously, I had my 1998 Kayak doing DNS and mail and web solo. Jon created a jail and set things up there. He used NFS to bring over things from a faster computer. That's well and good; it makes sense to compile a suite that takes days on sage [Kayak @ 400MHz] on my Dell8200 [2.4GHZ]. A few days ago I realized that I was missing some simple programs on sage. I went into ports: empty. Years ago there was a standalone script that let you fix or tune things. I thought it was on the hard drive as well as the CD set. Anybody? thanks for any clues! gary -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
an even dumber q: how do i get sage's ports-ypgrade working?
Late last December my small network began falling apart. Still not sure how, but a fellow from Dallas came to my rescue and from his home, slowly rebuilt and re-configured everything. E.g.: for one thing, where I hack sendmail working via various kludges, he set up imap. I had thought that was mostly for students He also filled me in on jails. Previously, I had my 1998 Kayak doing DNS and mail and web solo. Jon created a jail and set things up there. He used NFS to bring over things from a faster computer. That's well and good; it makes sense to compile a suite that takes days on sage [Kayak @ 400MHz] on my Dell8200 [2.4GHZ]. A few days ago I realized that I was missing some simple programs on sage. I went into ports: empty. Years ago there was a standalone script that let you fix or tune things. I thought it was on the hard drive as well as the CD set. Anybody? thanks for any clues! gary -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kwik question re virt websites...
On Fri, Oct 10, 2008 at 03:08:48PM -0700, Fred Condo wrote: > > On Oct 10, 2008, at 2:31 PM, Gary Kline wrote: > > > > > Guys, > > > > When I restarted apache22, there was a warning that > > something was missing. It had nothing [ hopefully ] to > > do with the new virtual site I want to set up. > > > > Can anybody tell me what the following error is? I do > > have an index.html file in /usr/local/www/cryonics. > > Also have the entries in the apache22/Includes/httpd* > > and in my namedb/* files. I have more that five virtual > > websites; what am I forgetting here?? > > > > gary > > > > > > > > > >lynx: Can't access startfile http://cryonics.thought.org/ > > > > > >-- > >Gary Kline [EMAIL PROTECTED] http://www.thought.org Public > >Service Unix > > http://jottings.thought.org http://transfinite.thought.org > > It's your DNS: > > $ host cryonics.thought.org > Host cryonics.thought.org not found: 3(NXDOMAIN) > Yes, you're absoultely right [ as i had an idea about around 45 minutes after my post. It was January since I last touched those files, and sad to admin, my LAN volunteer did that favor when he re-organized stuff for me. Thus, i thank you muchly and hang my head in shame. And, uhhh, i've got an even dumber question coming up very shortly. just to prepare the list for more yuks. gary > -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gzipping multiple files w/o tarring
On Fri, Oct 10, 2008 at 09:42:41PM +0200, Wojciech Puchar wrote: >> >> "gzip *" will do what you want. >> >> When it encounters something that's already gzip'd, it will skip it, >> but will emit a warning that it's doing so. >> >> Otherwise, you could use something like: >> >> find -X . \! -name "*.tar.gz" -type f -maxdepth 1 | xargs gzip >> > i don't understand the difference. The 2nd will avoid the warnings emit by "gzip *" when encountering already-gzipped files. It all depends on what the user wants. > .tar.gz files are already gzip'd :), so no need for second case. it will > be skipped anyway -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kwik question re virt websites...
On Oct 10, 2008, at 2:31 PM, Gary Kline wrote: Guys, When I restarted apache22, there was a warning that something was missing. It had nothing [ hopefully ] to do with the new virtual site I want to set up. Can anybody tell me what the following error is? I do have an index.html file in /usr/local/www/cryonics. Also have the entries in the apache22/Includes/httpd* and in my namedb/* files. I have more that five virtual websites; what am I forgetting here?? gary lynx: Can't access startfile http://cryonics.thought.org/ -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org It's your DNS: $ host cryonics.thought.org Host cryonics.thought.org not found: 3(NXDOMAIN) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
kwik question re virt websites...
Guys, When I restarted apache22, there was a warning that something was missing. It had nothing [ hopefully ] to do with the new virtual site I want to set up. Can anybody tell me what the following error is? I do have an index.html file in /usr/local/www/cryonics. Also have the entries in the apache22/Includes/httpd* and in my namedb/* files. I have more that five virtual websites; what am I forgetting here?? gary lynx: Can't access startfile http://cryonics.thought.org/ -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvsup.uk.freebsd.org down
> Someone with good BGP views should probably put all of the CVS/FTP/Rsync > mirrors in Nagios (with something reasonable like a 6 hour check interval) > and send reports to freebsd-www@ or so. The closest thing we have on it is: http://www.mavetju.org/unix/freebsd-mirrors/ Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ [EMAIL PROTECTED] Weblog: http://www.mavetju.org/weblog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
kernel: Approaching the limit on PV entries...
A web server with several jailed copies of Apache is having problems that seem to be caused by incorrect IPFW rules, but in the process of working on that, I find in the log the following repeated many times: Oct 8 23:29:50 spider kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl. Oct 8 23:30:52 spider kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl. sysctl gives me: # sysctl vm.pmap vm.pmap.pmap_collect_active: 0 vm.pmap.pmap_collect_inactive: 0 vm.pmap.pv_entry_spare: 45818 vm.pmap.pv_entry_allocs: 595716945 vm.pmap.pv_entry_frees: 595133939 vm.pmap.pc_chunk_tryfail: 0 vm.pmap.pc_chunk_frees: 3543052 vm.pmap.pc_chunk_allocs: 3546795 vm.pmap.pc_chunk_count: 3743 vm.pmap.pv_entry_count: 583006 vm.pmap.shpgperproc: 200 vm.pmap.pv_entry_max: 2243305 The system: FreeBSD 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 1 07:51:58 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 Can someone briefly explain what this is telling me and how to decide which sysctl to increase? I have found some old postings that predate the sysctls that suggested increasing shpgperproc in the kernel configuration, about 50 at a time until the problem goes away, but I still have no clue what that is accomplishing. Also, the system has been rebooted since I collected those messages, and they aren't happening any more, but I expect they will reappear eventually. Until then I probably can't actually test anything. Thanks for your time, -- Bob Johnson [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: setkey panic freebsd7
sorry, /usr/local/sbin/setkey failed on parsing that specific add, not panic. no specific info, just say parse failed. maybe something is not supported ...? On Thu, Oct 9, 2008 at 8:46 AM, alan yang <[EMAIL PROTECTED]> wrote: > i wonder people ran into similar issue on setkey with freebsd7 that > panic at ~/crypto/sha1.c:263 within sha1_result() > digest[0] = ctxt->h.b8[3]; digest[1] = ctxt->h.b8[2]; > > on the following sadb add with setkey: > add 192.168.0.101 192.168.0.110 esp-old 0x10001 -m any -E des-cbc > "12345678" -A keyed-sha1 "12345678123456781234" > > thanks in advance on any hints. > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewall and FreeBSD ports
On Fri, 10 Oct 2008 11:41:40 -0700 Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > On Fri, Oct 10, 2008 at 06:54:32PM +0100, RW wrote: > > On Fri, 10 Oct 2008 09:51:16 -0700 > > Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > > passive ftp has been the default for long time, fetch is called > > with the -p option. > > Let's give the users some actual detail, not terse one-liners which > will induce more questions/confusion. < Snip some facts used as a blunt instrument > > The OP did not disclose how he was installing ports. A lot of users > think that packages == ports, I don't normally do this as Watson is usually less impressed when Holmes reveals his working, but the clues were there. He wrote: "install software with ports (i.e, the /usr/ports collection.)" and "FTP to grab source files from mirrors" If you combine that with crediting the poster with enough common sense to mention he was using a version before 6.2, then it seemed unlikely to be a problem with active FTP. BTW neither of us actually answered the question. I know I forgot as I was in a hurry. I'm pretty sure you didn't either, but I don't have the time to read all of your reply in detail. The answer is: enable outgoing tcp connections to port 21 and to all ports above 1023. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Fwd: Firewall and FreeBSD ports
sh/bash: export FTP_PASSIVE_MODE=true Ah... because in passive mode, the client (my server) sets the data port, and my PF rules allow return data on the port used for the request. Okay... that makes sense, I think... (little by little, it sinks in...) -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Fwd: Firewall and FreeBSD ports
On Oct 10, 2008, at 2:41 PM, Jeremy Chadwick wrote: On Fri, Oct 10, 2008 at 06:54:32PM +0100, RW wrote: On Fri, 10 Oct 2008 09:51:16 -0700 Jeremy Chadwick <[EMAIL PROTECTED]> wrote: On Fri, Oct 10, 2008 at 12:45:04PM -0400, John Almberg wrote: I just set up a new server with a very restricted PF configuration. One problem: I can no longer install software with ports (i.e, the / usr/ports collection.) I have to disable PF to do so. Obviously not a great solution. Am I correct in guessing that ports uses FTP to grab source files from mirrors? I'm trying to figure out the smallest number of ports (the TCP/IP kind) that I need to open in my firewall. I don't want to enable incoming FTP requests, but do want to allow outgoing ftp requests, I believe. Am I on the right track, here? See the fetch(1) man page. Try this first: sh/bash: export FTP_PASSIVE_MODE=true csh: setenv FTP_PASSIVE_MODE true First off, this did solve the problem. Thank you, Jeremy. Now, as to the why... passive ftp has been the default for long time, fetch is called with the -p option. Let's give the users some actual detail, not terse one-liners which will induce more questions/confusion. First off, libfetch (which is what fetch(1)) uses) itself DOES NOT default to using FTP passive mode. You have to either pass the -p option to the fetch(1) binary, or you have to set the FTP_PASSIVE_MODE environment variable (which affects anything using libfetch). Secondly, the ports framework (not pkg_* tools!), specifically ports/Mk/bsd.port.mk, defines FETCH_ARGS with the -p argument to force passive mode. This will be used for things like "make fetch". It *will not* be used for things like "pkg_add -r" or "pkg_add ftp://..."; The addition of the -p argument to FETCH_ARGS in ports/Mk/bsd.port.mk was applied to HEAD on 2006/09/20. HEAD at that time is what became FreeBSD 6.2. Of course, anyone updating their ports tree after that date would also get the change; I'm just pointing it out so people know what the actual date was when -p was added to the default argument list. Now let's expand a bit on FTP_PASSIVE_MODE, because I'm absolutely sure someone will try to argue "that's also been turned on by default for a long time"; I know how people are... :-) FTP_PASSIVE_MODE being set by default on login shells was induced by an addition to login.conf(5) back in late 2001 (around the time of RELENG_6). See revision 1.45 (not 1.44!) of src/etc/login.conf in cvsweb. But I'll remind people that login.conf only applies to login shells; logging in on the console, or logging in to an account via "ssh [EMAIL PROTECTED]". Most people I know of *do not* SSH into their servers as root; they SSH in as themselves and use sudo. Some use su2, and some use su Root ssh access is disabled on this machine. I login as a normal user, and then use sudo. The only time I use su is when sudo does not work (another question for another day!) Let's examine the behaviours: $ env | grep FTP FTP_PASSIVE_MODE=YES As you can see here, the machine I've SSH'd into as myself does apply login.conf's defaults. But... $ sudo -s # env | grep FTP # exit $ sudo -i # env | grep FTP # H'mmm... yes. This is true on my machine, too. The above scenario (as root) fails, since the FTP_PASSIVE_MODE environment variable isn't being handed down from the login shell (my user account) to the root shell spawned by sudo[1]. su, on the other hand, does it a little differently: $ su Password: # env | grep FTP FTP_PASSIVE_MODE=YES And likewise, "su -l" behaves the same way. Yes... although I must say I'm confused by this behavior... In fact, it's the exact opposite of what I'd expect... from the su man pages -l Simulate a full login. The environment is discarded except for HOME, SHELL, PATH, TERM, and USER. HOME and SHELL are modified as above. USER is set to the target login. PATH is set to ``/bin:/usr/bin''. So why isn't the FTP environment variable discarded? The OP did not disclose how he was installing ports. A lot of users think that packages == ports, so for all we know, he could be pkg_add'ing things while using sudo and running into this. I believe I am using ports. In this case, I had just installed and configured PF (the first thing I do, now, when building a new machine.) I then wanted to install NTP: cd /usr/ports/net/ntp make config; make install clean This failed because the mirrors were not accessible. If "make fetch" in an actual port is timing out, then he's either doing it on a machine with a ports tree prior to 2006/09/20 (see above), or his outbound pf rules are so strict that the machine is absurdly limited. The machine has Production Release 7.0 My outbound PF rules are fairly loose. Inbound are very tight. This is going to be a database server with 1 user. It's going to be running one Ruby application that will accept new dat
Re: cannot install from existing UFS thumb drive with sysinstall
FBSD1 wrote: There is a outstanding PR on sysinstall from usb flash drive which is now over a year old. The sysinstall install program needs to be updated to use usb drives as the source of the install media. You could always edit the sysinstall program source code and make a patch to allow usb sysinstall media. Other than that you are S.O.L. I use this script to build my bootable 1GB USB flash drive [ ... ] Should I assume you've tried the fdisk/disk label method of mounting your flash drive in sysinstall and that it does not actually work either? I've been using FreeBSD for well over a decade and it seems that sysinstall development was all but abandoned a very long time ago. FWIW, the reason I didn't use your script was that in my case I'm actually creating multiple partitions on an 8GB thumb drive and using syslinux such that I can boot any one of several live disk images. FreeBSD seems to be the one distribution that hasn't clued in that USB flash devices are ubiquitous. For my hardware, it also looks like FreeBSD may be having problems with SATA DVD drives too. Since the motherboard has no IDE controller, USB flash drives may be my only hope unless I want to move to another OS. Carl / K0802647 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewall and FreeBSD ports
problem: I can no longer install software with ports (i.e, the /usr/ports collection.) I have to disable PF to do so. Obviously not a great solution. Am I correct in guessing that ports uses FTP to grab source files from FTP or HTTP. if you have http proxy like squid in your network do export http_proxy=http://yourproxy:port export ftp_proxy=http://yourproxy:port ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gzipping multiple files w/o tarring
"gzip *" will do what you want. When it encounters something that's already gzip'd, it will skip it, but will emit a warning that it's doing so. Otherwise, you could use something like: find -X . \! -name "*.tar.gz" -type f -maxdepth 1 | xargs gzip i don't understand the difference. .tar.gz files are already gzip'd :), so no need for second case. it will be skipped anyway ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
libncurses.so.6 Not Found - How to Get 32 bit Version?
First, I must say I love the ports system!!! It keeps me from suffering as I am now. :) Anyway, I'm attempting to install a web log analysis software from Google named "Urchin". The installation docs say it's supported on FBSD 6.2+. As I am dedicating a machine to this software, I've performed a brand new install of 7.1-PRERELEASE. I'm using the amd64 version on a Intel Core 2 Duo processor. With help from the list, I overcame the first library issue by installing the compat6x libraries from ports. Now the install script is complaining that "/libexec/ld-elf.so.1: Shared object "libncurses.so.6" not found". I used ldd on the executable the script is attempting to run and get this output: libncurses.so.6 => not found (0x0) libcrypt.so.3 => /usr/local/lib32/compat/libcrypt.so.3 (0x280be000) libz.so.3 => /usr/local/lib32/compat/libz.so.3 (0x280d7000) libstdc++.so.5 => /usr/local/lib32/compat/libstdc++.so.5 (0x280e8000) libm.so.4 => /usr/local/lib32/compat/libm.so.4 (0x281be000) libc.so.6 => /usr/local/lib32/compat/libc.so.6 (0x281d4000) I did search my system and found /usr/local/lib/compat/libncurses.so.6. I tried adding a symlink to /usr/local/lib32/compat but then received an "...unsupported layout..." error when attempting to run the executable: I assume that is because the libncurses.so.6 library is a 64 bit version? I've removed the symlink. Assuming my assumptions are correct, how can I get a 32 bit libncurses.so.6 version on my system? Or if I'm wrong, what do I need? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gzipping multiple files w/o tarring
On October 10, 2008 02:49:44 pm Joe Tseng wrote: > I'm sure this is easy but googling hasn't gotten me anywhere yet... I want > to compress all the files in my directory that don't already have a .gz > extension. I want them to be individual compressed files, not part of a > single .tar.gz file. Can anyone point me to where I can find how to do > this? > > tia, > > - Joe > _ > Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. > http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!5 >50F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008__ >_ freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" "gzip *" will do it. It leaves out files that already have the .gz extension. "gunzip *" will put them back the way they were. -- Mike Jeays http://www.jeays.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gzipping multiple files w/o tarring
On Fri, Oct 10, 2008 at 02:49:44PM -0400, Joe Tseng wrote: > > I'm sure this is easy but googling hasn't gotten me anywhere yet... I want > to compress all the files in my directory that don't already have a .gz > extension. I want them to be individual compressed files, not part of a > single .tar.gz file. Can anyone point me to where I can find how to do this? "gzip *" will do what you want. When it encounters something that's already gzip'd, it will skip it, but will emit a warning that it's doing so. Otherwise, you could use something like: find -X . \! -name "*.tar.gz" -type f -maxdepth 1 | xargs gzip Which would do the same as "gzip *", but would ignore any files with a .tar.gz extension. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gzipping multiple files w/o tarring
I'm sure this is easy but googling hasn't gotten me anywhere yet... I want to compress all the files in my directory that don't already have a .gz extension. I want them to be individual compressed files, not part of a single .tar.gz file. Can anyone point me to where I can find how to do this? tia, - Joe _ Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewall and FreeBSD ports
On Fri, Oct 10, 2008 at 06:54:32PM +0100, RW wrote: > On Fri, 10 Oct 2008 09:51:16 -0700 > Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > > > On Fri, Oct 10, 2008 at 12:45:04PM -0400, John Almberg wrote: > > > I just set up a new server with a very restricted PF configuration. > > > One problem: I can no longer install software with ports (i.e, > > > the / usr/ports collection.) I have to disable PF to do so. > > > Obviously not a great solution. > > > > > > Am I correct in guessing that ports uses FTP to grab source files > > > from mirrors? I'm trying to figure out the smallest number of ports > > > (the TCP/IP kind) that I need to open in my firewall. I don't want > > > to enable incoming FTP requests, but do want to allow outgoing ftp > > > requests, I believe. > > > > > > Am I on the right track, here? > > > > See the fetch(1) man page. Try this first: > > > > sh/bash: export FTP_PASSIVE_MODE=true > > csh: setenv FTP_PASSIVE_MODE true > > passive ftp has been the default for long time, fetch is called > with the -p option. Let's give the users some actual detail, not terse one-liners which will induce more questions/confusion. First off, libfetch (which is what fetch(1)) uses) itself DOES NOT default to using FTP passive mode. You have to either pass the -p option to the fetch(1) binary, or you have to set the FTP_PASSIVE_MODE environment variable (which affects anything using libfetch). Secondly, the ports framework (not pkg_* tools!), specifically ports/Mk/bsd.port.mk, defines FETCH_ARGS with the -p argument to force passive mode. This will be used for things like "make fetch". It *will not* be used for things like "pkg_add -r" or "pkg_add ftp://..."; The addition of the -p argument to FETCH_ARGS in ports/Mk/bsd.port.mk was applied to HEAD on 2006/09/20. HEAD at that time is what became FreeBSD 6.2. Of course, anyone updating their ports tree after that date would also get the change; I'm just pointing it out so people know what the actual date was when -p was added to the default argument list. Now let's expand a bit on FTP_PASSIVE_MODE, because I'm absolutely sure someone will try to argue "that's also been turned on by default for a long time"; I know how people are... :-) FTP_PASSIVE_MODE being set by default on login shells was induced by an addition to login.conf(5) back in late 2001 (around the time of RELENG_6). See revision 1.45 (not 1.44!) of src/etc/login.conf in cvsweb. But I'll remind people that login.conf only applies to login shells; logging in on the console, or logging in to an account via "ssh [EMAIL PROTECTED]". Most people I know of *do not* SSH into their servers as root; they SSH in as themselves and use sudo. Some use su2, and some use su. Let's examine the behaviours: $ env | grep FTP FTP_PASSIVE_MODE=YES As you can see here, the machine I've SSH'd into as myself does apply login.conf's defaults. But... $ sudo -s # env | grep FTP # exit $ sudo -i # env | grep FTP # The above scenario (as root) fails, since the FTP_PASSIVE_MODE environment variable isn't being handed down from the login shell (my user account) to the root shell spawned by sudo[1]. su, on the other hand, does it a little differently: $ su Password: # env | grep FTP FTP_PASSIVE_MODE=YES And likewise, "su -l" behaves the same way. The OP did not disclose how he was installing ports. A lot of users think that packages == ports, so for all we know, he could be pkg_add'ing things while using sudo and running into this. If "make fetch" in an actual port is timing out, then he's either doing it on a machine with a ports tree prior to 2006/09/20 (see above), or his outbound pf rules are so strict that the machine is absurdly limited. I've advocated in another thread my displeasure for filtering outbound traffic *solely* because of this exact scenario. Network admins seem to think that "oh, HTTP is always going to use port 80", and likewise, "oh, FTP is always going to use ports 20-21". Bzzzt. Nothing stops a MASTER_SITE from being http://lelele.com:9382/. [1]: The problem with sudo can be addressed; FTP_PASSIVE_MODE needs to be added to the env_keep list in the default sudoers file. I know the port maintainer, so I'll take this up with him so that users (including myself) don't keep getting bit by forgetting to set FTP_PASSIVE_MODE after doing a sudo. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewall and FreeBSD ports
On Fri, 10 Oct 2008 09:51:16 -0700 Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > On Fri, Oct 10, 2008 at 12:45:04PM -0400, John Almberg wrote: > > I just set up a new server with a very restricted PF configuration. > > One problem: I can no longer install software with ports (i.e, > > the / usr/ports collection.) I have to disable PF to do so. > > Obviously not a great solution. > > > > Am I correct in guessing that ports uses FTP to grab source files > > from mirrors? I'm trying to figure out the smallest number of ports > > (the TCP/IP kind) that I need to open in my firewall. I don't want > > to enable incoming FTP requests, but do want to allow outgoing ftp > > requests, I believe. > > > > Am I on the right track, here? > > See the fetch(1) man page. Try this first: > > sh/bash: export FTP_PASSIVE_MODE=true > csh: setenv FTP_PASSIVE_MODE true > passive ftp has been the default for long time, fetch is called with the -p option. If you have access to an http-proxy that supports ftp requests over http, fetch can use that. Alternately you can probably avoid ftp altogether by setting: MASTER_SORT_REGEX?= ^http: in make.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: irq256 ????
irq22: pcm052848 3 irq23: uhci2 ehci1 1 0 cpu0: timer 33503897 1929 irq256: em042054 2 it's MSI interrupt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Check_CVSUp / PServer - Nagios Plugins?
Hey all: One of the big pitfalls of running a public CVS/CVSup/FTP mirror seems to be poor reporting on failed updates. I'd like add some Nagios monitoring to our project. For FTP and CVSUP rsyncs, I can have my cron(8)'d update scripts touch(1) a file if [ $? = 0 ]; then check them with libexec/nagios/check_file_age for mtime/utime. However, I'd also like to monitor the CVSup and PServer services as well at the protocol level. There do not seem to be any plugins in the public domain. Ideas: CVSUp: - php/perl/python bindings/libraries to talk cvsup protocol and maybe query a list of collections, plus the protocol version negotiated? - Is there maybe a way to exec() the cvsup(1)/csup(1) client in "list" mode? Does the protocol have a list operation? CVS Pserver: - Maybe just do a "cvs log src/Makefile" -- verifies that the protocol is active. SSH: - Duh FTP/RSYNC: - Yea Thougths? Discussion? l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: core Dumb during CVSUP
use csup, but at this stage, i'll wait untill portupgrade has finished to see if anything changes in that reguards. Well, you could ktrace(8) the binary and/or rebuild it with debugging symbols and bt the coredump ~BAS ~BAS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvsup mirrors
Or...contact the maintainer: http://www.dslreports.com/profile/191119 $ host cvsup1.ca.FreeBSD.org cvsup1.ca.FreeBSD.org is an alias for less.cogeco.net. less.cogeco.net has address 24.226.6.67 http://less.cogeco.net/ Many broken URLS. ~BAS On Fri, 12 Sep 2008, Michael P. Soulier wrote: I found this http://www.freebsd.org/doc/en/books/handbook/cvsup.html#CVSUP-MIRRORS and it lists one for me in Canada. cvsup1.ca.freebsd.org Unfortunately, it doesn't have RELENG_6 on it. cvsup says it's not there. Does the mirrors list need an update? Thanks, Mike -- Michael P. Soulier <[EMAIL PROTECTED]> "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvsup.uk.freebsd.org down
Did it ever come back? Someone with good BGP views should probably put all of the CVS/FTP/Rsync mirrors in Nagios (with something reasonable like a 6 hour check interval) and send reports to freebsd-www@ or so. ~BAS On Mon, 8 Sep 2008, Paul Macdonald wrote: I just noticed this cvs server is down I've switched to cvsup2 which seems fine for now, I presume any updates to 2 are not dependent on cvsup.uk.freebsd being up? thanks Paul. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewall and FreeBSD ports
On Fri, Oct 10, 2008 at 12:45:04PM -0400, John Almberg wrote: > I just set up a new server with a very restricted PF configuration. One > problem: I can no longer install software with ports (i.e, the / > usr/ports collection.) I have to disable PF to do so. Obviously not a > great solution. > > Am I correct in guessing that ports uses FTP to grab source files from > mirrors? I'm trying to figure out the smallest number of ports (the > TCP/IP kind) that I need to open in my firewall. I don't want to enable > incoming FTP requests, but do want to allow outgoing ftp requests, I > believe. > > Am I on the right track, here? See the fetch(1) man page. Try this first: sh/bash: export FTP_PASSIVE_MODE=true csh: setenv FTP_PASSIVE_MODE true Chances are this will address the problem for you. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Firewall and FreeBSD ports
I just set up a new server with a very restricted PF configuration. One problem: I can no longer install software with ports (i.e, the / usr/ports collection.) I have to disable PF to do so. Obviously not a great solution. Am I correct in guessing that ports uses FTP to grab source files from mirrors? I'm trying to figure out the smallest number of ports (the TCP/IP kind) that I need to open in my firewall. I don't want to enable incoming FTP requests, but do want to allow outgoing ftp requests, I believe. Am I on the right track, here? Thanks: John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: rc: not working as expected? (round 2)
You can do a dry run as a non root user: $ rcorder /etc/rc.d/* /usr/local/etc/rc.d* 2>&1 | more ~BAS On Fri, 2008-10-10 at 12:19 -0300, Paul Halliday wrote: > (I mistakenly sent the last msg before finishing..) > > Or maybe an interpretation issue. > > I have a few startup scripts in rc.d and I am experiencing timing > issues. i.e. I need xyz to start before abc. > > Within xyz I tried: > > # REQUIRE: abc > > This didn't work so I tried: > > 100.xyz > 900.abc > > which doesn't appear to work either. > > What am I missing? > > Thanks. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Brian A. Seklecki <[EMAIL PROTECTED]> Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Update System from 6.1 to last 6 Release with NOT generic Kernel...
2008/10/10 Agus <[EMAIL PROTECTED]>: > 2008/10/9 Agus <[EMAIL PROTECTED]>: >> 2008/10/9 RW <[EMAIL PROTECTED]>: >>> On Wed, 8 Oct 2008 19:08:42 -0300 >>> Agus <[EMAIL PROTECTED]> wrote: >>> Hi guys... Just wanted to check a few things before crapping my system..hehehe I am planning on updating the system from 6.1 to the last 6.3-RELEASE p5 i think it isaccording to the freebsd-update.sh... I am plannin on doing it with this tool...but my main concern is the modified kernel and the ports... >>> >>> You can't use freebsd-update on a modified kernel. >>> >>> Ports can be left unchanged unless you change the major version and go >>> to 7. >>> ___ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "[EMAIL PROTECTED]" >>> >> >> Ohhthanks... >> >> But in the middle of freebsd-update it says to update the kernel and >> rebuild it.how should i update the kernelor when it reboots >> and the /usr/src files have changed; i can see the new GENERIC >> filei have to rebuild it from that new modified GENERIC, so that i >> custom it, and build the kernel from there? >> >> Thanks mate! >> Cheers, >> Agustin >> OK... I think i managed to do itat least the uname is showing the 6.3-RELEASE p5, running my custom kernel I think i am missing to update the installed ports, but they are working ok, so i will do it later The thing was that after the freebsd-update install it wasnt taking the new rel it was cause i rebuild the kernel earlier than when the /usr/src files have been updated by the update when i rebooted they were updated so i rebuild my kernel according to the new GENERIC and reboot and all was OK :) Cheers and any doubrs just ask Agustin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rc: not working as expected?
Or maybe an interpretation issue. I have a few startup scripts in rc.d and I am experiencing timing issues. i.e. I need xyz to start before abc. Within xyz I tried: ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: rc: not working as expected? (round 2)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Halliday wrote: > (I mistakenly sent the last msg before finishing..) > > Or maybe an interpretation issue. > > I have a few startup scripts in rc.d and I am experiencing timing > issues. i.e. I need xyz to start before abc. > > Within xyz I tried: > > # REQUIRE: abc > > This didn't work so I tried: > > 100.xyz > 900.abc > > which doesn't appear to work either. > > What am I missing? > > Thanks. Hi Paul, You may be using "REQUIRE: abc" in one script, but have you placed a corresponding "PROVIDE: abc" in another script? I also use rcorder to print the order in which my rc.d scripts will be loaded: http://www.freebsd.org/cgi/man.cgi?query=rcorder&sourceid=opensearch. Check /etc/rc to see how rcorder is invoked at various times during bootup. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI73aV0sRouByUApARApUrAJ0VYBe6StWNPIFw6GUGphDQ+yjoywCbB0hF +BUsLASWGkL7PDVnP56vpTY= =idyk -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: rc: not working as expected? (round 2)
On Fri, Oct 10, 2008 at 12:19:21PM -0300, Paul Halliday wrote: > (I mistakenly sent the last msg before finishing..) > > Or maybe an interpretation issue. > > I have a few startup scripts in rc.d and I am experiencing timing > issues. i.e. I need xyz to start before abc. > > Within xyz I tried: > > # REQUIRE: abc > > This didn't work so I tried: > > 100.xyz > 900.abc > which doesn't appear to work either. > > What am I missing? The answer is probably in the rcorder(8) or rc(8) man pages. I'm betting you need to use the "BEFORE" clause, and the string you need to match on is whatever one (or more) of the "PROVIDE" clauses are in the script which you want to start first. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rc: not working as expected? (round 2)
(I mistakenly sent the last msg before finishing..) Or maybe an interpretation issue. I have a few startup scripts in rc.d and I am experiencing timing issues. i.e. I need xyz to start before abc. Within xyz I tried: # REQUIRE: abc This didn't work so I tried: 100.xyz 900.abc which doesn't appear to work either. What am I missing? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: has anyone actually received a bsdmag ? -- SOLVED
On Wed, 2008-10-08 at 11:42 -0600, Chad Perrin wrote: > On Tue, Oct 07, 2008 at 08:43:29AM -0500, Andrew Gould wrote: > > > > The BSDMag website mentioned that it would be available at Barnes & Noble. > > I couldn't find it there; but I found it at Borders bookstores. > > I've seen a copy at Barnes & Noble, but I'm more concerned about the fact > that Craig B subscribed and hasn't received an issue yet. > Hi Guys, I now have a copys of both issues of the BSD Mag... The communications where good and problems where rectified very quickly and professionally. Second set of magazines where delivered within a week with the correct address. Am now a happy bunny :D If anybody finds them self in the same situation I would recommend emailing Karolina directly... she has her finger on the pulse over there. P.S. Brilliant mag ! Cheers Craig B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Subject: Xorg/kde startup errors
"Message: 13 Date: Fri, 10 Oct 2008 12:16:52 +0800 From: "FBSD1" Subject: Xorg/kde startup errors To: "[EMAIL PROTECTED] ORG" Message-ID: Content-Type: text/plain; charset="iso-8859-1" I am new user to xorg/kde. Installed xorg and kde using port system. Followed instructions in handbook for Freebsd 7.0 The following is the startx log from when I enter startx command. Have no idea what is wrong since I expected the xorg and kde port to be completely functional. Kde seems to run ok except for all the repeating warnings about missing mimetypes and the invalid Window parameter error for every screen I navigate through using KDE. Any help is welcomed Script started on Tue Oct 7 19:13:25 2008 # /root>startx xauth: creating new authority file /root/.serverauth.1236 X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.0-RELEASE i386 Current Operating System: FreeBSD 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Tue Sep 2 19:32:35 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Build Date: 13 February 2008 05:50:12PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 7 19:13:31 2008 (==) Using config file: "/etc/X11/xorg.conf" (II) Module "i2c" already built-in (II) Module "ddc" already built-in (II) Module "ramdac" already built-in Warning: kbuildsycoca is unable to register with DCOP. kbuildsycoca running... kbuildsycoca running... Reusing existing ksycoca kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/x-tbz2' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/zip' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/x-7z' kbuildsycoca: WARNING: 'ark_part.desktop' specifies undefined mimetype/servicetype 'application/x-tbz2' kbuildsycoca: WARNING: 'ark_part.desktop' specifies undefined mimetype/servicetype 'application/x-7z' kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kpovmodeler.desktop' specifies undefined mimetype/servicetype 'KPovModeler/Document' kbuildsycoca: WARNING: 'kfile_ooo.desktop' specifies undefined mimetype/servicetype 'application/vnd.sun.xml.writer.global' kbuildsycoca: WARNING: 'kfile_ooo.desktop' specifies undefined mimetype/servicetype 'application/vnd.sun.xml.writer.math' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'kchartpart.desktop' specifies undefined mimetype/servicetype 'application/vnd.oasis.opendocument.chart-template' kbuildsycoca: WARNING: '/usr/local/share/applications/firefox.desktop' specifies undefined mimetype/servicetype 'text/mml' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'application/x-kvoctrain' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'text/x-kvtml' kbuildsycoca: WARNING: '.hidden/krita_magick.desktop' specifies undefined mimetype/servicetype 'image/x-xcf' kbuildsycoca: WARNING: 'kcertpart.desktop' specifies undefined mimetype/servicetype 'application/binary-certificate' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kmid.desktop' specifies undefined mimetype/servicetype 'audio/midi' kbuildsycoca: WARNING: 'kformulapart.desktop' specifies undefined mimetype/servicetype 'application/vnd.oasis.opendocument.formula-template' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined mimetype/servicetype 'KNotify' kbuildsycoca: WARNING: 'ksvgplugin.desktop' specifies undefined mimetype/servicetype 'image/svg' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kexi.desktop
RE: cannot install from existing UFS thumb drive with sysinstall
There is a outstanding PR on sysinstall from usb flash drive which is now over a year old. The sysinstall install program needs to be updated to use usb drives as the source of the install media. You could always edit the sysinstall program source code and make a patch to allow usb sysinstall media. Other than that you are S.O.L. I use this script to build my bootable 1GB USB flash drive #!/bin/sh #Purpose = Use to transfer the FreeBSD install cd1 to # a bootable 1GB USB flash drive so it can be used to install from. # First fetch the FreeBSD 6.2-RELEASE-i386-disc1.iso to your # hard drive /usr. Then execute this script from the command line # fbsd2usb /usr/6.2-RELEASE-i386-disc1.iso /usr/6.2-RELEASE-i386-disc1.img # Change system bios to boot from USB-dd and away you go. # NOTE: This script has to be run from root and your 1GB USB flash drive # has to be plugged in before running this script. # On the command line enter fbsd2usb iso-path img-path # You can set some variables here. Edit them to fit your needs. # Set serial variable to 0 if you don't want serial console at all, # 1 if you want comconsole and 2 if you want comconsole and vidconsole serial=0 set -u if [ $# -lt 2 ]; then echo "Usage: $0 source-iso-path output-img-path" exit 1 fi isoimage=$1; shift imgoutfile=$1; shift # Temp directory to be used later #export tmpdir=$(mktemp -d -t fbsdmount) export tmpdir=$(mktemp -d /usr/fbsdmount) export isodev=$(mdconfig -a -t vnode -f ${isoimage}) ISOSIZE=$(du -k ${isoimage} | awk '{print $1}') SECTS=$((($ISOSIZE + ($ISOSIZE/5))*4)) #SECTS=$((($ISOSIZE + ($ISOSIZE/5))*2)) echo " " echo "### Initializing image File started ###" echo "### This will take about 4 minutes ###" date dd if=/dev/zero of=${imgoutfile} count=${SECTS} echo "### Initializing image File completed ###" date echo " " ls -l ${imgoutfile} export imgdev=$(mdconfig -a -t vnode -f ${imgoutfile}) bsdlabel -w -B ${imgdev} newfs -O1 /dev/${imgdev}a mkdir -p ${tmpdir}/iso ${tmpdir}/img mount -t cd9660 /dev/${isodev} ${tmpdir}/iso mount /dev/${imgdev}a ${tmpdir}/img echo " " echo "### Started Copying files to the image now ###" echo "### This will take about 15 minutes ###" date ( cd ${tmpdir}/iso && find . -print -depth | cpio -dump ${tmpdir}/img ) echo "### Completed Copying files to the image ###" date if [ ${serial} -eq 2 ]; then echo "-D" > ${tmpdir}/img/boot.config echo 'console="comconsole, vidconsole"' >> ${tmpdir}/img/boot/loader.conf elif [ ${serial} -eq 1 ]; then echo "-h" > ${tmpdir}/img/boot.config echo 'console="comconsole"' >> ${tmpdir}/img/boot/loader.conf fi echo " " echo "### Started writing image to flash drive now ###" echo "### This will take about 30 minutes ###" date dd if=${imgoutfile} of=/dev/da0 bs=1m echo "### Completed writing image to flash drive at ###" date cleanup() { umount ${tmpdir}/iso mdconfig -d -u ${isodev} umount ${tmpdir}/img mdconfig -d -u ${imgdev} rm -rf ${tmpdir} } cleanup ls -lh ${imgoutfile} echo "### Script finished ###" -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Carl Voth Sent: Friday, October 10, 2008 6:52 PM To: freebsd-questions@freebsd.org Subject: Re: cannot install from existing UFS thumb drive with sysinstall Is there no one out there that can help? I've dug into NFS a little more and that does not appear to support mounting a local filesystem under sysinstall. In the following thread, Richard Tobin makes an assertion that suggests that I might be able to mount my thumb drive's existing UFS partition in the disk labelling step. http://unix.derkeiler.com/Newsgroups/comp.unix.bsd.freebsd.misc/2004-10/0920 .html [ http://tinyurl.com/3mknq7 ] The first problem I ran into was that there is no way to add a second drive (ie. target drive is SATA hard disk, thumb drive is install drive) to the disk labelling step. The only way that that can be achieved is by first adding it to the fdisk partitioning step. I'm willing to believe that *maybe* there's no risk to my thumb drive in rewriting it's disk label if I'm very careful not to newfs it. But nothing about the fdisk partition editor gives me a sense that it will hold off of rewriting my thumb drive's slice table even though I'm not trying to change anything. It just seems perverse to have to reslice and relabel just to mount an existing filesystem. If the only way one can mount a local filesystem in sysinstall is using the disk label editor, can someone explain to me the actual consequences and risks of this procedure? I did not proceed to Write or Commit in this little experiment yet because of the unknown risks. I have to say that I cannot believe how horribly unfriendly sysinstall is for anyone wanting to use a USB thumb drive as an install medium. In fact, it's looking totally unusable. Clearly sysinstall is utilizing 'mount' functionality for it's own purposes. Surely there'
Re: cannot install from existing UFS thumb drive with sysinstall
Is there no one out there that can help? I've dug into NFS a little more and that does not appear to support mounting a local filesystem under sysinstall. In the following thread, Richard Tobin makes an assertion that suggests that I might be able to mount my thumb drive's existing UFS partition in the disk labelling step. http://unix.derkeiler.com/Newsgroups/comp.unix.bsd.freebsd.misc/2004-10/0920.html [ http://tinyurl.com/3mknq7 ] The first problem I ran into was that there is no way to add a second drive (ie. target drive is SATA hard disk, thumb drive is install drive) to the disk labelling step. The only way that that can be achieved is by first adding it to the fdisk partitioning step. I'm willing to believe that *maybe* there's no risk to my thumb drive in rewriting it's disk label if I'm very careful not to newfs it. But nothing about the fdisk partition editor gives me a sense that it will hold off of rewriting my thumb drive's slice table even though I'm not trying to change anything. It just seems perverse to have to reslice and relabel just to mount an existing filesystem. If the only way one can mount a local filesystem in sysinstall is using the disk label editor, can someone explain to me the actual consequences and risks of this procedure? I did not proceed to Write or Commit in this little experiment yet because of the unknown risks. I have to say that I cannot believe how horribly unfriendly sysinstall is for anyone wanting to use a USB thumb drive as an install medium. In fact, it's looking totally unusable. Clearly sysinstall is utilizing 'mount' functionality for it's own purposes. Surely there's some way for me to access it too?!? Carl / K0802647 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What is a recommended soundcard for FreeBSD?
Aniruddha wrote: On Wed, 2008-10-08 at 23:46 +0200, Patrick Lamaizière wrote: Le Wed, 08 Oct 2008 22:42:43 +0200, Aniruddha <[EMAIL PROTECTED]> a écrit : Because of the problems with my onboard Intel HDA audio chip I plan to buy a soundcard that is supported by FreeBSD. There is a new hda driver in current, may be you can try it on RELENG_7? See http://www.nabble.com/Re%3A-New-snd_hda-driver-came-in.-p19499206.html Good luck! Regards. Thanks I'll check it out.v In the meantime I'm real curious about FreeBSD user experience with X-fi :) Hi, I don't think the X-fi cards are supported in FreeBSD but I do know that in Linux they aren't. Personally, I have a Creative Audigy 4 and it works great. The snd_emu10kx driver provides support for Creative SoundBlaster Live! and Audigy sound cards. Best regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [SOLVED] Re: 7.1 hangs, shutdown terminated
On Fri, Oct 10, 2008 at 01:07:43PM +0200, Laszlo Nagy wrote: > >> Firstly, I see a periodic(8) job that DOES use find -sx, which means >> your attempt to track it down was faulty, and your syntax should have >> been "find -sx /" not "find / -sx". See here: >> >> /etc/periodic/security/100.chksetuid: find -sx $MP /dev/null -type f \ >> > Thanks for clearing that out. :-) I did not remember what it was and > failed to find it. I believe the reason you saw this process still running at 8-9 in the morning was because of the slowdown induced by lack of dirhash memory. The periodic job runs every day, usually between 0130 and 0200, so the process had been sitting there processing its heart out for 6-7 hours. Since you've tuned the dirhash stuff, I'm betting this periodic job will run much more quickly. >> $MP == mountpoint, e.g. /, /var, or any other mounted filesystem. >> >> So, what you saw was the periodic check looking for setuid-root >> binaries. >> >> Secondly, the kernel does not spawn userland processes like find(1). >> >> Thirdly, dirmem and dirmem_max are *pure* kernel things. What they do >> is control the amount of memory used for directory structure caching; >> rather than continually hit the disk every time and spend all that time >> handling directory contents, the kernel can cache previously-fetched >> contents in memory > Now it stays this value constantly: > > vfs.ufs.dirhash_mem: 44306131 > > I think it is now caching everything. > > Thank you again, and sorry for the dumb questions. You asked absolutely *no* dumb questions, especially given the circumstances! Do not be ashamed, you did the right thing. :-) -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [SOLVED] Re: 7.1 hangs, shutdown terminated
Firstly, I see a periodic(8) job that DOES use find -sx, which means your attempt to track it down was faulty, and your syntax should have been "find -sx /" not "find / -sx". See here: /etc/periodic/security/100.chksetuid: find -sx $MP /dev/null -type f \ Thanks for clearing that out. :-) I did not remember what it was and failed to find it. $MP == mountpoint, e.g. /, /var, or any other mounted filesystem. So, what you saw was the periodic check looking for setuid-root binaries. Secondly, the kernel does not spawn userland processes like find(1). Thirdly, dirmem and dirmem_max are *pure* kernel things. What they do is control the amount of memory used for directory structure caching; rather than continually hit the disk every time and spend all that time handling directory contents, the kernel can cache previously-fetched contents in memory Now it stays this value constantly: vfs.ufs.dirhash_mem: 44306131 I think it is now caching everything. Thank you again, and sorry for the dumb questions. Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [SOLVED] Re: 7.1 hangs, shutdown terminated
On Fri, Oct 10, 2008 at 11:43:39AM +0200, Laszlo Nagy wrote: > If find / -sx is running and is consuming all CPU, what is the value of vfs.ufs.dirhash_mem: # sysctl -a | grep dirhash >>> shopzeus# sysctl -a | grep dirhash >>> vfs.ufs.dirhash_docheck: 0 >>> vfs.ufs.dirhash_mem: 2095818 >>> vfs.ufs.dirhash_maxmem: 2097152 >>> vfs.ufs.dirhash_minsize: 2560 >>> >>> Make sure vfs.ufs.dirhash_mem: is not close to vfs.ufs.dirhash_maxmem: >>> All right. It is close to it. Which one should I increase? I put this >>> into /etc/sysctl.conf: >>> >>> >>> vfs.ufs.dirhash_maxmem=8228608 >>> >>> Would it be scufficient? >>> >> >> We don't know, and can't tell you. You'll have to monitor >> vfs.ufs.dirhash_mem occasionally to see if you start to reach >> vfs.ufs.dirhash_maxmem. >> >> I have a tendency to use vfs.ufs.dirhash_maxmem=16777216, which is >> 16384*1024 (16MBytes). >> >> I'm not fully confident this is what's causing your problem, but it's >> definitely a recommendation by Johan. >> > Thank you very much! Probably you are right. Our users use shared IMAP > folders and sometimes they keep ten thousands of messages in one folder. > I have increased dirhash_maxmem to 64MB and see what happens. > > Unfortunately, I cannot play with the hardware because it is in a server > park, and it must be up 99.99% on workdays. > > I hope dirhash will solve the problem. I'm setting this to [SOLVED] and > come back if it happens again. (Maybe on monday?) > > By the way, there is nothing in /etc/periodic that would execute "find / > -sx". Can somebody explain what is this for, and why it was started by > root? Is it being used instead for enumerating files in a directory, > when dir hash is full? Firstly, I see a periodic(8) job that DOES use find -sx, which means your attempt to track it down was faulty, and your syntax should have been "find -sx /" not "find / -sx". See here: /etc/periodic/security/100.chksetuid: find -sx $MP /dev/null -type f \ $MP == mountpoint, e.g. /, /var, or any other mounted filesystem. So, what you saw was the periodic check looking for setuid-root binaries. Secondly, the kernel does not spawn userland processes like find(1). Thirdly, dirmem and dirmem_max are *pure* kernel things. What they do is control the amount of memory used for directory structure caching; rather than continually hit the disk every time and spend all that time handling directory contents, the kernel can cache previously-fetched contents in memory. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [SOLVED] Re: 7.1 hangs, shutdown terminated
Thank you very much! Probably you are right. Our users use shared IMAP folders and sometimes they keep ten thousands of messages in one folder. I have increased dirhash_maxmem to 64MB and see what happens. Unfortunately, I cannot play with the hardware because it is in a server park, and it must be up 99.99% on workdays. I hope dirhash will solve the problem. I'm setting this to [SOLVED] and come back if it happens again. (Maybe on monday?) By the way, there is nothing in /etc/periodic that would execute "find / -sx". Can somebody explain what is this for, and why it was started by root? Is it being used instead for enumerating files in a directory, when dir hash is full? I'm starting to believe that this was the problem. Within an hour, I see this: shopzeus# sysctl vfs.ufs vfs.ufs.dirhash_docheck: 0 vfs.ufs.dirhash_mem: 33708867 vfs.ufs.dirhash_maxmem: 134217728 vfs.ufs.dirhash_minsize: 2560 Went up to 32MB! L ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Converting RSA to PKSC#15
Hi, I would like to install my own certificates for several APC UPS. I already generated the key file and the csr, got the csr signed and get a crt. But APC wants a file in format PKSC#15 that is bundled containing the key and the crt (and the ca ?). Anyway, they (APC) provide the tool to build the bundled file, provided that the key comes in pksc#15 format. I could start the generation of key and csr again, but then I would have to get these new csr signed by the ca, which I would prefer to avoid. So is there a way, having the rsa key file to convert it into a pksc#15 file? Best regards Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[SOLVED] Re: 7.1 hangs, shutdown terminated
If find / -sx is running and is consuming all CPU, what is the value of vfs.ufs.dirhash_mem: # sysctl -a | grep dirhash shopzeus# sysctl -a | grep dirhash vfs.ufs.dirhash_docheck: 0 vfs.ufs.dirhash_mem: 2095818 vfs.ufs.dirhash_maxmem: 2097152 vfs.ufs.dirhash_minsize: 2560 Make sure vfs.ufs.dirhash_mem: is not close to vfs.ufs.dirhash_maxmem: All right. It is close to it. Which one should I increase? I put this into /etc/sysctl.conf: vfs.ufs.dirhash_maxmem=8228608 Would it be scufficient? We don't know, and can't tell you. You'll have to monitor vfs.ufs.dirhash_mem occasionally to see if you start to reach vfs.ufs.dirhash_maxmem. I have a tendency to use vfs.ufs.dirhash_maxmem=16777216, which is 16384*1024 (16MBytes). I'm not fully confident this is what's causing your problem, but it's definitely a recommendation by Johan. Thank you very much! Probably you are right. Our users use shared IMAP folders and sometimes they keep ten thousands of messages in one folder. I have increased dirhash_maxmem to 64MB and see what happens. Unfortunately, I cannot play with the hardware because it is in a server park, and it must be up 99.99% on workdays. I hope dirhash will solve the problem. I'm setting this to [SOLVED] and come back if it happens again. (Maybe on monday?) By the way, there is nothing in /etc/periodic that would execute "find / -sx". Can somebody explain what is this for, and why it was started by root? Is it being used instead for enumerating files in a directory, when dir hash is full? Thanks, Laszo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: 7.1 hangs, shutdown terminated
>Johan Hendriks írta: >> If find / -sx is running and is consuming all CPU, what is the value of >> >vfs.ufs.dirhash_mem: >> >> # sysctl -a | grep dirhash >> >shopzeus# sysctl -a | grep dirhash >vfs.ufs.dirhash_docheck: 0 >vfs.ufs.dirhash_mem: 2095818 >vfs.ufs.dirhash_maxmem: 2097152 >vfs.ufs.dirhash_minsize: 2560 >> Make sure vfs.ufs.dirhash_mem: is not close to vfs.ufs.dirhash_maxmem: >> >All right. It is close to it. Which one should I increase? I put this >into /etc/sysctl.conf: >vfs.ufs.dirhash_maxmem=8228608 >Would it be scufficient? >Thanks, > Laszlo vfs.ufs.dirhash_maxmem= is the value to adjust. Mine is at 12582912. this happens on Mailservers 'which has a lot of directorys for the mail. The value depends on how many directory's there are on your system. Keep track on the value and when it hits the limit again increase the limit until it stays under the limit. It can take a while to reach the limit again. Regards, Johan Hendriks Double L Automatisering No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.173 / Virus Database: 270.8.0/1717 - Release Date: 9-10-2008 16:56 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 7.1 hangs, shutdown terminated
On Fri, Oct 10, 2008 at 11:13:00AM +0200, Laszlo Nagy wrote: > Johan Hendriks írta: >> If find / -sx is running and is consuming all CPU, what is the value of >> vfs.ufs.dirhash_mem: >> >> # sysctl -a | grep dirhash >> > shopzeus# sysctl -a | grep dirhash > vfs.ufs.dirhash_docheck: 0 > vfs.ufs.dirhash_mem: 2095818 > vfs.ufs.dirhash_maxmem: 2097152 > vfs.ufs.dirhash_minsize: 2560 > >> Make sure vfs.ufs.dirhash_mem: is not close to vfs.ufs.dirhash_maxmem: >> > All right. It is close to it. Which one should I increase? I put this > into /etc/sysctl.conf: > > > vfs.ufs.dirhash_maxmem=8228608 > > Would it be scufficient? We don't know, and can't tell you. You'll have to monitor vfs.ufs.dirhash_mem occasionally to see if you start to reach vfs.ufs.dirhash_maxmem. I have a tendency to use vfs.ufs.dirhash_maxmem=16777216, which is 16384*1024 (16MBytes). I'm not fully confident this is what's causing your problem, but it's definitely a recommendation by Johan. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 7.1 hangs, shutdown terminated
Johan Hendriks írta: If find / -sx is running and is consuming all CPU, what is the value of vfs.ufs.dirhash_mem: # sysctl -a | grep dirhash shopzeus# sysctl -a | grep dirhash vfs.ufs.dirhash_docheck: 0 vfs.ufs.dirhash_mem: 2095818 vfs.ufs.dirhash_maxmem: 2097152 vfs.ufs.dirhash_minsize: 2560 Make sure vfs.ufs.dirhash_mem: is not close to vfs.ufs.dirhash_maxmem: All right. It is close to it. Which one should I increase? I put this into /etc/sysctl.conf: vfs.ufs.dirhash_maxmem=8228608 Would it be scufficient? Thanks, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 7.1 hangs, shutdown terminated
This could be a periodic job (since you said this happens daily) which runs early in the morning (2-3am?) and for some reason isn't finishing in a timely manner. You haven't provided any actual ps -auxwww data, so we can't easily discern if it's a periodic job or something amiss on your system (for all we know the system could be compromised). I wanted to, but since I could not log in... I'm also curious what controller your SCSI disks are attached to. Can you provide that information? ARECA 1680 ix 12 dmesg would be useful. Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.1-PRERELEASE #3: Mon Oct 6 07:50:31 EDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SHOPZEUS module_register: module g_journal already exists! Module g_journal failed to register: 17 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2508.72-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features=0xbfebfbff Features2=0xce3bd> AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 4 usable memory = 8571047936 (8173 MB) avail memory = 8260050944 (7877 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_hpet0: iomem 0xfed0-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xca2,0xca3,0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: irq 16 at device 0.0 on pci1 pci2: on pcib2 pcib3: irq 16 at device 0.0 on pci2 pci3: on pcib3 pcib4: irq 18 at device 2.0 on pci2 pci4: on pcib4 em0: port 0x2020-0x203f mem 0xb882-0xb883,0xb840-0xb87f irq 18 at device 0.0 on pci4 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:15:17:81:99:d0 em1: port 0x2000-0x201f mem 0xb880-0xb881,0xb800-0xb83f irq 19 at device 0.1 on pci4 em1: Using MSI interrupt em1: [FILTER] em1: Ethernet address: 00:15:17:81:99:d1 pcib5: at device 0.3 on pci1 pci5: on pcib5 pcib6: at device 3.0 on pci0 pci6: on pcib6 pcib7: at device 4.0 on pci0 pci7: on pcib7 pcib8: at device 5.0 on pci0 pci8: on pcib8 pcib9: at device 6.0 on pci0 pci9: on pcib9 pcib10: at device 7.0 on pci0 pci10: on pcib10 pci0: at device 8.0 (no driver attached) pcib11: irq 16 at device 28.0 on pci0 pci11: on pcib11 arcmsr0: mem 0xb8b0-0xb8b01fff irq 16 at device 0.0 on pci11 ARECA RAID ADAPTER0: Driver Version 1.20.00.15 2007-10-07 ARECA RAID ADAPTER0: FIRMWARE VERSION V1.45 2008-04-29 arcmsr0: [ITHREAD] uhci0: port 0x3080-0x309f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x3060-0x307f irq 22 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x3040-0x305f irq 23 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x3020-0x303f irq 22 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xb8c00400-0xb8c007ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered pcib12: at device 30.0 on pci0 pci12: on pcib12 vgapci0: port 0x1000-0x10ff mem 0xb000-0xb7ff,0xb8a0-0xb8a0 irq 17 at device 12.0 on pci12 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30b0-0x30bf irq 20 at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x30c8-0x30cf,0x30e4-0x30e7,0x30c0-0x30c7,0x30e0-0x30e3,0x30a0-0x30af mem 0xb8c0-0xb8c003ff i
Re: Wireless Card - EDIMAX EW-7728In
On Wed, 2008-10-08 at 22:00 -0400, Justin Mazzi wrote: > Hi, > > Does anyone know if FreeBSD has support for this card? I did some > searching around and looks like this card is based on the RALink > RT2860 chip. OpenBSD has drivers listed for it on this page: > > http://www.openbsd.org.ua/i386.html > Section: "Ralink Technology IEEE 802.11a/b/g PCI adapters (ral), > including: (B) (C)" > > If anyone has been able to get this card working, or knows how I could > get it working, please let me know. Your help is greatly appreciated. > Thanks! > I can't find it here: http://www.freebsd.org/releases/7.0R/hardware.html#WLAN Therefor I don't think it will work. -- Regards, Aniruddha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sysinstall
On Thu, Oct 09, 2008 at 08:32:50PM +0200, [EMAIL PROTECTED] wrote: > > Hi, > > I have the following prblem with sysinstall: when I run sysinstall inside > an xterm I find it very difficult to read the yellow font on the gray > background, which appears very light on my laptop LCD and also on an Eizo > LCD. Strangely, the gray is much darker if I run sysinstall from the > console outside X. Is there a way to make the gray darker when sysinstall > is run inside an xterm? > > I'm running fbsd 7. > > Best regards, > Boris Put this mapping in ~/.Xdefaults: XTerm*VT100*translations: #override \ F6 : set-reverse-video(toggle) Then: $ xrdb -load $HOME/.Xdefaults Then press F6 to get a clearer sysinstall. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: 7.1 hangs, shutdown terminated
If find / -sx is running and is consuming all CPU, what is the value of vfs.ufs.dirhash_mem: # sysctl -a | grep dirhash Make sure vfs.ufs.dirhash_mem: is not close to vfs.ufs.dirhash_maxmem: Regards, Johan Hendriks Double -L Automatisering No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.173 / Virus Database: 270.8.0/1717 - Release Date: 9-10-2008 16:56 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 7.1 hangs, shutdown terminated
On Fri, Oct 10, 2008 at 10:40:01AM +0200, Laszlo Nagy wrote: > Hi, > > A computer hangs every day in the morning at a specific time, between 8 > AM and 9 AM. We can ping it. Apparently the console works, also gdm > works on it, but we are not able to login at all. ssh accepts > connections, but the authentication does not continue (e.g. ssh client > waits for the server forever...) > > I even cannot login on the console as "root" because it accepts the user > name, but does not ask for the password! > > Pressing Ctrl+Alt+Del on the console waits for about one or two minutes, > then I see this on the screen: > > http://www.imghype.com/viewer.php?imgdata=9d95ee9d1fstrange_shutdown.jpg > > Here is /var/log/messages just before the crash: > > Oct 10 01:52:47 shopzeus postgres[81114]: [5-1] WARNING: nonstandard > use of escape in a string literal at character 193 > Oct 10 01:52:47 shopzeus postgres[81114]: [5-2] HINT: Use the escape > string syntax for escapes, e.g., E'\r\n'. > Oct 10 01:57:11 shopzeus postgres[84132]: [5-1] WARNING: nonstandard > use of escape in a string literal at character 188 > Oct 10 01:57:11 shopzeus postgres[84132]: [5-2] HINT: Use the escape > string syntax for escapes, e.g., E'\r\n'. > Oct 10 02:00:01 shopzeus postfix/postfix-script[86167]: fatal: the > Postfix mail system is already running > Oct 10 02:30:00 shopzeus postfix/postfix-script[7240]: fatal: the > Postfix mail system is already running > Oct 10 03:00:00 shopzeus postfix/postfix-script[27437]: fatal: the > Postfix mail system is already running > Oct 10 04:07:54 shopzeus rc.shutdown: 30 second watchdog timeout > expired. Shutdown terminated. > Oct 10 04:09:16 shopzeus postgres[30455]: [5-1] FATAL: terminating > connection due to administrator command > Oct 10 04:09:17 shopzeus syslogd: exiting on signal 15 > Oct 10 04:11:31 shopzeus syslogd: kernel boot file is /boot/kernel/kernel > Oct 10 04:11:31 shopzeus kernel: Copyright (c) 1992-2008 The FreeBSD > Project. > Oct 10 04:11:31 shopzeus kernel: Copyright (c) 1979, 1980, 1983, 1986, > 1988, 1989, 1991, 1992, 1993, 1994 > > After rebooting the machine, nothing happens until the next day. Here > are some possible problems I can think of: > > #1. We are using gjournal. It might be that the journal size is too > small. Although I do not think this is the case, because we have 40GB > journal space for each journaled partition below (except for /home, it > has 10GB only, but /home is rarely used) > > Filesystem 1G-blocks Used Avail Capacity Mounted on > /dev/da0s1a 91 714%/ > devfs 00 0 100%/dev > /dev/da0s1f.journal 140 12 117 9%/home > /dev/da0s2d.journal 106889 8%/pgdata0 > /dev/da0s1d29026 0%/tmp > /dev/da0s2e.journal 585 74 46414%/usr > /dev/da0s1e.journal 145 17 11613%/var > /dev/da1s1d.journal 4160 383 0%/data > > Is it possible that gjournal is hanging up the machine? > > #2. Yesterday when I logged in in the morning, I saw a process running > under root, it was something like " find / -sx ..." and then something. > I don't remember but it was scanning the whole filesystem. It was using > 100% cpu and 100% disk I/O. I wonder if that might be freezing the > computer. I do not know how to disable this maintenance process but I > should. After killing this process, the system worked fine. (We have > zillions of files on the disks, running "find / ..." is a bad idea.) This could be a periodic job (since you said this happens daily) which runs early in the morning (2-3am?) and for some reason isn't finishing in a timely manner. You haven't provided any actual ps -auxwww data, so we can't easily discern if it's a periodic job or something amiss on your system (for all we know the system could be compromised). I'm also curious what controller your SCSI disks are attached to. Can you provide that information? dmesg would be useful. I remember hearing some reports about 3Ware controllers locking up due to firmware problems which were later fixed via a f/w upgrade. > #3. In the screenshot above, you can see that the IMAP server "dovecot" > was terminated on signal 11. Can it be the problem? I can't believe that > dovecot could freeze the whole system. > > #4. Hardware error. I don't think this is the case since the computer > freezes at the same time, every day, so it is more likely a software > problem. My vote is on a hardware problem. The watchdog timeout you see indicates a portion of the system is locking up hard. The sig 11 would indicate a sudden segfault, which if unexpected, often indicates bad memory or motherboard. I would recommend you start down the hardware path. Replace the RAM and the mainboard, and see what happens. -- | Jeremy Chadwickjdc at par
7.1 hangs, shutdown terminated
Hi, A computer hangs every day in the morning at a specific time, between 8 AM and 9 AM. We can ping it. Apparently the console works, also gdm works on it, but we are not able to login at all. ssh accepts connections, but the authentication does not continue (e.g. ssh client waits for the server forever...) I even cannot login on the console as "root" because it accepts the user name, but does not ask for the password! Pressing Ctrl+Alt+Del on the console waits for about one or two minutes, then I see this on the screen: http://www.imghype.com/viewer.php?imgdata=9d95ee9d1fstrange_shutdown.jpg Here is /var/log/messages just before the crash: Oct 10 01:52:47 shopzeus postgres[81114]: [5-1] WARNING: nonstandard use of escape in a string literal at character 193 Oct 10 01:52:47 shopzeus postgres[81114]: [5-2] HINT: Use the escape string syntax for escapes, e.g., E'\r\n'. Oct 10 01:57:11 shopzeus postgres[84132]: [5-1] WARNING: nonstandard use of escape in a string literal at character 188 Oct 10 01:57:11 shopzeus postgres[84132]: [5-2] HINT: Use the escape string syntax for escapes, e.g., E'\r\n'. Oct 10 02:00:01 shopzeus postfix/postfix-script[86167]: fatal: the Postfix mail system is already running Oct 10 02:30:00 shopzeus postfix/postfix-script[7240]: fatal: the Postfix mail system is already running Oct 10 03:00:00 shopzeus postfix/postfix-script[27437]: fatal: the Postfix mail system is already running Oct 10 04:07:54 shopzeus rc.shutdown: 30 second watchdog timeout expired. Shutdown terminated. Oct 10 04:09:16 shopzeus postgres[30455]: [5-1] FATAL: terminating connection due to administrator command Oct 10 04:09:17 shopzeus syslogd: exiting on signal 15 Oct 10 04:11:31 shopzeus syslogd: kernel boot file is /boot/kernel/kernel Oct 10 04:11:31 shopzeus kernel: Copyright (c) 1992-2008 The FreeBSD Project. Oct 10 04:11:31 shopzeus kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 After rebooting the machine, nothing happens until the next day. Here are some possible problems I can think of: #1. We are using gjournal. It might be that the journal size is too small. Although I do not think this is the case, because we have 40GB journal space for each journaled partition below (except for /home, it has 10GB only, but /home is rarely used) Filesystem 1G-blocks Used Avail Capacity Mounted on /dev/da0s1a 91 714%/ devfs 00 0 100%/dev /dev/da0s1f.journal 140 12 117 9%/home /dev/da0s2d.journal 106889 8%/pgdata0 /dev/da0s1d29026 0%/tmp /dev/da0s2e.journal 585 74 46414%/usr /dev/da0s1e.journal 145 17 11613%/var /dev/da1s1d.journal 4160 383 0%/data Is it possible that gjournal is hanging up the machine? #2. Yesterday when I logged in in the morning, I saw a process running under root, it was something like " find / -sx ..." and then something. I don't remember but it was scanning the whole filesystem. It was using 100% cpu and 100% disk I/O. I wonder if that might be freezing the computer. I do not know how to disable this maintenance process but I should. After killing this process, the system worked fine. (We have zillions of files on the disks, running "find / ..." is a bad idea.) #3. In the screenshot above, you can see that the IMAP server "dovecot" was terminated on signal 11. Can it be the problem? I can't believe that dovecot could freeze the whole system. #4. Hardware error. I don't think this is the case since the computer freezes at the same time, every day, so it is more likely a software problem. Any thoughts what is causing this? uname -a: FreeBSD shopzeus.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #3: Mon Oct 6 07:50:31 EDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SHOPZEUS amd64 Thank you, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: uptime 2 years!
Odhiambo, you hit the nail on the head. Glad to see you caught on. Chad, please google up the definition of "passive-agressive" behavior and look at yourself in a mirror. If you don't get it, reread the definition and look in the mirror again. And in the future, please don't engage in it. You don't want to become known for this. As for the rest of you, this is a classic Bikeshed discussion. I'm amazed that so many people fell for it. I guess the collapse of the US financial system has put a crimp on your spending on new computers and your all bored of your old hardware. Chad's post was worth a read. It wasn't worth a response, espically escalated to the rediculousness that some have been. Did anyone bother to think that any admin with 2 years uptime on a system probably has some decent coin into the environment (think, UPS power here) and more like as not knows what they are doing? Chances that your going to get 2 years of uptime on a system plugged into a consumer-grade UPS in a private residence are lower than the chances that Jamie Lynn Spears is going to be offered the job of spokesperson for the National Abstinence Education Association. It has nothing to do with how the server is configured and everything to do with the environment the server is in. Ted > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Odhiambo > Washington > Sent: Thursday, October 09, 2008 9:56 AM > To: User Questions > Cc: Chad Marshall; Jon Radel > Subject: Re: uptime 2 years! > > > On Thu, Oct 9, 2008 at 7:51 PM, Zbigniew Szalbot > <[EMAIL PROTECTED]> wrote: > > 2008/10/9 Jon Radel: > >> > >> Dear Mr. Marshall: > >> > >> I'm terribly sorry that our representatives in charge of > answering emails > >> have been rude to you. I've just fired the lot of them, > particularly as we > >> can't afford to keep then on anymore seeing as how your > generous donations > >> are now in jeopardy. > > > > How is that supposed to be helpful? > > > >> I will ask, however, that in the future you constrain your e-mail to > >> freebsd-questions to either questions or answers to them, so as to not > >> inflame our more excitable representatives once we hire a new, > much reduced, > >> batch of them. > > > > Can you follow your own advice? > > > > -- > > Zbigniew Szalbot > > I love the direction this thread has taken. First, humorous, then it > will turn into flames. I bet all my US$:-) > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > "Oh My God! They killed init! You Bastards!" > --from a /. post > ___ > 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 Get libm.so.4?
Thanks, Jeremy. For letting me know the dis-advantages softlinking in long run. On Fri, Oct 10, 2008 at 12:40:46AM -0700, Jeremy Chadwick wrote: > On Fri, Oct 10, 2008 at 06:40:22PM +0530, Shakul M Hameed wrote: > > I think its not a very bad idea, unless your app is dependent on a routine > > which is deprecated and > > not avaiable in the latest version of library. For testing purpose this > > should be ok. > > I disagree. It _is_ a bad idea. > > There is absolutely *no* guarantee that symbols will be identical > between two revisions of a shared library, especially across a > major revision. I'm not talking about missing symbols detected during > run-time either; I'm talking about internal changes that could affect > the operation of a program which relies on certain behaviour of > functions in that library, which has changed in a newer version (yet > kept the same function/calling semantics). > > And let's not forget about shared libraries that are linked to other > shared libraries, resulting in a dependency tree of madness, where > you'll suddenly find yourself making symlinks all over the place. (You > should use libmap.conf for this purpose anyway). > > So like I said -- it IS a bad idea. Please do not do it. > > -- > | Jeremy Chadwickjdc at parodius.com | > | Parodius Networking http://www.parodius.com/ | > | UNIX Systems Administrator Mountain View, CA, USA | > | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ 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 Get libm.so.4?
On Fri, Oct 10, 2008 at 06:40:22PM +0530, Shakul M Hameed wrote: > I think its not a very bad idea, unless your app is dependent on a routine > which is deprecated and > not avaiable in the latest version of library. For testing purpose this > should be ok. I disagree. It _is_ a bad idea. There is absolutely *no* guarantee that symbols will be identical between two revisions of a shared library, especially across a major revision. I'm not talking about missing symbols detected during run-time either; I'm talking about internal changes that could affect the operation of a program which relies on certain behaviour of functions in that library, which has changed in a newer version (yet kept the same function/calling semantics). And let's not forget about shared libraries that are linked to other shared libraries, resulting in a dependency tree of madness, where you'll suddenly find yourself making symlinks all over the place. (You should use libmap.conf for this purpose anyway). So like I said -- it IS a bad idea. Please do not do it. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ 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 Get libm.so.4?
I think its not a very bad idea, unless your app is dependent on a routine which is deprecated and not avaiable in the latest version of library. For testing purpose this should be ok. - moin On Fri, Oct 10, 2008 at 12:12:55AM -0700, Jeremy Chadwick wrote: > On Fri, Oct 10, 2008 at 05:56:13PM +0530, Shakul M Hameed wrote: > > check for libm.so.5 in /lib. > > do a softlink of libm.so.4 pointing to libm.so.5 > > I guess this should fix your issue. > > **DO NOT** do this. > > -- > | Jeremy Chadwickjdc at parodius.com | > | Parodius Networking http://www.parodius.com/ | > | UNIX Systems Administrator Mountain View, CA, USA | > | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uptime 2 years!
Zbigniew Szalbot: 2008/10/9 Jon Radel: Dear Mr. Marshall: I'm terribly sorry that our representatives in charge of answering emails have been rude to you. I've just fired the lot of them, particularly as we can't afford to keep then on anymore seeing as how your generous donations are now in jeopardy. How is that supposed to be helpful? Ironi is helpful. And funny. ___ 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 Get libm.so.4?
On Fri, Oct 10, 2008 at 05:56:13PM +0530, Shakul M Hameed wrote: > check for libm.so.5 in /lib. > do a softlink of libm.so.4 pointing to libm.so.5 > I guess this should fix your issue. **DO NOT** do this. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ 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 Get libm.so.4?
check for libm.so.5 in /lib. do a softlink of libm.so.4 pointing to libm.so.5 I guess this should fix your issue. - moin On Thu, Oct 09, 2008 at 12:49:26PM -0700, Drew Tomlinson wrote: > I am attempting to install a web analysis tool named "Urchin" from > Google. Installation instructions are here: > > https://secure.urchin.com/helpwiki/en/Urchin_Installation_Guide_(FreeBSD_and_Linux) > > Urchin claims to run on FBSD 6.2+ which I took to mean version 6.2 or > greater. Since this is a brand new install, I installed FBSD > 7.1-PRERELEASE, assuming the actual release would not be too far off. > > I'm following the install procedures which has me run a ./install.sh > script. This script fails, complaining about a missing libm.so.4. I've > Googled and found some reference that this has to do with installing > compatibility libraries for FBSD 4. Thus I've added "COMPAT4X= yes" and > rebuilt and installed my world. However I still do not have this file. > > What do I need to do? > > Thanks, > > Drew > > -- > Be a Great Magician! > Visit The Alchemist's Warehouse > > http://www.alchemistswarehouse.com > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"