Re: Change one file in an ISO image
On Thu, September 17, 2009 05:28, b. f. wrote: Patrick Gelsema wrote: I need to change one file in an existing ISO image. It is a DVD image btw. Unfortunately I dont have many options of changing the fie before creating the image. Mounting is not the issue, copying data neither but the ISO is also bootable. There must be a simpler solution as in copying all the content with cpio and making it bootable. OS on the DVD is WinPE btw. Does anyone have some pointers for performing this action? Unfortunately, libarchive(3), which is used by tar(1) and cpio(1) on recent versions of FreeBSD, seems to have only read and extract support for ISO 9660 archives, and not write support (see libarchive-formats(5) or http://code.google.com/p/libarchive/wiki/LibarchiveFormats ). So while you could use tar(1) or cpio(1) to extract the contents of the dvd without mounting it in order to make your change, you would have to use some other tool to write the new .iso image, like mkisofs(8) from the sysutils/cdrtools-devel port. (And if the original image has extensions that are not supported by librarchive(3), you could use something like readcd(1) from that same port instead of tar(1) or cpio(1) to read and extract it.) If the linux suggestion fails I will try this one. Unfortunately I can't do Make release as it is not Freebsd. It is a Windows based boot cd. Thanks! b. ___ 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
Killfiles (was Re: reporter on deadline seeks comment about reported security...)
On Wednesday 16 September 2009 16:59:27 Paul Schmehl wrote: --On Wednesday, September 16, 2009 06:08:50 -0500 Jerry ges...@yahoo.com The backscatter is useful in a way, in that it confirms that my original reasons for applying an ignore filter on Jerry's email address still apply, but I wish a few more people would just ignore him as well. If he's not trolling for angry responses, I find it hard to see what he's doing here at all, given how little good he has to say about FreeBSD or the people involved with 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: passing options thru '/etc/rc.d/foo start'
Tom Worster wrote: On 9/16/09 3:19 PM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: Tom Worster wrote: is there a general shell syntax that can be used to pass arguments to a daemon that you're starting with the /etc/rc.d/foo start command? If you're starting service foo, then you should be able to define command arguments by setting foo_flags=-a -b -c. This is a convention, and particular services may use several more specific variables to build a command line or may simply ignore any flags variable completely, so you'll have to check each case individually. for example, how does one start sshd using /etc/rc.d/sshd and pass it '-o X11Forwarding=no' without touching a config file? In this case, setting sshd_flags will work as sshd uses the default rc start function. hi matthew, i tried this and couldn't make it work before i emailed my question. then mel answered that the /etc/rc.d/foo scripts ignore environment. and then, looking closer at man pages, i got the impression that perhaps only /etc/rc uses the foo_flags variables when it invokes /etc/rc.d/foo scripts. Uh, yeah. My tortured mental processes had somehow concluded that /etc/rc.conf *wasn't* a config file and then I pretty much forgot to add 'in /etc/rc.conf' at the crucial point in what I wrote. I don't think your request is possible without editing at least one file under /etc Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK signature.asc Description: OpenPGP digital signature
Re: Killfiles (was Re: reporter on deadline seeks comment about reported security...)
On Thu, 17 Sep 2009 09:04:58 +0200 Jonathan McKeown j.mcke...@ru.ac.za wrote: On Wednesday 16 September 2009 16:59:27 Paul Schmehl wrote: --On Wednesday, September 16, 2009 06:08:50 -0500 Jerry ges...@yahoo.com The backscatter is useful in a way, in that it confirms that my original reasons for applying an ignore filter on Jerry's email address still apply, but I wish a few more people would just ignore him as well. If he's not trolling for angry responses, I find it hard to see what he's doing here at all, given how little good he has to say about FreeBSD or the people involved with it. Ah,boo-hoo. Since I am a believer in free speech and vehemently anti censorship you find my beliefs at odds with your totalitarian socialistic/fascist concepts. Nothing proved the failure of Communism like the building of the Berlin wall. Your use of kill filters, and continued advocacy of censorship and withholding of vital news confirms your political alliance. By the way, I love the way you just 'trolled' into, hijacked the thread and modified the 'subject'. Real class act on your part. -- Jerry ges...@yahoo.com Serfs up! Spartacus ___ 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
Booting ZFS and GPT
Hi, I've read and tried out that FreeBSD is able to boot from ZFS directly, also with GPT partitions, through zfsboot and gptzfsboot. When I tried the last time 8-CURRENT it was however not built into the release CD. Will this be included in the final release image? Is there any plan to include GPT and ZFS setup in sysinstall during an initial installation? Cheers, Anselm ___ 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
ZFS on small systems
Hi, I'm interested in using ZFS on one of my small systems with 256 MB of RAM and 4 GB flash disk. Since ZFS is now considered production ready on FreeBSD I would like to use it as root filesystem and profit mainly from the cool snapshot features for easy backups. I found multiple recommendations to run ZFS only on systems with enough resources. But is this only a requirement if you want good performance or also for ZFS to function properly at all? Thanks for any thoughts on that. Anselm ___ 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 on small systems
Anselm Strauss wrote: Hi, I'm interested in using ZFS on one of my small systems with 256 MB of RAM and 4 GB flash disk. Since ZFS is now considered production ready on FreeBSD I would like to use it as root filesystem and profit mainly from the cool snapshot features for easy backups. I found multiple recommendations to run ZFS only on systems with enough resources. But is this only a requirement if you want good performance or also for ZFS to function properly at all? I've found that on the i386 arch, that at minimum you need 756M of memory to do anything really useful. Now, I don't know if this has changed or not, but I doubt that the box would be useful for anything with only 256M. With that said, I can keep a box running at max disk r/w for hours on end with 2GB, and 1536M allocated/reserved for ZFS. Perhaps however that there have been enhancements introduced that I don't know about, that allow ZFS to operate in such a small memory address space, but for some reason I doubt it. If I'm wrong, someone will let us know ;) Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: port math/gnuplot hangs and ignores kill -9
On Mon, Sep 14, 2009 at 07:22:33PM +0200, Roland Smith wrote: On Mon, Sep 14, 2009 at 04:42:41PM +0100, Anton Shterenlikht wrote: On Mon, Sep 14, 2009 at 04:37:28PM +0100, Anton Shterenlikht wrote: on ia64 HEAD, gnuplot-4.2.6, any plot command hangs the program. top shows gnuplot is using 100% of CPU, yeat CPU time is zero: PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 60071 1001 2 480 98008K 51424K CPU11 0:00 100.00% gnuplot kill -9 60071, either from my account, or from root, has no effect, the process is still there. I cannot find a way to terminate this hanged process without reboot. This seems to be a regression. running gnuplot in batch (non-interactive) mode seems fine, so the problem seems to be with the screen terminal. I'm mostly puzzled by the fact that I cannot kill the process.. It could be that the process is stuck in the 'D' state (uninterruptable wait). You can veryfiy that by running 'ps -u' and looking in the eight column when gnuplot is running. Does the window with the plot actually appear? Interactive use of gnuplot-4.2.6 is fine on amd64 7.2-RELEASE-p2. I reinstalled gnuplot-4.2.6 and (hopefully) all ports on which it depends. I still get the same behaviour. top -PISu shows: last pid: 108; load averages: 0.88, 0.35, 0.19up 2+02:23:38 13:27:52 109 processes: 4 running, 88 sleeping, 17 waiting CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 1: 0.0% user, 0.0% nice, 100% system, 0.0% interrupt, 0.0% idle Mem: 105M Active, 2074M Inact, 363M Wired, 768K Cache, 827M Buf, 5322M Free Swap: 19G Total, 19G Free PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 0 2 171 ki31 0K64K RUN 0 77.9H 100.00% idle 2 1001 2 480 98240K 55608K CPU11 0:00 100.00% gnuplot so gnuplot is using 100% and all in system state. and ps -u: USERPID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND mexas 2 98.1 0.7 98240 55608 5 R+1:25pm 0:00.72 gnuplot so the state is not D. The window does appear (just using simple gnuplot plot sin(x), and the terminal is set to 'wxt', but nothing ever apears in the window. My guess is that the problem is not in gnuplot, but in the base OS. Any advice on how to debug this problem further. Once again, batch use of gnuplot is fine, it's just the screen operations which are affected. many thanks anton -- 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: CD doesn't eject from the drive.
Read man camcontrol before using this. I have a sony that hangs every now and then. I also have needed to use reset. Command to un-jam dvd tray To allow removal: camcontrol cmd cd1 -v -c 1e 0 0 0 0 0 --- On Wed, 9/16/09, Yuri y...@rawbw.com wrote: From: Yuri y...@rawbw.com Subject: CD doesn't eject from the drive. To: freebsd-questions@freebsd.org Date: Wednesday, September 16, 2009, 11:22 PM I have PIONEER Model DVD-RW DVR-112D. I started the command cdda2wav -v255 -D5,0,0 -B -Owav to grab audio but stopped it with Ctrl-C. Now disk doesn't eject. Both eject command and cdcontrol -f /dev/acd0 eject commands hang, and system log gets messages, see below. It seems like a bug in atapi driver, since it didn't clear the state of cdrom hardware after controlling app died. Anybody knows how to eject the disk now without rebooting? 72-STABLE. Yuri messages acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request aaccdd00:: WWAARRNNIINNGG -- PRREEAVDE_NTTO_CA LtLaOsWk qtuaesukeq uteiumee otuitm e-o ucto m-p lceotmipnlge trienqgu ersetq udeisrte cdtilryec tly acd0: WARNING - PREVENT_ALLOW freeing taskqueue zombie request acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly acd0: WARNING - READ_TOC freeing taskqueue zombie request ___ 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: New mail server setup
Michael K. Smith - Adhost wrote: Steve Bertrand wrote: If anyone has a setup that has redundancy for their IMAP/POP services, and a method to keep the changing data relatively up-to-date, I'd love to hear about it. [ big snip ] Another approach would be a cluster of Postfix servers and Dovecot servers behind PF load balancers. We have 3 POP servers (IMAP/POP), 9 Mail Servers, 2 Defer servers and 5 Filter servers that process over 20 million messages a day without a blip. We can take individual servers out of the pool for maintenance, etc. Everything is fed to a set of redundant NAS for the data storage and common configuration files. Thanks Mike, I'm interested to learn a little more about your setup. I was going to take it off-list, but if you can provide some further details, it would probably add long-term value to keep it here. So, a couple of questions: - can your PF load balancers 'sense' when one of the Postfix/Dovecot units are down, or is this a manual change in config to prevent any time-out conditions? I like this load balancer idea. In my environment, it would be trivial to set up a couple of them, throw Quagga on them, and integrate them directly into our iBGP setup. On the other side, I could use VRRP or the like to ensure redundancy from front to back. - do the Postfix/Dovecot servers communicate with each other, or are they simply stand-alone units that don't know/care that they have other peers helping with the workload? - are your filter servers in front of, or behind the load balancers (iow, is all of your inbound email passed through the balancers, and then filtered/processed/delivered in behind them)? - how do all of the pieces communicate with the NAS...NFS? - could you share a small snip of your PF config in relation to load-balancing, so I can get a bit of a better understanding config-wise on how that piece hangs together? (I've never used PF, only IFPW ;) Thanks, and regards, Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: Can't boot Marvel Sheevaplug from USB
James Butler wrote: Sounds similar to: http://www.freebsd.org/cgi/query-pr.cgi?pr=138798 Apparently Scott Long is working on a fix. Interesting! Is there any way I can help debug/solve this? As for running FreeBSD on the SheevaPlug: I think I will stick with Ubuntu for now, as I haven't been able to get FreeBSD to recognize the NAND storage nor the SDIO controller, and FreeBSD doesn't seem to have a wear-leveling filesystem (or GEOM layer) anyway. I think FreeBSD on the SheevaPlug right now only makes sense if you intend to boot from the network, and maybe use additional storage from a USB-attached hard disk. Kind regards, Maks Verver. ___ 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: Killfiles (was Re: reporter on deadline seeks comment about reported security...)
Jonathan McKeown wrote: but I wish a few more people would just ignore him as well. If he's not trolling for angry responses, I find it hard to see what he's doing here at all, given how little good he has to say about FreeBSD or the people involved with it. Realize (in this case) that the replies you are reading are extremely valuable, even to relative newcomers. Most replies have been quite informative. Some with very good analogies explaining why we don't broadcast security-related issues before any investigative work has been done to at *minimum* determine their impact to the userbase. Others have expressed their appreciation for what the sec-team does, why they do it that way, and why it makes sense to do it that way. The FreeBSD security folks take their jobs very seriously, and it shows. They are very good stewards acting with common-sense, good judgement while following best common practises, all on behalf of the people they are responsible forus (and technically, themselves). Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: A question about the date Function
Thanks to those who answered my question. I have discovered in the process one big difference between the date function in freebsd and Linux. Under freebsd, date -r 1234567890 or whatever value you need converts that unsigned long in to the normal date output set to that reference value. IN Linux, -r should be followed by a file name and it gives you the formatted date as read from the mtime of that reference 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
Re: port math/gnuplot hangs and ignores kill -9
On Thu, Sep 17, 2009 at 01:34:04PM +0100, Anton Shterenlikht wrote: It could be that the process is stuck in the 'D' state (uninterruptable wait). You can veryfiy that by running 'ps -u' and looking in the eight column when gnuplot is running. Does the window with the plot actually appear? Interactive use of gnuplot-4.2.6 is fine on amd64 7.2-RELEASE-p2. I reinstalled gnuplot-4.2.6 and (hopefully) all ports on which it depends. I still get the same behaviour. top -PISu shows: last pid: 108; load averages: 0.88, 0.35, 0.19up 2+02:23:38 13:27:52 109 processes: 4 running, 88 sleeping, 17 waiting CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 1: 0.0% user, 0.0% nice, 100% system, 0.0% interrupt, 0.0% idle Mem: 105M Active, 2074M Inact, 363M Wired, 768K Cache, 827M Buf, 5322M Free Swap: 19G Total, 19G Free PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 0 2 171 ki31 0K64K RUN 0 77.9H 100.00% idle 2 1001 2 480 98240K 55608K CPU11 0:00 100.00% gnuplot so gnuplot is using 100% and all in system state. and ps -u: USERPID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND mexas 2 98.1 0.7 98240 55608 5 R+1:25pm 0:00.72 gnuplot so the state is not D. The window does appear (just using simple gnuplot plot sin(x), and the terminal is set to 'wxt', but nothing ever apears in the window. The wxt terminal is only available when gnuplot is compiled with the wxWidgets toolkit. Try using the plain x11 terminal, and see if that works better? 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) pgpA1BDRaB2IA.pgp Description: PGP signature
Re: port math/gnuplot hangs and ignores kill -9
On Thu, Sep 17, 2009 at 03:16:16PM +0200, Roland Smith wrote: On Thu, Sep 17, 2009 at 01:34:04PM +0100, Anton Shterenlikht wrote: It could be that the process is stuck in the 'D' state (uninterruptable wait). You can veryfiy that by running 'ps -u' and looking in the eight column when gnuplot is running. Does the window with the plot actually appear? Interactive use of gnuplot-4.2.6 is fine on amd64 7.2-RELEASE-p2. I reinstalled gnuplot-4.2.6 and (hopefully) all ports on which it depends. I still get the same behaviour. top -PISu shows: last pid: 108; load averages: 0.88, 0.35, 0.19up 2+02:23:38 13:27:52 109 processes: 4 running, 88 sleeping, 17 waiting CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 1: 0.0% user, 0.0% nice, 100% system, 0.0% interrupt, 0.0% idle Mem: 105M Active, 2074M Inact, 363M Wired, 768K Cache, 827M Buf, 5322M Free Swap: 19G Total, 19G Free PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 0 2 171 ki31 0K64K RUN 0 77.9H 100.00% idle 2 1001 2 480 98240K 55608K CPU11 0:00 100.00% gnuplot so gnuplot is using 100% and all in system state. and ps -u: USERPID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND mexas 2 98.1 0.7 98240 55608 5 R+1:25pm 0:00.72 gnuplot so the state is not D. The window does appear (just using simple gnuplot plot sin(x), and the terminal is set to 'wxt', but nothing ever apears in the window. The wxt terminal is only available when gnuplot is compiled with the wxWidgets toolkit. Try using the plain x11 terminal, and see if that works better? yes, that works fine! Thank you! So the problem must be with wxgtk2-2.8.10_1 and wxgtk2-common-2.8.10_1 ? How can I kill the offending gnuplot process? many thanks -- 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: port math/gnuplot hangs and ignores kill -9
On Thu, Sep 17, 2009 at 02:40:24PM +0100, Anton Shterenlikht wrote: The window does appear (just using simple gnuplot plot sin(x), and the terminal is set to 'wxt', but nothing ever apears in the window. The wxt terminal is only available when gnuplot is compiled with the wxWidgets toolkit. Try using the plain x11 terminal, and see if that works better? yes, that works fine! Thank you! So the problem must be with wxgtk2-2.8.10_1 and wxgtk2-common-2.8.10_1 ? Looks that way. Since gnuplot works very well with plain X11, I've never bothered building it with wxWidgets. Rebuild gnuplot without wxWidgets to circumvent the problem. How can I kill the offending gnuplot process? You can try 'kill -9'. If the process is stuck in the 'D' state after you've tried that, you'll have to reboot. :-) 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) pgpn2ifRamw6k.pgp Description: PGP signature
mpt timed out and Re: port math/gnuplot hangs and ignores kill -9
On Thu, Sep 17, 2009 at 02:40:24PM +0100, Anton Shterenlikht wrote: On Thu, Sep 17, 2009 at 03:16:16PM +0200, Roland Smith wrote: On Thu, Sep 17, 2009 at 01:34:04PM +0100, Anton Shterenlikht wrote: It could be that the process is stuck in the 'D' state (uninterruptable wait). You can veryfiy that by running 'ps -u' and looking in the eight column when gnuplot is running. Does the window with the plot actually appear? Interactive use of gnuplot-4.2.6 is fine on amd64 7.2-RELEASE-p2. I reinstalled gnuplot-4.2.6 and (hopefully) all ports on which it depends. I still get the same behaviour. top -PISu shows: last pid: 108; load averages: 0.88, 0.35, 0.19up 2+02:23:38 13:27:52 109 processes: 4 running, 88 sleeping, 17 waiting CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 1: 0.0% user, 0.0% nice, 100% system, 0.0% interrupt, 0.0% idle Mem: 105M Active, 2074M Inact, 363M Wired, 768K Cache, 827M Buf, 5322M Free Swap: 19G Total, 19G Free PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 0 2 171 ki31 0K64K RUN 0 77.9H 100.00% idle 2 1001 2 480 98240K 55608K CPU11 0:00 100.00% gnuplot so gnuplot is using 100% and all in system state. and ps -u: USERPID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND mexas 2 98.1 0.7 98240 55608 5 R+1:25pm 0:00.72 gnuplot so the state is not D. The window does appear (just using simple gnuplot plot sin(x), and the terminal is set to 'wxt', but nothing ever apears in the window. The wxt terminal is only available when gnuplot is compiled with the wxWidgets toolkit. Try using the plain x11 terminal, and see if that works better? yes, that works fine! Thank you! So the problem must be with wxgtk2-2.8.10_1 and wxgtk2-common-2.8.10_1 ? How can I kill the offending gnuplot process? On reboot I see this on the console: System shutdown time has arrived Stopping cron. Stopping sshd. Stopping ntpd. Stopping devd. Writing entropy file:mpt0: request 0xa00d2140:52792 timed out for ccb 0x e00019ece800 (req-ccb 0xe00019ece800) mpt0: completing timedout/aborted req 0xa00d2140:52792 mpt0: Timedout requests already complete. Interrupts may not be functioning. Sep 17 14:49:59 mech-cluster241 syslogd: exiting on signal 15 Sep 17 14:49:59 init: timeout expired for /bin/sh on /etc/rc.shutdown: Interrupt ed system call; going to single user mode Sep 17 14:50:19 init: some processes would not die; ps axl advised Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...3 1 2 I'm a bit worried about mpt0 messages - this is the SCSI driver. Does this indicate a problem with mpt? many thanks anton -- 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
ipfw + NAT doesn't work
I have a machine running FreeBSD 9.0-CURRENT #3: Tue Sep 15 18:49:58 EDT 2009 amd64 It has this in the config file for the running kernel: options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity options IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by default options IPFIREWALL_NAT #ipfw kernel nat support options LIBALIAS It (10.0.0.1) connects correctly to another machine (10.0.0.3); I know because .3 mounts one of .1's disks using Samba. With the ipfw rules appended below, I can't NAT, nor should I be able to. (em0 faces the Internet; em1 faces the other machine.) However: using these I still can't get through ipfw add 5000 nat 15 all from any to any ipfw nat 15 config log same_ports ip 10.0.0.0/8 Have I forgotten something? Or misunderstood something? If not ... how do I figure out what's wrong? Respectfully, Robert Huff 00100 3830 864746 allow ip from any to any via lo0 00200 00 deny ip from any to 127.0.0.0/8 00300 00 deny ip from 127.0.0.0/8 to any 00350 11042464 allow udp from any 67-68 to any dst-port 67-68 00600 00 allow ip6 from any to any via lo0 00610 00 deny ip6 from any to ::1 00620 00 deny ip6 from ::1 to any 00630 3 256 allow ip6 from :: to ff02::/16 proto ipv6-icmp 00640 00 allow ip6 from fe80::/10 to fe80::/10 proto ipv6-icmp 00650 4 304 allow ip6 from fe80::/10 to ff02::/16 proto ipv6-icmp 00660 00 allow ip6 from 2001:db8:2:1::1 to 2001:db8:2:1::/64 00670 00 allow ip6 from 2001:db8:2:1::/64 to 2001:db8:2:1::1 00680 00 allow ip6 from fe80::/10 to ff02::/16 00690 00 allow ip6 from 2001:db8:2:1::/64 to ff02::/16 00700 00 allow ip6 from any to any established proto tcp 00710 00 allow ip6 from any to any frag 00720 00 allow ip6 from any to 2001:db8:2:1::1 dst-port 25 setup proto tcp 00730 00 allow ip6 from 2001:db8:2:1::1 to any setup proto tcp 00740 00 deny ip6 from any to any setup proto tcp 00750 00 allow ip6 from any 53 to 2001:db8:2:1::1 proto udp 00760 00 allow ip6 from 2001:db8:2:1::1 to any dst-port 53 proto udp 00770 00 allow ip6 from any 123 to 2001:db8:2:1::1 proto udp 00780 00 allow ip6 from 2001:db8:2:1::1 to any dst-port 123 proto udp 00790 00 allow ip6 from any to any ip6 icmp6types 1 proto ipv6-icmp 00800 00 allow ip6 from any to any ip6 icmp6types 2,135,136 proto ipv6-icmp 06000 00 deny log logamount 100 tcp from any to any dst-port 137 in via em0 0605032 3000 deny log logamount 100 udp from any to any dst-port 137 in via em0 06100 00 deny log logamount 100 tcp from any to any dst-port 138 in via em0 0615015 3465 deny log logamount 100 udp from any to any dst-port 138 in via em0 06200 00 deny log logamount 100 tcp from any to any dst-port 139 in via em0 06250 00 deny log logamount 100 udp from any to any dst-port 139 in via em0 07000 00 deny log logamount 100 tcp from any to any dst-port 111 in via em0 07050 00 deny log logamount 100 udp from any to any dst-port 111 in via em0 07100 00 deny log logamount 100 tcp from any to any dst-port 530 in via em0 07150 00 deny log logamount 100 udp from any to any dst-port 530 in via em0 07200 00 deny log logamount 100 tcp from any to any dst-port 161 in recv em0 07225 00 deny log logamount 100 udp from any to any dst-port 161 in recv em0 07250 00 deny log logamount 100 tcp from any to any dst-port 162 in recv em0 07275 00 deny log logamount 100 udp from any to any dst-port 162 in recv em0 07300 00 deny log logamount 100 tcp from any to any dst-port 194 07310 00 deny log logamount 100 udp from any to any dst-port 194 07320 00 deny log logamount 100 tcp from any to any dst-port 529 07330 00 deny log logamount 100 udp from any to any dst-port 529 07340 00 deny log logamount 100 tcp from any to any dst-port 994 07350 00 deny log logamount 100 udp from any to any dst-port 994 07360 00 deny log logamount 100 tcp from any to any dst-port 6667 07370 00 deny log logamount 100 udp from any to any dst-port 6667 1 45012 38961511 allow tcp from any to any established 10100 1452 112487 allow ip from any to any out via em0 10200 00 allow tcp from 10.0.0.0/8 to any dst-port 80 10300 00 allow tcp from any 80 to any dst-port 1024-65535 via em0 10400 00 allow tcp from any 443 to any dst-port 1024-65535 via em0 10500 00 deny
Re: A question about the date Function
Martin McCormick mar...@dc.cis.okstate.edu writes: Thanks to those who answered my question. I have discovered in the process one big difference between the date function in freebsd and Linux. Under freebsd, date -r 1234567890 or whatever value you need converts that unsigned long in to the normal date output set to that reference value. IN Linux, -r should be followed by a file name and it gives you the formatted date as read from the mtime of that reference file. The *only* standardized option for date is -u... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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 on small systems
Thanks for your advice, Steve. I looked a bit at the source code and in /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c and I found this: /* set min cache to 1/32 of all memory, or 16MB, whichever is more */ arc_c_min = MAX(arc_c / 4, 6418); Could this mean that 16 MB are already enough to run ZFS? On Thu, Sep 17, 2009 at 2:26 PM, Steve Bertrand st...@ibctech.ca wrote: Anselm Strauss wrote: Hi, I'm interested in using ZFS on one of my small systems with 256 MB of RAM and 4 GB flash disk. Since ZFS is now considered production ready on FreeBSD I would like to use it as root filesystem and profit mainly from the cool snapshot features for easy backups. I found multiple recommendations to run ZFS only on systems with enough resources. But is this only a requirement if you want good performance or also for ZFS to function properly at all? I've found that on the i386 arch, that at minimum you need 756M of memory to do anything really useful. Now, I don't know if this has changed or not, but I doubt that the box would be useful for anything with only 256M. With that said, I can keep a box running at max disk r/w for hours on end with 2GB, and 1536M allocated/reserved for ZFS. Perhaps however that there have been enhancements introduced that I don't know about, that allow ZFS to operate in such a small memory address space, but for some reason I doubt it. If I'm wrong, someone will let us know ;) Steve ___ 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: CD doesn't eject from the drive.
On Wed, Sep 16, 2009 at 09:22:10PM -0700, Yuri wrote: I have PIONEER Model DVD-RW DVR-112D. I started the command cdda2wav -v255 -D5,0,0 -B -Owav to grab audio but stopped it with Ctrl-C. Now disk doesn't eject. Both eject command and cdcontrol -f /dev/acd0 eject commands hang, and system log gets messages, see below. It seems like a bug in atapi driver, since it didn't clear the state of cdrom hardware after controlling app died. Anybody knows how to eject the disk now without rebooting? Do you have some process active in the CD image - such as is some process or shell (X-window or whatever) CD-ed to somewhere in the mount point of the DVD.eg, say you mounted the DVD at /cdrom and then did a cd /cdrom/song or whatever or some process you were using such as the 'cdda2wav' utility CD-ed to it and was left there.For example, after you did the CTRL-C, it quit right there and stayed CD-ed to the image. In that case, it will not eject, either under program control or manually. The solution is to make sure there is no process or shell that is CD-ed to the image. jerry 72-STABLE. Yuri messages acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request aaccdd00:: WWAARRNNIINNGG -- PRREEAVDE_NTTO_CA LtLaOsWk qtuaesukeq uteiumee otuitm e-o ucto m-p lceotmipnlge trienqgu ersetq udeisrte cdtilryec tly acd0: WARNING - PREVENT_ALLOW freeing taskqueue zombie request acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly acd0: WARNING - READ_TOC freeing taskqueue zombie request ___ 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
libxcb won't compile from ports
FreeBSD 7.2-RELEASE, i386 Running 'make install clean' from /usr/ports/x11/libxcb returns the patch error pasted below. Thanks in advance for clues on resolving this. I did not see anything helpful in the archives or on Google. dn somehost# cd /usr/ports/x11/libxcb/ somehost# make clean === Cleaning for libxcb-1.4 somehost# make install clean === Vulnerability check disabled, database not found === Extracting for libxcb-1.4 = MD5 Checksum OK for libxcb-1.4.tar.bz2. = SHA256 Checksum OK for libxcb-1.4.tar.bz2. === Patching for libxcb-1.4 === Applying FreeBSD patches for libxcb-1.4 1 out of 1 hunks failed--saving rejects to src/xcb_auth.c.rej = Patch patch-src-xcb_auth.c failed to apply cleanly. = Patch(es) patch-Makefile.in applied cleanly. *** Error code 1 Stop in /usr/ports/x11/libxcb. And here is /usr/ports/x11/libxcb/work/libxcb-1.4/src/xcb_auth.c.rej: *** *** 251,257 info-namelen = memdup(info-name, authptr-name, authptr-name_length); if(info-namelen) - ret = compute_auth(info, authptr, sockname); if(!ret) { free(info-name); --- 251,262 info-namelen = memdup(info-name, authptr-name, authptr-name_length); if(info-namelen) + { + if (getsockname(fd, sockname, socknamelen) == -1) + ret = 0; + else + ret = compute_auth(info, authptr, sockname); + } if(!ret) { free(info-name); ___ 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: libxcb won't compile from ports
On Thu, Sep 17, 2009 at 07:45:52AM -0700, David Newman wrote: FreeBSD 7.2-RELEASE, i386 Running 'make install clean' from /usr/ports/x11/libxcb returns the patch error pasted below. Thanks in advance for clues on resolving this. I did not see anything helpful in the archives or on Google. Try `make distclean' and then `make make install' Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpXmxSCcgygO.pgp Description: PGP signature
Re: Someone using eclipse PDT?
I used eclipse for a while, but i prefer netbeans. Have you used it? http://www.freshports.org/java/netbeans/ Sorry, but I never used eclipse on FBSD. On Wed, Sep 16, 2009 at 9:30 AM, Sdävtaker sdavta...@gmail.com wrote: Hi, i was wondering if someone coud install the PDT for eclipse, i can successfull install eclipse from ports, but pdt is not a port and using the standard procedure installing elcipse packages from the update tool fails. Damian ___ 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 -- PGP KeyID: 0xC730A079 Key fingerprint = F626 3C47 02F5 E43C 6620 8A1B E7A8 533B C730 A079 gpg --keyserver pgp.mit.edu --recv-keys C730A079 ASCII Ribbon Campaign Against HTML e-mail Microsoft Attachments FreeBSD Since 4.x unixbsd.blogspot.com maintainer ___ 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
IPF, NAT or NIC
I'm new in BSD, I installed FreeBSD 7.2 and want to use as gateway with IPF and NAT. I have 2 NIC's fxp0 and rl0. When i booted up my pc i got a message gateway kernel: arp xxx.xxx.88.17 is on fxp0 but got reply from rl0. My configuration files looks like this: rc.conf clear_tmp_enable=YES hostname=gateway.fbsdfreeco.com ifconfig_fxp0= inet xxx.xxx.88.20 netmask 255.255.255.240 gateway_enable=YES ipfilter_enable=YES ipmon_enable=YES ipmon_flags=-Ds ipnat_enable=YES ipnat_rules=/etc/ipnat.rules ifconfig_rl0=inet 192.168.1.2 netmask 255.255.255.0 defaultrouter=xxx.xxx.88.17 resolv.conf search xxx.xxx.88.17 nameserver xxx.xxx.88.17 nameserver xxx.xxx.xxx.xxx ipf.loadrules.sh oif=fxp0 odns=xxx.xxx.88.17 myip=xxx.xxx.88.20 ks=keep state fks=flags S keep state /sbin/ipf -Fa -f - EOF pass out quick on $oif proto tcp from any to $odns port = 53 $fks pass out quick on $oif proto udp from any to $odns port = 53 $ks pass out quick on $oif proto tcp from xxx.xxx.88.20 to any port = 80 $fks pass out quick on $oif proto tcp from xxx.xxx.88.20 to any port = 443 $fks EOF ipnat.rules map fxp0 192.168.1.0/16 - xxx.xxx.88.20/32 rdr fxp0 0.0.0.0/0 - xxx.xxx.88.20 map fxp0 192.168.0.0/16 - 0/32 proxy port 21 ftp/tcp map fxp0 0.0.0.0/0 - 0/32 map fxp0 192.168.0.0/16 - 0/32 --- ISP Gateway-fxp0--ping-ok---My Gateway-rl0-LAN--Switch---ping-ok---pc ISP IP - xxx.xxx.88.17 (static) My IP - xxx.xxx.88.20 (fxp0 static) My IP - 192.168.1.2 (rl0 private) pc IP - 192.168.1.x (private) where's the problem? -- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25491958.html Sent from the freebsd-questions mailing list archive at Nabble.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
Re: port math/gnuplot hangs and ignores kill -9
On Thu, Sep 17, 2009 at 03:16:16PM +0200, Roland Smith wrote: On Thu, Sep 17, 2009 at 01:34:04PM +0100, Anton Shterenlikht wrote: It could be that the process is stuck in the 'D' state (uninterruptable wait). You can veryfiy that by running 'ps -u' and looking in the eight column when gnuplot is running. Does the window with the plot actually appear? Interactive use of gnuplot-4.2.6 is fine on amd64 7.2-RELEASE-p2. I reinstalled gnuplot-4.2.6 and (hopefully) all ports on which it depends. I still get the same behaviour. top -PISu shows: last pid: 108; load averages: 0.88, 0.35, 0.19up 2+02:23:38 13:27:52 109 processes: 4 running, 88 sleeping, 17 waiting CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 1: 0.0% user, 0.0% nice, 100% system, 0.0% interrupt, 0.0% idle Mem: 105M Active, 2074M Inact, 363M Wired, 768K Cache, 827M Buf, 5322M Free Swap: 19G Total, 19G Free PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 0 2 171 ki31 0K64K RUN 0 77.9H 100.00% idle 2 1001 2 480 98240K 55608K CPU11 0:00 100.00% gnuplot so gnuplot is using 100% and all in system state. and ps -u: USERPID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND mexas 2 98.1 0.7 98240 55608 5 R+1:25pm 0:00.72 gnuplot so the state is not D. The window does appear (just using simple gnuplot plot sin(x), and the terminal is set to 'wxt', but nothing ever apears in the window. The wxt terminal is only available when gnuplot is compiled with the wxWidgets toolkit. Try using the plain x11 terminal, and see if that works better? Roland, perhaps you also know the origin of this gnuplot warning: Could not find/open font when opening font arial, using internal non-scalable font From searching the net it appears that gnuplot is not finding truetype fonts, something to do with GD library. I've got xorg-fonts-truetype-7.4 and gd-2.0.35_1,1 installed. So I'm not sure what the problem is. Several functions are not available without truetype fonts, e.g. label rotation, which is sometimes useful. many thanks anton -- 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: New mail server setup
Hello Steve: I'll try to answer your questions in line. snip Another approach would be a cluster of Postfix servers and Dovecot servers behind PF load balancers. We have 3 POP servers (IMAP/POP), 9 Mail Servers, 2 Defer servers and 5 Filter servers that process over 20 million messages a day without a blip. We can take individual servers out of the pool for maintenance, etc. Everything is fed to a set of redundant NAS for the data storage and common configuration files. Thanks Mike, I'm interested to learn a little more about your setup. I was going to take it off-list, but if you can provide some further details, it would probably add long-term value to keep it here. So, a couple of questions: - can your PF load balancers 'sense' when one of the Postfix/Dovecot units are down, or is this a manual change in config to prevent any time-out conditions? Not natively. When we initially implemented this setup, ifstated wasn't up to snuff, so we wrote some PERL scripts that make connections to the required ports and, if no connection is established, pull the server from the table and send us an alarm. We also have scripts so that we can pull servers out when we're doing maintenance. I like this load balancer idea. In my environment, it would be trivial to set up a couple of them, throw Quagga on them, and integrate them directly into our iBGP setup. On the other side, I could use VRRP or the like to ensure redundancy from front to back. We use two PF boxes and CARP with PFSync for failover, so no dynamic protocols are needed. - do the Postfix/Dovecot servers communicate with each other, or are they simply stand-alone units that don't know/care that they have other peers helping with the workload? They are standalone. All of the user authentication is handled from a centralized database, so there are no local credentials stored on the server. - are your filter servers in front of, or behind the load balancers (iow, is all of your inbound email passed through the balancers, and then filtered/processed/delivered in behind them)? They are behind the PF boxes. We have other hooks in PF that we use to block SPAM in PF, including Cloudmark and some custom stuff that looks for multiple mails to non-existent addresses. We also use the overload tables for abusive connections. - how do all of the pieces communicate with the NAS...NFS? Yes. Originally we used TCP but we found performance to be much better with UDP. NFSv3 by the way. - could you share a small snip of your PF config in relation to load-balancing, so I can get a bit of a better understanding config- wise on how that piece hangs together? (I've never used PF, only IFPW ;) That might be difficult because it's about 720 lines. :-) Here are some highlights, though. 1) Our customers use mail.adhost.com for everything - SMTP, POP and IMAP. We use redirects in PF so that traffic coming in on the associated ports goes to the appropriate servers. 2) We have our load-balanced DNS servers behind the same PF boxes so we localize the tons of DNS queries related to mail. 3) We do a lot of our rejecting in PF, including Spamhaus, Cloudmark, check scripts for Phishing, Porn and Viruses, as well as our own list of Nefarious IP's culled from various sources. When traffic matches these originators, we send them to mail reject servers that send out a 550 message with the group name so we can find false positives more quickly. 4) Because 3 does have false positives, we have a whitelist that we can add to that will pass traffic to the mail servers before they match against any of the tables in 3. 5) We use POP before SMTP, so once we authenticate a user to send, their IP address is also added to an allow table. 6) The filter servers are load balanced to and from the mail servers so we can take them in and out of their pool for maintenance. If you have a particular scenario you're thinking about I could help you with the rules to make it work. Regards, Mike ___ 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: port math/gnuplot hangs and ignores kill -9
On Thu, Sep 17, 2009 at 04:58:14PM +0100, Anton Shterenlikht wrote: Roland, perhaps you also know the origin of this gnuplot warning: Could not find/open font when opening font arial, using internal non-scalable font From searching the net it appears that gnuplot is not finding truetype fonts, something to do with GD library. I've got xorg-fonts-truetype-7.4 and gd-2.0.35_1,1 installed. So I'm not sure what the problem is. When using gd fonts, you must either specify either the full path of the font file, or the font filename (not the font name, AFAIK). In the latter case you have to set the GDFONTPATH variable containing the path. Several functions are not available without truetype fonts, e.g. label rotation, which is sometimes useful. I used the following with the PNG terminal: set terminal png font /usr/local/lib/X11/fonts/dejavu/DejaVuSansMono.ttf 8 \ size 300,150 x76848f xb1b1b1 xb1b1b1 x00ff00 x00ff00 x00ff00 x00ff00 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) pgpkOdmMGXd3U.pgp Description: PGP signature
Re: libxcb won't compile from ports
On 9/17/09 8:10 AM, Daniel Bye wrote: On Thu, Sep 17, 2009 at 07:45:52AM -0700, David Newman wrote: FreeBSD 7.2-RELEASE, i386 Running 'make install clean' from /usr/ports/x11/libxcb returns the patch error pasted below. Thanks in advance for clues on resolving this. I did not see anything helpful in the archives or on Google. Try `make distclean' and then `make make install' This produced the same result. Thanks again for any additional clues in resolving this error. dn o# cd /usr/ports/x11/libxcb/ somehost# make distclean === Cleaning for libxcb-1.4 === Deleting distfiles for libxcb-1.4 somehost# make make install === Vulnerability check disabled, database not found = libxcb-1.4.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://xcb.freedesktop.org/dist/. libxcb-1.4.tar.bz2100% of 298 kB 29 kBps 00m00s === Extracting for libxcb-1.4 = MD5 Checksum OK for libxcb-1.4.tar.bz2. = SHA256 Checksum OK for libxcb-1.4.tar.bz2. === Patching for libxcb-1.4 === Applying FreeBSD patches for libxcb-1.4 1 out of 1 hunks failed--saving rejects to src/xcb_auth.c.rej = Patch patch-src-xcb_auth.c failed to apply cleanly. = Patch(es) patch-Makefile.in applied cleanly. *** Error code 1 Stop in /usr/ports/x11/libxcb. ___ 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: New mail server setup
Michael K. Smith - Adhost wrote: - can your PF load balancers 'sense' when one of the Postfix/Dovecot units are down, or is this a manual change in config to prevent any time-out conditions? Not natively. When we initially implemented this setup, ifstated wasn't up to snuff, so we wrote some PERL scripts that make connections to the required ports and, if no connection is established, pull the server from the table and send us an alarm. We also have scripts so that we can pull servers out when we're doing maintenance. Ok. I've done the above in similar situations numerous times, so that works. I like this load balancer idea. In my environment, it would be trivial to set up a couple of them, throw Quagga on them, and integrate them directly into our iBGP setup. On the other side, I could use VRRP or the like to ensure redundancy from front to back. We use two PF boxes and CARP with PFSync for failover, so no dynamic protocols are needed. I'll have to review this further. I'm not overly familiar with CARP (ie I've never used it), nor PFSync. My mentality for infrastructure gear (the balancers, not the servers) is always make each device connect to two different switches/routers, and try to make it dynamic in a way that it fits into our OSPF/iBGP design, so if necessary, we can move the entire thing to a different network segment, and not have to renumber. I'm getting a mental picture how I can have load balancing failover with the two devices, and network resiliency by having each balancer connected to different network segments (between buildings over fibre if I want). - do the Postfix/Dovecot servers communicate with each other, or are they simply stand-alone units that don't know/care that they have other peers helping with the workload? They are standalone. All of the user authentication is handled from a centralized database, so there are no local credentials stored on the server. Perfect...do your auth/acct db's generally reside on the same storage mechanism that the data does, in order to keep 'email related stuff' altogether? - are your filter servers in front of, or behind the load balancers (iow, is all of your inbound email passed through the balancers, and then filtered/processed/delivered in behind them)? They are behind the PF boxes. We have other hooks in PF that we use to block SPAM in PF, including Cloudmark and some custom stuff that looks for multiple mails to non-existent addresses. We also use the overload tables for abusive connections. Ok. We have a Barracuda cluster hanging off of one of our Internet facing edge routers, that filters then passes what it allows back into the network, and to the servers. The only reason I don't aggregate all of the mail systems together, is so that I can filter the spam as soon as possible upon ingress to our network, instead of having it traverse the core. - how do all of the pieces communicate with the NAS...NFS? Yes. Originally we used TCP but we found performance to be much better with UDP. NFSv3 by the way. Ok. [ snip ] If you have a particular scenario you're thinking about I could help you with the rules to make it work. I do, and that would be fantastic! I'll draw up a diagram this afternoon of what I envision. Where I'll need a bit of advice will likely be in the details, as opposed to the design, especially if I migrate completely away from our existing mail platform(s). Cheers! Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: passing options thru '/etc/rc.d/foo start'
On Wednesday 16 September 2009 21:18:03 Tom Worster wrote: On 9/16/09 2:37 PM, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Wednesday 16 September 2009 20:21:40 Chris Cowart wrote: Tom Worster wrote: thanks, Mel, that's good to know. i think your suggestion of modifying rc.conf will turn out to be a tidy solution for me. You could also just put: sshd_flags=-o X11Forwarding=no into your /etc/rc.conf file. What he wants is passing arguments without touching config files, which I find myself needing sometimes as well, on machines where static partitions are mounted read-only + kern.secure_level. that's right. when i read in 11.7 of the handbook: Since the rc.d system is primarily intended to start/stop services at system startup/shutdown time, ... i thought: maybe i'm making things hard by trying to use rc.d scripts when i could just execute the daemon's binary. One downside I forgot to mention: You do open yourself up now to SSHD_FLAGS=-o AllowRoot=yes, so you may need to complicate the logic a bit more, by sanitizing SSHD_FLAGS. -- Mel ___ 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 lagg0 failback be prevented?
On Wednesday 16 September 2009 20:58:45 Peter Steele wrote: Not really, unless you manually change master. However I believe this also causes a slight or even bigger network outage. Any reason you're not using loadbalance algorithm, since it seems to suit you better? Our resident network guru is quite opposed to using the loadbalancing option since it comes with a lot of potentially undesirable baggage of its own... Then your best option is to patch lagg(4) with an avail algorithm, that prefers $master and sticks with an interface till it's detected down. When done properly the chances are good to get this into base. Another approach would be to change the failover with a 'fader' algorithm, that gradually fades from one nic to the other, kind of like an audio mixer, though I'm not sure if that's possible and would work satisfactory. -- Mel ___ 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: mpt timed out and Re: port math/gnuplot hangs and ignores kill -9
On Thursday 17 September 2009 15:57:43 Anton Shterenlikht wrote: On Thu, Sep 17, 2009 at 02:40:24PM +0100, Anton Shterenlikht wrote: On Thu, Sep 17, 2009 at 03:16:16PM +0200, Roland Smith wrote: On Thu, Sep 17, 2009 at 01:34:04PM +0100, Anton Shterenlikht wrote: It could be that the process is stuck in the 'D' state (uninterruptable wait). You can veryfiy that by running 'ps -u' and looking in the eight column when gnuplot is running. Does the window with the plot actually appear? Interactive use of gnuplot-4.2.6 is fine on amd64 7.2-RELEASE-p2. I reinstalled gnuplot-4.2.6 and (hopefully) all ports on which it depends. I still get the same behaviour. top -PISu shows: last pid: 108; load averages: 0.88, 0.35, 0.19up 2+02:23:38 13:27:52 109 processes: 4 running, 88 sleeping, 17 waiting CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 1: 0.0% user, 0.0% nice, 100% system, 0.0% interrupt, 0.0% idle Mem: 105M Active, 2074M Inact, 363M Wired, 768K Cache, 827M Buf, 5322M Free Swap: 19G Total, 19G Free PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 0 2 171 ki31 0K64K RUN 0 77.9H 100.00% idle 2 1001 2 480 98240K 55608K CPU11 0:00 100.00% gnuplot so gnuplot is using 100% and all in system state. and ps -u: USERPID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND mexas 2 98.1 0.7 98240 55608 5 R+1:25pm 0:00.72 gnuplot so the state is not D. The window does appear (just using simple gnuplot plot sin(x), and the terminal is set to 'wxt', but nothing ever apears in the window. The wxt terminal is only available when gnuplot is compiled with the wxWidgets toolkit. Try using the plain x11 terminal, and see if that works better? yes, that works fine! Thank you! So the problem must be with wxgtk2-2.8.10_1 and wxgtk2-common-2.8.10_1 ? How can I kill the offending gnuplot process? On reboot I see this on the console: System shutdown time has arrived Stopping cron. Stopping sshd. Stopping ntpd. Stopping devd. Writing entropy file:mpt0: request 0xa00d2140:52792 timed out for ccb 0x e00019ece800 (req-ccb 0xe00019ece800) mpt0: completing timedout/aborted req 0xa00d2140:52792 mpt0: Timedout requests already complete. Interrupts may not be functioning. Sep 17 14:49:59 mech-cluster241 syslogd: exiting on signal 15 Sep 17 14:49:59 init: timeout expired for /bin/sh on /etc/rc.shutdown: Interrupt ed system call; going to single user mode Sep 17 14:50:19 init: some processes would not die; ps axl advised Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...3 1 2 I'm a bit worried about mpt0 messages - this is the SCSI driver. Does this indicate a problem with mpt? Since gnuplot was spinning in kernel mode, all bets are off. This timeout is most likely a side effect from that, unless you see this every reboot not just with an unkillable gnuplot. If your system has the ability to run procstat -k, you might find out what gnuplot is spinning on. You'll need at least a 7.x system, but I'm not sure if kernelthreads are supported on ia64 and kernel needs to have STACK or DDB options. -- Mel ___ 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: ipfw + NAT doesn't work
On Thu, Sep 17, 2009 at 10:14:15AM -0400, Robert Huff typed: I have a machine running FreeBSD 9.0-CURRENT #3: Tue Sep 15 18:49:58 EDT 2009 amd64 It has this in the config file for the running kernel: options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity options IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by default options IPFIREWALL_NAT #ipfw kernel nat support options LIBALIAS It (10.0.0.1) connects correctly to another machine (10.0.0.3); I know because .3 mounts one of .1's disks using Samba. With the ipfw rules appended below, I can't NAT, nor should I be able to. (em0 faces the Internet; em1 faces the other machine.) However: using these I still can't get through Through to what? You seem to be able to connect on a local subnet, but not to the internet through NAT, which you say is ok, because you shouldn't ? Please explain exactly what you want to do. Have I forgotten something? Or misunderstood something? If not ... how do I figure out what's wrong? /var/log/security is a good place to start, as your config seems to log allmost all denies. BTW, CURRENT is a development branch. Fine if you want to run it, but you should do some basic debugging yourself before posting problems with it. And then the -questions list is probably not the best place to find answers. regards, Ruben ___ 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 on small systems
On Thu, Sep 17, 2009 at 04:35:37PM +0200, Anselm Strauss typed: Thanks for your advice, Steve. I looked a bit at the source code and in /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c and I found this: /* set min cache to 1/32 of all memory, or 16MB, whichever is more */ arc_c_min = MAX(arc_c / 4, 6418); Could this mean that 16 MB are already enough to run ZFS? I seriously doubt it. Ruben ___ 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: IPF, NAT or NIC
On Thu, Sep 17, 2009 at 08:27:45AM -0700, Freeco typed: I'm new in BSD, I installed FreeBSD 7.2 and want to use as gateway with IPF and NAT. I have 2 NIC's fxp0 and rl0. When i booted up my pc i got a message gateway kernel: arp xxx.xxx.88.17 is on fxp0 but got reply from rl0. My configuration files looks like this: [...] where's the problem? Both interfaces are on the same physical subnet. Ruben ___ 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: Someone using eclipse PDT?
I could make freebsd work in FreeBSD the problem is it says it cant install any plugin, so i cant fetch the PDT components, as far as i know netbeans lacks a lot of functionalities in PHP or other scripting languages, anyway, i will give it a shoot, thanks for reply On Thu, Sep 17, 2009 at 12:04, Pablo Mora bid...@gmail.com wrote: I used eclipse for a while, but i prefer netbeans. Have you used it? http://www.freshports.org/java/netbeans/ Sorry, but I never used eclipse on FBSD. On Wed, Sep 16, 2009 at 9:30 AM, Sdävtaker sdavta...@gmail.com wrote: Hi, i was wondering if someone coud install the PDT for eclipse, i can successfull install eclipse from ports, but pdt is not a port and using the standard procedure installing elcipse packages from the update tool fails. Damian ___ 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 -- PGP KeyID: 0xC730A079 Key fingerprint = F626 3C47 02F5 E43C 6620 8A1B E7A8 533B C730 A079 gpg --keyserver pgp.mit.edu --recv-keys C730A079 ASCII Ribbon Campaign Against HTML e-mail Microsoft Attachments FreeBSD Since 4.x unixbsd.blogspot.com maintainer -- Sdävtaker prays to Rikku goddess for a good treasure. ___ 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: passing options thru '/etc/rc.d/foo start'
On Thu, Sep 17, 2009 at 07:14:29PM +0200, Mel Flynn typed: On Wednesday 16 September 2009 21:18:03 Tom Worster wrote: On 9/16/09 2:37 PM, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Wednesday 16 September 2009 20:21:40 Chris Cowart wrote: Tom Worster wrote: thanks, Mel, that's good to know. i think your suggestion of modifying rc.conf will turn out to be a tidy solution for me. You could also just put: sshd_flags=-o X11Forwarding=no into your /etc/rc.conf file. What he wants is passing arguments without touching config files, which I find myself needing sometimes as well, on machines where static partitions are mounted read-only + kern.secure_level. that's right. when i read in 11.7 of the handbook: Since the rc.d system is primarily intended to start/stop services at system startup/shutdown time, ... i thought: maybe i'm making things hard by trying to use rc.d scripts when i could just execute the daemon's binary. One downside I forgot to mention: You do open yourself up now to SSHD_FLAGS=-o AllowRoot=yes, so you may need to complicate the logic a bit more, by sanitizing SSHD_FLAGS. Please explain how this can be exploited by a non-root user? Ruben ___ 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: portupgrade broken
Jerry wrote: On Wed, 16 Sep 2009 11:18:39 +0200 DA Forsyth d.fors...@ru.ac.za wrote: [snip] I saw someone ask about this in Google Groups on the 14th but he has not got an answer yet, so I am not the only one. How do I fix this? You could try the following; 1) Update your ports tree. including updating INDEX-7 or is that taken as read? #make fetchindex if done at the same time as updating the ports tree #make index any other time but it takes a long time Chris 2) Remove: /var/db/pkg/pkgdb.db 3) Run: /usr/local/sbin/pkgdb -Ffuv 4: Run: /usr/local/sbin/portsdb -fUu 4) Run: /usr/sbin/pkg_version -vIL= Now run portupgrade as you normally do and see what transpires. If that still fails, install /usr/ports/ports-mgmt/portmanager Then run it as thus: portmanager -u -l -y -p I have had great success in getting updates completed successfully with portmanager when portupgrade and portmaster both crapped out. I would suggest that you consider deleting the contents of the /usr/ports/distfiles prior to running any of the above port utility programs. ___ 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[2]: ipfw + NAT doesn't work
kes-...@yandex.ru writes: If not ... how do I figure out what's wrong? What is your ipfw rules? They were appended to the original post. Robert Huff ___ 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[2]: ipfw + NAT doesn't work
Здравствуйте, Ruben. If not ... how do I figure out what's wrong? What is your ipfw rules? Вы писали 17 сентября 2009 г., 20:45:01: RdG On Thu, Sep 17, 2009 at 10:14:15AM -0400, Robert Huff typed: I have a machine running FreeBSD 9.0-CURRENT #3: Tue Sep 15 18:49:58 EDT 2009 amd64 It has this in the config file for the running kernel: options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity options IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by default options IPFIREWALL_NAT #ipfw kernel nat support options LIBALIAS It (10.0.0.1) connects correctly to another machine (10.0.0.3); I know because .3 mounts one of .1's disks using Samba. With the ipfw rules appended below, I can't NAT, nor should I be able to. (em0 faces the Internet; em1 faces the other machine.) However: using these I still can't get through RdG Through to what? You seem to be able to connect on a local subnet, but RdG not to the internet through NAT, which you say is ok, because you shouldn't ? RdG Please explain exactly what you want to do. Have I forgotten something? Or misunderstood something? If not ... how do I figure out what's wrong? RdG /var/log/security is a good place to start, as your config seems to log allmost RdG all denies. RdG BTW, CURRENT is a development branch. Fine if you want to run it, but you RdG should do some basic debugging yourself before posting problems with it. And RdG then the -questions list is probably not the best place to find answers. -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
Virtualbox does not lunch (FREEBSD 7.2 STABLE)
Hi folks! I do have a problem when launching VirtualBox (installed from source), when launched as a normal user it doesnt lunch. Takes few secs... but nothing happens... $ id uid=1001(iscariote) gid=0(wheel) groups=0(wheel),920(vboxusers) User has been added to vboxusers mount: $ mount procfs on /proc (procfs, local) any ideas?? I did follow following: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization-host.html ___ 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: warning, 100pc Ot... almost
Gary Kline wrote: this is only to the few hundred of you guys who read the slice of my novel. before i invest another twenty minutes in it, i'd be much obliged how many of you would actually buy th ebook. WEll, either ebook of pod. please answer only offlist; i'm asking here because this is where most of you guys know me. real question: anybody know when the latest OOo package will be available? by sheer carelessness i blew mine away. the only pkg on good-day is the amd can anybody build me a cp of OOo.311. i'm still running i386 7.1. on ubuntu, only 2.4, :( you could _try_ one from here http://freebsd-custom.wikidot.com/downloads-page it's 3.1.0 and FreeBSD 7.2 but it might do the trick. Chris tx in advance, gary :wq ___ 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: Virtualbox does not lunch (FREEBSD 7.2 STABLE)
On Thu, Sep 17, 2009 at 06:36:08PM +, Jeronimo Calvo wrote: Hi folks! I do have a problem when launching VirtualBox (installed from source), when launched as a normal user it doesnt lunch. Takes few secs... but nothing happens... Did you kldload vboxdrv.ko? -- Jonathan Chen j...@chen.org.nz -- A person should be able to do a small bit of everything, specialisation is for insects ___ 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: passing options thru '/etc/rc.d/foo start'
On Thursday 17 September 2009 19:55:33 Ruben de Groot wrote: On Thu, Sep 17, 2009 at 07:14:29PM +0200, Mel Flynn typed: On Wednesday 16 September 2009 21:18:03 Tom Worster wrote: On 9/16/09 2:37 PM, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Wednesday 16 September 2009 20:21:40 Chris Cowart wrote: Tom Worster wrote: thanks, Mel, that's good to know. i think your suggestion of modifying rc.conf will turn out to be a tidy solution for me. You could also just put: sshd_flags=-o X11Forwarding=no into your /etc/rc.conf file. What he wants is passing arguments without touching config files, which I find myself needing sometimes as well, on machines where static partitions are mounted read-only + kern.secure_level. that's right. when i read in 11.7 of the handbook: Since the rc.d system is primarily intended to start/stop services at system startup/shutdown time, ... i thought: maybe i'm making things hard by trying to use rc.d scripts when i could just execute the daemon's binary. One downside I forgot to mention: You do open yourself up now to SSHD_FLAGS=-o AllowRoot=yes, so you may need to complicate the logic a bit more, by sanitizing SSHD_FLAGS. Please explain how this can be exploited by a non-root user? By adding this to .profile of compromised wheel account and waiting for him to run sudo -E or using an older version of sudo. Yes, it's an unlikely path. More to the point, it defeats having ro mounted /etc + secure level, since no reboot is required to modify the running sshd, so you're compromising your failsafe. -- Mel ___ 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: portupgrade broken
Chris Whitehouse wrote: Jerry wrote: On Wed, 16 Sep 2009 11:18:39 +0200 DA Forsyth d.forsyth at ru.ac.za wrote: [snip] I saw someone ask about this in Google Groups on the 14th but he has not got an answer yet, so I am not the only one. How do I fix this? You could try the following; 1) Update your ports tree. including updating INDEX-7 or is that taken as read? #make fetchindex if done at the same time as updating the ports tree #make index any other time but it takes a long time Or just add the F flag to the portsdb call in step 4:. b. Chris 2) Remove: /var/db/pkg/pkgdb.db 3) Run: /usr/local/sbin/pkgdb -Ffuv 4: Run: /usr/local/sbin/portsdb -fUu 4) Run: /usr/sbin/pkg_version -vIL= ___ 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: Virtualbox does not lunch (FREEBSD 7.2 STABLE)
Yes, I do # kldload vboxdrv.ko kldload: can't load vboxdrv.ko: File exists 2009/9/17 Jonathan Chen j...@chen.org.nz: On Thu, Sep 17, 2009 at 06:36:08PM +, Jeronimo Calvo wrote: Hi folks! I do have a problem when launching VirtualBox (installed from source), when launched as a normal user it doesnt lunch. Takes few secs... but nothing happens... Did you kldload vboxdrv.ko? -- Jonathan Chen j...@chen.org.nz -- A person should be able to do a small bit of everything, specialisation is for insects ___ 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: Virtualbox does not lunch (FREEBSD 7.2 STABLE)
On Fri, 2009-09-18 at 07:00 +1200, Jonathan Chen wrote: On Thu, Sep 17, 2009 at 06:36:08PM +, Jeronimo Calvo wrote: Hi folks! I do have a problem when launching VirtualBox (installed from source), when launched as a normal user it doesnt lunch. Takes few secs... but nothing happens... Did you kldload vboxdrv.ko? Hi Have you tried running it under truss ? I think you might find that it will say - Error in SUPR3HardenedMain and hang... Solution; Rebuild and install Virtualbox port after editing Config.kmk so that VBOX_WITH_HARDENING = 0 Hope it helps Cheers Craig Butler ___ 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: Virtualbox does not lunch (FREEBSD 7.2 STABLE)
True... when runned $truss VirtualBox it gives me Error in SUPR3hardenedmain... How do i reinstall the package properly to get VBOX_WITH_HARDENING = 0 ? Thanks a lot!! 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Fri, 2009-09-18 at 07:00 +1200, Jonathan Chen wrote: On Thu, Sep 17, 2009 at 06:36:08PM +, Jeronimo Calvo wrote: Hi folks! I do have a problem when launching VirtualBox (installed from source), when launched as a normal user it doesnt lunch. Takes few secs... but nothing happens... Did you kldload vboxdrv.ko? Hi Have you tried running it under truss ? I think you might find that it will say - Error in SUPR3HardenedMain and hang... Solution; Rebuild and install Virtualbox port after editing Config.kmk so that VBOX_WITH_HARDENING = 0 Hope it helps Cheers Craig Butler ___ 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: Change one file in an ISO image
Patrick Gelsema wrote: If the linux suggestion fails I will try this one. I'm not sure exactly what you're trying to do here -- but from what I saw, the suggestions you are referring to only mentioned different ways of mounting the iso image from the dvd. Whether you mount the dvd, or just use some tool to extract the contents of the dvd without mounting it, you will still have to edit the contents, and then write them to a new medium. Most disks do not allow easy in-place editing of their contents, and in any case I would be reluctant to do this for WinPE. Unfortunately I can't do Make release as it is not Freebsd. It is a Windows based boot cd. I think by make a release, the poster meant that you would use a WAIK or BartPE or whatever to make a new version of WinPE that incorporates your changes, and not that you would use a literal make release. If WinPE has some kind of self-consistency checks against the content of it's own files that may be violated by editing one of them in an existing image, then you may have to do this anyway. b. ___ 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: Virtualbox does not lunch (FREEBSD 7.2 STABLE)
On Thu, 2009-09-17 at 20:32 +0100, Jeronimo Calvo wrote: True... when runned $truss VirtualBox it gives me Error in SUPR3hardenedmain... How do i reinstall the package properly to get VBOX_WITH_HARDENING = 0 ? # cd /usr/ports/emulators/virtualbox/ # make clean # make extract patch # edit work/virtualbox-3.0.51r22683/Config.kmk (or LocalConfig.kmk) so that VBOX_WITH_HARDENING = 0 # make # make deinstall # make reinstall /Craig B Thanks a lot!! 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Fri, 2009-09-18 at 07:00 +1200, Jonathan Chen wrote: On Thu, Sep 17, 2009 at 06:36:08PM +, Jeronimo Calvo wrote: Hi folks! I do have a problem when launching VirtualBox (installed from source), when launched as a normal user it doesnt lunch. Takes few secs... but nothing happens... Did you kldload vboxdrv.ko? Hi Have you tried running it under truss ? I think you might find that it will say - Error in SUPR3HardenedMain and hang... Solution; Rebuild and install Virtualbox port after editing Config.kmk so that VBOX_WITH_HARDENING = 0 Hope it helps Cheers Craig Butler ___ 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: Change one file in an ISO image
On Thu, Sep 17, 2009 at 07:41:09PM +, b. f. wrote: Patrick Gelsema wrote: If the linux suggestion fails I will try this one. I'm not sure exactly what you're trying to do here -- but from what I saw, the suggestions you are referring to only mentioned different ways of mounting the iso image from the dvd. Whether you mount the dvd, or just use some tool to extract the contents of the dvd without mounting it, you will still have to edit the contents, and then write them to a new medium. Most disks do not allow easy in-place editing of their contents, and in any case I would be reluctant to do this for WinPE. Have a look at the sysutils/isomaster port. 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) pgpxcwVA4AaYT.pgp Description: PGP signature
Re: ZFS on small systems
2009/9/17 Ruben de Groot mai...@bzerk.org On Thu, Sep 17, 2009 at 04:35:37PM +0200, Anselm Strauss typed: Thanks for your advice, Steve. I looked a bit at the source code and in /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c and I found this: /* set min cache to 1/32 of all memory, or 16MB, whichever is more */ arc_c_min = MAX(arc_c / 4, 6418); Could this mean that 16 MB are already enough to run ZFS? I seriously doubt it. Ruben ___ 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 Sun dont recommend it on a system with 1 gb of ram, 2 or more is preferred though. ___ 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: Booting ZFS and GPT
2009/9/17 Anselm Strauss amsiba...@gmail.com Hi, I've read and tried out that FreeBSD is able to boot from ZFS directly, also with GPT partitions, through zfsboot and gptzfsboot. When I tried the last time 8-CURRENT it was however not built into the release CD. Will this be included in the final release image? Is there any plan to include GPT and ZFS setup in sysinstall during an initial installation? Cheers, Anselm ___ 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 To big a rewrite needed i think. I've heard of plans to potentially release a graphical installer based on pc-bsd, which will do all the bells an whistles. Not sure what stage its at though. The biggest thing we need for the release is for the loader to be compiled with zfs support in. It seems to have been in and out over the past few months so i try to make sure i have my own version specially compiled with it in. ___ 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
Boot failure mounting FreeBSD-8.0beta4 DVD
Dear Sirs After I had downloaded 8.0beta4 amd64 and recorded it on DVD on my Linux, I dont get booting this OS from DVD. I've followed all the info from man growisofs but it's unable to boot # growisofs -dvd-compat -Z /dev/dvd=8.0-BETA4... what's wrong? ___ 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: Virtualbox does not lunch (FREEBSD 7.2 STABLE)
I am getting the following error on #make deinstall # make deinstall === Deinstalling for emulators/virtualbox === Deinstalling virtualbox-3.0.51.r6 pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox/nls' pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) Btw, skipping that step and doing a #make reinstall it only takes few secs... and gives VirtualBox was installed. but when i run it as a normal user i get: $ VirtualBox bash: /usr/local/bin/VirtualBox: No such file or directory 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:32 +0100, Jeronimo Calvo wrote: True... when runned $truss VirtualBox it gives me Error in SUPR3hardenedmain... How do i reinstall the package properly to get VBOX_WITH_HARDENING = 0 ? # cd /usr/ports/emulators/virtualbox/ # make clean # make extract patch # edit work/virtualbox-3.0.51r22683/Config.kmk (or LocalConfig.kmk) so that VBOX_WITH_HARDENING = 0 # make # make deinstall # make reinstall /Craig B Thanks a lot!! 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Fri, 2009-09-18 at 07:00 +1200, Jonathan Chen wrote: On Thu, Sep 17, 2009 at 06:36:08PM +, Jeronimo Calvo wrote: Hi folks! I do have a problem when launching VirtualBox (installed from source), when launched as a normal user it doesnt lunch. Takes few secs... but nothing happens... Did you kldload vboxdrv.ko? Hi Have you tried running it under truss ? I think you might find that it will say - Error in SUPR3HardenedMain and hang... Solution; Rebuild and install Virtualbox port after editing Config.kmk so that VBOX_WITH_HARDENING = 0 Hope it helps Cheers Craig Butler ___ 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: warning, 100pc Ot... almost
On Thu, Sep 17, 2009 at 07:39:20PM +0100, Chris Whitehouse wrote: Gary Kline wrote: this is only to the few hundred of you guys who read the slice of my novel. before i invest another twenty minutes in it, i'd be much obliged how many of you would actually buy th ebook. WEll, either ebook of pod. please answer only offlist; i'm asking here because this is where most of you guys know me. real question: anybody know when the latest OOo package will be available? by sheer carelessness i blew mine away. the only pkg on good-day is the amd can anybody build me a cp of OOo.311. i'm still running i386 7.1. on ubuntu, only 2.4, :( you could _try_ one from here http://freebsd-custom.wikidot.com/downloads-page it's 3.1.0 and FreeBSD 7.2 but it might do the trick. Chris i've got the page bookmarked, thanks. and thanks to glenn for making this site available. (just a small fwiw, but i must've blown part of evo away because ir fails. kmail still works, tho. ) gary ps: i must really be tutrning into a feed; time for freebsd-for-dummies. =sigh= pps. thank for all 2 of you re my soon-to-be best selling novel [choke]!! tx in advance, gary :wq -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php ___ 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: Boot failure mounting FreeBSD-8.0beta4 DVD
On Thu, Sep 17, 2009 at 05:13:26PM -0300, LuizBCampos wrote: After I had downloaded 8.0beta4 amd64 and recorded it on DVD on my Linux, I dont get booting this OS from DVD. I've followed all the info from man growisofs but it's unable to boot Can you be somewhat more specific? What is the error that you get? Is your system set up to boot from DVD? # growisofs -dvd-compat -Z /dev/dvd=8.0-BETA4... what's wrong? Does the checksum of the DVD image match the one that you can find on the FTP site? If you run 'file' on the image, does it say that it is a bootable ISO 9660 filesystem? Ditto for the burned DVD? 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) pgpOuAvLx20aI.pgp Description: PGP signature
Re: Virtualbox does not lunch (FREEBSD 7.2 STABLE)
On Thu, 2009-09-17 at 20:45 +, Jeronimo Calvo wrote: I am getting the following error on #make deinstall # make deinstall === Deinstalling for emulators/virtualbox === Deinstalling virtualbox-3.0.51.r6 pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox/nls' pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) Btw, skipping that step and doing a #make reinstall it only takes few secs... and gives VirtualBox was installed. but when i run it as a normal user i get: $ VirtualBox bash: /usr/local/bin/VirtualBox: No such file or directory ok maybe the reinstall is broke... try; # make deinstall # make install 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:32 +0100, Jeronimo Calvo wrote: True... when runned $truss VirtualBox it gives me Error in SUPR3hardenedmain... How do i reinstall the package properly to get VBOX_WITH_HARDENING = 0 ? # cd /usr/ports/emulators/virtualbox/ # make clean # make extract patch # edit work/virtualbox-3.0.51r22683/Config.kmk (or LocalConfig.kmk) so that VBOX_WITH_HARDENING = 0 # make # make deinstall # make reinstall /Craig B Thanks a lot!! 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Fri, 2009-09-18 at 07:00 +1200, Jonathan Chen wrote: On Thu, Sep 17, 2009 at 06:36:08PM +, Jeronimo Calvo wrote: Hi folks! I do have a problem when launching VirtualBox (installed from source), when launched as a normal user it doesnt lunch. Takes few secs... but nothing happens... Did you kldload vboxdrv.ko? Hi Have you tried running it under truss ? I think you might find that it will say - Error in SUPR3HardenedMain and hang... Solution; Rebuild and install Virtualbox port after editing Config.kmk so that VBOX_WITH_HARDENING = 0 Hope it helps Cheers Craig Butler ___ 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: Virtualbox does not lunch (FREEBSD 7.2 STABLE)
same thing... when making #make deinstall i get the same error: === Deinstalling for emulators/virtualbox === Deinstalling virtualbox-3.0.51.r6 pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox/nls' pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) and when making install, keep saying that is already installed :S 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:45 +, Jeronimo Calvo wrote: I am getting the following error on #make deinstall # make deinstall === Deinstalling for emulators/virtualbox === Deinstalling virtualbox-3.0.51.r6 pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox/nls' pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) Btw, skipping that step and doing a #make reinstall it only takes few secs... and gives VirtualBox was installed. but when i run it as a normal user i get: $ VirtualBox bash: /usr/local/bin/VirtualBox: No such file or directory ok maybe the reinstall is broke... try; # make deinstall # make install 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:32 +0100, Jeronimo Calvo wrote: True... when runned $truss VirtualBox it gives me Error in SUPR3hardenedmain... How do i reinstall the package properly to get VBOX_WITH_HARDENING = 0 ? # cd /usr/ports/emulators/virtualbox/ # make clean # make extract patch # edit work/virtualbox-3.0.51r22683/Config.kmk (or LocalConfig.kmk) so that VBOX_WITH_HARDENING = 0 # make # make deinstall # make reinstall /Craig B Thanks a lot!! 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Fri, 2009-09-18 at 07:00 +1200, Jonathan Chen wrote: On Thu, Sep 17, 2009 at 06:36:08PM +, Jeronimo Calvo wrote: Hi folks! I do have a problem when launching VirtualBox (installed from source), when launched as a normal user it doesnt lunch. Takes few secs... but nothing happens... Did you kldload vboxdrv.ko? Hi Have you tried running it under truss ? I think you might find that it will say - Error in SUPR3HardenedMain and hang... Solution; Rebuild and install Virtualbox port after editing Config.kmk so that VBOX_WITH_HARDENING = 0 Hope it helps Cheers Craig Butler ___ 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
Unsolicited NFS notification causing panic?
I've been trying to debug a server running FreeBSD 7.2-RELEASE/amd64 that's hanging intermittently or rebooting without much luck. The machine hosts the home directories for the users over NFS. The workstations that use it are pretty much all Solaris 10 boxes (mostly sparc with five x86 installs), with between two and five Solaris 8 machines. The same machine is also a CUPS print server, which merely takes print requests and forwards them to networked printers. The machine had been running for about three weeks before exhibiting these problems (I had tinkered with using the RARP daemon, but have since reloaded the OS in an attempt to make sure my tinkering hadn't left any lasting damage). The only messages I'm getting from /var/log/messages are like the ones below (the last message sent before the machine went down and rebooted). Sep 17 13:54:32 server rpc.statd: Unsolicited notification from host hostname The machine itself is a Dell PowerEdge 2900, and the HDDs are three 1TB drives in RAID5 (two virtual HDDs). Any ideas as to what could be causing this? Our next test is to do a complete backup of the NFS partition onto a separate machine (different hardware) and test that one with a near-identical setup to screen for hardware problems. --Joseph Lenox ___ 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: Virtualbox does not lunch (FREEBSD 7.2 STABLE)
On Thu, 2009-09-17 at 20:56 +, Jeronimo Calvo wrote: same thing... when making #make deinstall i get the same error: === Deinstalling for emulators/virtualbox === Deinstalling virtualbox-3.0.51.r6 pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox/nls' pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) and when making install, keep saying that is already installed :S try pkg_delete with the -f flag; you'll need to; # pkg_info | grep virtualbox # pkg_delete -f virtualbox-versionhere then in virtualbox port dir # make install I suspect the make reinstall script failed to symlink the VirtualBox executable into /usr/local/bin 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:45 +, Jeronimo Calvo wrote: I am getting the following error on #make deinstall # make deinstall === Deinstalling for emulators/virtualbox === Deinstalling virtualbox-3.0.51.r6 pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox/nls' pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) Btw, skipping that step and doing a #make reinstall it only takes few secs... and gives VirtualBox was installed. but when i run it as a normal user i get: $ VirtualBox bash: /usr/local/bin/VirtualBox: No such file or directory ok maybe the reinstall is broke... try; # make deinstall # make install 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:32 +0100, Jeronimo Calvo wrote: True... when runned $truss VirtualBox it gives me Error in SUPR3hardenedmain... How do i reinstall the package properly to get VBOX_WITH_HARDENING = 0 ? # cd /usr/ports/emulators/virtualbox/ # make clean # make extract patch # edit work/virtualbox-3.0.51r22683/Config.kmk (or LocalConfig.kmk) so that VBOX_WITH_HARDENING = 0 # make # make deinstall # make reinstall /Craig B Thanks a lot!! 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Fri, 2009-09-18 at 07:00 +1200, Jonathan Chen wrote: On Thu, Sep 17, 2009 at 06:36:08PM +, Jeronimo Calvo wrote: Hi folks! I do have a problem when launching VirtualBox (installed from source), when launched as a normal user it doesnt lunch. Takes few secs... but nothing happens... Did you kldload vboxdrv.ko? Hi Have you tried running it under truss ? I think you might find that it will say - Error in SUPR3HardenedMain and hang... Solution; Rebuild and install Virtualbox port after editing Config.kmk so that VBOX_WITH_HARDENING = 0 Hope it helps Cheers Craig Butler ___ 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: Change one file in an ISO image
On 9/16/09, Gelsema, P (Patrick) - FreeBSD free...@superhero.nl wrote: Hi list, I need to change one file in an existing ISO image. It is a DVD image btw. Unfortunately I dont have many options of changing the fie before creating the image. Mounting is not the issue, copying data neither but the ISO is also bootable. There must be a simpler solution as in copying all the content with cpio and making it bootable. OS on the DVD is WinPE btw. Does anyone have some pointers for performing this action? Rgds, Patrick the cd9660/iso9660 filesystem type doesn't support rw options. Even if you mdconfig and mount -o rw, it is mounted ro editing a ISO is not possible. will require a remastering process. ___ 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: Virtualbox does not lunch (FREEBSD 7.2 STABLE)
I am still having the same issue... I think a pkgdb -F should solve this... what do u think? 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:56 +, Jeronimo Calvo wrote: same thing... when making #make deinstall i get the same error: === Deinstalling for emulators/virtualbox === Deinstalling virtualbox-3.0.51.r6 pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox/nls' pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) and when making install, keep saying that is already installed :S try pkg_delete with the -f flag; you'll need to; # pkg_info | grep virtualbox # pkg_delete -f virtualbox-versionhere then in virtualbox port dir # make install I suspect the make reinstall script failed to symlink the VirtualBox executable into /usr/local/bin 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:45 +, Jeronimo Calvo wrote: I am getting the following error on #make deinstall # make deinstall === Deinstalling for emulators/virtualbox === Deinstalling virtualbox-3.0.51.r6 pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox/nls' pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) Btw, skipping that step and doing a #make reinstall it only takes few secs... and gives VirtualBox was installed. but when i run it as a normal user i get: $ VirtualBox bash: /usr/local/bin/VirtualBox: No such file or directory ok maybe the reinstall is broke... try; # make deinstall # make install 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:32 +0100, Jeronimo Calvo wrote: True... when runned $truss VirtualBox it gives me Error in SUPR3hardenedmain... How do i reinstall the package properly to get VBOX_WITH_HARDENING = 0 ? # cd /usr/ports/emulators/virtualbox/ # make clean # make extract patch # edit work/virtualbox-3.0.51r22683/Config.kmk (or LocalConfig.kmk) so that VBOX_WITH_HARDENING = 0 # make # make deinstall # make reinstall /Craig B Thanks a lot!! 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Fri, 2009-09-18 at 07:00 +1200, Jonathan Chen wrote: On Thu, Sep 17, 2009 at 06:36:08PM +, Jeronimo Calvo wrote: Hi folks! I do have a problem when launching VirtualBox (installed from source), when launched as a normal user it doesnt lunch. Takes few secs... but nothing happens... Did you kldload vboxdrv.ko? Hi Have you tried running it under truss ? I think you might find that it will say - Error in SUPR3HardenedMain and hang... Solution; Rebuild and install Virtualbox port after editing Config.kmk so that VBOX_WITH_HARDENING = 0 Hope it helps Cheers Craig Butler ___ 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
pkg_delete: unable to completely remove directory (pkgdb -F)
Hi folks, dealing with broken package (virtualbox which is driving me crazy) I am getting the following error everytime i try to deinstall it, to make a clean installation from source: pkg_delete: unable to completely remove directory any idea on how to manage to get rid of this error? Cheers! ___ 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: Virtualbox does not lunch (FREEBSD 7.2 STABLE)
On Thu, 2009-09-17 at 21:50 +, Jeronimo Calvo wrote: I am still having the same issue... I think a pkgdb -F should solve this... what do u think? It cant hurt... pkg_delete -f should have solved it tho according to the manual; -f, --force Force removal of the package, even if a dependency is recorded or the deinstall or require script fails. 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:56 +, Jeronimo Calvo wrote: same thing... when making #make deinstall i get the same error: === Deinstalling for emulators/virtualbox === Deinstalling virtualbox-3.0.51.r6 pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox/nls' pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) and when making install, keep saying that is already installed :S try pkg_delete with the -f flag; you'll need to; # pkg_info | grep virtualbox # pkg_delete -f virtualbox-versionhere then in virtualbox port dir # make install I suspect the make reinstall script failed to symlink the VirtualBox executable into /usr/local/bin 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:45 +, Jeronimo Calvo wrote: I am getting the following error on #make deinstall # make deinstall === Deinstalling for emulators/virtualbox === Deinstalling virtualbox-3.0.51.r6 pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox/nls' pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) Btw, skipping that step and doing a #make reinstall it only takes few secs... and gives VirtualBox was installed. but when i run it as a normal user i get: $ VirtualBox bash: /usr/local/bin/VirtualBox: No such file or directory ok maybe the reinstall is broke... try; # make deinstall # make install 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:32 +0100, Jeronimo Calvo wrote: True... when runned $truss VirtualBox it gives me Error in SUPR3hardenedmain... How do i reinstall the package properly to get VBOX_WITH_HARDENING = 0 ? # cd /usr/ports/emulators/virtualbox/ # make clean # make extract patch # edit work/virtualbox-3.0.51r22683/Config.kmk (or LocalConfig.kmk) so that VBOX_WITH_HARDENING = 0 # make # make deinstall # make reinstall /Craig B Thanks a lot!! 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Fri, 2009-09-18 at 07:00 +1200, Jonathan Chen wrote: On Thu, Sep 17, 2009 at 06:36:08PM +, Jeronimo Calvo wrote: Hi folks! I do have a problem when launching VirtualBox (installed from source), when launched as a normal user it doesnt lunch. Takes few secs... but nothing happens... Did you kldload vboxdrv.ko? Hi Have you tried running it under truss ? I think you might find that it will say - Error in SUPR3HardenedMain and hang... Solution; Rebuild and install Virtualbox port after editing Config.kmk so that VBOX_WITH_HARDENING = 0 Hope it helps Cheers Craig Butler ___ 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: pkg_delete: unable to completely remove directory (pkgdb -F)
In the last episode (Sep 17), Jeronimo Calvo said: dealing with broken package (virtualbox which is driving me crazy) I am getting the following error everytime i try to deinstall it, to make a clean installation from source: pkg_delete: unable to completely remove directory any idea on how to manage to get rid of this error? That is a warning that the packing list included a directory delete request, but there were still files in it. It could be a bug in the plist (not specifying all the files the package installed), or it could be a shared directory that another package installed other files into. Regardless, it's just a warning and the package was deleted. -- 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
Re: Virtualbox does not lunch (FREEBSD 7.2 STABLE)
for some reason, it gives me the same error... the funny thing is pkgdb gives me a nice colection of errors as well :D # pkg_info | grep virtualbox virtualbox-3.0.51.r6 A general-purpose full virtualizer for x86 hardware # pkg_delete -f virtualbox-3.0.51.r6 pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 21:50 +, Jeronimo Calvo wrote: I am still having the same issue... I think a pkgdb -F should solve this... what do u think? It cant hurt... pkg_delete -f should have solved it tho according to the manual; -f, --force Force removal of the package, even if a dependency is recorded or the deinstall or require script fails. 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:56 +, Jeronimo Calvo wrote: same thing... when making #make deinstall i get the same error: === Deinstalling for emulators/virtualbox === Deinstalling virtualbox-3.0.51.r6 pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox/nls' pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) and when making install, keep saying that is already installed :S try pkg_delete with the -f flag; you'll need to; # pkg_info | grep virtualbox # pkg_delete -f virtualbox-versionhere then in virtualbox port dir # make install I suspect the make reinstall script failed to symlink the VirtualBox executable into /usr/local/bin 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:45 +, Jeronimo Calvo wrote: I am getting the following error on #make deinstall # make deinstall === Deinstalling for emulators/virtualbox === Deinstalling virtualbox-3.0.51.r6 pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox/nls' pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) Btw, skipping that step and doing a #make reinstall it only takes few secs... and gives VirtualBox was installed. but when i run it as a normal user i get: $ VirtualBox bash: /usr/local/bin/VirtualBox: No such file or directory ok maybe the reinstall is broke... try; # make deinstall # make install 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Thu, 2009-09-17 at 20:32 +0100, Jeronimo Calvo wrote: True... when runned $truss VirtualBox it gives me Error in SUPR3hardenedmain... How do i reinstall the package properly to get VBOX_WITH_HARDENING = 0 ? # cd /usr/ports/emulators/virtualbox/ # make clean # make extract patch # edit work/virtualbox-3.0.51r22683/Config.kmk (or LocalConfig.kmk) so that VBOX_WITH_HARDENING = 0 # make # make deinstall # make reinstall /Craig B Thanks a lot!! 2009/9/17 Craig Butler craig...@lerwick.hopto.org: On Fri, 2009-09-18 at 07:00 +1200, Jonathan Chen wrote: On Thu, Sep 17, 2009 at 06:36:08PM +, Jeronimo Calvo wrote: Hi folks! I do have a problem when launching VirtualBox (installed from source), when launched as a normal user it doesnt lunch. Takes few secs... but nothing happens... Did you kldload vboxdrv.ko? Hi Have you tried running it under truss ? I think you might find that it will say - Error in SUPR3HardenedMain and hang... Solution; Rebuild and install Virtualbox port after editing Config.kmk so that VBOX_WITH_HARDENING = 0 Hope it helps Cheers Craig Butler ___ 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: pkg_delete: unable to completely remove directory (pkgdb -F)
On Thu, Sep 17, 2009 at 09:57:09PM +, Jeronimo Calvo wrote: Hi folks, dealing with broken package (virtualbox which is driving me crazy) I am getting the following error everytime i try to deinstall it, to make a clean installation from source: pkg_delete: unable to completely remove directory any idea on how to manage to get rid of this error? The package/ports system will not delete files unless it knows they came from a package/port that is being deleted; it will not delete possible user-made files, which is a Good Thing! Apparently some file(s) were left in the directory in question. Have a look at what they are. If they are part of VirtualBox, then the packing list for virtualbox should be updated to include them, so that they will be deleted when virtualbox is removed. 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) pgpcJ06XfZiqt.pgp Description: PGP signature
Re: Change one file in an ISO image
On Thursday 17 September 2009 17:09:28 Tim Judd wrote: On 9/16/09, Gelsema, P (Patrick) - FreeBSD free...@superhero.nl wrote: I need to change one file in an existing ISO image. It is a DVD image btw. Unfortunately I dont have many options of changing the fie before creating the image. the cd9660/iso9660 filesystem type doesn't support rw options. Even if you mdconfig and mount -o rw, it is mounted ro If your change does not require altering the size of the file you wish to edit you may be able to just use a hex editor. I don't know enough about the ISO 9660 filesystem to say whether and how often it fragments files, but for a localized change you should be able to find the block containing the original file data and alter it. On the plus side you can check your work by mounting the modified ISO image and making sure you got the right file, etc. JN ___ 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
Undelete or recover from badblocks on disks
I seemed to have lost some critical dump files during a restore. The directory in which they were backed up in seemed to vaporize. The data was present as indicated by df -h but the directory was not listed. fsck on the disk was ineffective fsck_ffs produced an extensive listing of bad block, a final SALVAGE option, but on completion, the disk capacity from the df -h was significantly reduced. Is there anyway of recovering even 'partial' data from these lost blocks? The drive has been disconnected so that there would be no 'write' activities? Thanks -- View this message in context: http://www.nabble.com/Undelete-or-recover-from-badblocks-on-disks-tp25498179p25498179.html Sent from the freebsd-questions mailing list archive at Nabble.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
HELP
A friend installed this program and I don't know how to use it. Everything was fine until the power went out and when it booted back up it said /dev/amrd0s1d: unexpected soft update inconsistency: run fsck manually . the following file system had an inconsistency: ufs: /dev/amrd0s1d (/var) Enter full pathname of shell or RETURN for /bin/sh. If you could give me a step by step of what to do that would be awesome. I tried sending this to your bug department and they told me to talk to you. -- Chris Hickey Kickey Hollywood Dropout Productions cell: 858-220-6610 ___ 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
Virus scanning for Exim mail server
I have been looking on the FreeBSD site and ports for a virus scanner to use with an Exim mail server, without much luck. Does anyone know of command line virus scanners (open source or commercial) that work with FreeBSD 7.2 and Exim?? Thanking you in advance, David R. Stegner ___ 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: Virus scanning for Exim mail server
Hi, Does anyone know of command line virus scanners (open source or commercial) that work with FreeBSD 7.2 and Exim?? Clamav, open source, in the ports, command line and daemon mode. Kaspersky, commercial, command line and daemon mode for the mail server package (something undocumented called aveserver and aveclient). The advantage of a daemon scanner, when used in conjunction with a mail server is that the scanner runs in the background and scans the files that are submited to it, as the scanner is always running, it does not take time loading the virus patterns every time, so there is no start-up over head (few seconds) and the scan is very fast. I think there are others, but these are the one I use. They both integrate fine in amavisd-new (and I beleive amavisd-new works with Exim). Bests, Olivier ___ 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: HELP
On Thursday 17 September 2009 19:29:43 Chris Hickey wrote: A friend installed this program and I don't know how to use it. Everything was fine until the power went out and when it booted back up it said /dev/amrd0s1d: unexpected soft update inconsistency: run fsck manually . the following file system had an inconsistency: ufs: /dev/amrd0s1d (/var) Enter full pathname of shell or RETURN for /bin/sh. If you could give me a step by step of what to do that would be awesome. I tried sending this to your bug department and they told me to talk to you. 1) press ENTER for /bin/sh 2) type: fsck -y /dev/amrd0s1d (or just fsck -y to check ALL drives) 3) type: reboot -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ 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: Change one file in an ISO image
On 9/17/09, John Nielsen li...@jnielsen.net wrote: On Thursday 17 September 2009 17:09:28 Tim Judd wrote: On 9/16/09, Gelsema, P (Patrick) - FreeBSD free...@superhero.nl wrote: I need to change one file in an existing ISO image. It is a DVD image btw. Unfortunately I dont have many options of changing the fie before creating the image. the cd9660/iso9660 filesystem type doesn't support rw options. Even if you mdconfig and mount -o rw, it is mounted ro If your change does not require altering the size of the file you wish to edit you may be able to just use a hex editor. I don't know enough about the ISO 9660 filesystem to say whether and how often it fragments files, but for a localized change you should be able to find the block containing the original file data and alter it. On the plus side you can check your work by mounting the modified ISO image and making sure you got the right file, etc. JN Until the CRC kicks in. Copy, edit, remaster. To me, there's a reason it's called 'mastering' a CDROM I'm sorry, unionfs is the only other way, and unionfs isn't workable on WinPE (to which the OP clearly stated that this is the disc he wants to edit). Bart's bbie (Bart's Boot Image Extractor), an win32 app will write the image file in any iso or cdrom to a file. re-use that file to specify the el-torito boot image... probably need no-emulation mode. Until I see proof of on the fly editing of a CD-ROM image, I will always preach that a CD-ROM cannot be altered except by remastering an image. Thank you, --Tim ___ 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: HELP
Hi Chris, was fine until the power went out and when it booted back up it said /dev/amrd0s1d: unexpected soft update inconsistency: run fsck manually . the following file system had an inconsistency: ufs: /dev/amrd0s1d (/var) Enter full pathname of shell or RETURN for /bin/sh. At this line, you press the RETURN/ENTER key. You will be given a command promt that should be # (or $). At that stage, you are in command mode, you cannot use the mouse, there is no window system, you have to type commands on the keyboard and see the result on the screen. You type the command fsck, it will scan your disks for inconsistencies and prompt you for action. Now it is up to you to give sensible answers to the questions (as I don't know what inconsistencies it will detect, I cannot tell you what to answer for each question). When fsck has finished working, you type the command exit and your machine should finish booting properly. Good luck, Olivier ___ 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: HELP
Chris Hickey said the following on 9/17/09 6:29 PM: A friend installed this program and I don't know how to use it. Everything was fine until the power went out and when it booted back up it said /dev/amrd0s1d: unexpected soft update inconsistency: run fsck manually . the following file system had an inconsistency: ufs: /dev/amrd0s1d (/var) Enter full pathname of shell or RETURN for /bin/sh. If you could give me a step by step of what to do that would be awesome. I tried sending this to your bug department and they told me to talk to you. When you see the Enter full pathname of shell.. just hit the Enter/Return key on your keyboard. At the command prompt, type: fsck -y /var (If there is more than one file system that needs fixing, you can put that on the command line as well:) fsck -y /var /usr etc.etc.etc. Wait until it's done. Once you get the command prompt back (it looks like #), type CTRLD to log out, which should complete the boot process. Good luck, --Glenn ___ 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 boot Marvel Sheevaplug from USB
Maks Verver wrote: James Butler wrote: Sounds similar to: http://www.freebsd.org/cgi/query-pr.cgi?pr=138798 Apparently Scott Long is working on a fix. Interesting! Is there any way I can help debug/solve this? Test the fix when it arrives? Scott seems to have some idea what the problem is, and a lot of people have been bitten by it, so I'm hoping for a fix soon(TM). As for running FreeBSD on the SheevaPlug: I think I will stick with Ubuntu for now, as I haven't been able to get FreeBSD to recognize the NAND storage nor the SDIO controller, and FreeBSD doesn't seem to have a wear-leveling filesystem (or GEOM layer) anyway. Well, it's debatable how necessary a special filesystem is for flash media, although recognising the hardware would be nice I guess :-) Do mmc(4)/sdhci(4) not support the controller? I've seen it suggested that UFS+softupdates is about as good as a conventional filesystem gets for flash media, because it's good at minimising transient writes. -James Butler (please CC me, I'm off-list) ___ 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: Undelete or recover from badblocks on disks
On Thu, Sep 17, 2009 at 05:37:34PM -0700, jaymax wrote: I seemed to have lost some critical dump files during a restore. The directory in which they were backed up in seemed to vaporize. The data was present as indicated by df -h but the directory was not listed. fsck on the disk was ineffective fsck_ffs produced an extensive listing of bad block, a final SALVAGE option, but on completion, the disk capacity from the df -h was significantly reduced. Is there anyway of recovering even 'partial' data from these lost blocks? The drive has been disconnected so that there would be no 'write' activities? Check the disk with smartctl(8) from the sysutils/smartmontools port to check that this isn't a hardware malfunction. If it is a hardware malfunction, the disk is dying and should be replaced ASAP. If the hardware is OK, try fls from sysutils/sleuthkit. As long as the data isn't overwritten, it should still be there. 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) pgptqMb0N8f2R.pgp Description: PGP signature