Re: g_vfs write error = 28, bad memory?
On Sun, 2 Sep 2007, Kris Kennaway wrote: > Ian Smith wrote: > > On Sat, 01 Sep 2007 19:34:41 +0200 Kris Kennaway <[EMAIL PROTECTED]> wrote: > > > Per olof Ljungmark wrote: [..] > > > > amavisd_enable="YES" > > > > amavisd_ram="512m" > > > > > > > > and the line in rc.d/amavisd > > > > mdmfs -M -s ${amavisd_ram} -w vscan:vscan md /var/amavis/tmp || true > > > > for some reason creates a malloc based mfs > > > > > > > > Perhaps I should check this with the maintainer... > > > > > > > > > > > > > > Yes, malloc backing for md should be used in almost no situations. > > > > Am I right in thinking such situations would then be limited to diskless > > / flashdisk / embedded systems having no swap? Seems obvious, but .. > > Sort of. Swap backing will still work when you have no swap, and it's > still faster than malloc backing. The problem is that I think backing > store reservation ("-o reserve") doesn't work unless you have actual > swap to back everything, whereas with malloc backing it reserves in > memory. This means that it is easy to overcommit memory and the system > will probably panic when it suddenly finds no free memory for the md (as > in the original email). Ah. Swap backing with no swap configured sounded oxymoronic, and I was confused and left guessing by md(4) on 5.5-STABLE (March) till checking: http://www.freebsd.org/cgi/man.cgi?query=md&apropos=0&sektion=0&manpath=FreeBSD+7-current&format=html which explains swap backed operation in one short but crucial sentence. But is running out of memory with swap-backed md (with no swap) likely to be any prettier than the panics from (unreserved) malloc backing? > Ideally if no swap was configured, swap backing would also reserve the > space in memory, and then I am not aware of any other reasons to > continue using malloc backing. By 'ideally' I guess you mean that it doesn't, yet? I hope to get a Soekris 4801 before too long, which will provide a chance to experiment (though I'll likely run it from one of my old 4GB laptop drives anyway). Also noted in passing: the 'auto' parameter to bsdlabel(8) used by one mdconfig(8) example is undocumented, though supported in bsdlabel.c Thanks, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: g_vfs write error = 28, bad memory?
Ian Smith wrote: On Sun, 2 Sep 2007, Kris Kennaway wrote: > Ian Smith wrote: > > On Sat, 01 Sep 2007 19:34:41 +0200 Kris Kennaway <[EMAIL PROTECTED]> wrote: > > > Per olof Ljungmark wrote: [..] > > > > amavisd_enable="YES" > > > > amavisd_ram="512m" > > > > > > > > and the line in rc.d/amavisd > > > > mdmfs -M -s ${amavisd_ram} -w vscan:vscan md /var/amavis/tmp || true > > > > for some reason creates a malloc based mfs > > > > > > > > Perhaps I should check this with the maintainer... > > > > > > > > > > > > > > Yes, malloc backing for md should be used in almost no situations. > > > > Am I right in thinking such situations would then be limited to diskless > > / flashdisk / embedded systems having no swap? Seems obvious, but .. > > Sort of. Swap backing will still work when you have no swap, and it's > still faster than malloc backing. The problem is that I think backing > store reservation ("-o reserve") doesn't work unless you have actual > swap to back everything, whereas with malloc backing it reserves in > memory. This means that it is easy to overcommit memory and the system > will probably panic when it suddenly finds no free memory for the md (as > in the original email). Ah. Swap backing with no swap configured sounded oxymoronic, and I was confused and left guessing by md(4) on 5.5-STABLE (March) till checking: http://www.freebsd.org/cgi/man.cgi?query=md&apropos=0&sektion=0&manpath=FreeBSD+7-current&format=html which explains swap backed operation in one short but crucial sentence. But is running out of memory with swap-backed md (with no swap) likely to be any prettier than the panics from (unreserved) malloc backing? Probably not. No worse though. > Ideally if no swap was configured, swap backing would also reserve the > space in memory, and then I am not aware of any other reasons to > continue using malloc backing. By 'ideally' I guess you mean that it doesn't, yet? I hope to get a Soekris 4801 before too long, which will provide a chance to experiment (though I'll likely run it from one of my old 4GB laptop drives anyway). Correct. Also noted in passing: the 'auto' parameter to bsdlabel(8) used by one mdconfig(8) example is undocumented, though supported in bsdlabel.c OK, you should submit a PR. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Install Troubles on IBM x searie 345 and ServeRaid 6i
Dear Concern , the Below mentioned Error is showing when i run the DSA pls Suggest what is the problem and what drivers to be installed . and from where do i get these regards, Srikanth Wipro support team This email is confidential. If you are not the addressee tell the sender immediately and destroy this email without using, sending or storing it. Emails are not secure and may suffer errors, viruses, delay, interception and amendment. Standard Chartered PLC and subsidiaries ("SCGroup") do not accept liability for damage caused by this email and may monitor email traffic. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
My questions about freeBSD
Hi all, here are my few questions about freeBSD, they mostly concern Robustness, Security, Auditing and Support. These questions always apply to the standard packages of FreeBSD. Any additional sources can't be used in the target environment, where the Os is planed to be used. Robustness: - Does FreeBSD offer Load-Balancinglike Piranha, with the standard packages? This can be supported be clustering software or by dispatching service requests to different instances of the same server. - - Does it offer Failover with the standard packages? This can be supported be clustering software or by dispatching service requests to different instances of the same server. - - Is it possible to make a persistent image of the status of the running OS? This is needed to freeze the system and late continue computation with the same internal state. - - Is it possible to set the maximum allowed system resources for any process? To support real time system, some kind of partitioning or resource ensurance is needed. Security: - What security mechanisms does free BSD offer on the network and data link layer? In target solution the security of the other layers (transport and application) are handled by the running applications and the middleware. - Availability, Acess Control and Integrity are important. What does FreeBSD offer to support these kinds of security? - Is there a way to ensure Non-repudiation on a FreeBSD system? The system is security critical and might handle credit card information and other data to identify persons. Is it possible to link this data to user action on the OS level? Auditing: - Are tools provided for browsing audit trails? - Are security violations automatically logged? - Is it possible to add custom monitors to the standard auditing? - Are tools provided to create from auditing trails custom reports? - Is it possible to audit all transaction of the system or specify what transaction to audit? Support: - Is there commercial developer support for freeBSD available? - - Do freeBSD drivers for ARINC 429 exist? - - Do freeBSD drivers for the CAN bus exist? - - Do freeBSD drivers for ADFX exist? I hope that you can help me to answer these questions. I have read about freeBSD and was not able to find the answers I was looking for. It might be that I read any paragraphs concerning these topics in the manuals, but if that is the case I can't remember them anymore and would be glad if you can point me to these paragraphs. Again many thanks in advance Mike PHILOTECH GmbH Dipl.-Ing. Mike Gerdes Niederlassung Hamburg Bebelstrasse 44 21614 Buxtehude Tel.: +49 (0) 4161 50 20 0 Fax: +49 (0) 4161 50 20 20 [EMAIL PROTECTED] www.philotech.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: My questions about freeBSD
cd /usr/share/doc/en_US.ISO8859-1/books/ and please read things (begin in handbook). after completed reading you will not only get answers to your question, but understand that over half of your question can't be actually answered. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BSDstats Statistics for Aug, 2007 ...
Hi, Marc G. Fournier wrote: -BEGIN PGP SIGNED MESSAGE- FreeBSD + 2.7% I hope the numbers are not this bad that my machine alone made your numbers jump his much. My FreeBSD was offline for a year. It was a hard time. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Ethernet Bonding
Hi All, I'm looking for a way to provide ethernet interface bonding in FreeBSD similar to ipmp in Solaris or just ethernet bonding in Linux. Don't want to do anything fancy. Just want a second interface to take over for one which has failed. Preferable would be a solution that doesn't require a specific configuration on our switches or routers. I have perused the www and have found multiple articles describing the procedure in HP-UX, Solaris, Linux, etc., but nothing for FreeBSD. Thanks in advance for your responses. Cheers, -Joe P.S. I hope the administrator is happier with this post than with my last. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[Fwd: Re: Ethernet Bonding]
Doh I meant to send this to the list but must have just hit reply, sorry. Vince mer mite wrote: > Hi All, > > I'm looking for a way to provide ethernet interface bonding in FreeBSD > similar to ipmp in Solaris or just ethernet bonding in Linux. Don't want to > do anything fancy. Just want a second interface to take over for one which > has failed. Preferable would be a solution that doesn't require a specific > configuration on our switches or routers. > > I have perused the www and have found multiple articles describing the > procedure in HP-UX, Solaris, Linux, etc., but nothing for FreeBSD. > > Thanks in advance for your responses. > It your switch supports spanning tree you could just use if_bridge (multiple members but have the IP assigned to the brige interface.) If your running -STABLE or can wait for 6.3/7 then there is if_lagg which can run int failover mode as well as aggregation mode. I've never actually tried either method though so YMMV. Vince > Cheers, > -Joe > > P.S. > > I hope the administrator is happier with this post than with my last. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: My questions about freeBSD
On September 03, 2007 at 05:59AM Wojciech Puchar wrote: > cd /usr/share/doc/en_US.ISO8859-1/books/ and please read things (begin in > handbook). > > after completed reading you will not only get answers to your question, > but understand that over half of your question can't be actually answered. Did you mean 'factually, rather than actually? All questions can be answered. The answer may not be what the questioner desires however. Even a simple, I don't know" is an answer. -- Gerard The only reason some people get lost in thought is because it's unfamiliar territory. Paul Fix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Weird FTP issue???
Hi all, I was wondering if anyone can possibly explain or give their expertise with this bizarre/weird issue if you will that I've been having while using such commands as portsnap, portaudit, fetch, etc. First off, I'm running FreeBSD v6.1. I have three (Internet) servers running the same FreeBSD version. However, one of the servers has been giving me trouble and I can't decipher whether or not it's a FreeBSD related issue or something else altogether. On this one server, whenever I try to use "portaudit", "portsnap", "fetch", or whenever I try to upgrade ports and it needs to "fetch" the updates the connections ALMOST always "time out". But what's weird is that I don't have the issue on the other two FreeBSD servers when they need to use the same commands. I can SSH to this (problem) server, ping to-from it, and everything else. It's gotten to the point where I thought it was a FreeBSD problem so I completely reformatted and installed the O/S. However, it's STILL doing the same thing. Upon trying to install certain distribution sets through FTP media, I'd get an error about it (FreeBSD) not being able to get a connection with the remote FreeBSD server. After that, I even went as far as changing network cards and it's still doing it. Using "netstat" while trying to use the commands shows that it's sending a "SYN" flag to the remote server, but no connection is ever established. I have all three servers plugged into the same router/firewall and have done so for years with no problems. This is the first issue of its kind. I'd greatly appreciate any insight, help, explanation, or something. This is getting really aggrevating. THANK YOU in advance. -- Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD Port: net/asterisk-addons
Hi, I am having problems compiling this port. Here is the output. Can you assist me with this issue. ===> Building for asterisk-addons-1.4.2 gmake[1]: Entering directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2' gmake[2]: Entering directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2/asterisk-ooh323c' gmake all-am gmake[3]: Entering directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2/asterisk-ooh323c' source='src/chan_h323.c' object='chan_h323.lo' libtool=yes \ depfile='.deps/chan_h323.Plo' tmpdepfile='.deps/chan_h323.TPlo' \ depmode=gcc3 /usr/local/bin/bash ./config/depcomp \ /usr/local/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 -I/usr/local/include -DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c -o chan_h323.lo `test -f 'src/chan_h323.c' || echo './'`src/chan_h323.c rm -f .libs/chan_h323.lo cc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 -I/usr/local/include -DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c src/chan_h323.c -MT chan_h323.lo -MD -MP -MF .deps/chan_h323.TPlo -fPIC -DPIC -o .libs/chan_h323.lo src/chan_h323.c:71: warning: initialization from incompatible pointer type src/chan_h323.c:91: warning: initialization from incompatible pointer type src/chan_h323.c: In function `ooh323_new': src/chan_h323.c:261: error: incompatible types in assignment src/chan_h323.c:264: error: incompatible type for argument 1 of `ast_best_codec' src/chan_h323.c: In function `ooh323_write': src/chan_h323.c:974: error: invalid operands to binary & src/chan_h323.c: In function `print_codec_to_cli': src/chan_h323.c:2219: error: structure has no member named `framing' src/chan_h323.c: In function `ooh323_rtp_read': src/chan_h323.c:3246: error: invalid operands to binary != src/chan_h323.c:3249: error: incompatible types in assignment gmake[3]: *** [chan_h323.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2/asterisk-ooh323c' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2/asterisk-ooh323c' gmake[1]: *** [chan_ooh323.so] Error 2 gmake[1]: Leaving directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/net/asterisk-addons. v/r Derrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPMI kernel object i/o error
Hi all, I am trying to get ipmitool working on a Dell 1850. When I kldload the ipmi.ko, it seems to load fine but the dev device is not being created. I can see this in the dmesg any time I try. If anyone can interprate this I wouold be greatful The ACPI driver cannot be loaded after boot. ipmi0: on isa0 ipmi0: KCS mode found at io 0xca8 alignment 0x4 on isa ipmi0: couldn't configure I/O resource device_attach: ipmi0 attach returned 6 ppc0: parallel port not found. sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
xmcd fails
I have been trying to compile xmcd on FreeBSD 6 stable and I'm getting this: : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac2c): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac35): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac7e): In function `cdinfo_urlcddb': : undefined reference to `CddbControl_GetDiscInfo' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xacba): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xacdc): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xad22): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xad3e): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xadfa): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cddb_d/libcddbkey.a(cddbkey1.o)(.text+0x4a): In function `cddb_setkey': : undefined reference to `CddbControl_SetClientInfo' *** Error code 1 Stop in /usr/ports/audio/xmcd/work/xmcd-3.3.2/xmcd_d. *** Error code 1 Stop in /usr/ports/audio/xmcd/work/xmcd-3.3.2. *** Error code 1 Stop in /usr/ports/audio/xmcd. I have never had this problem compiling xmcd. Or if someone could tell me where I can download the latest xmcd package, I found a few but they are old versions of xmcd and it won't install. Another alternative would be another cd player similar to xmcd the ones I've tried are very basic with no cddb access. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ports/115885: misc/help2man: help2man ignores installed gettext
[EMAIL PROTECTED] wrote: > Synopsis: misc/help2man incorrectly insists on "p5-*" dependency when already > installed as CPAN module > > State-Changed-From-To: open->closed > State-Changed-By: arved > State-Changed-When: Mon Sep 3 08:36:07 UTC 2007 > State-Changed-Why: > It is unecessary to reopen another bug report, since you neither provide a > patch nor convinced us that this should be a supported configuration. again, WHAT "supported configuration" are you talking about here? there's a properly installed perl-module. expecting freebsd ports of perl programs to correctly use perl-compliant module installs is, somehow, unreasonable? here's what i know/see. a freebsd port (help2man) (a) looks for Locale::gettext (b) finds Locale::gettext (c) uses Locale::gettext in the build THEN, *fails* to recognize the in-place dependency IT ALREADY LOOKED FOR & USED in updates of ports ... > BTW. Don't miss the helpful answer by "Mel" on freebsd-question. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=116026 Mel wrote: > Except for apps in the ports, because cpan/cpanp can not register *port* > dependencies. > RUN_DEPENDS does not mean "check if this file exists", it means "register a > dependency on this port". What it does is: > 1) check if the port is installed and if not install it. > 2) add a line @pkgdep portname-version to $PKGDB/portname-version/+CONTENTS > 3) add a line @DEPORIGIN:category/origin to $PKGDB/portname-version/+CONTENTS > 4) add a line portname-version to $PKGDB/depname-version/+REQUIRED_BY > > If you wanna get rid of this problem, you could use an AFTER_INSTALL hack in > >pkgtools.conf to undo 2)-4). Messy, but works. > Much cleaner is to just use the ports system p5-*. It does it's job very well that's not been my experience -- but, that's not the argument here. i think it's not unreasonable to expect that "a perl-module is a perl-module is a perl-module". if it's properly installed -- and, in this case, it is, just like ALL my other perl-modules, then a port should treate it consistently/correctly. just like all my other ports do -- just NOT help2man. as for working around the problem ... the SIMPLEST solution is not to bother with "ports" system in this case, and do a manual install of help2man. but my goal was to be helpful & report a problem. > and since you're familiar with cpan/cpanp I'm sure you'll have no problem > installing modules that might not exist in the freebsd ports into a directory > *outside* the ports hierarchy (/usr/local) and add this to the module search > path. when help2man is installed via ports it *USES* the cpan-installed perl-module. cpanp -u gettext Locale::gettext module_info Locale::gettext Can't create Module::Info object for module 'Locale::gettext' at /usr/local/bin/module_info line 96. cd /usr/local/ports rm -rf gettext-* wget http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-1.05.tar.gz tar zxvf gettext-1.05.tar.gz # "#21625: Compilation under freebsd" # http://rt.cpan.org/Public/Bug/Display.html?id=21625 http://rt.cpan.org/Ticket/Attachment/243467/103618/gettext-freebsd.patch http://rt.cpan.org/Ticket/Attachment/243467/103621/gettext-MANIFEST cd /usr/local/ports/gettext-1.05 patch -p0 < ../P_gettext-freebsd.patch cp ../P_gettext-MANIFEST MANIFEST perl Makefile.PL make install module_info Locale::gettext Name:Locale::gettext Version: 1.05 Directory: /usr/local/lib/perl5/site_perl/5.8.8/mach File:/usr/local/lib/perl5/site_perl/5.8.8/mach/Locale/gettext.pm Core module: no now, building help2man % portinstall help2man [Updating the pkgdb in /var/db/pkg ... - 176 packages found (-1 +0) (...) done] [Gathering depends for misc/help2man .. done] ---> Installing 'help2man-1.36.4_1' from a port (misc/help2man) ---> Building '/usr/ports/misc/help2man' ... ===> help2man-1.36.4_1 depends on file: /usr/local/lib/perl5/site_perl/5.8.8/mach/Locale/gettext.pm - found See? HERE it knows the dependency, AND finds it NOT SURPRISING, as, grep -i gettext /usr/ports/misc/help2man/Makefile BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext USE_GETTEXT=yes demonstrates that it, in fact, DOES look for a "normal" perl-module **BEFORE** looking for the p5-Locale-gettext port-install! ... ===> Compressing manual pages for help2man-1.36.4_1 ===> Registering installation for help2man-1.36.4_1 ===> Cleaning for help2man-1.36.4_1 [Updating the pkgdb in /var/db/pkg ... - 177 packages found (-0 +1) . done] and the build continues to a cussessful conclusion. pkg_info | grep help2man help2man-1.36.4_1 Automatically generating simple manual pages from program o pkg_inf
Lost console when exiting X
Hi folks. I'm running 6.2-RELEASE, and recently installed Xorg. I've been using Fluxbox as my window manager, and everything has been working fine until recently. I cannot think of any major changes I've made to create this problem. Here's what happens. Once in a while (I can't reproduce the problem by doing anything specific), I exit X, and my TTY does not come back. I've verified the system has not crashed by SSHing in to the system -- where I can `startx`, and the X session resumes. I've tried [Ctrl]+[Alt]+[Backspace], which does kill the X session, but TTY does not resume as expected. I am using an nVidia GeForce 5500MX with the x11/nvidia-drivers, x11/nvidia-settings, and x11/nvidia-xconfig ports. Fluxbox and all Xorg dependencies are also installed from ports. (Yes, I did update my ports tree before installing.) The only change I've made to my xorg.conf was: Section "Extensions" Option "Composite" "Enable" EndSection and the default mode for resolution. I've also disabled the above section, thinking it was a compositing problem, but that did not resolve it. Any ideas, or pointers on where to look would be appreciated. Thanks in advance. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Weird FTP issue???
Hi, did you also use different cable and different switch ports for this problematic machine? Yes, your problem sounds weird. Life told us so many times that things like this can happen. Erich Michaela wrote: Hi all, I was wondering if anyone can possibly explain or give their expertise with this bizarre/weird issue if you will that I've been having while using such commands as portsnap, portaudit, fetch, etc. First off, I'm running FreeBSD v6.1. I have three (Internet) servers running the same FreeBSD version. However, one of the servers has been giving me trouble and I can't decipher whether or not it's a FreeBSD related issue or something else altogether. On this one server, whenever I try to use "portaudit", "portsnap", "fetch", or whenever I try to upgrade ports and it needs to "fetch" the updates the connections ALMOST always "time out". But what's weird is that I don't have the issue on the other two FreeBSD servers when they need to use the same commands. I can SSH to this (problem) server, ping to-from it, and everything else. It's gotten to the point where I thought it was a FreeBSD problem so I completely reformatted and installed the O/S. However, it's STILL doing the same thing. Upon trying to install certain distribution sets through FTP media, I'd get an error about it (FreeBSD) not being able to get a connection with the remote FreeBSD server. After that, I even went as far as changing network cards and it's still doing it. Using "netstat" while trying to use the commands shows that it's sending a "SYN" flag to the remote server, but no connection is ever established. I have all three servers plugged into the same router/firewall and have done so for years with no problems. This is the first issue of its kind. I'd greatly appreciate any insight, help, explanation, or something. This is getting really aggrevating. THANK YOU in advance. -- Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xmcd fails
Hi Eduardo, On Mon, 3 Sep 2007 11:49:45 -0400 "Eduardo Cerejo" <[EMAIL PROTECTED]> wrote: > I have been trying to compile xmcd on FreeBSD 6 stable and I'm > getting this: > > : undefined reference to `CddbReleaseObject' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac2c): In function > `cdinfo_urlcddb': > : undefined reference to `CddbReleaseObject' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac35): In function > `cdinfo_urlcddb': > : undefined reference to `CddbReleaseObject' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac7e): In function > `cdinfo_urlcddb': > : undefined reference to `CddbControl_GetDiscInfo' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xacba): In function > `cdinfo_urlcddb': > : undefined reference to `CddbReleaseObject' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xacdc): In function > `cdinfo_urlcddb': > : undefined reference to `CddbReleaseObject' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xad22): In function > `cdinfo_urlcddb': > : undefined reference to `CddbReleaseObject' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xad3e): In function > `cdinfo_urlcddb': > : undefined reference to `CddbReleaseObject' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xadfa): In function > `cdinfo_urlcddb': > : undefined reference to `CddbReleaseObject' > ../cddb_d/libcddbkey.a(cddbkey1.o)(.text+0x4a): In function > `cddb_setkey': : undefined reference to `CddbControl_SetClientInfo' > *** Error code 1 > > Stop in /usr/ports/audio/xmcd/work/xmcd-3.3.2/xmcd_d. > *** Error code 1 > > Stop in /usr/ports/audio/xmcd/work/xmcd-3.3.2. > *** Error code 1 > > Stop in /usr/ports/audio/xmcd. Please use this patch for patches: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/112876 and xmcd will compile. Please note the little correction below, or new file 'patch-aj' will appear in xmcd's port dir and not in files/. (BTW, you should always include an actual command that triggered error(s), not just error itself.) > I have never had this problem compiling xmcd. Or if someone could > tell me where I can download the latest xmcd package, I found a few > but they are old versions of xmcd and it won't install. Another > alternative would be another cd player similar to xmcd the ones I've > tried are very basic with no cddb access. Thanks. You didn't say what players you tried, but there are really many cd-players; maybe some of them are "basic" but there are a lot "advanced" ones. XMMS could be a good advanced lightweight choice with a lot of plugins; if you want something glimmering and huge, try amaroK. Nikola Lečić ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
xmcd fails to compile
I have been trying to compile xmcd on FreeBSD 6 stable and I'm getting this: : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac2c): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac35): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac7e): In function `cdinfo_urlcddb': : undefined reference to `CddbControl_GetDiscInfo' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xacba): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xacdc): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xad22): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xad3e): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xadfa): In function `cdinfo_urlcddb': : undefined reference to `CddbReleaseObject' ../cddb_d/libcddbkey.a(cddbkey1.o )(.text+0x4a): In function `cddb_setkey': : undefined reference to `CddbControl_SetClientInfo' *** Error code 1 Stop in /usr/ports/audio/xmcd/work/xmcd-3.3.2/xmcd_d. *** Error code 1 Stop in /usr/ports/audio/xmcd/work/xmcd- 3.3.2. *** Error code 1 Stop in /usr/ports/audio/xmcd. I have never had this problem compiling xmcd. Or if someone could tell me where I can download the latest xmcd package, I found a few but they are old versions of xmcd and it won't install. Another alternative would be another cd player similar to xmcd the ones I've tried are very basic with no cddb access. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Bonded multilink ADSL connection
> Do you have the two modems required for such a configuration? > Each link of the bond must get its ethernet interface. So, you > need two ethernet cards at least and two ADSL modems in bridging > mode. The configuration itself is pretty straightforward. Yes, I have more than the required number of modems, and same with NIC's ;) Essentially, I want to swap out my Cisco 2651 with the FreeBSD box with the hardware configuration you just described. It's either put the BSD box in to the 100Mbps connection and leave the Cisco in place on the ADSL connections and route between them when necessary, or what I really want is to replace the Cisco entirely if I can multi-link with FreeBSD. > If you cover the requirements, I can send you a working configuration. > Not necessarily an exact replicate of what you send, but close enough. I would very much appreciate a working config. I can easily adjust to my environment. Thanks! Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: auto mount xfce4 and kde
Mel schreef: On Friday 31 August 2007 09:41:23 Koen de Wijs wrote: This week I installed FreeBSD on a computer of mine. Everything works fine but one thing I can't get working. Every person should be albe to work with the machine. The only thing that isn't working is auto-mounting of cd-roms and usb-sticks. If KDE is started and I put a usb-stick in the computer there should appear a icon on the desktop with the usb drive on it and that should also work for cd-roms. On XFCE4 there should also appear an icon; Don't know about XFCE4, but read on. I also added the regular user to the group operators. You don't wanna do that, unless it's ok with you that a user can get read access to every file on every disk. Operator is meant for backup users. What do I need to do to get it working? portinstall desktop-bsd-tools and read the instructions about devfs, with a major side-note: ntfs/fat partitions can only be mounted by root, because mount changes the owner of the disk to the underlying directory, so it's likely that your users cannot mount usb-sticks. To automount usb storage devices as root, have a look at usbd(8) and usbd.conf(5). You'll have to provide an unmounter for your users though and instruct them to unmount before removing or things go to hell. I've got everyting working right now except for the usb stick. I tried am-utils but I didn't lik that. Is I tried a lot of things and read a lot and everything almost works except for the usb-sticks. Before I will be busy with it for a couple of hours is this the way it should work? http://caia.swin.edu.au/reports/041130A/ This website describes how to add usb-devices but is it normal to add an extra script with devd or is just some wierd workaround? Koen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Weird FTP issue???
Michaela wrote: Hi all, I was wondering if anyone can possibly explain or give their expertise with this bizarre/weird issue if you will that I've been having while using such commands as portsnap, portaudit, fetch, etc. First off, I'm running FreeBSD v6.1. I have three (Internet) servers running the same FreeBSD version. However, one of the servers has been giving me trouble and I can't decipher whether or not it's a FreeBSD related issue or something else altogether. On this one server, whenever I try to use "portaudit", "portsnap", "fetch", or whenever I try to upgrade ports and it needs to "fetch" the updates the connections ALMOST always "time out". But what's weird is that I don't have the issue on the other two FreeBSD servers when they need to use the same commands. I can SSH to this (problem) server, ping to-from it, and everything else. It's gotten to the point where I thought it was a FreeBSD problem so I completely reformatted and installed the O/S. However, it's STILL doing the same thing. Upon trying to install certain distribution sets through FTP media, I'd get an error about it (FreeBSD) not being able to get a connection with the remote FreeBSD server. After that, I even went as far as changing network cards and it's still doing it. Using "netstat" while trying to use the commands shows that it's sending a "SYN" flag to the remote server, but no connection is ever established. I have all three servers plugged into the same router/firewall and have done so for years with no problems. This is the first issue of its kind. I'd greatly appreciate any insight, help, explanation, or something. This is getting really aggrevating. THANK YOU in advance. -- Michael Hi, Michael! Please, note that portsnap is not using FTP, but HTTP. The first thing to do, when a problem like this occurs, is to use tcpdump to capture a packet trace. Use tcpdump on the server and, if possible, on the router/firewall and show us the results, if you can't analyze them by yourself. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ports/115885: misc/help2man: help2man ignores installed gettext
* snowcrash+freebsd [2007-09-03 18:30]: > again, WHAT "supported configuration" are you talking about here? FreeBSD ports test if a file is installed to check if a dependency port is installed. If you are tricking by installing the file via some other mechanism, it breaks. > > there's a properly installed perl-module. expecting freebsd ports of > perl programs to correctly use perl-compliant module installs is, > somehow, unreasonable? The FreeBSD ports collection is not a perl program, so it has no knowledge what CPAN is. Neither does CPAN know what a FreeBSD port is, unless you use something like bsdpan. So why should it work? > > Mel wrote: > > Except for apps in the ports, because cpan/cpanp can not register *port* > > dependencies. > > RUN_DEPENDS does not mean "check if this file exists", it means "register a > > dependency on this port". What it does is: > > 1) check if the port is installed and if not install it. > > 2) add a line @pkgdep portname-version to $PKGDB/portname-version/+CONTENTS > > 3) add a line @DEPORIGIN:category/origin to > > $PKGDB/portname-version/+CONTENTS > > 4) add a line portname-version to $PKGDB/depname-version/+REQUIRED_BY > > > > If you wanna get rid of this problem, you could use an AFTER_INSTALL hack > > in >pkgtools.conf to undo 2)-4). Messy, but works. > > > Much cleaner is to just use the ports system p5-*. It does it's job very > > well > > that's not been my experience -- but, that's not the argument here. > > i think it's not unreasonable to expect that "a perl-module is a > perl-module is a perl-module". > > if it's properly installed -- and, in this case, it is, just like ALL > my other perl-modules, then a port should treate it > consistently/correctly. Did you actually read what he wrote? He explained in detail, what is missing for a proper port installation. > > just like all my other ports do -- just NOT help2man. If you think there is something broken with this specific port, submit a patch. But as i told you, this is a problem with all ports that depend on a perl module. > as for working around the problem ... the SIMPLEST solution is not to > bother with "ports" system in this case, and do a manual install of > help2man. Another solution may be to set WITHOUT_NLS. So you don't get dependency on p5-gettext. > > > and since you're familiar with cpan/cpanp I'm sure you'll have no problem > > installing modules that might not exist in the freebsd ports into a > > directory > > *outside* the ports hierarchy (/usr/local) and add this to the module search > > path. > > when help2man is installed via ports it *USES* the cpan-installed perl-module. Because you installed it into the wrong directory. The directory under /usr/local belong to the ports collection, and if you install software from somewhere else into it, it might break how the FreeBSD ports collection works. > Anton Berezin wrote: > > Sorry, but I am afraid that if you insist on not using Perl modules > > installed via ports this means you cannot expect any ports depending on Perl > > modules to work. > > are you impkying that a perl module installed by ports is somehow > different than one installed by perl/cpan itself? Yes, a FreeBSD port is not only the original source, but also the meta information. regards tilman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xmcd fails
- Mensagem original De: Nikola Lecic <[EMAIL PROTECTED]> Para: Eduardo Cerejo <[EMAIL PROTECTED]> Cc: FreeBSD-questions@freebsd.org Enviadas: Segunda-feira, 3 de Setembro de 2007 12:50:08 Assunto: Re: xmcd fails Hi Eduardo, On Mon, 3 Sep 2007 11:49:45 -0400 "Eduardo Cerejo" <[EMAIL PROTECTED]> wrote: > I have been trying to compile xmcd on FreeBSD 6 stable and I'm > getting this: > > : undefined reference to `CddbReleaseObject' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac2c): In function > `cdinfo_urlcddb': > : undefined reference to `CddbReleaseObject' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac35): In function > `cdinfo_urlcddb': > : undefined reference to `CddbReleaseObject' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac7e): In function > `cdinfo_urlcddb': > : undefined reference to `CddbControl_GetDiscInfo' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xacba): In function > `cdinfo_urlcddb': > : undefined reference to `CddbReleaseObject' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xacdc): In function > `cdinfo_urlcddb': > : undefined reference to `CddbReleaseObject' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xad22): In function > `cdinfo_urlcddb': > : undefined reference to `CddbReleaseObject' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xad3e): In function > `cdinfo_urlcddb': > : undefined reference to `CddbReleaseObject' > ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xadfa): In function > `cdinfo_urlcddb': > : undefined reference to `CddbReleaseObject' > ../cddb_d/libcddbkey.a(cddbkey1.o)(.text+0x4a): In function > `cddb_setkey': : undefined reference to `CddbControl_SetClientInfo' > *** Error code 1 > > Stop in /usr/ports/audio/xmcd/work/xmcd-3.3.2/xmcd_d. > *** Error code 1 > > Stop in /usr/ports/audio/xmcd/work/xmcd-3.3.2. > *** Error code 1 > > Stop in /usr/ports/audio/xmcd. Please use this patch for patches: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/112876 and xmcd will compile. Please note the little correction below, or new file 'patch-aj' will appear in xmcd's port dir and not in files/. (BTW, you should always include an actual command that triggered error(s), not just error itself.) > I have never had this problem compiling xmcd. Or if someone could > tell me where I can download the latest xmcd package, I found a few > but they are old versions of xmcd and it won't install. Another > alternative would be another cd player similar to xmcd the ones I've > tried are very basic with no cddb access. Thanks. You didn't say what players you tried, but there are really many cd-players; maybe some of them are "basic" but there are a lot "advanced" ones. XMMS could be a good advanced lightweight choice with a lot of plugins; if you want something glimmering and huge, try amaroK. Nikola Lečić ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Hello Nikola, First of all thanks for you help but I'm still a little confused about where to put that file, I put it in the ..audio/xmcd/files/ directory and named it patch-aj but when I try to install it asks me "# File to patch:" and I don't know what to put! Did I miss something? Thanks again ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ports/115885: misc/help2man: help2man ignores installed gettext
note(s) to self: help2man port is borked. every other port with perl-module dependencies is fine ... freebsd folks not interested in fix. do a manual install instead. problem solved. outa here. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: My questions about freeBSD
Hello, > Robustness: > > - Does FreeBSD offer Load-Balancinglike Piranha, with the standard > packages? This can be supported be clustering software or by dispatching > service requests to different instances of the same server. > - > - Does it offer Failover with the standard packages? This can be > supported be clustering software or by dispatching service requests to > different instances of the same server. FreeBSD doesn't support clustering. > - Is it possible to make a persistent image of the status of the > running OS? This is needed to freeze the system and late continue > computation with the same internal state. No. > - Is it possible to set the maximum allowed system resources for > any process? To support real time system, some kind of partitioning or > resource ensurance is needed. Yes. > Security: > > - What security mechanisms does free BSD offer on the network and > data link layer? In target solution the security of the other layers > (transport and application) are handled by the running applications and > the middleware. A lot. What do you need? > - Availability, Acess Control and Integrity are important. What > does FreeBSD offer to support these kinds of security? http://www.trustedbsd.org/ > - Is there a way to ensure Non-repudiation on a FreeBSD system? > The system is security critical and might handle credit card information > and other data to identify persons. Is it possible to link this data to > user action on the OS level? Everything is possible if you employ competent developers. > - Are tools provided for browsing audit trails? > > - Are security violations automatically logged? > > - Is it possible to add custom monitors to the standard auditing? > > - Are tools provided to create from auditing trails custom > reports? Yes. Yes. Yes. Depends on what you expect. http://www.trustedbsd.org/openbsm.html > - Is it possible to audit all transaction of the system or specify > what transaction to audit? Yes. > Support: > > - Is there commercial developer support for freeBSD available? There is no official commercial support for the standard distribution, but there are many companies that develop embedded solutions with FreeBSD. Most likely these companies offer support for their FreeBSD-based products. > - Do freeBSD drivers for ARINC 429 exist? > - > - Do freeBSD drivers for the CAN bus exist? > - > - Do freeBSD drivers for ADFX exist? Maybe somebody out there wrote such drivers. Probably closed source. I don't know. At least they are not part of the standard distribution. Regards Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xmcd fails
On Mon, 03 Sep 2007 13:17:33 -0400 "E. J. Cerejo" <[EMAIL PROTECTED]> wrote: > [...] > First of all thanks for you help but I'm still a little confused > about where to put that file, I put it in the ..audio/xmcd/files/ > directory and named it patch-aj but when I try to install it asks me > "# File to patch:" and I don't know what to put! Did I miss something? Save the entire text e.g. in /tmp/xmcd.patch, change the line for patch-aj, i.e. instead of +++ patch-ajThu May 31 12:58:25 2007 you should put +++ files/patch-ajThu May 31 12:58:25 2007 Then: # cd /usr/ports/audio/xmcd # make clean # patch < /tmp/xmcd.patch # make patch At this stage, you should have three .orig files in files/ directory and three newly corrected files. Then # make install clean Nikola Lečić ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xmcd fails
On Mon, 3 Sep 2007 19:42:55 +0200 Nikola Lecic <[EMAIL PROTECTED]> wrote: > On Mon, 03 Sep 2007 13:17:33 -0400 > "E. J. Cerejo" <[EMAIL PROTECTED]> wrote: > > > [...] > > First of all thanks for you help but I'm still a little confused > > about where to put that file, I put it in the ..audio/xmcd/files/ > > directory and named it patch-aj > > [...] And yes, please delete this patch-aj file before you do anything else. Nikola Lečić ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: auto mount xfce4 and kde
In my case mounting a USB stick simply works with mount -t msdos /dev/da0s1 /mnt/usb - Original Message From: Koen de Wijs <[EMAIL PROTECTED]> To: Mel <[EMAIL PROTECTED]> Cc: freebsd-questions@freebsd.org Sent: Monday, September 3, 2007 7:58:07 PM Subject: Re: auto mount xfce4 and kde Mel schreef: > On Friday 31 August 2007 09:41:23 Koen de Wijs wrote: > > >> This week I installed FreeBSD on a computer of mine. Everything works >> fine but one thing I can't get working. >> Every person should be albe to work with the machine. The only thing >> that isn't working is auto-mounting of cd-roms and usb-sticks. If KDE is >> started and I put a usb-stick in the computer there should appear a icon >> on the desktop with the usb drive on it and that should also work for >> cd-roms. On XFCE4 there should also appear an icon; >> > > Don't know about XFCE4, but read on. > > >> I also added the regular user to the group operators. >> > > You don't wanna do that, unless it's ok with you that a user can get read > access to every file on every disk. Operator is meant for backup users. > > >> What do I need to do to get it working? >> > > portinstall desktop-bsd-tools and read the instructions about devfs, with a > major side-note: > ntfs/fat partitions can only be mounted by root, because mount changes the > owner of the disk to the underlying directory, so it's likely that your users > cannot mount usb-sticks. > To automount usb storage devices as root, have a look at usbd(8) and > usbd.conf(5). You'll have to provide an unmounter for your users though and > instruct them to unmount before removing or things go to hell. > > I've got everyting working right now except for the usb stick. I tried am-utils but I didn't lik that. Is I tried a lot of things and read a lot and everything almost works except for the usb-sticks. Before I will be busy with it for a couple of hours is this the way it should work? http://caia.swin.edu.au/reports/041130A/ This website describes how to add usb-devices but is it normal to add an extra script with devd or is just some wierd workaround? Koen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xmcd fails
Nikola Lecic wrote: On Mon, 3 Sep 2007 19:42:55 +0200 Nikola Lecic <[EMAIL PROTECTED]> wrote: On Mon, 03 Sep 2007 13:17:33 -0400 "E. J. Cerejo" <[EMAIL PROTECTED]> wrote: [...] First of all thanks for you help but I'm still a little confused about where to put that file, I put it in the ..audio/xmcd/files/ directory and named it patch-aj [...] And yes, please delete this patch-aj file before you do anything else. Nikola Lečić Hello Nicola, The same happens when I do that. Here's what I have inside the files directory after I do the make clean: patch-aapatch-acpatch-afpatch-ah pkg-message.in patch-abpatch-adpatch-agpatch-ai Then I ran: ecerejo# patch < /tmp/xmcd.patch and I get this: Hmm... Looks like a unified diff to me... (Patch is indented 1 space.) The text leading up to this was: -- | --- xmcd_d/Imakefile.orig Mon Nov 4 06:44:44 2002 | +++ xmcd_d/Imakefile Mon Nov 4 04:44:28 2002 |+@@ -44,7 +44,7 @@ |+ * #include "Motif.rules" |+ */ |+ |+-CDDBLIB= -L../cddb_d -lcddb |++CDDBLIB= -L../cddb_d -lcddblocal |+ LOCAL_LIBDIR= -L/usr/freeware/lib32 -L/usr/local/lib |+ VORBLIB= -lvorbisenc -lvorbis -logg |+ FLACLIB= -lFLAC -- File to patch: what should I enter here? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: auto mount xfce4 and kde
Do you have usbd="YES" in your rc.conf file? USB stick should be detected as ugen0. Read the dmesg before and after you attach the USB-drive. Add perm /dev/ugen0 0666 into your devfs.conf i /dev/ugen0 /usr/home/Username/mnt/usbstick msdosfs rw, noauto 0 0 into you fstab file I see no reason that the stick is not mounted automatically. You already have HAL on. Koen de Wijs wrote: Mel schreef: On Friday 31 August 2007 09:41:23 Koen de Wijs wrote: This week I installed FreeBSD on a computer of mine. Everything works fine but one thing I can't get working. Every person should be albe to work with the machine. The only thing that isn't working is auto-mounting of cd-roms and usb-sticks. If KDE is started and I put a usb-stick in the computer there should appear a icon on the desktop with the usb drive on it and that should also work for cd-roms. On XFCE4 there should also appear an icon; Don't know about XFCE4, but read on. I also added the regular user to the group operators. You don't wanna do that, unless it's ok with you that a user can get read access to every file on every disk. Operator is meant for backup users. What do I need to do to get it working? portinstall desktop-bsd-tools and read the instructions about devfs, with a major side-note: ntfs/fat partitions can only be mounted by root, because mount changes the owner of the disk to the underlying directory, so it's likely that your users cannot mount usb-sticks. To automount usb storage devices as root, have a look at usbd(8) and usbd.conf(5). You'll have to provide an unmounter for your users though and instruct them to unmount before removing or things go to hell. I've got everyting working right now except for the usb stick. I tried am-utils but I didn't lik that. Is I tried a lot of things and read a lot and everything almost works except for the usb-sticks. Before I will be busy with it for a couple of hours is this the way it should work? http://caia.swin.edu.au/reports/041130A/ This website describes how to add usb-devices but is it normal to add an extra script with devd or is just some wierd workaround? Koen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: auto mount xfce4 and kde
This is how my rc.conf appears $ cat /etc/rc.conf |grep usb usbd_enable="YES" I will try adding those line, thank you! - Original Message From: Predrag Punosevac <[EMAIL PROTECTED]> To: Koen de Wijs <[EMAIL PROTECTED]>; [EMAIL PROTECTED] Sent: Monday, September 3, 2007 9:39:48 PM Subject: Re: auto mount xfce4 and kde Do you have usbd="YES" in your rc.conf file? USB stick should be detected as ugen0. Read the dmesg before and after you attach the USB-drive. Add perm /dev/ugen0 0666 into your devfs.conf i /dev/ugen0 /usr/home/Username/mnt/usbstick msdosfs rw, noauto 0 0 into you fstab file I see no reason that the stick is not mounted automatically. You already have HAL on. Koen de Wijs wrote: > Mel schreef: >> On Friday 31 August 2007 09:41:23 Koen de Wijs wrote: >> >> >>> This week I installed FreeBSD on a computer of mine. Everything works >>> fine but one thing I can't get working. >>> Every person should be albe to work with the machine. The only thing >>> that isn't working is auto-mounting of cd-roms and usb-sticks. If >>> KDE is >>> started and I put a usb-stick in the computer there should appear a >>> icon >>> on the desktop with the usb drive on it and that should also work for >>> cd-roms. On XFCE4 there should also appear an icon; >>> >> >> Don't know about XFCE4, but read on. >> >> >>> I also added the regular user to the group operators. >>> >> >> You don't wanna do that, unless it's ok with you that a user can get >> read access to every file on every disk. Operator is meant for backup >> users. >> >> >>> What do I need to do to get it working? >>> >> >> portinstall desktop-bsd-tools and read the instructions about devfs, >> with a major side-note: >> ntfs/fat partitions can only be mounted by root, because mount >> changes the owner of the disk to the underlying directory, so it's >> likely that your users cannot mount usb-sticks. >> To automount usb storage devices as root, have a look at usbd(8) and >> usbd.conf(5). You'll have to provide an unmounter for your users >> though and instruct them to unmount before removing or things go to >> hell. >> >> > > > > I've got everyting working right now except for the usb stick. I tried > am-utils but I didn't lik that. Is I tried a lot of things and read a > lot and everything almost works except for the usb-sticks. Before I > will be busy with it for a couple of hours is this the way it should > work? > http://caia.swin.edu.au/reports/041130A/ > This website describes how to add usb-devices but is it normal to add > an extra script with devd or is just some wierd workaround? > > Koen > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
periodic freeze and reset
Hello list, My desktop running 6.2-STABLE is freezing then resetting shortly after. This behaviour happens every couple hours, for no apparent reason. I checked messages, etc, there's nothing there. This is getting annoying... :/ I'd appreciate any hints/where to look/what to look for. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: periodic freeze and reset
Ghirai <[EMAIL PROTECTED]> wrote: > > Hello list, > > My desktop running 6.2-STABLE is freezing then resetting shortly after. > This behaviour happens every couple hours, for no apparent reason. > > I checked messages, etc, there's nothing there. > > This is getting annoying... :/ > > I'd appreciate any hints/where to look/what to look for. My first guess would be hardware problems. Have you run memtest? Checked for cooling problems? cpuburn to test for a flaky CPU? -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: periodic freeze and reset
On Mon, 3 Sep 2007 16:31:41 -0400 Bill Moran <[EMAIL PROTECTED]> wrote: > Ghirai <[EMAIL PROTECTED]> wrote: > > > > Hello list, > > > > My desktop running 6.2-STABLE is freezing then resetting shortly after. > > This behaviour happens every couple hours, for no apparent reason. > > > > I checked messages, etc, there's nothing there. > > > > This is getting annoying... :/ > > > > I'd appreciate any hints/where to look/what to look for. > > My first guess would be hardware problems. Have you run memtest? > Checked for cooling problems? cpuburn to test for a flaky CPU? > Haven't ran any hw monitors/test, but i spend time periodically in windows, about 2-3 days each time, and it didn't crash reset. That's why i think there are no hw issues. In FreeBSD the freeze+resets occur and seemingly random intervals, but not longer than 30 hours. Mostly within 6 hours. -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ports/115885: misc/help2man: help2man ignores installed gettext
On Monday 03 September 2007 19:32:53 snowcrash+freebsd wrote: > help2man port is borked. > every other port with perl-module dependencies is fine ... Oh really? Could you provide output of a 'portupgrade -f one_of_every_other_port_with_perl_module_dependency'? -- Mel People using reply to all on lists, must think I need 2 copies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: periodic freeze and reset
hello, > My desktop running 6.2-STABLE is freezing then resetting shortly after. > This behaviour happens every couple hours, for no apparent reason. > > I checked messages, etc, there's nothing there. Do you have a decent (Intel) NIC? This was my problem a couple of months ago. Not any more. Regards, zbigniew szalbot www.lcwords.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: auto mount xfce4 and kde
On Monday 03 September 2007 18:58:07 Koen de Wijs wrote: > Mel schreef: > > On Friday 31 August 2007 09:41:23 Koen de Wijs wrote: > >> This week I installed FreeBSD on a computer of mine. Everything works > >> fine but one thing I can't get working. > >> Every person should be albe to work with the machine. The only thing > >> that isn't working is auto-mounting of cd-roms and usb-sticks. If KDE is > >> started and I put a usb-stick in the computer there should appear a icon > >> on the desktop with the usb drive on it and that should also work for > >> cd-roms. On XFCE4 there should also appear an icon; > > > > Don't know about XFCE4, but read on. > > > >> I also added the regular user to the group operators. > > > > You don't wanna do that, unless it's ok with you that a user can get read > > access to every file on every disk. Operator is meant for backup users. > > > >> What do I need to do to get it working? > > > > portinstall desktop-bsd-tools and read the instructions about devfs, with > > a major side-note: > > ntfs/fat partitions can only be mounted by root, because mount changes > > the owner of the disk to the underlying directory, so it's likely that > > your users cannot mount usb-sticks. > > To automount usb storage devices as root, have a look at usbd(8) and > > usbd.conf(5). You'll have to provide an unmounter for your users though > > and instruct them to unmount before removing or things go to hell. > > I've got everyting working right now except for the usb stick. I tried > am-utils but I didn't lik that. Is I tried a lot of things and read a > lot and everything almost works except for the usb-sticks. Before I will > be busy with it for a couple of hours is this the way it should work? > http://caia.swin.edu.au/reports/041130A/ > This website describes how to add usb-devices but is it normal to add an > extra script with devd or is just some wierd workaround? That's a very interesting article and explains why my unmounter is never called. And yes, it is the proper way. devd (and usbd specifically for usb devices) has been created to be able to propagate kernel hardware events to user land. It follows unix principles that root is owner of the machine and it's resources and decides what to do with it. Using these events one can call simple scripts or very complex programs. As for KDE, also look at dcop. For instance: dcop --all-users --all-sessions knotify default notify notify Me \ "I just sent you guys a notification. I could use it to tell you that the USB stick has been mounted." nosound nofile 2 0 -- Mel People using reply to all on lists, must think I need 2 copies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPMI kernel object i/o error
On Monday 03 September 2007 17:10:05 Grant Peel wrote: > Hi all, > > I am trying to get ipmitool working on a Dell 1850. > > When I kldload the ipmi.ko, it seems to load fine but the dev device is not > being created. > > I can see this in the dmesg any time I try. > > If anyone can interprate this I wouold be greatful > > The ACPI driver cannot be loaded after boot. > ipmi0: on isa0 > ipmi0: KCS mode found at io 0xca8 alignment 0x4 on isa > ipmi0: couldn't configure I/O resource > device_attach: ipmi0 attach returned 6 > ppc0: parallel port not found. > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled I'd start by: cat <>/boot/loader.conf acpi_load="YES" ipmi_load="YES" EOF and reboot. -- Mel People using reply to all on lists, must think I need 2 copies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: periodic freeze and reset
On Mon, 3 Sep 2007 22:31:06 +0200 "Zbigniew Szalbot" <[EMAIL PROTECTED]> wrote: > hello, > > > My desktop running 6.2-STABLE is freezing then resetting shortly after. > > This behaviour happens every couple hours, for no apparent reason. > > > > I checked messages, etc, there's nothing there. > Do you have a decent (Intel) NIC? This was my problem a couple of > months ago. Not any more. > I have a D-Link DFE-530 NIC (the onboard 1GB Attansic doesn't work), which the OS detected as Realtek, and it seems to work fine. If i attach a copy of dmesg would it help? Thanks. -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: periodic freeze and reset
Ghirai <[EMAIL PROTECTED]> wrote: > > On Mon, 3 Sep 2007 16:31:41 -0400 > Bill Moran <[EMAIL PROTECTED]> wrote: > > > Ghirai <[EMAIL PROTECTED]> wrote: > > > > > > Hello list, > > > > > > My desktop running 6.2-STABLE is freezing then resetting shortly after. > > > This behaviour happens every couple hours, for no apparent reason. > > > > > > I checked messages, etc, there's nothing there. > > > > > > This is getting annoying... :/ > > > > > > I'd appreciate any hints/where to look/what to look for. > > > > My first guess would be hardware problems. Have you run memtest? > > Checked for cooling problems? cpuburn to test for a flaky CPU? > > > > Haven't ran any hw monitors/test, but i spend time periodically in windows, > about 2-3 days each time, and it didn't crash reset. > > That's why i think there are no hw issues. > > In FreeBSD the freeze+resets occur and seemingly random intervals, but > not longer than 30 hours. Mostly within 6 hours. That seems to suggest that it isn't hardware, but doesn't completely eliminate the possibility. Often, vendors write drivers to work around known deficiencies in their hardware. Since FreeBSD's drivers are written to the specs, they may expose these deficiencies while the vendor's drivers intentionally avoid them. Additionally, FreeBSD seems to work hardware in different ways than Windows, thus tickling corner cases with hardware that's just barely failing. Run some hardware tests to be sure. Also, the driver issue that was raised is a good point. I've seen a number of buggy NICs where the vendor's driver worked around the bugginess so it _looked_ like FreeBSD was at fault. Make sure all your hardware is known to work on FreeBSD. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
harassing cdrecord on FreeBSD-6.1-R amd64
Dear Sirs I tried to write a new CD by using K3b and it found just its image. It's not able to find a suitable driver. When I type "cdrecord -scanbus" the output is the ditto CDrom followed by its adress 1,0,0...what should I do? Regards Luiz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ssh forwarding question
I installed tightvnc on FreeBSD 6.2 and I start the vncserver on that machine. Thereafter, I can do vnc via ssh to that vncserver from my kubuntu desktop with something like this (hostname is the only thing changed to protect the innocent): ssh -L 15901:localhost:5901 -N -f -l pollywog myhost.example.com However, when I attempt to connect to that vncserver from my laptop running FreeBSD 7 I always get this: bind: Can't assign requested address channel_setup_fwd_listener: cannot listen to port: 15901 Could not request local forwarding. Is the "bind" referring to the nameserver BIND? BTW I am able to connect to the vncserver from the laptop, just not via ssh. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: harassing cdrecord on FreeBSD-6.1-R amd64
[EMAIL PROTECTED] wrote: Dear Sirs I tried to write a new CD by using K3b and it found just its image. It's not able to find a suitable driver. When I type "cdrecord -scanbus" the output is the ditto CDrom followed by its adress 1,0,0...what should I do? Regards Luiz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Before start using fancy tools just try to burn from the command line with cdrtools. Everything is explained in section 18.6 of the Handbook. To get K3b working you must edit permissions? Did you edit devfs.conf file? own /dev/acd0 root:operator perm /dev/acd0 0666 link acd0 dvd link acd0 rdvd permcd0 0666 permxpt00666 permpass0 0666 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh forwarding question
Pollywog wrote: bind: Can't assign requested address channel_setup_fwd_listener: cannot listen to port: 15901 Could not request local forwarding. It seems to me that you have a problem with a firewall. Look at your own message. It looks like port 15901 is closed for listening. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: periodic freeze and reset
On Mon, 3 Sep 2007 17:46:54 -0400 Bill Moran <[EMAIL PROTECTED]> wrote: > Ghirai <[EMAIL PROTECTED]> wrote: > > > > On Mon, 3 Sep 2007 16:31:41 -0400 > > Bill Moran <[EMAIL PROTECTED]> wrote: > > > > > Ghirai <[EMAIL PROTECTED]> wrote: > > > > > > > > Hello list, > > > > > > > > My desktop running 6.2-STABLE is freezing then resetting shortly after. > > > > This behaviour happens every couple hours, for no apparent reason. > > > > > > > > I checked messages, etc, there's nothing there. > > > > > > > > This is getting annoying... :/ > > > > > > > > I'd appreciate any hints/where to look/what to look for. > > > > > > My first guess would be hardware problems. Have you run memtest? > > > Checked for cooling problems? cpuburn to test for a flaky CPU? > > > > > > > Haven't ran any hw monitors/test, but i spend time periodically in windows, > > about 2-3 days each time, and it didn't crash reset. > > > > That's why i think there are no hw issues. > > > > In FreeBSD the freeze+resets occur and seemingly random intervals, but > > not longer than 30 hours. Mostly within 6 hours. > > That seems to suggest that it isn't hardware, but doesn't completely > eliminate the possibility. > > Often, vendors write drivers to work around known deficiencies in their > hardware. Since FreeBSD's drivers are written to the specs, they may > expose these deficiencies while the vendor's drivers intentionally avoid > them. > > Additionally, FreeBSD seems to work hardware in different ways than > Windows, thus tickling corner cases with hardware that's just barely > failing. Run some hardware tests to be sure. > > Also, the driver issue that was raised is a good point. I've seen a > number of buggy NICs where the vendor's driver worked around the > bugginess so it _looked_ like FreeBSD was at fault. > > Make sure all your hardware is known to work on FreeBSD. > All right, i'll do some tests with the NIC, change it, etc. I'll post back results. Thanks. -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh forwarding question
On Monday 03 September 2007 23:08:45 Predrag Punosevac wrote: > Pollywog wrote: > > bind: Can't assign requested address > > channel_setup_fwd_listener: cannot listen to port: 15901 > > Could not request local forwarding. > > It seems to me that you have a problem with a firewall. Look at your own > message. It looks like port 15901 is closed for listening. Since I am new to FreeBSD, I think you might be correct, though I do not recall ever setting up a firewall on this machine. thanks, I will look into that ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
how to access dvdrom drive
I have just installed free bsd and trying to access my dvdrom drive. I issued the command: "mount /dev/acd0 /cdrom" but I got a message stating "incorrect super block." What is the correct method for accessing the files on my dvd rom. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh forwarding question
On Monday 03 September 2007 23:08:45 Predrag Punosevac wrote: > Pollywog wrote: > > bind: Can't assign requested address > > channel_setup_fwd_listener: cannot listen to port: 15901 > > Could not request local forwarding. > > It seems to me that you have a problem with a firewall. Look at your own > message. It looks like port 15901 is closed for listening. Here is another clue. Something seems to be wrong with the loopback: lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 ripple# ping localhost PING localhost (127.0.0.1): 56 data bytes ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address I have not set up a firewall on this host, so the problem is something else, perhaps the output above from ifconfig helps. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to access dvdrom drive
On 2007-09-03 19:51, Terrence Wilson <[EMAIL PROTECTED]> wrote: > I have just installed free bsd and trying to access my dvdrom drive. I > issued the command: "mount /dev/acd0 /cdrom" but I got a message > stating "incorrect super block." What is the correct method for > accessing the files on my dvd rom. The default "filesystem type" used by mount is "ufs", so you are trying to mount the DVD disk as a "UFS filesystem". It is certainly possible to create a DVD disk with a UFS filesystem, but the most common format for storing data in DVD disks is the filesystem known as "cd9660", so you may have to use: mount -t cd9660 /dev/acd0 /cdrom More details about creating and using CD-ROM disks, and DVD-ROM disks can be found in our Handbook. You can read the relevant sections at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html When you find the time, please feel free to skim through the rest of the Handbook too. It contains a huge wealth of information about using FreeBSD, and I'm sure you will find a lot of interestings bit there. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh forwarding question
On Tuesday 04 September 2007 00:13:13 Pollywog wrote: > On Monday 03 September 2007 23:08:45 Predrag Punosevac wrote: > > Pollywog wrote: > > > bind: Can't assign requested address > > > channel_setup_fwd_listener: cannot listen to port: 15901 > > > Could not request local forwarding. > > > > It seems to me that you have a problem with a firewall. Look at your own > > message. It looks like port 15901 is closed for listening. > > Here is another clue. Something seems to be wrong with the loopback: > > lo0: flags=8049 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > inet6 ::1 prefixlen 128 > ripple# ping localhost > PING localhost (127.0.0.1): 56 data bytes > ping: sendto: Can't assign requested address > ping: sendto: Can't assign requested address > ping: sendto: Can't assign requested address > ping: sendto: Can't assign requested address > ping: sendto: Can't assign requested address > ping: sendto: Can't assign requested address > > I have not set up a firewall on this host, so the problem is something > else, perhaps the output above from ifconfig helps. Yes that was the problem. I did this: ifconfig lo0 127.0.0.1 netmask 255.0.0.0 After that I could ping localhost and my VNC connection via SSH succeeded. Now how do I fix this problem permanently in FreeBSD, by running sysinstall again and setting the loopback address from there? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: My questions about freeBSD
On Mon, 3 Sep 2007 19:05:45 +0200 (CEST) Björn König <[EMAIL PROTECTED]> wrote: > > - Does it offer Failover with the standard packages? This can be > > supported be clustering software or by dispatching service requests to > > different instances of the same server. > > FreeBSD doesn't support clustering. but this support may be available with tools from the ports collection. Which in themselves may or may not be BSD licensed. I know, ports != standard packages. Or can be added by yourself, and , hopefully, donated back to the project :) B _ {Beto|Norberto|Numard} Meijome My wish is that your day will be a good one. If not... May the fleas of one thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: periodic freeze and reset
Hi, I have had crashes too on my machine with the 6.2 RELEASE kernel. They are gone since I use a custom kernel. The fun is that I have t use the rl NIC driver like you do. Erich Ghirai wrote: On Mon, 3 Sep 2007 17:46:54 -0400 Bill Moran <[EMAIL PROTECTED]> wrote: Ghirai <[EMAIL PROTECTED]> wrote: On Mon, 3 Sep 2007 16:31:41 -0400 Bill Moran <[EMAIL PROTECTED]> wrote: Ghirai <[EMAIL PROTECTED]> wrote: Hello list, My desktop running 6.2-STABLE is freezing then resetting shortly after. This behaviour happens every couple hours, for no apparent reason. I checked messages, etc, there's nothing there. This is getting annoying... :/ I'd appreciate any hints/where to look/what to look for. My first guess would be hardware problems. Have you run memtest? Checked for cooling problems? cpuburn to test for a flaky CPU? Haven't ran any hw monitors/test, but i spend time periodically in windows, about 2-3 days each time, and it didn't crash reset. That's why i think there are no hw issues. In FreeBSD the freeze+resets occur and seemingly random intervals, but not longer than 30 hours. Mostly within 6 hours. That seems to suggest that it isn't hardware, but doesn't completely eliminate the possibility. Often, vendors write drivers to work around known deficiencies in their hardware. Since FreeBSD's drivers are written to the specs, they may expose these deficiencies while the vendor's drivers intentionally avoid them. Additionally, FreeBSD seems to work hardware in different ways than Windows, thus tickling corner cases with hardware that's just barely failing. Run some hardware tests to be sure. Also, the driver issue that was raised is a good point. I've seen a number of buggy NICs where the vendor's driver worked around the bugginess so it _looked_ like FreeBSD was at fault. Make sure all your hardware is known to work on FreeBSD. All right, i'll do some tests with the NIC, change it, etc. I'll post back results. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh forwarding question
On Monday 03 September 2007, Pollywog said: > On Tuesday 04 September 2007 00:13:13 Pollywog wrote: > > On Monday 03 September 2007 23:08:45 Predrag Punosevac wrote: > > > Pollywog wrote: > > > > bind: Can't assign requested address > > > > channel_setup_fwd_listener: cannot listen to port: 15901 > > > > Could not request local forwarding. > > > > > > It seems to me that you have a problem with a firewall. Look at > > > your own message. It looks like port 15901 is closed for > > > listening. > > > > Here is another clue. Something seems to be wrong with the > > loopback: > > > > lo0: flags=8049 mtu 16384 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > > inet6 ::1 prefixlen 128 > > ripple# ping localhost > > PING localhost (127.0.0.1): 56 data bytes > > ping: sendto: Can't assign requested address > > ping: sendto: Can't assign requested address > > ping: sendto: Can't assign requested address > > ping: sendto: Can't assign requested address > > ping: sendto: Can't assign requested address > > ping: sendto: Can't assign requested address > > > > I have not set up a firewall on this host, so the problem is > > something else, perhaps the output above from ifconfig helps. > > Yes that was the problem. I did this: > > ifconfig lo0 127.0.0.1 netmask 255.0.0.0 > > After that I could ping localhost and my VNC connection via SSH > succeeded. Now how do I fix this problem permanently in FreeBSD, by > running sysinstall again and setting the loopback address from > there? Make sure you have this line in /etc/rc.conf: ifconfig_lo0="inet 127.0.0.1" Beech -- --- Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.2R/announce.html --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
problem with running mdconfig from shell script
Hi, I want to make automatic backup of my MySQL by using FreeBSD snapshots. All works fine when I run the commands from my Putty, but when I run them from a shell script the 2th command (mdconfig) gives an error. These are the comments to make the backup, that work fine from Putty => /usr/local/bin/mysql -u??? -p??? -e "FLUSH TABLES WITH READ LOCK;system mksnap_ffs /usr /usr/snapshot;UNLOCK TABLES;" mdconfig -a -t vnode -f /usr/snapshot -u 4 mount -r /dev/md4 /mnt tar -cvjf /usr/home/mysqlsnapshot.tar.bz2 /mnt/home/databases umount /mnt mdconfig -d -u 4 rm -f /usr/snapshot I get this error when I run the above from a .sh script => myserver# ./mysqlsnapshot.sh : not found mdconfig: bad unit: 4 : No such file or directory ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh forwarding question [SOLVED]
On Tuesday 04 September 2007 00:37:15 Beech Rintoul wrote: > > Make sure you have this line in /etc/rc.conf: > > ifconfig_lo0="inet 127.0.0.1" > > Beech Thanks, I added the line. I did not know it was going to be that simple a fix. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to access dvdrom drive
Predrag Punosevac wrote: Terrence Wilson wrote: I have just installed free bsd and trying to access my dvdrom drive. I issued the command: "mount /dev/acd0 /cdrom" but I got a message stating "incorrect super block." What is the correct method for accessing the files on my dvd rom. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" You did not specify the file type? If you are mounting let say data file command will be mount -t cd9660 /dev/acd0 /mnt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh forwarding question
Predrag Punosevac wrote: Pollywog wrote: On Tuesday 04 September 2007 00:13:13 Pollywog wrote: On Monday 03 September 2007 23:08:45 Predrag Punosevac wrote: Pollywog wrote: bind: Can't assign requested address channel_setup_fwd_listener: cannot listen to port: 15901 Could not request local forwarding. It seems to me that you have a problem with a firewall. Look at your own message. It looks like port 15901 is closed for listening. Here is another clue. Something seems to be wrong with the loopback: lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 ripple# ping localhost PING localhost (127.0.0.1): 56 data bytes ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address I have not set up a firewall on this host, so the problem is something else, perhaps the output above from ifconfig helps. Yes that was the problem. I did this: ifconfig lo0 127.0.0.1 netmask 255.0.0.0 After that I could ping localhost and my VNC connection via SSH succeeded. Now how do I fix this problem permanently in FreeBSD, by running sysinstall again and setting the loopback address from there? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" You can just edit your rc.conf file ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Philosophy of default "pkg_add -r" PACKAGESITE?
Here's one thing I've never quite understood about FreeBSD and I was hoping somebody could provide some enlightenment... I've got 6.2-release installed. By default (as you all probably know) "pkg_add -r" fetches packages from the "release" directory: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release Now here's where it gets weird for me. If I understand the FreeBSD release methodology , that "release" is a frozen-in-time snapshot of a particular release (6.2 in my case) that gets no future updates. As we move farther and farther beyond a particular releases debut-date, that snapshot (and the packages it contains) gets increasingly stale. Do I have that right? If I do, it seems to me that the absolute first thing I should do after installing a release version would be to change where "pkg_add -r" is sourcing packages from. Either to "current" if I like to live on the edge or "stable" if I want to be a more conservative. I'm curious, why does "pkg_add -r" point to the "release" snapshot of ports by default? Is the idea that a "release" is well-tested and that any deviation from that (even security or bug-fix changes) is an unknown that new users need to be shielded against when grabbing packages with "pkg_add -r"? Seems to me it would be better to have "pkg_add -r" point to stable (which, if I understand things correctly, does get updated packages). And how does one go about *permanently* changing the "pkg_add -r" target. You can set the PACKAGESITE variable in the shell which will work on a user-by-user basis but isn't there a way to centrally change PACKAGESITE without relying on each user to have properly config'd their individual shells? I know a lot of thought has gone into the current system so I'm thinking that these questions are due to the fact that I'm just not grok'ing something important about the philosophy behind all this. Any help would be greatly appreciated. - Gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Handling failed mount (media not connected)
My backup script (sh) works fine except when the backup drive (USB Flash drive) is not plugged in. I'm using mount_msdosfs to mount the backup drive. What is the best way to handle mount_msdosfs error? If the drive is not mounted, I want to detect the failure and execute error-handling code. I tried executing it in a subshell, which works when it FAILS, but not when it WORKS. Also tried trap 0, but it did not help. Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Handling failed mount (media not connected)
L Goodwin writes: > My backup script (sh) works fine except when the > backup drive (USB Flash drive) is not plugged in. I'm > using mount_msdosfs to mount the backup drive. > > What is the best way to handle mount_msdosfs error? > If the drive is not mounted, I want to detect the > failure and execute error-handling code. First approximation, using sh: ls /dev | grep da4s1 if [ $? -eq 0 ]; then # drive is available else # drive is not available if (Replace "da4s1" with whatever the flash drive gets created as.) Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sysinstall: No Floppy Devices Found
On Tue, 16 Jan 2007, Kevin Kobb wrote: I have found that when I do an install with an install.cfg file on a floppy, I must insert the floppy right after the system begins to boot from CD. If I don't when I tell sysinstall to read the floppy I get an error. As a work around, if I go into the options and select rescan for hardware devices (not sure if that is the exact wording) after inserting the floppy disk, it will work OK as well. Might be worth a try. No luck. I've rescanned time after time, and get nothing. No sloppy devices show up in dmesg, cannot use mount_msdosfs to access the floppy, etc. This is truly, truly frustrating, as I am trying to follow THESE instructions: http://3ware.com/KB/article.aspx?id=14850 I've even tried installing to an external (non-raid) drive in an attempt to use that drive as a "really big floppy". The boot loader doesn't know how to see the BSD partition on it, and apparently can only see "raw" bios drives. Another possible approach was to try and boot from the single drive and then use sysinstall to install onto the RAID array, but I've had issues with that before. As an aside, the module HAS to be loaded before the boot process, so I can't use kldload to load the module from a fixit floppy or something like that. My workaround at the moment is that I am downloading a snapshot ISO of -STABLE It might be nice if the "loading modules from floppy" procedure (while rarely required) was better documented. -Dan -- "It's three o'clock in the morning. It's too late for 'oops'. After Locate Updates, don't even go there." -Paul Baecker January 3, 2k Indeed, sometime after 3AM Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to change isc-dhcp3-server replies?
I found out where my dhcp offers are going. It seems my dhcp offers are being sent out my external port instead of my internal port. Anyone ever have a problem where the internal port is setup as a server and for some reason natd kicked in and sent the data out using the external ip? Thanks, Joe > Ok, no so true. I am watching tcpdump output from the two binaries. The > old binary sends its reply to 255.255.255.255, while the new one sends its > reply to 192.168.0.15. Same config file and I tried the always-broadcast > flag, and it only sets the bit for the client, but the server still > broadcasts its reply to the client on the subnet mask. > > Old client reply (ml.. is server af is client): > > 1188694380.961642 ml:ml:ml:ml:ml:ml > ff:ff:ff:ff:ff:ff, ethertype IPv4 > (0x0800), length 342: (tos 0x10, ttl 16, id 0, offset 0, flags [none], > proto: UDP (17), length: 328) 192.168.0.15.67 > 255.255.255.255.68: > BOOTP/DHCP, Reply, length: 300, xid:0x77915dc3, flags: [Broadcast] (0x8000) > Your IP: 192.168.0.13 > Client Ethernet Address: af:af:af:af:af:af [|bootp] > > new client does not do this and clients do not get their ip address. I read > somewhere that linux had a problem doing this in 2.2 kernels and it has > something to do with the routing table in linux. Not sure what is going on > here, but the routing table looks fine. - Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: g_vfs write error = 28, bad memory?
On Mon, 3 Sep 2007, Kris Kennaway wrote: > Ian Smith wrote: [..] > > But is running out of memory with swap-backed md (with no swap) likely > > to be any prettier than the panics from (unreserved) malloc backing? > Probably not. No worse though. Couldn't be :) > > By 'ideally' I guess you mean that it doesn't, yet? I hope to get a > Correct. Ta. Had a bit of a browse through md.c, but soon got a stiff neck. > > Also noted in passing: the 'auto' parameter to bsdlabel(8) used by one > > mdconfig(8) example is undocumented, though supported in bsdlabel.c > > OK, you should submit a PR. FWIW, docs/116047 Cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Handling failed mount (media not connected)
Robert Huff wrote: L Goodwin writes: My backup script (sh) works fine except when the backup drive (USB Flash drive) is not plugged in. I'm using mount_msdosfs to mount the backup drive. What is the best way to handle mount_msdosfs error? If the drive is not mounted, I want to detect the failure and execute error-handling code. First approximation, using sh: ls /dev | grep da4s1 if [ $? -eq 0 ]; then # drive is available else # drive is not available if (Replace "da4s1" with whatever the flash drive gets created as.) Robert Huff Possibly better (using sh again..): #!/bin/sh error_handling_func() { err_code=$1; shift; # do something here... exit $err_code; } # This assumes that you have: #1. cam/pass support built into the kernel. #2. your USB device is interpreted as a SCSI device (which should be the case). #3. your USB device is unique / identifiable by a string. camcontrol | grep 'Device string' || error_handling_func $? # do something here since it passed.. Also, FWIW conditionals are actually done like: if {statement} ; then elif {statement}; then else fi in Bourne shells. Also, mount_msdosfs should return a non-zero exit code. Cheers, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"