box reboot after hdd write error
Hello fellas, My system is a 8.0-RELEASE with 6 hdd's. 2 days ago I had some power failures and 2 disks were affected. These 2 hdd;s are connected to atapci0: SiI 3512 SATA150 controller port 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f mem 0xfa4a-0xfa4a01ff irq 12 at device 4.0 on pci2 s-ata controller. Before the power surge, the disks were operating normally. I use them for storage, therefore no system data is kept on them. The issue here is that after the write failure, the box reboots. Up to this point I cannot figure out why it reboots, since the disks contain no relevant data (from a OS point of view). Do you think it's normal for an OS to reboot if 2 disks have write errors ? even more so, if the disks have no OS files on them ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS not usable on FreeBSD-8.1
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: box reboot after hdd write error
On 8/17/2010 11:37 PM, claudiu vasadi wrote: Hello fellas, My system is a 8.0-RELEASE with 6 hdd's. 2 days ago I had some power failures and 2 disks were affected. These 2 hdd;s are connected to atapci0: SiI 3512 SATA150 controller port 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f mem 0xfa4a-0xfa4a01ff irq 12 at device 4.0 on pci2 s-ata controller. Before the power surge, the disks were operating normally. I use them for storage, therefore no system data is kept on them. The issue here is that after the write failure, the box reboots. Up to this point I cannot figure out why it reboots, since the disks contain no relevant data (from a OS point of view). Do you think it's normal for an OS to reboot if 2 disks have write errors ? even more so, if the disks have no OS files on them How often is it rebooting? And it's not saying or doing anything it just randomly reboots? That seems more like a hardware issue than something OS related since the OS isn't even on those disks. If it's just data disks you could unplug them to see if the machine still reboots. That would let you know for sure if they really are the problem or if it's something else. Are you sure the power surge didn't affect the power supply? Also did you do anything to the system after the power surge (like open it up for any reason where there may be a loose wire not plugged in all the way). The last thing I would mention is this could all be a coincidence and it might be related to heat, make sure all your fans are working and that there isn't any big dust buildup inside (gogo compressed air). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
how to run task periodically
Hi, I have a system that doesn't run 24/7/365. I would like to make sure that some tasks (like updating the ports tree) run weekly/monthly etc. As the system isn't on 24/7 the cron job I usually run for these tasks doesn't work as the machine isn't always running on the scheduled time. So I need a utility that enable me to say: if a week has passed since the last run, run this command. Is there such a utlility? Cheers, Mark signature.asc Description: OpenPGP digital signature
Fwd: box reboot after hdd write error
How often is it rebooting? Only after the write failure. If I do read from the disks, everything is fine If it's just data disks you could unplug them to see if the machine still reboots. That would let you know for sure if they really are the problem or if it's something else. I could try that but it will take some time since I am only administering the box and I have no access to it (fizicaly) Are you sure the power surge didn't affect the power supply? Yes I am. The other 4 disks are ok and the system has no other symptoms of any kind Also did you do anything to the system after the power surge (like open it up for any reason where there may be a loose wire not plugged in all the way). Nope. The last thing I would mention is this could all be a coincidence and it might be related to heat, make sure all your fans are working and that there isn't any big dust buildup inside (gogo compressed air). Crossed my mind too. I ran long and short smart test on it and it came up ok. Temp is ~37 degrees celsius. Like I said, the disks were ok before the power surge. All the fans are working fine. Sorry, I forgot to put the list in CC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to run task periodically
On Wed, Aug 18, 2010 at 1:58 AM, Mark Stapper st...@mapper.nl wrote: So I need a utility that enable me to say: if a week has passed since the last run, run this command. Is there such a utlility? /usr/ports/sysutils/anacron -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Where is firefox-devel?
On 18.08.2010 04:21, jhell wrote: On 08/17/2010 14:04, Unga wrote: Hi all Could I know what is the complete web path for branches/experimental/www/firefox-devel/? This is mentioned in following mail: http://lists.freebsd.org/pipermail/freebsd-gecko/2010-August/001054.html Looks to me that its a local svn development repo for the freebsd-gecko project. You could checkout the port like this: # svn co https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental/www/firefox-devel/ Please note you need at least version 3.12.6 of security/nss and revision 1.21 of Mk/bsd.gecko.mk to build Firefox 4. Also this port does not contain a CONFLICT with Firefox 3.* as the experimental branch in our repository has a newer layout then the portstree. If you like to install Firefox 4 please deinstall Firefox 3.* first. We've also dropped FreeBSD 6.x support for Firefox 4. Please be aware that ports from the experimental branch could be broken on purpose or do not work/build so use it at your own risk :) HTH, Beat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to run task periodically
crontab -e ? See http://en.wikipedia.org/wiki/Cron Cheers, Antonio 2010/8/18 Mark Stapper st...@mapper.nl: Hi, I have a system that doesn't run 24/7/365. I would like to make sure that some tasks (like updating the ports tree) run weekly/monthly etc. As the system isn't on 24/7 the cron job I usually run for these tasks doesn't work as the machine isn't always running on the scheduled time. So I need a utility that enable me to say: if a week has passed since the last run, run this command. Is there such a utlility? Cheers, Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to run task periodically
On 08/18/2010 10:58, Mark Stapper wrote: Hi, I have a system that doesn't run 24/7/365. I would like to make sure that some tasks (like updating the ports tree) run weekly/monthly etc. As the system isn't on 24/7 the cron job I usually run for these tasks doesn't work as the machine isn't always running on the scheduled time. So I need a utility that enable me to say: if a week has passed since the last run, run this command. Is there such a utlility? Cheers, Mark Maybe @reboot action of standard crontab will suit your needs. Also it wouldn't be that hard to write a simple shell-script which will check dates and perform needed actions. -- Best regards, Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Hibernation
I can't find any good docs or guides to this. I checked the handbook, but had a bunch of references to 5.x. Can anyone point me to the right direction? I'd like to go with FreeBSD 8.1 amd64 for my next system. Hibernation and Wake on Lan would both be useful. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS not usable on FreeBSD-8.1
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to run task periodically
On 18-8-2010 9:22, Adam Vande More wrote: On Wed, Aug 18, 2010 at 1:58 AM, Mark Stapper st...@mapper.nl mailto:st...@mapper.nl wrote: So I need a utility that enable me to say: if a week has passed since the last run, run this command. Is there such a utlility? /usr/ports/sysutils/anacron -- Adam Vande More That was exactly what I was looking for. Thank you! Cheers, Mark signature.asc Description: OpenPGP digital signature
Re: Where is firefox-devel?
--- On Wed, 8/18/10, Beat Gaetzi b...@freebsd.org wrote: From: Beat Gaetzi b...@freebsd.org Subject: Re: Where is firefox-devel? To: FreeBSD Questions freebsd-questions@FreeBSD.org Cc: jhell jh...@dataix.net, Unga unga...@yahoo.com Date: Wednesday, August 18, 2010, 3:35 PM On 18.08.2010 04:21, jhell wrote: On 08/17/2010 14:04, Unga wrote: Hi all Could I know what is the complete web path for branches/experimental/www/firefox-devel/? This is mentioned in following mail: http://lists.freebsd.org/pipermail/freebsd-gecko/2010-August/001054.html Looks to me that its a local svn development repo for the freebsd-gecko project. You could checkout the port like this: # svn co https://trillian.chruetertee.ch/svn/freebsd-gecko/branches/experimental/www/firefox-devel/ Please note you need at least version 3.12.6 of security/nss and revision 1.21 of Mk/bsd.gecko.mk to build Firefox 4. Also this port does not contain a CONFLICT with Firefox 3.* as the experimental branch in our repository has a newer layout then the portstree. If you like to install Firefox 4 please deinstall Firefox 3.* first. We've also dropped FreeBSD 6.x support for Firefox 4. Please be aware that ports from the experimental branch could be broken on purpose or do not work/build so use it at your own risk :) HTH, Beat Hi Beat Thank you very much for the link and the info. That's exactly what I was looking for. Best regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Hibernation
On Wed, 18 Aug 2010 03:55:12 -0500 Depo Catcher depocatc...@gmail.com wrote: I can't find any good docs or guides to this. I checked the handbook, but had a bunch of references to 5.x. Can anyone point me to the right direction? I'd like to go with FreeBSD 8.1 amd64 for my next system. Hibernation and Wake on Lan would both be useful. The only support for hibernation is via the BIOS with a special partition. Unfortunately as far as I know it rarely, if ever, works. Windows (I don't know about Linux) bypasses the BIOS/ACPI and just dumps the contents of memory to disk before powering off. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
clamav issues
Hi, I'm having some problems with a clamav install and wondered if anyone had any suggestions. As of a few days ago i noticed mail was getting rejected with 451 retry codes. Checking the milters this appeared to be clamav, and removing this milter fixed the problem. Afterwards, on tryign to fix the issue, i noticed that whilst clamd started ok, it no longer stopped and just endlessly waited for the pid. I suspect this is related, as freshclam also was unable to notifuy clamd of updates. I've rebuilt clamav several times, mainly thinking that the first issue of why it wouldn;t stop was indictaive of it not responding to other requests ( milter , freshclam etc). I've moved the mail scanning onto another box, but would dearly like it to be working on this particular box. Where to start? Suggestions welcomed! -clamd is listening on a local socket only ( changing to tcp only has no effect) - have rebuilt clamav, updated ports, and rebuilt a threaded perl. startup debug is here: ( it looks to start fine, ) Starting clamav_clamd. LibClamAV debug: Initialized 0.96.2 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in JIT mode LibClamAV debug: Loading databases from /var/db/clamav LibClamAV debug: in cli_cvdload() LibClamAV debug: MD5(.tar.gz) = fad53de5357e9e0fe053afe917f215e6 LibClamAV debug: cli_versig: Decoded signature: fad53de5357e9e0fe053afe917f215e6 LibClamAV debug: cli_versig: Digital signature is correct. LibClamAV debug: in cli_tgzload() LibClamAV debug: daily.info loaded LibClamAV debug: in cli_tgzload() LibClamAV debug: daily.cfg loaded LibClamAV debug: daily.ign loaded LibClamAV debug: daily.ign2 loaded LibClamAV debug: Initializing engine-root[0] LibClamAV debug: Initialising AC pattern matcher of root[0] LibClamAV debug: cli_initroots: Initializing BM tables of root[0] LibClamAV debug: Initializing engine-root[1] LibClamAV debug: Initialising AC pattern matcher of root[1] LibClamAV debug: cli_initroots: Initializing BM tables of root[1] LibClamAV debug: Initializing engine-root[2] LibClamAV debug: Initialising AC pattern matcher of root[2] LibClamAV debug: Initializing engine-root[3] LibClamAV debug: Initialising AC pattern matcher of root[3] LibClamAV debug: Initializing engine-root[4] LibClamAV debug: Initialising AC pattern matcher of root[4] LibClamAV debug: Initializing engine-root[5] LibClamAV debug: Initialising AC pattern matcher of root[5] LibClamAV debug: Initializing engine-root[6] LibClamAV debug: Initialising AC pattern matcher of root[6] LibClamAV debug: Initializing engine-root[7] LibClamAV debug: Initialising AC pattern matcher of root[7] LibClamAV debug: Initializing engine-root[8] LibClamAV debug: Initialising AC pattern matcher of root[8] LibClamAV debug: Initializing engine-root[9] LibClamAV debug: Initialising AC pattern matcher of root[9] LibClamAV debug: Loaded 117 filetype definitions LibClamAV debug: daily.ftm loaded LibClamAV debug: daily.db loaded LibClamAV debug: daily.hdb loaded LibClamAV debug: daily.hdu loaded LibClamAV debug: daily.mdb loaded LibClamAV debug: daily.mdu loaded LibClamAV debug: daily.ndb loaded LibClamAV debug: daily.ndu loaded LibClamAV debug: daily.ldb loaded LibClamAV debug: daily.zmd loaded LibClamAV debug: daily.idb loaded LibClamAV debug: daily.fp loaded LibClamAV debug: Loading regex_list LibClamAV debug: daily.pdb loaded LibClamAV debug: Loading regex_list LibClamAV debug: daily.wdb loaded LibClamAV debug: /var/db/clamav/daily.cvd loaded LibClamAV debug: in cli_cvdload() LibClamAV debug: MD5(.tar.gz) = 59b7133605b0857b1a76bfe8b3645ff5 LibClamAV debug: cli_versig: Decoded signature: 59b7133605b0857b1a76bfe8b3645ff5 LibClamAV debug: cli_versig: Digital signature is correct. LibClamAV debug: in cli_tgzload() LibClamAV debug: main.info loaded LibClamAV debug: in cli_tgzload() LibClamAV debug: main.db loaded LibClamAV debug: Ignoring signature Exploit.PDF-552 LibClamAV debug: Ignoring signature Exploit.PDF-6064 LibClamAV debug: Ignoring signature Trojan.Agent-119128 LibClamAV debug: main.hdb loaded LibClamAV debug: Ignoring signature Trojan.Inject-601 LibClamAV debug: Ignoring signature Trojan.Agent-32909 LibClamAV debug: Ignoring signature Trojan.Dropper-16405 LibClamAV debug: Ignoring signature Worm.Downadup-282 LibClamAV debug: Ignoring signature Worm.Downadup-319 LibClamAV debug: Ignoring signature Trojan.Agent-121212 LibClamAV debug: Ignoring signature Trojan.Dropper-20544 LibClamAV debug: main.mdb loaded LibClamAV debug: Ignoring signature HTML.Phishing.Bank-22 LibClamAV debug: Ignoring signature HTML.Phishing.Pay-159 LibClamAV debug: Ignoring signature Worm.Stration.NS LibClamAV debug: Ignoring signature Email.Faketube LibClamAV debug: Ignoring signature Email.Phishing.DblDom-57 LibClamAV debug: Ignoring
Re: clamav issues
On Wed, 18 Aug 2010 12:25:21 +0100 Paul Macdonald p...@ifdnrg.com articulated: I'm having some problems with a clamav install and wondered if anyone had any suggestions. As of a few days ago i noticed mail was getting rejected with 451 retry codes. Checking the milters this appeared to be clamav, and removing this milter fixed the problem. Afterwards, on tryign to fix the issue, i noticed that whilst clamd started ok, it no longer stopped and just endlessly waited for the pid. I suspect this is related, as freshclam also was unable to notifuy clamd of updates. I've rebuilt clamav several times, mainly thinking that the first issue of why it wouldn;t stop was indictaive of it not responding to other requests ( milter , freshclam etc). I've moved the mail scanning onto another box, but would dearly like it to be working on this particular box. Where to start? Suggestions welcomed! Perhaps you could try the following - basically nuking clamav 1) Stop Clamav/Freshclam and the milter if it is running. 2) Run: pkg_delete -dfv clamav-0.96.2_1 3) Remove or rename any config files of Clamav and it children. Also, be sure to delete all of Clamav's definition files. 4) Remove old Clamav log files 5) Insure that any stale 'pid' files are deleted. 6) cd to the clamav port and run make config 7) Install the port and modify the Clamav/Freshclam/Clamilter config files are needed. 8 Either reboot or start manually all of the Clamav programs you require. (I would recommend the reboot) Good luck! -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ I am firm. You are obstinate. He is a pig-headed fool. Katharine Whitehorn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD, GPGPU and OpenCL/CUDA
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Extracting a variable listing
Sorry to return to the trough again for script help, but find excellent answers here when all else fails, and I am not very good at it. Trying to develop a script (non-bash) that will extract a variable list of content on a daily basis so I can add it to a master list. Once I have this, I can do the rest of the scripting needed. Here's an example of the need. The content I need will always fall beneath a row of pound signs, and there is content above that row I don't want, like this: bunch of rows I don't need here ### --- the top of stuff needed row1 row2 row3 row4 etc, etc So, I need a way to pull out the rows (which vary daily) beneath the pound row and place it in a new temp file that I can cat into a master file. Appreciate your kind help once again (beers on me!) All the best! Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-american ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Extracting a variable listing
On Wed, 18 Aug 2010, Jack L. Stone wrote: The content I need will always fall beneath a row of pound signs, and there is content above that row I don't want, like this: bunch of rows I don't need here ### --- the top of stuff needed row1 If you want the '#' line in the output cat YourFile | sed -n -e '/#/,$p' If you don't, then cat YourFile | sed -e '1,/#/d' The above assumes that you will have at least 5 '#' chars on your divider line, and never before in the file. Increase the number '#' symbols if the above example is strictly literal. Note the -n in the first line. A. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
fix bad directory on FAT32 usb disk
I have a fat32 usb disk that gives this error when mounting with mount_msdosfs /dev/da0s1bad fat32 file system Is there some way to clean or auto fix this fat32 file system so it will mount? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: fix bad directory on FAT32 usb disk
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/18/10 9:55 AM, Fbsd8 wrote: I have a fat32 usb disk that gives this error when mounting with mount_msdosfs /dev/da0s1bad fat32 file system Is there some way to clean or auto fix this fat32 file system so it will mount? Hi, You can try fsck_msdosfs(8). Does it mount in other OSes? Regards, - -- Glen Barber -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) iQEcBAEBAgAGBQJMa+gfAAoJEFJPDDeguUajcAEIAI75vNn0PSNGUqpUtxh75FEm R1jEkoI0R4/u2l4bjQB4FkCtxPg8cpnMINdWT7agKyUb2sqqmTj/sKyx6xdzkQBA SH7liNDXBCr6TgPMq58p+AkM9wHZzBksM4a5YYGx/OG5SqtQyjeEYnKW+iJ9g/2p QbIYO3j9qOWw2hVPUt1gqTHKMMaAGi+Vr+n7sawvwxpxaTeCRQdnvlPp18B+5SHP lvtCdhYk7TdMHGoyQvyZSuG0WKzJyGKX5Czhwap2tQlLlGf9TAyP059iPUqraB08 dCa7x4CKwkagt38bXwGR7NRk0p1L7dp5H6/57J1+Nq+a5lVwS0BaXk7/lc5UyFQ= =bL7j -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Extracting a variable listing
At 10:53 AM 8.18.2010 -0300, A. Wright wrote: On Wed, 18 Aug 2010, Jack L. Stone wrote: The content I need will always fall beneath a row of pound signs, and there is content above that row I don't want, like this: bunch of rows I don't need here ### --- the top of stuff needed row1 If you want the '#' line in the output cat YourFile | sed -n -e '/#/,$p' If you don't, then cat YourFile | sed -e '1,/#/d' The above assumes that you will have at least 5 '#' chars on your divider line, and never before in the file. Increase the number '#' symbols if the above example is strictly literal. Note the -n in the first line. A. Worked like a charm, Andrew! Just what I needed! Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-american ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Extracting a variable listing
El día Wednesday, August 18, 2010 a las 09:22:37AM -0500, Jack L. Stone escribió: At 10:53 AM 8.18.2010 -0300, A. Wright wrote: On Wed, 18 Aug 2010, Jack L. Stone wrote: The content I need will always fall beneath a row of pound signs, and there is content above that row I don't want, like this: bunch of rows I don't need here ### --- the top of stuff needed row1 If you want the '#' line in the output cat YourFile | sed -n -e '/#/,$p' If you don't, then cat YourFile | sed -e '1,/#/d' ... http://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat :-) matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Extracting a variable listing
Jack L. Stone schrieb: Sorry to return to the trough again for script help, but find excellent answers here when all else fails, and I am not very good at it. Trying to develop a script (non-bash) that will extract a variable list of content on a daily basis so I can add it to a master list. Once I have this, I can do the rest of the scripting needed. Here's an example of the need. The content I need will always fall beneath a row of pound signs, and there is content above that row I don't want, like this: bunch of rows I don't need here ### --- the top of stuff needed row1 row2 row3 row4 etc, etc So, I need a way to pull out the rows (which vary daily) beneath the pound row and place it in a new temp file that I can cat into a master file. Appreciate your kind help once again (beers on me!) All the best! Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-america awk is your friend .-) this script does exactly what you need extract.awk --- /^#+$/ { print $0; getline; print ,$0 while (match($0, ^[[:print:]]+$)) { print $0; getline; } } --- You can still adjust the pattern in match to suit your need. invoke it with awk -f extract.awk yourfile Andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
BSD equivalent of Linux's free(1)?
hello, I am looking for something on BSD that will give me the same info as free(1) in Linux. i.e. I would like to know the state of total/used/free memory and swap. I know there are a number of utilities in ports that will let me do this, I am however looking for something in the base system (if such a utility exists). I also know that top(1) gives this info, and I could certainly use that, I just wanted the nearest BSD sibling of free(1).) Thank you! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Extracting a variable listing
Dr. A. Haakh schrieb: Jack L. Stone schrieb: Sorry to return to the trough again for script help, but find excellent answers here when all else fails, and I am not very good at it. Trying to develop a script (non-bash) that will extract a variable list of content on a daily basis so I can add it to a master list. Once I have this, I can do the rest of the scripting needed. Here's an example of the need. The content I need will always fall beneath a row of pound signs, and there is content above that row I don't want, like this: bunch of rows I don't need here ### --- the top of stuff needed row1 row2 row3 row4 etc, etc So, I need a way to pull out the rows (which vary daily) beneath the pound row and place it in a new temp file that I can cat into a master file. Appreciate your kind help once again (beers on me!) All the best! Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-america awk is your friend .-) this script does exactly what you need extract.awk --- /^#+$/ { getline; while (match($0, ^[[:print:]]+$)) { print $0; getline; } } --- You can still adjust the pattern in match to suit your need. invoke it with awk -f extract.awk yourfile Andreas I forgot to remove some extra output :-) -- Dr.-Ing. Andreas Haakh Schwanengasse 13 * 64380 Roßdorf * andr...@haakh.de Tel. 06154-694822 Fax. 06154-694821 Mobil 0173-361.6884 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: BSD equivalent of Linux's free(1)?
On 18/08/2010 16:18, Aleksandr Miroslav wrote: hello, I am looking for something on BSD that will give me the same info as free(1) in Linux. i.e. I would like to know the state of total/used/free memory and swap. I know there are a number of utilities in ports that will let me do this, I am however looking for something in the base system (if such a utility exists). I also know that top(1) gives this info, and I could certainly use that, I just wanted the nearest BSD sibling of free(1).) Thank you! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ralf engelschall wrote a nice perl script which does this http://people.freebsd.org/~rse/dist/ (the free-memory script) Paul. -- - Paul Macdonald IFDNRG Ltd Web and video hosting - t: 0131 5548070 m: 07534206249 e: p...@ifdnrg.com w: http://www.ifdnrg.com - IFDNRG 40 Maritime Street Edinburgh EH6 6SA - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD, GPGPU and OpenCL/CUDA
Hi Oliver, The problem behind the subject is a little bit frustrating, so I do not know were to start. Yeah it's a pretty big problem, but I can say others are looking at it and taking small steps in the right direction. First, and this hasn't changed since the last 15 years, FreeBSD lack in support of professional Compiler vendors. Pprtland Group offers only Linux compilers, as far as I know Intel does not offer a native FreeBSD 64 Bit compiler. So we are stuck with gcc and gfortran PathScale quietly is doing alpha testing on our very recent port. Some of it is work in progress, but we are *very* competitive in performance for most HPC codes. matter, if OpenCL/CUDA stuff could be used. But there is then the next problem. It seems that there is no real chance getting support for executing high performance code portions of our software in any way on a graphics card (gpu). Most FreeBSD driver doesn't support any 3D acceleration and as far as I know, the driver's support of 3D is essential for GPGPU usage. I looked for nVidia's native 64 Bit driver for FreeBSD, I found it, was happy having it, but then I realised that obviously CUDA isn't usable with this driver, since the CUDA SDK is not to be ported to FreeBSD and not even to 64 Bit FreeBSDs. Well, FreeBSD doesn't support 64 Bit Linuxulator as far as I know, so there is no chance getting software run in 64 bit environments using OpenCL/CUDA with nVidia GPUs, neither natively under FreeBSD nor with a 64Bit Linuxulator, is this right? PathScale and CAPS recently announced HMPP as a new manycore GPGPU open standard and there's a chance you'll see it ported to FBSD. In addition to this you could see other open standards working well on FBSD, but that depends on market demand and feedback. I havn't looked deeper into AMDs offerings, but I guess since it's silent around OpenCL and AMD-based GPGPU, even with Linux there isn't much. I'm not very close to the GPGPU scene, we even start thinking about porting and developing some mathematical stuff into libraries and thought about OpenCL. Unluckily, in my team I'm the only one utilizing FreeBSD. Maybe someone out here has solved some problems and could email me. Even AMD seems to be a white spot in the subject of GPGPU and FreeBSD for me, maybe someone could shed some light on this. What's blocking this from being available now a) someone porting the kernel driver over or b) us getting funding to do it. When we started working on the driver months ago one of the main goals was to allow greater portability. Details for any interested developers is available any time. In general I'd like to see more open source OS diversity in the HPC industry and happy to help where I can. For those curious why NVIDIA doesn't port CUDA to FBSD... My guess is that to do a high quality job it would take 1-2 man years of effort. In the non-FOSS world that's expensive. If anyone uses irc feel free to say hi.. #pathscale - irc.freenode.net Best, ./Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: BSD equivalent of Linux's free(1)?
On Wed, Aug 18, 2010 at 8:18 AM, Aleksandr Miroslav alexmiros...@gmail.com wrote: hello, I am looking for something on BSD that will give me the same info as free(1) in Linux. i.e. I would like to know the state of total/used/free memory and swap. I know there are a number of utilities in ports that will let me do this, I am however looking for something in the base system (if such a utility exists). I also know that top(1) gives this info, and I could certainly use that, I just wanted the nearest BSD sibling of free(1).) Thank you! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Would not the info displayed in the command top suffice? Regards, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Extracting a variable listing
Date: Wed, 18 Aug 2010 17:14:50 +0200 From: Dr. A. Haakh bugrepor...@haakh.de Subject: Re: Extracting a variable listing Jack L. Stone schrieb: The content I need will always fall beneath a row of pound signs, and there is content above that row I don't want, like this: bunch of rows I don't need here ### --- the top of stuff needed row1 row2 row3 row4 etc, etc awk is your friend .-) this script does exactly what you need extract.awk --- /^#+$/ { print $0; getline; print ,$0 while (match($0, ^[[:print:]]+$)) { print $0; getline; } } **GAAACK** let awk do the work for you BEGIN { printing = 0 ; } printing==1{ print $0 ; } /^#+$/ { printing = 1 ; } usage: awk -f {thatfile} {datafile} {masterfile} The BEGIN line is optional, and the '==1' is also un-necessary, but their presecee makes the logic clearer for 'somebody else' that looks at it. One can extract a block of lines from a file with the same logic. just add a pattern with an action of 'printing=0'. If the 'printing=1' line is above the 'print $0' line, the start marker line will be included in the output, if below it won't show. Similarly, if the 'printing=0' line is _below_ the 'print' line, the end marker line will be included, if above it, it won't show. The same basic approach trivially generalizes to extracting multiple blocks with different start/end markers, or to more complex markers -- e.g. trigger criteria that involve multiple lines from the source file. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Can't control laptop's lid... how to debug?
Hi all, I am unable to control my laptop's lid. Whenever I close the lid the system enters a weird state and I have to reboot. I've already added #Lid switch notify 0 { match system ACPI; match subsystem Lid; match notify 0x00; action xset dpms force off; }; notify 0 { match system ACPI; match subsystem Lid; match notify 0x01; action xset dpms force on; }; to my /etc/devd.conf This seemed to work the very first time, but then the system entered a weird state and I couldn't recover it, so I had to reboot. Is there any way to debug acpi events so that I can see what's going on without having to reboot? Thanks, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD, GPGPU and OpenCL/CUDA
Hi Christopher, C. Bergström cbergst...@pathscale.com escribió: PathScale and CAPS recently announced HMPP as a new manycore GPGPU open standard and there's a chance you'll see it ported to FBSD. In addition to this you could see other open standards working well on FBSD, but that depends on market demand and feedback. Do we need with this suite a nvidia/ati driver that executes the CUDA/OpenCL/Stream code? If yes, we'll have the same problem. I havn't looked deeper into AMDs offerings, but I guess since it's silent around OpenCL and AMD-based GPGPU, even with Linux there isn't much. I'm not very close to the GPGPU scene, we even start thinking about porting and developing some mathematical stuff into libraries and thought about OpenCL. Unluckily, in my team I'm the only one utilizing FreeBSD. Maybe someone out here has solved some problems and could email me. Even AMD seems to be a white spot in the subject of GPGPU and FreeBSD for me, maybe someone could shed some light on this. What's blocking this from being available now a) someone porting the kernel driver over or b) us getting funding to do it. Perhaps the FreeBSD Foundation can open a new project for it. Today it can be seen like a lost-time-addon for FreeBSD, but not only Maths/Physics/Chemistry can use GPGPU, it can be used by databases, compilers, servers, and more in a nearer future. For example, all algorithms to filter image and video (Scanner, PET, Astronomy, video de/compression, etc) are being ported to gpgpu and i can't use FreeBSD for this. When we started working on the driver months ago one of the main goals was to allow greater portability. Details for any interested developers is available any time. In general I'd like to see more open source OS diversity in the HPC industry and happy to help where I can. FreeBSD has better OpenMP capabilities by its network connections, i'll like to use it in the next HPC era. For those curious why NVIDIA doesn't port CUDA to FBSD... My guess is that to do a high quality job it would take 1-2 man years of effort. In the non-FOSS world that's expensive. Best, ./Christopher L ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: BSD equivalent of Linux's free(1)?
On Wed, 18 Aug 2010 11:18:58 -0400 Aleksandr Miroslav alexmiros...@gmail.com wrote: hello, I am looking for something on BSD that will give me the same info as free(1) in Linux. i.e. I would like to know the state of total/used/free memory and swap. I know there are a number of utilities in ports that will let me do this, I am however looking for something in the base system (if such a utility exists). I also know that top(1) gives this info, and I could certainly use that, I just wanted the nearest BSD sibling of free(1).) Is there any particular reason you want to know? Free memory isn't a very meaningful concept in FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: BSD equivalent of Linux's free(1)?
on wed, aug 18, 2010 at 1:04 pm, chris maness ch...@chrismaness.com wrote: Would not the info displayed in the command top suffice? Yes, top -n 1 does (sort of) display the info I need. The swap portion gives me the same info as Linux free, the memory portion is more cryptic, I guess due to differences in how FreeBSD allocates memory. Although a BSD free would probably be easier to remember, top -n 1 does the job. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can't control laptop's lid... how to debug?
On Wed, Aug 18, 2010 at 07:24:27PM +0200, Antonio Vieiro wrote: Hi all, I am unable to control my laptop's lid. Whenever I close the lid the system enters a weird state and I have to reboot. Are you sure you need to? My laptop automatically switches of the screen when the lid is closed. I've already added #Lid switch notify 0 { match system ACPI; match subsystem Lid; match notify 0x00; action xset dpms force off; }; notify 0 { match system ACPI; match subsystem Lid; match notify 0x01; action xset dpms force on; }; to my /etc/devd.conf This seemed to work the very first time, but then the system entered a weird state and I couldn't recover it, so I had to reboot. Is there any way to debug acpi events so that I can see what's going on without having to reboot? Set the 'debug.acpi.resume_beep' sysctl(8) to 1 to make the speaker beep on resume. That can help you debug problems. Setting 'hw.acpi.verbose' might also help. Some systems need the sysctl 'hw.acpi.reset_video' set to 1 to get it to resume properly. See acpi(4). Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp46kZxsaHI5.pgp Description: PGP signature
Re: BSD equivalent of Linux's free(1)?
On Wed, Aug 18, 2010 at 1:41 PM, RW rwmailli...@googlemail.com wrote: Is there any particular reason you want to know? Free memory isn't a very meaningful concept in FreeBSD. I have a webserver that had it's Apache killed this morning. The box itself had been stable for several years, as well as the Apache instance. The error that I saw in /var/log/messages was something along the following: pid 1234 (httpd), uid 100, was killed: out of swap space So I went to check what was eating up the swap, The problem itself was tracked down fairly easily, someone had added a shelt script to cron (/home/user/foo.sh) and had mistakenly put the full path to the script into the script itself -- essentially creating a forkbomb. But while I was in the middle of debugging this and noticed that line from the logfile, I spent more time than necessary trying to figure out exactly how much swap/memory was being used, and who was using it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD Additional Contributors List
Dear Sir I am writing this e-mail to ask whether or not it is possible to change my entry in the FreeBSD additional contributors list so that it does not contain my nickname and e-mail but my real name instead? If so, who should I contact in order to accomplish that? Thank you very much in advance. Yours Faithfully Piotr Szerman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD Additional Contributors List
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 exp...@deviate.fi wrote: Dear Sir I am writing this e-mail to ask whether or not it is possible to change my entry in the FreeBSD additional contributors list so that it does not contain my nickname and e-mail but my real name instead? If so, who should I contact in order to accomplish that? Thank you very much in advance. Yours Faithfully Piotr Szerman Hi Piotr, I just changed that for you. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMbCsm0sRouByUApARAldzAJ4h5XINqy02x6Zw51jgd+yMBwDWlgCgpSgJ VMPgX63rLOuEHeXtA5CwpkU= =H7t5 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: BSD equivalent of Linux's free(1)?
--On Wednesday, August 18, 2010 14:14:25 -0400 Aleksandr Miroslav alexmiros...@gmail.com wrote: On Wed, Aug 18, 2010 at 1:41 PM, RW rwmailli...@googlemail.com wrote: Is there any particular reason you want to know? Free memory isn't a very meaningful concept in FreeBSD. I have a webserver that had it's Apache killed this morning. The box itself had been stable for several years, as well as the Apache instance. The error that I saw in /var/log/messages was something along the following: pid 1234 (httpd), uid 100, was killed: out of swap space So I went to check what was eating up the swap, The problem itself was tracked down fairly easily, someone had added a shelt script to cron (/home/user/foo.sh) and had mistakenly put the full path to the script into the script itself -- essentially creating a forkbomb. But while I was in the middle of debugging this and noticed that line from the logfile, I spent more time than necessary trying to figure out exactly how much swap/memory was being used, and who was using it. man (8) pstat pstat -s -m Device 1M-blocks UsedAvail Capacity /dev/ad8s1b 81920 8191 0% -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead. Thomas Jefferson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clamav issues
Jerry wrote: On Wed, 18 Aug 2010 12:25:21 +0100 Paul Macdonald p...@ifdnrg.com articulated: I'm having some problems with a clamav install and wondered if anyone had any suggestions. As of a few days ago i noticed mail was getting rejected with 451 retry codes. Checking the milters this appeared to be clamav, and removing this milter fixed the problem. Afterwards, on tryign to fix the issue, i noticed that whilst clamd started ok, it no longer stopped and just endlessly waited for the pid. I suspect this is related, as freshclam also was unable to notifuy clamd of updates. I've rebuilt clamav several times, mainly thinking that the first issue of why it wouldn;t stop was indictaive of it not responding to other requests ( milter , freshclam etc). I've moved the mail scanning onto another box, but would dearly like it to be working on this particular box. Where to start? Suggestions welcomed! Perhaps you could try the following - basically nuking clamav 1) Stop Clamav/Freshclam and the milter if it is running. 2) Run: pkg_delete -dfv clamav-0.96.2_1 3) Remove or rename any config files of Clamav and it children. Also, be sure to delete all of Clamav's definition files. 4) Remove old Clamav log files 5) Insure that any stale 'pid' files are deleted. 6) cd to the clamav port and run make config 7) Install the port and modify the Clamav/Freshclam/Clamilter config files are needed. 8 Either reboot or start manually all of the Clamav programs you require. (I would recommend the reboot) Good luck! thanks jerry, i'd pretty much done this, but followed these instructions with those specific flasg and am still not able to use the startup scripts to stop clamd after its started, The pid in /var/run/clamav/ is correct, but it never manages to stop the daemon. I'm working from the assumption that i need to get it responding to normal signals before trying any scanning ( i have tried adding it back in to my sendmail config as get the same result as originally) I've got all the debugging on, and see nothing in logs when its told to restart or sent any signals. Paul. -- - Paul Macdonald IFDNRG Ltd Web and video hosting - t: 0131 5548070 m: 07534206249 e: p...@ifdnrg.com w: http://www.ifdnrg.com - IFDNRG 40 Maritime Street Edinburgh EH6 6SA - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD, GPGPU and OpenCL/CUDA
emor...@xroff.net wrote: Hi Christopher, C. Bergström cbergst...@pathscale.com escribió: PathScale and CAPS recently announced HMPP as a new manycore GPGPU open standard and there's a chance you'll see it ported to FBSD. In addition to this you could see other open standards working well on FBSD, but that depends on market demand and feedback. Do we need with this suite a nvidia/ati driver that executes the CUDA/OpenCL/Stream code? If yes, we'll have the same problem. No, PathScale has a full NVIDIA replacement. From front-end programming model to kernel driver. (I'm happy to give more information, but don't want to spam the list) I havn't looked deeper into AMDs offerings, but I guess since it's silent around OpenCL and AMD-based GPGPU, even with Linux there isn't much. I'm not very close to the GPGPU scene, we even start thinking about porting and developing some mathematical stuff into libraries and thought about OpenCL. Unluckily, in my team I'm the only one utilizing FreeBSD. Maybe someone out here has solved some problems and could email me. Even AMD seems to be a white spot in the subject of GPGPU and FreeBSD for me, maybe someone could shed some light on this. What's blocking this from being available now a) someone porting the kernel driver over or b) us getting funding to do it. Perhaps the FreeBSD Foundation can open a new project for it. Today it can be seen like a lost-time-addon for FreeBSD, but not only Maths/Physics/Chemistry can use GPGPU, it can be used by databases, compilers, servers, and more in a nearer future. For example, all algorithms to filter image and video (Scanner, PET, Astronomy, video de/compression, etc) are being ported to gpgpu and i can't use FreeBSD for this. When we started working on the driver months ago one of the main goals was to allow greater portability. Details for any interested developers is available any time. In general I'd like to see more open source OS diversity in the HPC industry and happy to help where I can. FreeBSD has better OpenMP capabilities by its network connections, i'll like to use it in the next HPC era. MPI is typically dependent on the network not OpenMP. OpenMP 3.0 can be made more scalable if there's tasks built-into the kernel that can be cleanly exposed to userland. (Like OpenSolaris + libtask from Moinak is a good example) Anyway... imho FreeBSD has a number of issues before it can be suitable for HPC.. 1) Better vendor support for 3rd party and open source tools (Allinea, Totalview, undodb.. compilers, optimized math libs, profilers etc) 2) HPC ready compiler.. (Sorry guys, but LLVM is just not production ready for this task and is missing Fortran) 3) IB network drivers 4) Hardware vendor to deliver a complete solution + support (iXsystems?) ./C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: BSD equivalent of Linux's free(1)?
On August 18, 2010 02:06:08 pm Aleksandr Miroslav wrote: on wed, aug 18, 2010 at 1:04 pm, chris maness ch...@chrismaness.com wrote: Would not the info displayed in the command top suffice? Yes, top -n 1 does (sort of) display the info I need. The swap portion gives me the same info as Linux free, the memory portion is more cryptic, I guess due to differences in how FreeBSD allocates memory. Although a BSD free would probably be easier to remember, top -n 1 does the job. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org alias free='top -n 1 ' ?! -- http://www.jeays.ca http://www.rotarycpmm.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clamav issues
Paul Macdonald wrote: Jerry wrote: On Wed, 18 Aug 2010 12:25:21 +0100 Paul Macdonald p...@ifdnrg.com articulated: I'm having some problems with a clamav install and wondered if anyone had any suggestions. As of a few days ago i noticed mail was getting rejected with 451 retry codes. Checking the milters this appeared to be clamav, and removing this milter fixed the problem. Afterwards, on tryign to fix the issue, i noticed that whilst clamd started ok, it no longer stopped and just endlessly waited for the pid. I suspect this is related, as freshclam also was unable to notifuy clamd of updates. I've rebuilt clamav several times, mainly thinking that the first issue of why it wouldn;t stop was indictaive of it not responding to other requests ( milter , freshclam etc). I've moved the mail scanning onto another box, but would dearly like it to be working on this particular box. Where to start? Suggestions welcomed! Perhaps you could try the following - basically nuking clamav 1) Stop Clamav/Freshclam and the milter if it is running. 2) Run: pkg_delete -dfv clamav-0.96.2_1 3) Remove or rename any config files of Clamav and it children. Also, be sure to delete all of Clamav's definition files. 4) Remove old Clamav log files 5) Insure that any stale 'pid' files are deleted. 6) cd to the clamav port and run make config 7) Install the port and modify the Clamav/Freshclam/Clamilter config files are needed. 8 Either reboot or start manually all of the Clamav programs you require. (I would recommend the reboot) Good luck! thanks jerry, i'd pretty much done this, but followed these instructions with those specific flasg and am still not able to use the startup scripts to stop clamd after its started, The pid in /var/run/clamav/ is correct, but it never manages to stop the daemon. I'm working from the assumption that i need to get it responding to normal signals before trying any scanning ( i have tried adding it back in to my sendmail config as get the same result as originally) I've got all the debugging on, and see nothing in logs when its told to restart or sent any signals. Paul. clamav now works fine when installing as a package over ftp, so thats a working although an unsatisying result.. thanks -- - Paul Macdonald IFDNRG Ltd Web and video hosting - t: 0131 5548070 m: 07534206249 e: p...@ifdnrg.com w: http://www.ifdnrg.com - IFDNRG 40 Maritime Street Edinburgh EH6 6SA - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: BSD equivalent of Linux's free(1)?
On Wed, Aug 18, 2010 at 05:08:35PM -0400, Mike Jeays thus spake: On August 18, 2010 02:06:08 pm Aleksandr Miroslav wrote: on wed, aug 18, 2010 at 1:04 pm, chris maness ch...@chrismaness.com wrote: Would not the info displayed in the command top suffice? Yes, top -n 1 does (sort of) display the info I need. The swap portion gives me the same info as Linux free, the memory portion is more cryptic, I guess due to differences in how FreeBSD allocates memory. Although a BSD free would probably be easier to remember, top -n 1 does the job. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org alias free='top -n 1 ' ?! Even better :) ??? top -n 0|egrep '(Mem|Swap)'|xargs -- http://www.jeays.ca http://www.rotarycpmm.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Hibernation
On 8/18/2010 5:26 AM, Bruce Cran wrote: On Wed, 18 Aug 2010 03:55:12 -0500 Depo Catcherdepocatc...@gmail.com wrote: I can't find any good docs or guides to this. I checked the handbook, but had a bunch of references to 5.x. Can anyone point me to the right direction? I'd like to go with FreeBSD 8.1 amd64 for my next system. Hibernation and Wake on Lan would both be useful. The only support for hibernation is via the BIOS with a special partition. Unfortunately as far as I know it rarely, if ever, works. Windows (I don't know about Linux) bypasses the BIOS/ACPI and just dumps the contents of memory to disk before powering off. My current system (6.4, really old hardware) shows this: sysctl -a | grep -i hw.acpi hw.acpi.supported_sleep_state: S1 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.cpu.cx_lowest: C1 ampd is the command I'm looking for ? Also what is the differences between Sleep, Stand By, Hibernation and Suspend? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: fix bad directory on FAT32 usb disk
Glen Barber wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/18/10 9:55 AM, Fbsd8 wrote: I have a fat32 usb disk that gives this error when mounting with mount_msdosfs /dev/da0s1bad fat32 file system Is there some way to clean or auto fix this fat32 file system so it will mount? Hi, You can try fsck_msdosfs(8). Does it mount in other OSes? Regards, - -- Glen Barber In XP I can access the usb hard drive and read/write all directories except one which gives a error. fsck_msdosfs /dev/da0 gives error Invalid sector size 48764 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
well, i guess it's time to ask.....
ok guys, i have been waiting for [a] a better/faster/more generally useful computer as well as =mostly= cheaper unit. i figured i would wait until fall to ask, but it's close enough. can i watch a streamed movie on am atom [[[1.6ghz intel]]] chip. i have trouble on my 2003 dell that has a 2.4ghz cpu. it has plenty of ram, disk, etc. so i've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a 7 - 10 screen, can i use it for things other than a text-to-speech computer? how thrifty | cheap should i be? i'd like to buy the optical device rather than install via one of those stick memory devices. i have never used anything but the disc. i think it is at least two hundred bux more, but if it is a must, then so be it. i've looked for am atom notebook fo r 200 bux. pretty hard to find, so are there any places i can trust? i saw an A9 tablet with some kind of keyboard that might work as a speech computer. this is my real goal, leaving shit and shinola behind. but i'm not sure that a tablet would be as useful as a notebook. RESt of the story: i'm using the kde ktt* along with the festival speech toolkit. i also have vi/nvi or vim set up with around 125 abbrv so that people who type slowly can be more efficient. gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Grepping a list of words
If I remember correctly, grep (and all its associated versions) accept -v as an option which reports the entries in the list that don't match. Using gref (which is given the name[s] of files) uses those files as a list of the patterns to match. Penny Stock Jumping 2000% Sign up to the #1 voted penny stock newsletter for free today! http://thirdpartyoffers.juno.com/TGL3141/4c6c7ff0a9b321d1bcbst06duc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
Gary Kline wrote: ok guys, i have been waiting for [a] a better/faster/more generally useful computer as well as =mostly= cheaper unit. i figured i would wait until fall to ask, but it's close enough. can i watch a streamed movie on am atom [[[1.6ghz intel]]] chip. (Disclaimer I work for a commercial compiler company) If you experience problems with performance of Atom I would generally not blame the processor. There are *zero* very well tuned compilers for Atom that I'm aware of. Most are content that the compiler works good enough(tm) and it's difficult (impossible) to get the low level timing data details out of Intel. Unless you're hand writing inline asm (*cough* ffmpeg) then it's certainly possible the code isn't optimized well enough. Depending on what else the processor is busy with, codec type and video size it should certainly possible to stream an average sized movie with no problem. Now can it handle Blu-ray I doubt it... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
Gary Kline wrote: ok guys, i have been waiting for [a] a better/faster/more generally useful computer as well as =mostly= cheaper unit. i figured i would wait until fall to ask, but it's close enough. can i watch a streamed movie on am atom [[[1.6ghz intel]]] chip. i have trouble on my 2003 dell that has a 2.4ghz cpu. One other quick note.. it's likely that the graphics will make a bigger impact in movie performance than the host processor. (Look at the examples of how efficient Tegra2 is at decoding videos..) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
On Wed, Aug 18, 2010 at 10:10 PM, Gary Kline kl...@thought.org wrote: ok guys, i have been waiting for [a] a better/faster/more generally useful computer as well as =mostly= cheaper unit. i figured i would wait until fall to ask, but it's close enough. can i watch a streamed movie on am atom [[[1.6ghz intel]]] chip. i have trouble on my 2003 dell that has a 2.4ghz cpu. it has plenty of ram, disk, etc. so i've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a 7 - 10 screen, can i use it for things other than a text-to-speech computer? how thrifty | cheap should i be? i'd like to buy the optical device rather than install via one of those stick memory devices. i have never used anything but the disc. i think it is at least two hundred bux more, but if it is a must, then so be it. i've looked for am atom notebook fo r 200 bux. pretty hard to find, so are there any places i can trust? i saw an A9 tablet with some kind of keyboard that might work as a speech computer. this is my real goal, leaving shit and shinola behind. but i'm not sure that a tablet would be as useful as a notebook. RESt of the story: i'm using the kde ktt* along with the festival speech toolkit. i also have vi/nvi or vim set up with around 125 abbrv so that people who type slowly can be more efficient. Way OT .. but it just hit me that some folks could benefit from that vim set up with around 125 abbrv if you posted somewhere ;) gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
[off-topic] Server-side IRC channel logging? (not statistics)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I recently set up an IRC server (irc/ircd-hybrid), which I don't see obvious settings for finely tuned channel logging. What I would like to do is log individual channels without depending on a connected client. In all my searching I found software that either: 1.) depends on a 100% connected client, but provides concise logging of channel activity; 2.) logs statistics, rather than the useful information I am trying to obtain such as, who pastes the most links, who 'smiley's the most, etc. My interest is in the useful information in the channel, not statistics; ultimately, I want to have the channel conversations archived. I'd like to do this on the server itself. For example, in the event I have to reboot my machine or the disk dies, or whatever bad event, I don't want to concern myself with missed data, corrupt logs, or a disconnected client, so I would like this to run unprivileged and without an interactive shell. If anyone has any suggestions, I'd be happy to hear them before I go reinventing the wheel. Thanks, best regards, and sorry for the off-topic post. - -- Glen Barber -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) iQEcBAEBAgAGBQJMbI4rAAoJEFJPDDeguUajmSgIAJNc3fPkv3TQ97c+CPVPUjVx FrdM17i58WubEM6g2PSpc7oEjqyVilmxzVlQSPDrGK3DUeXRQu0qTb6Qi/foxi2g Mx0q/jkJQMNOqICAAU+VlXsXDPe8C/57yM5RVEY/XRTNyDmseMC9Zpt40+9YDYFe aNqXy4Ydgk3lnTxT7TWI1ivzr9ShUD61s6Fe+842Ryfh2kiFr5srOOE89DmH9QWb jhUaan/nKt34VpfoKWq2aIRkven+BRMjsO3eDmjyRcrx5f5jnXGKAyYmCZzovNK4 CDqGA9e+yT6juNeNh1q67p2seid5+tYKjw19QWLrWzfV2jDdKbwjqwoxkGAVVdI= =RJoU -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: enabling the fn-f7 switch monitor functionality
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
On 8/18/2010 8:10 PM, Gary Kline wrote: 've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a Stream what kind of movies? Some video players (like VLC) have hardware acceleration that will help a lot if your video card/driver supports it. Things like Flash based movies might be kind of iffy though since they can't take advantage of the video hardware [?]. Once you start moving up to high def video you might have some problems, but know a lot of Home Theater guys that use Atoms for media centers: http://hardforum.com/forumdisplay.php?f=103 My gfs Atom 330 plays videos in VLC fine and flash fine, but full screen flash drops frames. This is under WinXP. The new D510 CPU are faster in benchmarks; it has dual cores with hyperthreading. If you wait a few months, the new D525 CPUs should be out in consumer computers - these are 1.8Ghz (instead of 1.6Ghz) and support DDR3 (instead of DDR2). That might help a bit. Both are limited to 4 gigs. So, I would bet that 90% of the time it'll be enough if you have a good video card with good drivers. I'm not an expert on them though, I think they are neat though. Another options would be to go with an i3/i5 or get a used 775 (core 2) system. My Core2Duo 2.2Ghz runs more than fast enough and can probably get them for cheap if you buy them used. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: BSD equivalent of Linux's free(1)?
On 8/18/2010 1:06 PM, Aleksandr Miroslav wrote: on wed, aug 18, 2010 at 1:04 pm, chris manessch...@chrismaness.com wrote: Would not the info displayed in the command top suffice? Yes, top -n 1 does (sort of) display the info I need. The swap portion gives me the same info as Linux free, the memory portion is more cryptic, I guess due to differences in how FreeBSD allocates memory. Although a BSD free would probably be easier to remember, top -n 1 does the job. You could create a shell alias for it. In bash: a alias free='top -n 1' put that in your profile so you have it on login. Also there is a port: /usr/ports/sysutils/freecolor Works just like the free linux command; but has fancy colors. :) Again, you can alias that to free if you want. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: enabling the fn-f7 switch monitor functionality
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 Can someone please take care of this. Its getting to be quite annoying. -- jhell,v ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
On Wed 18 Aug 2010 at 20:16:51 PDT Depo Catcher wrote: On 8/18/2010 8:10 PM, Gary Kline wrote: 've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a Stream what kind of movies? Some video players (like VLC) have hardware acceleration that will help a lot if your video card/driver supports it. Things like Flash based movies might be kind of iffy though since they can't take advantage of the video hardware [?]. Once you start moving up to high def video you might have some problems, but know a lot of Home Theater guys that use Atoms for media centers: http://hardforum.com/forumdisplay.php?f=103 My gfs Atom 330 plays videos in VLC fine and flash fine, but full screen flash drops frames. This is under WinXP. The new D510 CPU are faster in benchmarks; it has dual cores with hyperthreading. But be aware that the Xorg intel driver in the current portstree does NOT support the graphics controller built into the D510 and other Pineview Atoms. The vesa driver works, but doesn't take advantage of AGP or other graphics niftiness. I have one of these myself, and can confirm that downloaded videos play acceptably well, despite using vesa. I can't speak to streaming video performance, however, since I don't use Flash and usually don't watch online videos. I've seen reviews of the D510 that say HD video performance is sub-par even on operating systems with drivers that fully support the graphics controller. If you wait a few months, the new D525 CPUs should be out in consumer computers - these are 1.8Ghz (instead of 1.6Ghz) and support DDR3 (instead of DDR2). That might help a bit. Both are limited to 4 gigs. So, I would bet that 90% of the time it'll be enough if you have a good video card with good drivers. I'm not an expert on them though, I think they are neat though. There are Atom-based systems available with Nvidia graphics. Gary might want to consider one of those, although it probably won't be as dirt cheap or as low-wattage as a Pineview system. (I have no experience with them myself.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Xorg Problems
I'm having trouble with xorg on a new 8.1 installation. I haven't installed a wm yet, but when I try to call up the generic x windows by typing startx they do indeed appear, but all three of the x windows are locked up. By that I mean that there is no mouse, and no possibility of entering data in the windows via the keyboard. Totally frozen. And you can't get out of x in the usual manner i.e. ctrl-alt-backspace. The only thing that works is ctrl-alt-del which, of course, reboots the computer. Any ideas are appreciated. Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Not booting after freebsd install
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Installation problem
Hey, I'm trying to install the latest release of FreeBSD on my Dell Desktop, the computer originally had windows XP, but then the hard drive was wiped clean. I tried reconfiguring the geometry of the hard drive by using my Linux Ubuntu Disk Utility, I changed it to {0-a5} which I heard was for FreeBSD, but still no luck. I still get the error, read error, {0-01} can someone please help me? Derek -- I reject your reality and substitute my own Adam Savage ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
sendmail, queue intervals and ETRN
I've had the following setup at home for a number of years: mailhub smarthost --- intarwebs Everything works as intended, of course, but I'd like to change the setup to accomodate the mailhub host being powered off at night. After it's restarted in the morning (or whenever), the mailhub should issue an ETRN command for any queued mail, and any changes made to the smarthost's configuration the night before are undone. Is there a simple answer to this? What I'm after is a solution that avoids MAILER DAEMON messages, etc. as a result of the mailhub host being unavailable. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Installation problem
On Thu, 19 Aug 2010 01:01:08 -0400, Derek Schwartz derekschwart...@gmail.com wrote: Hey, I'm trying to install the latest release of FreeBSD on my Dell Desktop, the computer originally had windows XP, but then the hard drive was wiped clean. I tried reconfiguring the geometry of the hard drive by using my Linux Ubuntu Disk Utility, I changed it to {0-a5} which I heard was for FreeBSD, but still no luck. The easiest way to install FreeBSD is to use *its* installation utilities. Just make sure that the disk space you want to use for your FreeBSD installation is free, meaning not defined to be any kind of slice or partition of any type, just wiped plain empty. Then FreeBSD will happily install into this empty disk space. In case you want to use the whole disk for FreeBSD, delete all stuff from it (remove all primary DOS partitions) and keep it that way; then start the installation from the CD, DVD or USB stick. There usually is no need to employ Linux tools to prepare a FreeBSD installation. I still get the error, read error, {0-01} What program or stage of installation reports that error? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg Problems
Ondrej Majerech wrote: On 19-Aug-10 13:20, Rem Roberti wrote: I'm having trouble with xorg on a new 8.1 installation. I haven't installed a wm yet, but when I try to call up the generic x windows by typing startx they do indeed appear, but all three of the x windows are locked up. By that I mean that there is no mouse, and no possibility of entering data in the windows via the keyboard. Totally frozen. And you can't get out of x in the usual manner i.e. ctrl-alt-backspace. The only thing that works is ctrl-alt-del which, of course, reboots the computer. Any ideas are appreciated. New Xorg requires HAL and Dbus to recognize input devices by default. Do you have these enabled? Alternatively, you revert to the old, no-HAL method by adding Option AutoAddDevices False Option AllowEmptyInput False into your ServerFlags in xorg.conf. You might also want to add Option DontZap false into the same section as well to have Ctrl-Alt-Backspace working again. ~ Ondra Thank you Ondra...that did the trick. ---Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg Problems
On 19-Aug-10 13:20, Rem Roberti wrote: I'm having trouble with xorg on a new 8.1 installation. I haven't installed a wm yet, but when I try to call up the generic x windows by typing startx they do indeed appear, but all three of the x windows are locked up. By that I mean that there is no mouse, and no possibility of entering data in the windows via the keyboard. Totally frozen. And you can't get out of x in the usual manner i.e. ctrl-alt-backspace. The only thing that works is ctrl-alt-del which, of course, reboots the computer. Any ideas are appreciated. New Xorg requires HAL and Dbus to recognize input devices by default. Do you have these enabled? Alternatively, you revert to the old, no-HAL method by adding Option AutoAddDevices False Option AllowEmptyInput False into your ServerFlags in xorg.conf. You might also want to add Option DontZap false into the same section as well to have Ctrl-Alt-Backspace working again. ~ Ondra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: sendmail, queue intervals and ETRN
In the last episode (Aug 18), David Allen said: I've had the following setup at home for a number of years: mailhub smarthost --- intarwebs Everything works as intended, of course, but I'd like to change the setup to accomodate the mailhub host being powered off at night. After it's restarted in the morning (or whenever), the mailhub should issue an ETRN command for any queued mail, and any changes made to the smarthost's configuration the night before are undone. Is there a simple answer to this? What I'm after is a solution that avoids MAILER DAEMON messages, etc. as a result of the mailhub host being unavailable. Easiest way would be to raise the warning timeout on your smarthost to be longer than your expected poweroff duration. define(`confTO_QUEUEWARN', `1d')dnl -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org