Re: ZFS Question
On 8/15/2010 6:17 PM, Elias Chrysocheris wrote: On Monday 16 of August 2010 01:56:10 Depo Catcher wrote: Hi, I'm building a new file server. Right now I'm on FreeBSD 6.4/UFS2 and going to go to 8.1 with ZFS. Right now I have 3 disks, but one of them has data on it. I'd like to setup a RaidZ but have a question on how to do this: Basically, I need to setup a mirror with the two empty drives, copy the data over and then add the third. Is that even possible? Do you want to add the third drive as another mirror of the other two or you just want to add it, lets say, for another storage part of your system? Regards, Elias Yes, add it for storage (ie. Raid 5). Well, I don't know if you can add a hard drive and make it a stripe (RAID 5) with others that already have data... Perhaps you could install the system in a free hard drive, then add the other two and make them a mirror. Then you could keep your data in the mirrored pool and the operating system, as long as some data that you don't care to be mirrored, in the single drive. But as far as I can understand this is not what you asked for... Regards Elias ___ 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
On Mon, Aug 16, 2010 04:49 AM, Adam Vande More amvandem...@gmail.com wrote: On Sun, Aug 15, 2010 at 1:45 PM, Dick Hoogendijk d...@nagual.nl wrote: My 500Gb drives won't however. they keep on giving cg); bad magic number. Sysinstall won't newfs the drives. newfs -U /dev/gm1a (created with the script mentioned before does not work OK either. Always this unexplained message (cg0: bad magic number). I have NO CLUE whatsoever what can be the cause of this. Both drives can be formatted by Windows, Linux and lots of other utilities. They can not be formatted UFS2 for / by FreeBSD-8.1/amd64 You can try to get your system up and running using something like http://mfsbsd.vx.sk/ or pcbsd. If that works, then I guess the possible cause is you. :-) Good idea. I will give it a shot, although I'm pretty sure I'm not the cause. I have four years experience as a (Open)Solaris system administrator and before that I used FreeBSD heavely. From the 4.10 series up to the 6.x series. So I do know something about the matter. But, we'll see... Keep you posted. ___ 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
watch(8) does not work in jails
Hi, I enabled `device snp' in my kernel config file and with this I can use the command watch(8) to see any tty device attached. For example : # watch ttyv0 Give me the output of the console. But in jails, it's not the same thing, I tried the following : # jexec 1 tcsh # su - People# watch pts/0 watch: fatal: cannot open snoop device Is there a limitation of watch(8), or jails ? Kind regards. -- Demelier David ___ 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
On Sat, Aug 14, 2010 at 11:53:10AM +0200, O. Hartmann wrote: First, and this hasn't changed since the last 15 years, FreeBSD lack in support of professional Compiler vendors. I feel your pain. I'd say that at present FBSD cannot be used as HPC platform. Even if some things are possible to achive via linux-base, why bother? I think the real question is: What are the goals of the FreeBSD project? Or, in other words, for which tasks FBSD is preferable to linux? It seems the answer is something about secure network server. Definitely not HPC.. unfortunately. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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
В Sat, 14 Aug 2010 11:53:10 +0200 O. Hartmann ohart...@mail.zedat.fu-berlin.de пишет: I think that OpenCL can be activated in FreeBSD, if you add the necessary extensions for clang/llvm ... http://clang.llvm.org/docs/LanguageExtensions.html#vectors and a few links on the topic ... http://www.khronos.org/message_boards/viewtopic.php?f=36t=2314 http://llvm.org/Users.html Am I right? ___ 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: fetchmail ssl certificate verification problem in FreeBSD 8.1
On Sun, 15 Aug 2010, RW wrote: On Sun, 15 Aug 2010 Dan Strick mla_str...@att.net wrote: That explains the problem. I copied the file /usr/local/share/certs/ca-root-nss.crt from my old FreeBSD release-8.0 system and hooked it up to fetchmail with the fetchmail sslcertfile option. At least fetchmail is now happy. You'd be better off installing security/ca_root_nss otherwise you'll be stuck with a stale file. I don't know why you don't have it, it's a dependency of fetchmail and many other ports. This thread caused me to look at my maillog, and I see the same issue. The fetchmail port has correctly installed security/ca_root_nss, and pkg_which reports the file in /usr/local/share/certs as having the origin ca_root_nss-3.12.4, however fetchmail isn't looking at it. Looking at the fetchmail code, there is no value set for ctl-sslcertfile. I'm not sure what fetchmail's behaviour was prior to 8.1, so I do not know whether this has changed. I don't have a pre-8.1 install handy -- if the OP does, I'd be interested in knowing whether the string SSL trusted certificate file: appears in the output of env LC_ALL=C fetchmail -V -v --nodetach --nosyslog and if so, what filename appears after the colon. 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
hald freebsd8.0
The handbook of FreeBSD says about Xorg: you *can* [but need not, I understand] use HAL to autodetect keyboards and mice. I have hald (and dbus) ports installed and running (both enabled=YES in /etc/rc.conf) But I suspect hald causing panic reboots. Can one do without hald? Oucommenting hald_enable=YES in /etc/rc.conf and reboot will not be sufficient I guess, what else should be done, since it will affect X, in order not to loose keyboard and mouse in graphical envorinoment? ___ 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: hald freebsd8.0
from the top of my head maybe gamin can replace hald ? ___ 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: Does Opera-10.61.6430 play VP8/webm?
--- On Sun, 8/15/10, Caleb Stein caleb.st...@me.com wrote: From: Caleb Stein caleb.st...@me.com Subject: Re: Does Opera-10.61.6430 play VP8/webm? To: Unga unga...@yahoo.com Date: Sunday, August 15, 2010, 10:29 PM On Aug 15, 2010, at 3:39 AM, Unga unga...@yahoo.com wrote: Hi all I have installed Opera-10.61.6430 port on FreeBSD 8.1 on i386. It doesn't play Theora or webm video. Any idea why? 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 Install the 10.70 dev build. Where is this port available? I see only opera-devel-10.20_2,1. 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
Realtek 8139/8201L Ethernet PHY driver
Am using an ASUS MB which contains the subject driver, more specifically rlphy. Haven't found any support for this driver in FBSD-7.3. Has anyone else solved this issue? I use another NICard that is supported, but only a 10/100 vs the phy is 10/100/1000. Google is not a help, other than it does refer to the rlphy.c file which is on my FBSD system. %locate rlphy /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/modules/mii/rlphy.o /usr/obj/usr/src/sys/MYKERNEL/rlphy.o /usr/src/sys/dev/mii/rlphy.c It isn't built or does it load. It's a bit over my head how to build and load this if possible. Any suggestions or info?? 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: fetchmail ssl certificate verification problem in FreeBSD 8.1
On Mon, 16 Aug 2010 01:57, RW wrote: You'd be better off installing security/ca_root_nss otherwise you'll be stuck with a stale file. I don't know why you don't have it, it's a dependency of fetchmail and many other ports. I had it but I didn't know it. I did discover the file it installed, /usr/local/share/certs/ca-root-nss.crt, and started to use it for fetchmail in place of the file from my old FreeBSD system. After I read the above note from RW I figured out it referred to a port, that I had the port, that it was a dependency of fetchmail and had been installed and was probably the source of the file /usr/local/share/certs/ca-root-nss.crt. Erik Norgaard also mentioned the port but I didn't understand at the time that he was referring to a port. He also mentioned the file /usr/src/crypto/openssl/FAQ which very briefly discusses the issue and mentions http://www.mail-archive.com/modssl-us...@modssl.org/msg16980.html which describes a mechanism for constructing a root certificate bundle from some obscure data file apparently produced by the Mozilla project, but of course I lacked the background to understand these things at the time. I still don't understand them very well. The relevant user options in my .fetchmailrc file are now: ssl sslproto SSL3 sslcertck sslcertfile /usr/local/share/certs/ca-root-nss.crt sslfingerprint ... Perhaps since fetchmail installs ca_root_nss as a dependency it should also default to using the installed ca root bundle file. Perhaps the fetchmail port should have produced an installation message that mentioned these things. Perhaps the port should patch the fetchmail man page to suggest using this file with the sslcertfile option. I have looked very very hard for documentation on this stuff in an obvious place but have not found any. Where should I have looked? Thanks, Dan Strick mla_strick at att.net ___ 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
Ivan Klymenko fi...@ukr.net escribió: В Sat, 14 Aug 2010 11:53:10 +0200 O. Hartmann ohart...@mail.zedat.fu-berlin.de пишет: I think that OpenCL can be activated in FreeBSD, if you add the necessary extensions for clang/llvm ... http://clang.llvm.org/docs/LanguageExtensions.html#vectors Yes, you can compile OpenCL but you can't execute the resulting app. and a few links on the topic ... http://www.khronos.org/message_boards/viewtopic.php?f=36t=2314 http://llvm.org/Users.html Am I right? Yes, but again, freebsd has not nvidia/ati drivers that allows it. There were some improvements in 8.0 that allow use the new nvidia drivers, but for now there's no opencl/cuda for us. 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: hald freebsd8.0
On Mon, 16 Aug 2010 14:19:26 +0200 n dhert ndhert...@gmail.com wrote: The handbook of FreeBSD says about Xorg: you *can* [but need not, I understand] use HAL to autodetect keyboards and mice. I have hald (and dbus) ports installed and running (both enabled=YES in /etc/rc.conf) But I suspect hald causing panic reboots. Can one do without hald? Oucommenting hald_enable=YES in /etc/rc.conf and reboot will not be sufficient I guess, what else should be done, since it will affect X, in order not to loose keyboard and mouse in graphical envorinoment? Here is my config's and is working for me. egrep (hal|dbus) /etc/rc.conf # dbus_enable=YES # hald_enable=YES cat /etc/X11/xorg.conf Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard Option AutoAddDevices false Hope this helps. Robert ___ 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: Does Opera-10.61.6430 play VP8/webm?
On Aug 16, 2010, at 6:21 AM, Unga unga...@yahoo.com wrote: --- On Sun, 8/15/10, Caleb Stein caleb.st...@me.com wrote: From: Caleb Stein caleb.st...@me.com Subject: Re: Does Opera-10.61.6430 play VP8/webm? To: Unga unga...@yahoo.com Date: Sunday, August 15, 2010, 10:29 PM On Aug 15, 2010, at 3:39 AM, Unga unga...@yahoo.com wrote: Hi all I have installed Opera-10.61.6430 port on FreeBSD 8.1 on i386. It doesn't play Theora or webm video. Any idea why? 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 Install the 10.70 dev build. Where is this port available? I see only opera-devel-10.20_2,1. 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 There is no port; download it from the Opera Desktop Team's My Opera page and run install in terminal. ___ 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
On Monday 16 August 2010 15:47:13 emor...@xroff.net wrote: Ivan Klymenko fi...@ukr.net escribió: В Sat, 14 Aug 2010 11:53:10 +0200 O. Hartmann ohart...@mail.zedat.fu-berlin.de пишет: I think that OpenCL can be activated in FreeBSD, if you add the necessary extensions for clang/llvm ... http://clang.llvm.org/docs/LanguageExtensions.html#vectors Yes, you can compile OpenCL but you can't execute the resulting app. and a few links on the topic ... http://www.khronos.org/message_boards/viewtopic.php?f=36t=2314 http://llvm.org/Users.html Am I right? Yes, but again, freebsd has not nvidia/ati drivers that allows it. There were some improvements in 8.0 that allow use the new nvidia drivers, but for now there's no opencl/cuda for us. L I think it might be worthwhile to contact nVidia directly about this. To raise awareness that there are people using FreeBSD for HPC and that they very much would like to see OpenCL/CUDA supported. - Pieter ___ 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
enabling the fn-f7 switch monitor functionality
I have a key which is meant to switch between the built in and an external monitor. This key is activated by fn-f7. xev does not report any activity when it is pressed. How get I run a script when it is pressed? I think this key is supposed to report some sort of ACPI event. % uname -rms FreeBSD 8.1-RELEASE i386 Laptop model is Lenovo G530. -- Eitan Adler ___ 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
Isn't this a BIOS-level action? Interrupting the communication of the finger to the OS to run a switch? On Aug 16, 2010, at 9:26 AM, Eitan Adler wrote: I have a key which is meant to switch between the built in and an external monitor. This key is activated by fn-f7. xev does not report any activity when it is pressed. How get I run a script when it is pressed? I think this key is supposed to report some sort of ACPI event. % uname -rms FreeBSD 8.1-RELEASE i386 Laptop model is Lenovo G530. -- Eitan Adler ___ 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: FreeBSD, GPGPU and OpenCL/CUDA
I think it might be worthwhile to contact nVidia directly about this. To raise awareness that there are people using FreeBSD for HPC and that they very much would like to see OpenCL/CUDA supported. http://nvnews.net/vbulletin/showthread.php?t=152742 ___ 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
On Mon, Aug 16, 2010 at 05:33:33PM +0300, Ivan Klymenko wrote: I think it might be worthwhile to contact nVidia directly about this. To raise awareness that there are people using FreeBSD for HPC and that they very much would like to see OpenCL/CUDA supported. how is this different from getting e.g. native Flash or Matlab on FBSD? We've been trying to raise awareness for years.. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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
Eitan Adler wrote: I have a key which is meant to switch between the built in and an external monitor. This key is activated by fn-f7. xev does not report any activity when it is pressed. How get I run a script when it is pressed? I think this key is supposed to report some sort of ACPI event. % uname -rms FreeBSD 8.1-RELEASE i386 Laptop model is Lenovo G530. Add acpi_ibm_load=YES to your /boot/loader.conf (or compile this module into the kernel) Add notify 0 { match system ACPI; match subsystem IBM; match notify 0x07; action /full/path/to/script; }; to /etc/devd.conf -- Alexandr Matveev .masterhost ___ 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
Spammer
From: FreeBSD Mailing List freebsd-questions@freebsd.org Subject:Re: enabling the fn-f7 switch monitor functionality Date: August 16, 2010 9:46:06 AM CDT To: Ryan Coleman ryan.cole...@cwis.biz Return-Path:anonym...@dusk.parklogic.com X-Original-To: cwis0...@cwis.biz Delivered-To: cwis0...@cwis.biz Received: from server.cwis.biz (unknown [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id BE7E0CF0D12 for cwis0...@cwis.biz; Mon, 16 Aug 2010 09:46:09 -0500 (CDT) Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cNXsIsmXFQuZ for cwis0...@cwis.biz; Mon, 16 Aug 2010 09:46:08 -0500 (CDT) Received: from dusk.parklogic.com (allmail.0b2.net [64.38.11.26]) by server.cwis.biz (Postfix) with SMTP id CAFA7CF0D10 for ryan.cole...@cwis.biz; Mon, 16 Aug 2010 09:46:07 -0500 (CDT) Received: (qmail 29964 invoked by uid 511); 16 Aug 2010 14:46:06 - X-Quarantine-Id:cNXsIsmXFQuZ X-Virus-Scanned:amavisd-new at cwis.biz X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: MIME-Version Message-Id: 20100816144606.29963.qm...@dusk.parklogic.com In-Reply-To:4736d993-13af-4a17-b2d8-28aafb39d...@cwis.biz References: aanlktinda7x16utq2+mqo5i-oc8ioko66_9q_i0x+...@mail.gmail.com 4736d993-13af-4a17-b2d8-28aafb39d...@cwis.biz Mime-Version: 1.0 Mime-Version: 1.0 Content-Type: text/html; boundary=1281969966.f2DeBD0.29953; charset=us-ascii 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: Click here for our website We look forward to your continued business in the future. Regards, Webmaster [sender's note: don't click the link] ___ 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
# kldstat|grep acpi_ibm 121 0xc121d000 5244 acpi_ibm.ko # tail -6 /etc/devd.conf notify 0 { match system ACPI; match subsystem IBM; match notify 0x07; action /home/eitan/xbin/do-switch-screen.sh; }; # ls -laod /home/eitan/xbin/do-switch-screen.sh -rwxr-xr-x 1 eitan eitan - 88 Aug 16 10:57:05 2010 /home/eitan/xbin/do-switch-screen.sh* % dmesg|tail acpi_ec0: EcRead: failed waiting to get data ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] (20100331/evregion-588) ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6ad8d40), AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: failed waiting to get data ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] (20100331/evregion-588) ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6ad8d40), AE_NO_HARDWARE_RESPONSE drm0: [ITHREAD] acpi_ec0: EcRead: failed waiting to get data ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] (20100331/evregion-588) ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6ad8d40), AE_NO_HARDWARE_RESPONSE In the script I have touch $0.ran but the file does not get created. Is there some program that would allow me to watch ACPI events? Is there some way I could known that the key is 0x07? Add notify 0 { match system ACPI; match subsystem IBM; match notify 0x07; action /full/path/to/script; }; to /etc/devd.conf -- Eitan Adler ___ 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: Open Mail Relay
Assume, as Mr. Bonomi suggests, that some bad guy has installed some type of additional mailer on the machine or another machine that's allowed to relay mail. How would I go about locating that other mailer? Another popular hack is uploading a PHP script using bugs in a CMS or wiki. Once you have a message with accurate timestamps in the headers, check the web logs at those times, too. R's, John ___ 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
On Mon, Aug 16, 2010 at 10:35:58AM +0200, Dick Hoogendijk wrote: On Mon, Aug 16, 2010 04:49 AM, Adam Vande More amvandem...@gmail.com wrote: On Sun, Aug 15, 2010 at 1:45 PM, Dick Hoogendijk d...@nagual.nl wrote: My 500Gb drives won't however. they keep on giving cg); bad magic number. Sysinstall won't newfs the drives. newfs -U /dev/gm1a (created with the script mentioned before does not work OK either. Always this unexplained message (cg0: bad magic number). I have NO CLUE whatsoever what can be the cause of this. Both drives can be formatted by Windows, Linux and lots of other utilities. They can not be formatted UFS2 for / by FreeBSD-8.1/amd64 You can try to get your system up and running using something like http://mfsbsd.vx.sk/ or pcbsd. If that works, then I guess the possible cause is you. :-) Good idea. I will give it a shot, although I'm pretty sure I'm not the cause. I have four years experience as a (Open)Solaris system administrator and before that I used FreeBSD heavely. From the 4.10 series up to the 6.x series. So I do know something about the matter. But, we'll see... Keep you posted. It could be that newfs is overwriting the partition table. Can you post the output of 'gpart show device' and 'bsdlabel devices1'? 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) pgpqkiHe8r5as.pgp Description: PGP signature
Re: Open Mail Relay
Date: Sun, 15 Aug 2010 07:57:23 -0400 To: freebsd-questions@freebsd.org From: pe...@vfemail.net Subject: Re: Open Mail Relay At 05:13 PM 8/14/2010, Robert Bonomi wrote: Date: Sat, 14 Aug 2010 09:29:54 -0400 To: freebsd-questions@freebsd.org From: pe...@vfemail.net Subject: Open Mail Relay I have a machine running FreeBSD, sendmail and majordomo. I have someone who is on one of those majordomo lists complaining that they are receiving spam from me. The complainer says I have an open mail relay that I need to fix. I went to http://www.abuse.net/relay.htmlhttp://www.abuse.net/relay.html to test the machine using its IP address. Abuse.net gives a clean bill of health, saying relaying was denied in 17 separate tests. I've reviewed my mail logs for the past couple of days and I can't find any entries for any mail addressed to the complainer's domain name except mail that should have been sent. Is Abuse.net's test adequate to rule out an open mail relay problem? There are -several- possible sources of spam to that list user. The abusenet open-relay tests check only one of them. The machine ay be compromised (ie.e 'owned') andthe bad guys have installed their -own- mail-sending software on it. the logs that show activity from _your_ mail-sending software would, obviously, *not* show the activity of this other software. In additon, whatever mailinglist said user is subscribed to _may_ be set to take messaes from 'anybody', not just confirmed members of the list. Thirdly, some folks sign up for a list _just_ to send their off-topic commercial messages to it. NONE of those three scenarios are an 'open relay', but they all result in spam showing up in the list-subscriber's mailbox, that got there by _from_ your machine. Thank you everyone for your many comments and suggestions. The level of talent and responsiveness on this list is nothing less than stunning. I've requested copies of the offensive messages, and I'm hopeful the complainer will send me copies. I believe I have control over the majordomo lists -- postings are restricted to list members, postings are monitored, and many lists are moderated. Assume, as Mr. Bonomi suggests, that some bad guy has installed some type of additional mailer on the machine or another machine that's allowed to relay mail. How would I go about locating that other mailer? *IF* the machine has been comrpomised, then you're going to have a -very- difficult time finding it, using any tools _on_ the box. It's not uncommon for the bad guys to install 'modified' (to use a polite word for it) versions of system utilities, and/or run-time-loading system libraries, that selectively 'edit out' information that they don't want you to see. e.g., a modified ps(1) will -not- show the 'bot' process that is spewing mail. A _second_ machine, on the same LAN, using something like 'tcpdump' to monitor outboud port 25 traffic from the first box, can show you if there are 'things happening' that are not being reported in the log files. _Finding_ the offending code, after you've established that it *is* happening, is a whole nuther can of worms. _if_ you have something like an up-to-date 'tripwire' database, with fingerprints of every installed executable, you can boot from alternate media (say the 'live CD' image), and look for things where the fingerprint has changed. If you establish a compromise -has- occurred, about the only way to *ensure* that the machine is 'trustworthy' again is to back up all application *data*, wipe the drive(s) {as in 'dd if=/dev/zero of=/dev/ad??'}, and re-install everything FROM SCRATCH. NOTE: This _is_ a 'worst case' scenario. Odds are that when you see the 'full headers' on the 'offending' messages, it will turn out to be something else entirely. Comment: someone who _knows_ what they're talking about would not simply make the bald assertation 'you have an open relay' -- they would *know* that that statement _alone_ is insufficient to get to the root of the problem and fix it. They would, at a minimum, identify the _type_ of traffic that was being relayed (e.g. 'from is spoofed as your domain'), or would provide several copies of the offending traffic, _before_ being asked. Based on this, the 'quality' of the original complainant's is somewhat suspect itself, Probably the most _common_ situation is a spammer signs up to a mailing list, *NOT* to spam _through_ it, but to collect the email addresses of those who post _to_ the mailing list. And they then send junk email to those people directly. Now, if somebody is using a 'unique' email address for that mailing list, they *can* jump to te onclusion that 'anything' to that address must jave come from/through your servers. I haven't seen anybody doing this kind of thing 'smart enough' so as to make it appear (in received headers) that it originated from the mailing-list server; it's
Re: watch(8) does not work in jails
On Mon, Aug 16, 2010 at 11:23:00AM +0200, David DEMELIER wrote: Hi, I enabled `device snp' in my kernel config file and with this I can use the command watch(8) to see any tty device attached. For example : # watch ttyv0 Give me the output of the console. But in jails, it's not the same thing, I tried the following : # jexec 1 tcsh # su - People# watch pts/0 watch: fatal: cannot open snoop device Is there a limitation of watch(8), or jails ? Does /dev/pts/0 actually exist in the jail's devfs instance, and are its permissions correct? 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) pgpiTLgzSUr4j.pgp Description: PGP signature
Re: watch(8) does not work in jails
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: Open Mail Relay
From owner-freebsd-questi...@freebsd.org Sun Aug 15 15:15:43 2010 Date: Sun, 15 Aug 2010 22:15:57 +0200 From: Erik Norgaard norga...@locolomo.org To: freebsd-questions@freebsd.org Subject: Re: Open Mail Relay On 15/08/10 13.57, pe...@vfemail.net wrote: Assume, as Mr. Bonomi suggests, that some bad guy has installed some type of additional mailer on the machine or another machine that's allowed to relay mail. How would I go about locating that other mailer? If the messages are indeed relayed through your server then you can see it in the logs and in the Received header field which host is sending the mail to your server. *IF* it is just a case of the 'intended to be used' mail server is mis- configured, and allowing relaying, that is correct. *IF*, OTOH, the machine has been broken-into/compromised/owned, then the 'bad guys' are fully capable of installing their _own_ mail-sending software --software that does *NOT* record anything in the normal log files. This kind of software is 'maliciously built' to leave *no* tracks with regard to incoming _or_ outgoing connections from/to other hosts. If somebody forges mail to appear to come from your domain, but not relayed through your server there is really not much you can do. Only the recipient server can reject the mails. Some servers support spf and you can help other servers know that mail from your domain must originate from your server by adding a txt entry in your dns. BR, Erik ___ 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
Not booting after freebsd install
Hi, i have an acer 5745 which had ubuntu running not booting after an attempted freebsd install .i understand that i might have wiped by choosing auto partition :-( and had not written mbr so that we could manage all from grub .now the laptop is stuck at bios splash screen.it refuses to go even to bios setup. please advice how i can recover and start over Thanks mubeesh -- Best Regards, Mubeesh Ali.V.M ___ 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: Realtek 8139/8201L Ethernet PHY driver
On Mon, Aug 16, 2010 at 08:22:50AM -0500, Jack L. Stone wrote: Am using an ASUS MB which contains the subject driver, more specifically rlphy. Haven't found any support for this driver in FBSD-7.3. Has anyone else solved this issue? Read the rl(4) manual page. For this chip you need to have the following in your kernel config: device miibus device rl _or_ you need to load _one_ kernel module by putting if_rl_load=YES in your /boot/loader.conf. The miibus(4) device contains common code for various PHY devices. 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) pgp8fsFEw0UFJ.pgp Description: PGP signature
Re: FreeBSD, GPGPU and OpenCL/CUDA
On Monday 16 August 2010 16:50:01 Anton Shterenlikht wrote: On Mon, Aug 16, 2010 at 05:33:33PM +0300, Ivan Klymenko wrote: I think it might be worthwhile to contact nVidia directly about this. To raise awareness that there are people using FreeBSD for HPC and that they very much would like to see OpenCL/CUDA supported. how is this different from getting e.g. native Flash or Matlab on FBSD? We've been trying to raise awareness for years.. So did we for the nvidia driver on amd64. I'm not saying that we will be successful, I'm just saying if they're not even aware of this need that it will never happen. - Pieter ___ 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
On 16-8-2010 20:14, Roland Smith wrote: On Mon, Aug 16, 2010 at 10:35:58AM +0200, Dick Hoogendijk wrote: On Mon, Aug 16, 2010 04:49 AM, Adam Vande Moreamvandem...@gmail.com wrote: On Sun, Aug 15, 2010 at 1:45 PM, Dick Hoogendijkd...@nagual.nl wrote: My 500Gb drives won't however. they keep on giving cg); bad magic number. Sysinstall won't newfs the drives. newfs -U /dev/gm1a (created with the script mentioned before does not work OK either. Always this unexplained message (cg0: bad magic number). I have NO CLUE whatsoever what can be the cause of this. Both drives can be formatted by Windows, Linux and lots of other utilities. They can not be formatted UFS2 for / by FreeBSD-8.1/amd64 You can try to get your system up and running using something like http://mfsbsd.vx.sk/ or pcbsd. If that works, then I guess the possible cause is you. :-) Good idea. I will give it a shot, although I'm pretty sure I'm not the cause. I have four years experience as a (Open)Solaris system administrator and before that I used FreeBSD heavely. From the 4.10 series up to the 6.x series. So I do know something about the matter. But, we'll see... Keep you posted. It could be that newfs is overwriting the partition table. Can you post the output of 'gpart showdevice' and 'bsdlabeldevices1'? I have found the cause of my troubles. Using FixIt I was able today to use my ad8 with gpart and newfs it without errors. I also found out that zpool scrub pool was waiting for an uninterruptible disk wait. That made me remember I used to have troubles before in this hardware setting. The problem lies in a flaw in my MB. I have one ATA disk attached as master and an ATAPI dvd drive (slave) on ATA channel 0 plus four SATA2 drives (ATA channel 4,5,6,7 master). Somehow this does not work OK. Without the ATA drive on channel 0 (an older model) my four SATA2 drives work perfectly. I suspect some kind of interrupt issue. Problem: FreeBSD is installed on my ATA drive on channel 0. I tried to do a minimal install on drive ad8 today to dump/restore the system over and get rid of that lousy ATA drive. Bad luck. Sysinstall can't find /dev/ad8s1b so it can't complete the creation of the filesystems. And thus I can't do a minimal install on this SATA2 drive. Any ideas how I can overcome this issue? westmark# atacontrol list ATA channel 0: Master: ad0 ST3160021A/8.01 ATA/ATAPI revision 6 Slave: acd0 PLEXTOR DVDR PX-755A/1.08 ATA/ATAPI revision 6 ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: no device present Slave: no device present ATA channel 3: Master: no device present Slave: no device present ATA channel 4: Master: ad8 Hitachi HDP725050GLA360/GM4OA5CA SATA revision 2.x Slave: no device present ATA channel 5: Master: ad10 Hitachi HDP725050GLA360/GM4OA50E SATA revision 2.x Slave: no device present ATA channel 6: Master: ad12 Hitachi HDT721010SLA360/ST6OA31B SATA revision 2.x Slave: no device present ATA channel 7: Master: ad14 Hitachi HDS721010CLA332/JP4OA39C SATA revision 2.x Slave: no device present ___ 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
On 08/16/10 16:50, Anton Shterenlikht wrote: On Mon, Aug 16, 2010 at 05:33:33PM +0300, Ivan Klymenko wrote: I think it might be worthwhile to contact nVidia directly about this. To raise awareness that there are people using FreeBSD for HPC and that they very much would like to see OpenCL/CUDA supported. how is this different from getting e.g. native Flash or Matlab on FBSD? We've been trying to raise awareness for years.. I do not know any scientific group using FreeBSD anymore. Most of those groups used FreeBSD changed to Linux (mostly Redhat, some Ubuntu). Watching Phoronix and their benchmarks speaks clear what OS is the first choice. Well, I like the staright forward, centralised organization and the academic heritage of the BSDs and I would miss ZFS. The essence is: there is no serious reason to convince compiler vendors or vendors of 3D graphics chips of supporting FreeBSD for a specific purpose if there is no need -statistically. AMD/ATi in conjunction with OpenCL/LLVM was a great hope since the GPU vendor offered 3D specs of their chips to opensource vendors. But on the other hand nVidia seems to be much better supported by Gallium3D these days although they haven't offered internal 3d specs. I'm confused and at the end I have to decide. At the moment the comunity of astronomers and astrophysicist is sharing several very interesting N-body simulation code based on CUDA (open source) but users and maybe rare scientists still using FreeBSD are excluded from using those benefits. ___ 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
On 08/16/10 21:13, Pieter de Goeje wrote: On Monday 16 August 2010 16:50:01 Anton Shterenlikht wrote: On Mon, Aug 16, 2010 at 05:33:33PM +0300, Ivan Klymenko wrote: I think it might be worthwhile to contact nVidia directly about this. To raise awareness that there are people using FreeBSD for HPC and that they very much would like to see OpenCL/CUDA supported. how is this different from getting e.g. native Flash or Matlab on FBSD? We've been trying to raise awareness for years.. So did we for the nvidia driver on amd64. I'm not saying that we will be successful, I'm just saying if they're not even aware of this need that it will never happen. - Pieter I think they are aware, but the number of users is very, very low. Since modern 3D accerlerated and GPGPU capable drivers are developed dominantly under Linux, BSDs lack in modern architectures like KMS necessary running those modern drivers, so in case of the 64Bit video drivers it could be more a lack in the underlying technical infrastructure than the low number of users. But I do not know. Oliver ___ 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
-Original Message- From: Dick Hoogendijk [mailto:d...@nagual.nl] Sent: 16 August 2010 21:49 To: Roland Smith Cc: freebsd-questions@freebsd.org Subject: Re: ZFS not usable on FreeBSD-8.1 On 16-8-2010 20:14, Roland Smith wrote: On Mon, Aug 16, 2010 at 10:35:58AM +0200, Dick Hoogendijk wrote: On Mon, Aug 16, 2010 04:49 AM, Adam Vande Moreamvandem...@gmail.com wrote: On Sun, Aug 15, 2010 at 1:45 PM, Dick Hoogendijkd...@nagual.nl wrote: My 500Gb drives won't however. they keep on giving cg); bad magic number. Sysinstall won't newfs the drives. newfs -U /dev/gm1a (created with the script mentioned before does not work OK either. Always this unexplained message (cg0: bad magic number). I have NO CLUE whatsoever what can be the cause of this. Both drives can be formatted by Windows, Linux and lots of other utilities. They can not be formatted UFS2 for / by FreeBSD-8.1/amd64 You can try to get your system up and running using something like http://mfsbsd.vx.sk/ or pcbsd. If that works, then I guess the possible cause is you. :-) Good idea. I will give it a shot, although I'm pretty sure I'm not the cause. I have four years experience as a (Open)Solaris system administrator and before that I used FreeBSD heavely. From the 4.10 series up to the 6.x series. So I do know something about the matter. But, we'll see... Keep you posted. It could be that newfs is overwriting the partition table. Can you post the output of 'gpart showdevice' and 'bsdlabeldevices1'? I have found the cause of my troubles. Using FixIt I was able today to use my ad8 with gpart and newfs it without errors. I also found out that zpool scrub pool was waiting for an uninterruptible disk wait. That made me remember I used to have troubles before in this hardware setting. The problem lies in a flaw in my MB. I have one ATA disk attached as master and an ATAPI dvd drive (slave) on ATA channel 0 plus four SATA2 drives (ATA channel 4,5,6,7 master). Somehow this does not work OK. Without the ATA drive on channel 0 (an older model) my four SATA2 drives work perfectly. I suspect some kind of interrupt issue. Problem: FreeBSD is installed on my ATA drive on channel 0. I tried to do a minimal install on drive ad8 today to dump/restore the system over and get rid of that lousy ATA drive. Bad luck. Sysinstall can't find /dev/ad8s1b so it can't complete the creation of the filesystems. And thus I can't do a minimal install on this SATA2 drive. Any ideas how I can overcome this issue? westmark# atacontrol list ATA channel 0: Master: ad0 ST3160021A/8.01 ATA/ATAPI revision 6 Slave: acd0 PLEXTOR DVDR PX-755A/1.08 ATA/ATAPI revision 6 ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: no device present Slave: no device present ATA channel 3: Master: no device present Slave: no device present ATA channel 4: Master: ad8 Hitachi HDP725050GLA360/GM4OA5CA SATA revision 2.x Slave: no device present ATA channel 5: Master: ad10 Hitachi HDP725050GLA360/GM4OA50E SATA revision 2.x Slave: no device present ATA channel 6: Master: ad12 Hitachi HDT721010SLA360/ST6OA31B SATA revision 2.x Slave: no device present ATA channel 7: Master: ad14 Hitachi HDS721010CLA332/JP4OA39C SATA revision 2.x Slave: no device present ___ 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 Bit of a long shot, but have you tried enabling AHCI mode for the sata drives in the bios and setting ahci_load=YES in /boot/loader.conf assuming your the board supports it. Regards Graeme ___ 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
On 16-8-2010 23:13, Graeme Dargie wrote: Bit of a long shot, but have you tried enabling AHCI mode for the sata drives in the bios and setting ahci_load=YES in /boot/loader.conf assuming your the board supports it. I will certainly check this one out. Wouldn't know if my MB supports it. Hope so, for I get the feeling most problems will be over then. and if not, I'm removing the older ATA drive. The system is now being transfered to the first sata2 drive. We'll see if it will boot tomorrow. It should. The drive is prepard for it with gpart. ;-) Thanks for the pointer. ___ 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
On Mon, 16 Aug 2010 23:54:51 +0530 Mubeesh ali mubeeshal...@gmail.com wrote: Hi, i have an acer 5745 which had ubuntu running not booting after an attempted freebsd install .i understand that i might have wiped by choosing auto partition :-( and had not written mbr so that we could manage all from grub .now the laptop is stuck at bios splash screen.it refuses to go even to bios setup. please advice how i can recover and start over Specific configurations of partitions (or rather, byte patterns) are known to cause some BIOSes to hang during POST - on mine it was Windows and FreeBSD. If you can, try switching from AHCI to IDE or vice versa. Otherwise you might have to remove the drive and reconfigure it on another system with a less buggy BIOS. -- 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
Re: Not booting after freebsd install
On Mon, 16 Aug 2010 22:30:07 +0100 Bruce Cran br...@cran.org.uk wrote: Specific configurations of partitions (or rather, byte patterns) are known to cause some BIOSes to hang during POST - on mine it was Windows and FreeBSD. If you can, try switching from AHCI to IDE or vice versa. Otherwise you might have to remove the drive and reconfigure it on another system with a less buggy BIOS. For reference, my problem was due to the AHCI BIOS: http://communities.intel.com/thread/10768;jsessionid=BE85ABF882B97023AE879865A741FDD6.node7COM It was solved by resetting the CMOS so I could get into the setup menu. -- 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
Re: watch(8) does not work in jails
2010/8/16 Roland Smith rsm...@xs4all.nl: On Mon, Aug 16, 2010 at 11:23:00AM +0200, David DEMELIER wrote: Hi, I enabled `device snp' in my kernel config file and with this I can use the command watch(8) to see any tty device attached. For example : # watch ttyv0 Give me the output of the console. But in jails, it's not the same thing, I tried the following : # jexec 1 tcsh # su - People# watch pts/0 watch: fatal: cannot open snoop device Is there a limitation of watch(8), or jails ? Does /dev/pts/0 actually exist in the jail's devfs instance, and are its permissions correct? (In jail) : # ls -l /dev/pts/* crw--w 1 markand tty0, 94 17 Aug 00:06 /people/dev/pts/0 crw--w 1 markand tty0, 96 17 Aug 00:06 /people/dev/pts/1 crw--w 1 root tty0, 101 21 Jul 00:07 /people/dev/pts/2 crw--w 1 markand tty0, 108 17 Aug 00:06 /people/dev/pts/3 crw--w 1 markand tty0, 99 16 Aug 01:28 /people/dev/pts/4 crw--w 1 markand tty0, 112 17 Aug 00:05 /people/dev/pts/5 crw--w 1 root tty0, 111 17 Aug 00:06 /people/dev/pts/6 crw--w 1 root tty0, 114 16 Aug 23:53 /people/dev/pts/7 crw--w 1 root tty0, 100 17 Aug 00:06 /people/dev/pts/8 I don't understand why pts/0 is given to me since on the host I don't have it : (On host) : mark...@orange ~ $ who markand pts/616 Aug 23:57 (192.168.1.20) markand pts/716 Aug 23:52 (192.168.1.20) markand pts/817 Aug 00:06 (192.168.1.20) markand pts/917 Aug 00:06 (192.168.1.20) But in the jail pts/0 is affected to a completely different user. I'm confused. 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) -- Demelier David ___ 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: watch(8) does not work in jails
On Tue, Aug 17, 2010 at 12:09:23AM +0200, David DEMELIER wrote: Does /dev/pts/0 actually exist in the jail's devfs instance, and are its permissions correct? (In jail) : # ls -l /dev/pts/* crw--w 1 markand tty0, 94 17 Aug 00:06 /people/dev/pts/0 crw--w 1 markand tty0, 96 17 Aug 00:06 /people/dev/pts/1 crw--w 1 root tty0, 101 21 Jul 00:07 /people/dev/pts/2 crw--w 1 markand tty0, 108 17 Aug 00:06 /people/dev/pts/3 crw--w 1 markand tty0, 99 16 Aug 01:28 /people/dev/pts/4 crw--w 1 markand tty0, 112 17 Aug 00:05 /people/dev/pts/5 crw--w 1 root tty0, 111 17 Aug 00:06 /people/dev/pts/6 crw--w 1 root tty0, 114 16 Aug 23:53 /people/dev/pts/7 crw--w 1 root tty0, 100 17 Aug 00:06 /people/dev/pts/8 I think you mounted your devfs incorrectly or you started the jail in the wrong directory. If ls is run inside the jail, it should be /dev/pts/N, not /people/dev/pts/N! 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) pgp75i4HOZLPy.pgp Description: PGP signature
Re: FreeBSD, GPGPU and OpenCL/CUDA
On Monday 16 August 2010 23:00:52 Hartmann, O. wrote: On 08/16/10 21:13, Pieter de Goeje wrote: On Monday 16 August 2010 16:50:01 Anton Shterenlikht wrote: On Mon, Aug 16, 2010 at 05:33:33PM +0300, Ivan Klymenko wrote: I think it might be worthwhile to contact nVidia directly about this. To raise awareness that there are people using FreeBSD for HPC and that they very much would like to see OpenCL/CUDA supported. how is this different from getting e.g. native Flash or Matlab on FBSD? We've been trying to raise awareness for years.. So did we for the nvidia driver on amd64. I'm not saying that we will be successful, I'm just saying if they're not even aware of this need that it will never happen. - Pieter I think they are aware, but the number of users is very, very low. Since modern 3D accerlerated and GPGPU capable drivers are developed dominantly under Linux, BSDs lack in modern architectures like KMS necessary running those modern drivers, so in case of the 64Bit video drivers it could be more a lack in the underlying technical infrastructure than the low number of users. But I do not know. Oliver The amd64 driver was an illustration of something where raising awareness or whatever you might call it actually helped IMHO. Unfortunately this is a chicken-and-egg problem. No HPC users means no demand means no incentive to do something about it means no HPC users ad infinitum. But I'm sure you're already knew that. - Pieter ___ 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
Upgrading ports while processes are running.
Hiya All, I just finished upgrading perl on one of my machines and something crossed my mind while it was busy compiling and reinstalling all of the ports that depended on perl. Will a port install fail if it cannot write to a file because it's in-use? Also, is it necessary to restart the server or at lease the apps after a port upgrade? The answer to the second question is certainly yes. But is it considered dangerous to upgrade a port that is currently running? Things like mysql and apache come to mind. To take it one step further, what about shared libraries? If a process is using a shared lib, then it seems that it does not lock the file for writing, but I would think that it would not start using the lib until you restarted all of the processes that used that shared lib. Once the last process using the shared lib is killed, is it automatically unlinked from memory? I guess best practice should be to restart the system after a major port upgrade (unless you know which processes depend on the files that have been upgraded - then you should just be able to restart those processes). -D ___ 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: Upgrading ports while processes are running.
On Tue, 17 Aug 2010 10:01:03 +1000, Danny Carroll f...@dannysplace.net wrote: Will a port install fail if it cannot write to a file because it's in-use? At least, the step that wants to write will fail, and this will mostly be (finally) signaled by a make error. UNIX doesn't have a file in use paradigm per se; i. e. you can open one and the same file in two editors simultaneously, and depending on which editor performs SAVE FILE, the file's content on disk will vary. Of course, there's file locking (see man flock). Also, is it necessary to restart the server or at lease the apps after a port upgrade? This depends on the programs. In most cases, it's useful to stop a kind of server app before performing the update, and then restarting it after the upgrade has been performed. Restarting the server isn't neccessary in most cases. You usually won't have much trouble with programs that are started many times (like editor, media player), as they will surely survive an update, and don't affect the system if they won't. The answer to the second question is certainly yes. But is it considered dangerous to upgrade a port that is currently running? Things like mysql and apache come to mind. I always went with the method stop, upgrade, start - it's not that short downtimes (planned!) have gotten me into trouble. :-) To take it one step further, what about shared libraries? If a process is using a shared lib, then it seems that it does not lock the file for writing, but I would think that it would not start using the lib until you restarted all of the processes that used that shared lib. Once the last process using the shared lib is killed, is it automatically unlinked from memory? I think so, allthough I think there's a caching mechanism for shared libraries (ld cache). I guess best practice should be to restart the system after a major port upgrade (unless you know which processes depend on the files that have been upgraded - then you should just be able to restart those processes). Most server apps provide rc.d style scripts which makes it quite easy to cleanly stop them before the update, so you don't have to manually hunt processes. This mechanism enables you to selectively prevent programs from being interfered by their respective updating procedures. A system reboot is highly encouraged when updating the OS or kernel components. If you are unsure and don't care for uptime, you *can* reboot, as it won't make things worse. :-) -- 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: Upgrading ports while processes are running.
On Tue, 17 Aug 2010 03:23:27 +0200, Polytropon free...@edvax.de wrote: At least, the step that wants to write will fail, and this will mostly be (finally) signaled by a make error. This is sort of pedantic for me to bring up, but I wouldn't count on the install failing. Because Unix makes a distinction between unlinking and file deletion, you can generally unlink the binary of a running executable without any problem; the filesystem won't actually delete it at least until the process in question stops running and the inode's reference count drops to zero. See Advanced Programming in the Unix Environment for details. Here's a quick example on FreeBSD: $ cat hello.c #include stdio.h int main(int argc, char* argv[]) { while (1) { printf(Hello\n); sleep(1); } return 0; } $ cc -o hello hello.c $ ./hello This simple program will start printing Hello repeatedly. Now if I switch to another terminal, I can delete the hello binary: $ rm hello But switching back to the first terminal, I see the program is still running just fine. Running programs can be unlinked. And this is what the install program used by FreeBSD ports appears to do; from /usr/src/usr.bin/xinstall/install.c: create_newfile(const char *path, int target, struct stat *sbp) { char backup[MAXPATHLEN]; int saved_errno = 0; int newfd; if (target) { /* * Unlink now... avoid ETXTBSY errors later. Try to turn * off the append/immutable bits -- if we fail, go ahead, * it might work. */ if (sbp-st_flags NOCHANGEBITS) (void)chflags(path, sbp-st_flags ~NOCHANGEBITS); if (dobackup) { if ((size_t)snprintf(backup, MAXPATHLEN, %s%s, path, suffix) != strlen(path) + strlen(suffix)) errx(EX_OSERR, %s: backup filename too long, path); (void)snprintf(backup, MAXPATHLEN, %s%s, path, suffix); if (verbose) (void)printf(install: %s - %s\n, path, backup); if (rename(path, backup) 0) err(EX_OSERR, rename: %s to %s, path, backup); } else if (unlink(path) 0) saved_errno = errno; } newfd = open(path, O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); if (newfd 0 saved_errno != 0) errno = saved_errno; return newfd; } That isn't to say you won't see any negative consequences from overwriting a running port with a newer version. Hypothetically, you might install a new Python including a new standard library, and if your running (old) Python process tries to load one of its deleted modules from disk something could break. Or not; I'm no expert on the ports system, they might have some way of working around this. But as for a pragmatic answer to your question, I err on the side of caution with this stuff :) -- Mark Shroyer http://markshroyer.com/contact/ ___ 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
thanks bruce. Here the laptop is stuck at bios splash screen. here if i cannot get to bios set up. thanks, Mubeesh On Tue, Aug 17, 2010 at 3:05 AM, Bruce Cran br...@cran.org.uk wrote: On Mon, 16 Aug 2010 22:30:07 +0100 Bruce Cran br...@cran.org.uk wrote: Specific configurations of partitions (or rather, byte patterns) are known to cause some BIOSes to hang during POST - on mine it was Windows and FreeBSD. If you can, try switching from AHCI to IDE or vice versa. Otherwise you might have to remove the drive and reconfigure it on another system with a less buggy BIOS. For reference, my problem was due to the AHCI BIOS: http://communities.intel.com/thread/10768;jsessionid=BE85ABF882B97023AE879865A741FDD6.node7COM It was solved by resetting the CMOS so I could get into the setup menu. -- Bruce Cran -- Best Regards, Mubeesh Ali.V.M ___ 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 Downloading problem
Hey, I'm trying to install FreeBSD on a Dell PC with Intel Pentium 4 processor. When I insert the CD, read error, 0x01 appears and nothing else happens, I've tried restarting and changing settings, but no luck. I'm going to try re-burning the CD any other way I can fix this error? Derek Schwartz -- 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