Re: Boot loader doesn't see [root filesystem on] ATA disk after successful install
On Tue, 10 May 2005 22:23:28 -0700 (PDT) (BBrian O'Shea [EMAIL PROTECTED] wrote (B (B [...] (B There is a boot loader installed in the MBR of both disks, but I am (B trying to boot the IDE disk from the loader on its own MBR. I didn't (B try booting the loader from the SCSI disk and then having it try to (B boot the IDE disk, but I don't think it would make a difference. I'll (B give it a try tomorrow though, just for the sake completeness. (B (BFrom what little I've seen, it could be worth a try if you have the time. (B (B [...] (B It can boot from the CD-ROM drive, which is on the same ATA controller. (B I have both the IDE disk and the CD-ROM drive set to cable select for (B their master/slave configuration. Could this be the problem? (B (BI am told that cable select is more reliable with modern cables, less (Breliable with older cables. (UDMA being modern if I recall correctly.) (BYou can search the web on "UDMA cable" to get quite a bit of information (Bon the cabling and positioning issues. There's a site called, I think, (Bpcguide, that is quite helpful. (B (B I'll (B try explicitly setting the IDE disk to master and CD-ROM to slave. (B (BFrom what I've read and what I've experienced, putting hard disks and (BCD-ROMs on the same channel is counterproductive. Boot problems and data (Bproblems are said to be likely on many controller and drive combinations. (B (B If you can boot from the SCSI, check the dmesg there to see whether the (B ATA controller is recognized by the older system. That wouldn't give an (B absolute answer, but might yield a clue. (B (B The older system can see the CD-ROM drive, so it must be recognizing the (B ATA controller. I'll post the relevant dmesg output tomorrow though. (B (B I hear that it's usually best to just let freeBSD's formatting utilities (B do what they think they should and not try to meddle with that. (B (B Oh, well. Too late for that! Maybe I can set it back to the old (B values. (B (BWhen I was trying to set the geometry by hand, I found that fdisk and (Bdisklabel would go back to the geometry they thought was best. (B (B However, when I changed the geometry to what the BIOS thought (B was correct, the reported disk size was closer to the advertised size. (B In both cases though the symptom was the same. (B (BI thought I noticed something like that happen at one point while trying (Bto set the geometry by hand, but I dom't remember the details. (B (B-- (BJoel Rees [EMAIL PROTECTED] (Bdigitcom, inc. $B3t<02q
Re: a problem with compiling kernel
On Wed, May 11, 2005 at 09:18:33AM +0400, Alexander Soldatov wrote: Hi! I've got an error when I try to compile kernel with new configuration. That is: if_gif.c: In function 'gif_destroy': if_gif.c:187: warning: unused variable 'err' Error code 1 That's not an error, please give more context for what you're doing. If you're using -j with your kernel build, don't, because it obscures the real error. Kris pgp6NVuEWasGC.pgp Description: PGP signature
Re: Ports proxy configuration?
On Wed, May 11, 2005 at 01:59:51PM +0800, Xu Qiang wrote: Hi, guys: I want to install some softwares from FreeBSD Ports collection. But without configuration of proxy, it can't connect out to fetch the src tar balls, and compile/install. I searched the handbook but didn't find any useful info about setting of proxy for Ports. Any suggestions? The ports collection just uses fetch(1), so that's where the relevant documentation is. Kris pgpXTmAOpLGTP.pgp Description: PGP signature
RE: Ports proxy configuration?
Kris Kennaway wrote: The ports collection just uses fetch(1), so that's where the relevant documentation is. I man fetch, but didn't find any info related to proxy setting. thanks anyway for your suggestion, Regards, Xu Qiang ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cdce Patch
Hi, Could anyone enlightten me on how to apply a patch to a port? i recently installed the port cdce and encountered cdce0: could not find data bulk in. there's a patch available fo this, patch-if_cdce.c, bu t i have no idea how to apply it. Thanks in advance for any help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports proxy configuration?
On Wed, May 11, 2005 at 02:29:00PM +0800, Xu Qiang wrote: Kris Kennaway wrote: The ports collection just uses fetch(1), so that's where the relevant documentation is. I man fetch, but didn't find any info related to proxy setting. ENVIRONMENT FTP_TIMEOUT maximum time, in seconds, to wait before aborting an FTP connection. HTTP_TIMEOUT maximum time, in seconds, to wait before aborting an HTTP connection. All environment variables mentioned in the documentation for the fetch(3) library are supported. A number of these are quite important to the proper operation of fetch; you are strongly encouraged to read fetch(3) as well. Kris pgpkxLRS0f0YN.pgp Description: PGP signature
RE: Ports proxy configuration?
Kris Kennaway wrote: ENVIRONMENT FTP_TIMEOUT maximum time, in seconds, to wait before aborting an FTP connection. HTTP_TIMEOUT maximum time, in seconds, to wait before aborting an HTTP connection. All environment variables mentioned in the documentation for the fetch(3) library are supported. A number of these are quite important to the proper operation of fetch; you are strongly encouraged to read fetch(3) as well. Ah, here is it: - ENVIRONMENT FETCH_BIND_ADDRESS Specifies a hostname or IP address to which sockets used for outgoing connections will be bound. FTP_LOGIN Default FTP login if none was provided in the URL. FTP_PASSIVE_MODEIf set to anything but `no', forces the FTP code to use passive mode. FTP_PASSWORDDefault FTP password if the remote server requests one and none was provided in the URL. FTP_PROXY URL of the proxy to use for FTP requests. The docu- ment part is ignored. FTP and HTTP proxies are sup- ported; if no scheme is specified, FTP is assumed. If the proxy is an FTP proxy, libfetch will send [EMAIL PROTECTED]' as user name to the proxy, where `user' is the real user name, and `host' is the name of the FTP server. If this variable is set to an empty string, no proxy will be used for FTP requests, even if the HTTP_PROXY variable is set. ftp_proxy Same as FTP_PROXY, for compatibility. HTTP_AUTH Specifies HTTP authorization parameters as a colon- separated list of items. The first and second item are the authorization scheme and realm respectively; further items are scheme-dependent. Currently, only basic authorization is supported. Basic authorization requires two parameters: the user name and password, in that order. This variable is only used if the server requires authorization and no user name or password was speci- fied in the URL. HTTP_PROXY URL of the proxy to use for HTTP requests. The docu- ment part is ignored. Only HTTP proxies are sup- ported for HTTP requests. If no port number is spec- ified, the default is 3128. Note that this proxy will also be used for FTP docu- ments, unless the FTP_PROXY variable is set. http_proxy Same as HTTP_PROXY, for compatibility. HTTP_PROXY_AUTH Specifies authorization parameters for the HTTP proxy in the same format as the HTTP_AUTH variable. This variable is used if and only if connected to an HTTP proxy, and is ignored if a user and/or a pass- word were specified in the proxy URL. HTTP_REFERERSpecifies the referrer URL to use for HTTP requests. If set to ``auto'', the document URL will be used as referrer URL. HTTP_USER_AGENT Specifies the User-Agent string to use for HTTP requests. This can be useful when working with HTTP origin or proxy servers that differentiate between user agents. NETRC Specifies a file to use instead of ~/.netrc to look up login names and passwords for FTP sites. See ftp(1) for a description of the file format. This feature is experimental. EXAMPLES To access a proxy server on proxy.example.com port 8080, set the HTTP_PROXY environment variable in a manner similar to this: HTTP_PROXY=http://proxy.example.com:8080 If the proxy server requires authentication, there are two options avail- able for passing the authentication data. The first method is by using the proxy URL: HTTP_PROXY=http://user:pwd@proxy.example.com:8080 The second method is by using the HTTP_PROXY_AUTH environment variable: HTTP_PROXY=http://proxy.example.com:8080 HTTP_PROXY_AUTH=basic:*:user:pwd - Particularly, I am interested in two environmental variables: FTP_PROXY and HTTP_PROXY. I may use it as: #env FTP_PROXY=hostnme:port make install clean
Re: Cdce Patch
On Wed, May 11, 2005 at 02:29:02PM +0800, Zhiliang wrote: Hi, Could anyone enlightten me on how to apply a patch to a port? i recently installed the port cdce and encountered cdce0: could not find data bulk in. there's a patch available fo this, patch-if_cdce.c, bu t i have no idea how to apply it. If it happens to be named beginning with patch-, then simply putting it in the files subdirectory of the port in question usually does the job. The ports makefile system has code for automatically applying any patch- files found in the files directory. -- Clifton -- Clifton Royston -- [EMAIL PROTECTED] Tiki Technologies Lead Programmer/Software Architect I'm gonna tell my son to grow up pretty as the grass is green And whip-smart as the English Channel's wide... -- 'Whip-Smart', Liz Phair ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
using 5-STABLE packages with 5.4 RELEASE
Hey all.. I have a sort of question regarding FreeBSD and its port system. Please do bear with me, since I'm a newbie in the whole *nix world, especially with BSD like systems. My question is... Is it possible to use the latest Samba package with the 5.4-RELEASE? Is it absolutely necessary to upgrade the RELEASE distibution to -STABLE for that to work? Is using a package from the STABLE ports tree with the RELEASE system an insane thing to do? A quote from the FreeBSD HandBook: pkg_add(1) will download the latest version of your application if you are using FreeBSD-CURRENT or FreeBSD-STABLE. If you run a -RELEASE version, it will grab the version of the package that was built with your release. It is possible to change this behavior by overriding the PACKAGESITE environment variable So, my guess is it can be done or am I wrong? I wanna use release version for my production servers, but in the same time I would like to use the latest available Samba package for FreeBSD. Is this doable?? Thanks for your time... Best regards, Uros ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: a problem with compiling kernel
Alexander Soldatov wrote: I've got an error when I try to compile kernel with new configuration. That is: if_gif.c: In function 'gif_destroy': if_gif.c:187: warning: unused variable 'err' Error code 1 Try setting NO_WERROR= yes in make.conf. If WARNS_ERROR=yes (defaults/make.conf), it will treat warnings as errors. NO_WERROR=yes disables that behavior. At least this is how it works on 4.x. - IT ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: [OBORONA-SPAM] Re: a problem with compiling kernel
I need to make new kernel. So I've make my own config file from GENERIC. Then standart operations: 1. config CUSTOM (this's my config file) 2. make depend 3. make As a matter of fact that problem occurred on the stage 3 when I run 'make'. I'm novice with Freebsd so it's hard to resolve this problem by myself. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kris Kennaway Sent: Wednesday, May 11, 2005 10:13 AM To: Alexander Soldatov Cc: freebsd-questions@freebsd.org Subject: [OBORONA-SPAM] Re: a problem with compiling kernel On Wed, May 11, 2005 at 09:18:33AM +0400, Alexander Soldatov wrote: Hi! I've got an error when I try to compile kernel with new configuration. That is: if_gif.c: In function 'gif_destroy': if_gif.c:187: warning: unused variable 'err' Error code 1 That's not an error, please give more context for what you're doing. If you're using -j with your kernel build, don't, because it obscures the real error. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OBORONA-SPAM] Re: a problem with compiling kernel
On Wed, May 11, 2005 at 11:38:49AM +0400, Alexander Soldatov wrote: I need to make new kernel. So I've make my own config file from GENERIC. Then standart operations: 1. config CUSTOM (this's my config file) 2. make depend 3. make As a matter of fact that problem occurred on the stage 3 when I run 'make'. I'm novice with Freebsd so it's hard to resolve this problem by myself. I asked you to provide more context, i.e. post the relevant part of the output you receive. What you posted previously did not indicate an error. Kris pgp2l8jdayYqu.pgp Description: PGP signature
Re: using 5-STABLE packages with 5.4 RELEASE
On Wed, May 11, 2005 at 09:00:04AM +0200, Nekdo Nekje wrote: Hey all.. I have a sort of question regarding FreeBSD and its port system. Please do bear with me, since I'm a newbie in the whole *nix world, especially with BSD like systems. My question is... Is it possible to use the latest Samba package with the 5.4-RELEASE? Is it absolutely necessary to upgrade the RELEASE distibution to -STABLE for that to work? Is using a package from the STABLE ports tree with the RELEASE system an insane thing to do? A quote from the FreeBSD HandBook: pkg_add(1) will download the latest version of your application if you are using FreeBSD-CURRENT or FreeBSD-STABLE. If you run a -RELEASE version, it will grab the version of the package that was built with your release. It is possible to change this behavior by overriding the PACKAGESITE environment variable So, my guess is it can be done or am I wrong? I wanna use release version for my production servers, but in the same time I would like to use the latest available Samba package for FreeBSD. Is this doable?? It's mostly expected to work, although some packages are tied to a particular kernel version and may not work on systems other than that for which they were built. samba should be fine though. Kris pgpB8YPIJRtud.pgp Description: PGP signature
Re: a problem with compiling kernel
On Wed, May 11, 2005 at 09:33:38AM +0200, Idar Tollefsen wrote: Alexander Soldatov wrote: I've got an error when I try to compile kernel with new configuration. That is: if_gif.c: In function 'gif_destroy': if_gif.c:187: warning: unused variable 'err' Error code 1 Try setting NO_WERROR= yes in make.conf. If WARNS_ERROR=yes (defaults/make.conf), it will treat warnings as errors. NO_WERROR=yes disables that behavior. At least this is how it works on 4.x. This should not be an issue in a default installation unless you have turned on additional warnings explicitly, or modified the kernel source to introduce them. Kris pgph67KgHNlGQ.pgp Description: PGP signature
Re: shutdown -r - halt!
Joel wrote: (B (BAs per subject: on a quite recent machine running FreeBSD 5.4, when I (Bissue "shutdown -r now" the machine powers off. (BWhere do I start digging into this? (B (B (B I have been wondering about this myself, so I searched for "shutdown (B -p"+"freebsd"+"configuration" on google and found this: (B (B http://lists.freebsd.org/pipermail/freebsd-hackers/2004-January/005348.html (B (BMaybe I wasn't that clear. My problem is just the opposite: (Byour machines doesn't power off, mine does even when it shouldn't. (B (B bye Thanks (Bav. (B___ (Bfreebsd-questions@freebsd.org mailing list (Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions (BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: a problem with compiling kernel
That's the full output of 'make' command: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W missing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -st d=c99 -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica -I../../../co ntrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/ dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -i nclude opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=1 00 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack -boundary=2 -ffreestanding -Werror ../../../net/if_gif.c ../../../net/if_gif.c: In function `gif_destroy': ../../../net/if_gif.c:187: warning: unused variable `err' *** Error code 1 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kris Kennaway Sent: Wednesday, May 11, 2005 11:43 AM To: Alexander Soldatov Cc: freebsd-questions@freebsd.org; 'Kris Kennaway' Subject: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: a problem with compiling kernel On Wed, May 11, 2005 at 11:38:49AM +0400, Alexander Soldatov wrote: I need to make new kernel. So I've make my own config file from GENERIC. Then standart operations: 1. config CUSTOM (this's my config file) 2. make depend 3. make As a matter of fact that problem occurred on the stage 3 when I run 'make'. I'm novice with Freebsd so it's hard to resolve this problem by myself. I asked you to provide more context, i.e. post the relevant part of the output you receive. What you posted previously did not indicate an error. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
disappeared options dialog when installing ports
Hi, I have a (simple) question about installing from the ports coll. The 1st time I issued `make install`in /usr/ports/www/firefox it showed a configuration menu where I could select things like xfs. I disabled this xfs option. Now if I want to install Firefox again it won't show me this configuration dialog anymore. I tried `make deinstall` and `make reinstall`- that wouldn't help. I even tried to delete the firefox ports directory and did a cvsup - but that dialog didn't show up. How can I set these installation options once I already installed a port. Where are these options saved on the harddrive? Will I have to run the configure script by hand? I am quite new to FreeBSD, so if there's plenty of instructions concerning my little problem, just give me a direction to search. Thanks in advance! Carsten. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: a problem withcompiling kernel
Alexander Soldatov wrote: That's the full output of 'make' command: [...] -boundary=2 -ffreestanding -Werror ../../../net/if_gif.c ..and -Werror is in effect: -Werror Treat warnings as errors; abort compilation after any warning. As I said, try setting NO_WERROR= yes in make.conf. - IT ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: a problem with compiling kernel
On Wed, May 11, 2005 at 12:29:36PM +0400, Alexander Soldatov wrote: That's the full output of 'make' command: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W missing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -st d=c99 -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica -I../../../co ntrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/ dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -i nclude opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=1 00 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack -boundary=2 -ffreestanding -Werror ../../../net/if_gif.c ../../../net/if_gif.c: In function `gif_destroy': ../../../net/if_gif.c:187: warning: unused variable `err' *** Error code 1 You apparently have neither INET nor INET6 support in your kernel. Is this really what you want? Kris pgpBII301YZr5.pgp Description: PGP signature
Re: RAID 1 with Adaptec SATA 1210SA + FreeBSD 5.4 + ata mkIII OK
Gheorghe Ardelean wrote: Hi Soeren, I have to thank you for the work you put in the ata driver. Thanks! After patching the 5.4 sources with the new ata mkIII (http://people.freebsd.org/~sos/ATA) I am able to use the RAID 1 with my Adaptec SATA 1210SA. Good :) let me know if you run into problems with it! -- -Søren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disappeared options dialog when installing ports
On 2005-05-11 10:56, Carsten Fuchs [EMAIL PROTECTED] wrote: I have a (simple) question about installing from the ports coll. The 1st time I issued `make install`in /usr/ports/www/firefox it showed a configuration menu where I could select things like xfs. I disabled this xfs option. Now if I want to install Firefox again it won't show me this configuration dialog anymore. I tried `make deinstall` and `make reinstall`- that wouldn't help. I even tried to delete the firefox ports directory and did a cvsup - but that dialog didn't show up. These options are saved in /var/db/ports/XXX where XXX is the name of the port (without a version number). If you look on my own workstation at work, this directory includes: orion:/home/keramida$ ls -l /var/db/ports total 36 drwxr-xr-x 2 root wheel - 512 Nov 4 2004 boehm-gc/ drwxr-xr-x 2 root wheel - 512 Oct 8 2004 firefox/ drwxr-xr-x 2 root wheel - 512 May 10 14:38 gaim/ drwxr-xr-x 2 root wheel - 512 Jul 6 2004 gettext/ drwxr-xr-x 2 root wheel - 512 Dec 6 15:57 gnuplot/ drwxr-xr-x 2 root wheel - 512 Jul 28 2004 libxml2/ drwxr-xr-x 2 root wheel - 512 Jul 6 2004 libxslt/ drwxr-xr-x 2 root wheel - 512 Jul 7 2004 mozilla/ drwxr-xr-x 2 root wheel - 512 Jul 6 2004 python/ drwxr-xr-x 2 root wheel - 512 Mar 21 14:56 samba3/ drwxr-xr-x 2 root wheel - 512 Apr 3 16:20 sdl/ drwxr-xr-x 2 root wheel - 512 Jul 6 2004 teTeX/ drwxr-xr-x 2 root wheel - 512 Oct 26 2004 teTeX-texmf/ drwxrwxr-x 2 root wheel - 512 Oct 11 2004 windowmaker/ drwxr-xr-x 2 root wheel - 512 Feb 22 17:31 xfig/ orion:/home/keramida$ How can I set these installation options once I already installed a port. Where are these options saved on the harddrive? Will I have to run the configure script by hand? By removing /var/db/ports/firefox. Running the following as root before you attempt to reinstall firefox should be all it takes: # cd /var/db/ports # rm -fr firefox Regards, Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: a problem withcompiling kernel
On Wed, May 11, 2005 at 11:02:58AM +0200, Idar Tollefsen wrote: Alexander Soldatov wrote: That's the full output of 'make' command: [...] -boundary=2 -ffreestanding -Werror ../../../net/if_gif.c ..and -Werror is in effect: -Werror Treat warnings as errors; abort compilation after any warning. As I said, try setting NO_WERROR= yes in make.conf. That's the brainless and probably wrong approach :) More intelligent is to wonder why he's seeing this warning when no-one else is: see my previous response. Kris pgp9bNCC1Qr5m.pgp Description: PGP signature
Re: disappeared options dialog when installing ports
On Wed, May 11, 2005 at 12:14:20PM +0300, Giorgos Keramidas wrote: By removing /var/db/ports/firefox. Running the following as root before you attempt to reinstall firefox should be all it takes: # cd /var/db/ports # rm -fr firefox Or simpler: # make rmconfig see the ports manpage. Kris pgpYYvc1ZGKBq.pgp Description: PGP signature
Re: shutdown -r - halt!
On Wed, 11 May 2005 10:27:19 +0200 (BAndrea Venturoli [EMAIL PROTECTED] wrote (B (B Joel wrote: (B (B As per subject: on a quite recent machine running FreeBSD 5.4, when I (B issue "shutdown -r now" the machine powers off. (B Where do I start digging into this? (B (B (B I have been wondering about this myself, so I searched for "shutdown (B -p"+"freebsd"+"configuration" on google and found this: (B (B http://lists.freebsd.org/pipermail/freebsd-hackers/2004-January/005348.html (B (B Maybe I wasn't that clear. (B (BNo, just fuzzy thinking on my part. (B (B My problem is just the opposite: (B your machines doesn't power off, mine does even when it shouldn't. (B (BI was thinking maybe the problem lies in a similar area, something not (Bconfigured or configured wrong in APCI or APM, or maybe in your case a (Bdriver not matching the hardware. (B (B-- (BJoel Rees [EMAIL PROTECTED] (Bdigitcom, inc. $B3t<02q
Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: a problem withcompiling kernel
Kris Kennaway wrote: -boundary=2 -ffreestanding -Werror ../../../net/if_gif.c ..and -Werror is in effect: -Werror Treat warnings as errors; abort compilation after any warning. As I said, try setting NO_WERROR= yes in make.conf. That's the brainless and probably wrong approach :) More intelligent is to wonder why he's seeing this warning when no-one else is: see my previous response. Agreed :) However, I seem to recall having had the exact same problem somewhere in the gif code on a 4.x version (some time ago), where simply disabling -Werror was the solution. And yes, I did have INET support in there ;) - IT ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disappeared options dialog when installing ports
On 2005-05-11 02:17, Kris Kennaway [EMAIL PROTECTED] wrote: On Wed, May 11, 2005 at 12:14:20PM +0300, Giorgos Keramidas wrote: By removing /var/db/ports/firefox. Running the following as root before you attempt to reinstall firefox should be all it takes: # cd /var/db/ports # rm -fr firefox Or simpler: # make rmconfig see the ports manpage. Neat! I didn't know that :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
clustering solution for freebsd
hi all, is anyone aware of a good clustering solution for freebsd, i tried google i didnt come accross any opensource implementation . thanks, ananth.g ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fresh 5.4 Install, which CD?
I'm a renewed FreeBSD newbie, my last use being v3.4. I want to install 5.4 release and I downloaded both CDs. My question is this: Which CD do I boot from? CD1 or CD2? Sounds like a stupid question, but when I installed 5.3 last week, I never used CD2, and it never asked for it. As far as I can tell CD2 is the same as CD1! With 5.4 I made sure that I wrote the correct ISOs to CD1 and CD2. Thanking you in advance.Kev :) Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fresh 5.4 Install, which CD?
Kevin wrote: I'm a renewed FreeBSD newbie, my last use being v3.4. I want to install 5.4 release and I downloaded both CDs. My question is this: Which CD do I boot from? CD1 or CD2? Short answer: CD1. Better answer: This is covered in release notes. Assuming you have an i386 machine, see: http://www.freebsd.org/releases/5.4R/relnotes-i386.html#RELENG It is always a good idea to look through the release notes before beginning the installation of new FreeBSD version. -- Toomas Aas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A beautiful dmesg! Maybe one day?
Clifton! I've never read a better e-mail. Thank you for your words, wise man. I've been inspired now. :) - Original Message - From: Clifton Royston [EMAIL PROTECTED] To: Fafa Hafiz Krantz [EMAIL PROTECTED] Subject: Re: A beautiful dmesg! Maybe one day? Date: Tue, 10 May 2005 09:23:52 -1000 On Tue, May 10, 2005 at 01:18:36PM -0500, Fafa Hafiz Krantz wrote: ... Real memory = 100663296 (96 MB) Available memory = 93036544 (88 MB) Doesn't. As you suggested, I compared these with diff, ignoring the gratuitous spacing modification using diff -b. In the end, I don't think I can consider even one of your changes to be an improvement. The closest you came to a useful change was the capitalisation of Real memory, but that's hardly necessary, and the accompanying change to the next line upsets the formatting. Ofcourse it doesn't improve the functionality. And I get the feeling that's what you're all about. Indeed, you understand correctly. Functionality is exactly what the BSD family of OSs is all about. Most kernel developers are busy with activities like improving system performance on multi-CPU systems, increasing OS reliability with SATA drives, and other activities of a deep and essential nature. I don't generally tell the kernel developers what to do, because I know that they know their own knowledge domain far better than I do. [...] In short, I think you should find some other way to pretty up your FreeBSD boot. As suggested earlier, try man splash. Again, I want it to look correct. The appearance is a matter of personal taste, and de gustibus non disputandum. Your claim that your personal preference is correct does not cause other people to prefer it. It should be clear by now that you are getting nowhere trying to persuade others to implement this for you, so your only course is to implement it yourself. If these changes matter a great deal to you, I suggest you invest the sweat to change it on your own system. You have all the sources, you have the power. If you don't know how yet, you have the opportunity to learn. If you succeed and post public patches to do it, then others can share the changes if they wish, and you will get some smidgen of positive recognition and credibility. If this matters so much to you, it should be worth your effort. If you are incapable of making these changes, then your preferences will get some smidgin less weight, as there will be that much less evidence that your opinions should be valued. The open source world is largely a meritocracy and technocracy; this is not to say that politics and opinions play no part, but generally speaking working code wins. Mostly people in the OSS world take it for granted that others understand this, which may be why nobody has told you this in so many words before now. -- Clifton -- Clifton Royston -- [EMAIL PROTECTED] Tiki Technologies Lead Programmer/Software Architect I'm gonna tell my son to grow up pretty as the grass is green And whip-smart as the English Channel's wide... -- 'Whip-Smart', Liz Phair -- Fafa Hafiz Krantz Research Designer @ http://www.home.no/barbershop Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: a problem withcompiling kernel
Of course not, I need INET Is the problem because of a INET support missing? How can I correct it? By the way I also tried to add NO_WERROR=yes in make.conf but it's not useful in this case for some reason - the same output appears -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kris Kennaway Sent: Wednesday, May 11, 2005 1:03 PM To: Alexander Soldatov Cc: freebsd-questions@freebsd.org; 'Kris Kennaway' Subject: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: a problem withcompiling kernel On Wed, May 11, 2005 at 12:29:36PM +0400, Alexander Soldatov wrote: That's the full output of 'make' command: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W missing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -st d=c99 -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica -I../../../co ntrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/ dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -i nclude opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=1 00 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack -boundary=2 -ffreestanding -Werror ../../../net/if_gif.c ../../../net/if_gif.c: In function `gif_destroy': ../../../net/if_gif.c:187: warning: unused variable `err' *** Error code 1 You apparently have neither INET nor INET6 support in your kernel. Is this really what you want? Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: clustering solution for freebsd
On Wed, 2005-05-11 at 15:05 +0530, Ananth.G (GMail) wrote: hi all, is anyone aware of a good clustering solution for freebsd, i tried google i didnt come accross any opensource implementation . Hi, check this mailinglist: http://lists.freebsd.org/mailman/listinfo/freebsd-cluster thanks, ananth.g ___ 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]
Finding out which device to mount after plugging in a USB thumb drive
Hello, If I plug in a USB thumb drive, which becomes, say, umass0. Normally something like /dev/da0 will also be created amd slices of that device may be mounted. But is there a API for finding out what is the corresponding block device for umass devices ? The device driver writes that to syslog, but reading logs for something like that is quite clumsy. Juho Vuori ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: a problem withcompiling kernel
Alexander Soldatov wrote: I need to make new kernel. So I've make my own config file from GENERIC. Then standart operations: 1. config CUSTOM (this's my config file) 2. make depend 3. make and then: Of course not, I need INET Is the problem because of a INET support missing? How can I correct it? By the way I also tried to add NO_WERROR=yes in make.conf but it's not useful in this case for some reason - the same output appears Put it back into your CUSTOM config! The support isn't there because you evidently too it out :-) I suggest editing the original GENERIC and your CUSTOM side by side so that you can check that everything you took out really should have been taken out. Or try comparing them with diff. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD/i386 lockups with Xorg Radeon cards
On Tue, May 10, 2005 at 11:19:31PM -0400, jason henson wrote: Sean Davis wrote: Hello, first let me enumerate the hardware I've seen this happen on: 1) Athlon XP 2700+ 1GB DDR333 ATI Radeon 9200 AGP8X w/ 128MB 2) Athlon XP 2200+ 1GB DDR333 ATI Radeon 7000 AGP4X w/ 32MB ATI Radeon 7500 PCI w/ 32MB 3) Athlon XP 2200+ 1GB DDR333 NVidia GeForce4 AGP8X (I think) w/ 32MB ATI Radeon 7500 PCI w/ 32MB RAM On machine #2 (which is also machine #3), I'm trying to do a dual-head setup. Currently the primary video card is an AGP Geforce4. But that doesn't seem to matter. On all of these setups (9200, 7000, 7500) xorgcfg hardlocks the machine. No matter what I do. Xorg works just fine in Linux on the same hardware. (but no dual-head, despite config hacking, however that is a discussion for elsewhere) XFree86 4.5.0 under NetBSD works just fine with every Radeon on this list. Hence, I'm left to conclude that it's a combination of Xorg and FreeBSD - Windows works, NetBSD works, Linux works. I've tried both 5.3-RELEASE and 5.4-RELEASE, both of them die just as well. I *REALLY* want to get rid of windows on machine #2/#3, but it's simply not an option without a usable dual-headed desktop setup, as that is my work machine. However, if I can't even get xorgcfg to run without the machine needing a three finger salute, it's simply out of the question. I can't run NetBSD or OpenBSD on it, because I need something that I can deploy quickly, with up-to-date binary packages, something that neither NetBSD nor OpenBSD provide. Does anyone have any insights to this problem? Please respond directly, I am not subscribed to either freebsd-ia32 or freebsd-questions. TIA, -Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Do you have an nforce chipset on the motherboard? I do and I have never had any version of x to work with dri on a radeon. So disable dri if it is on and try again. No. Both motherboards are VIA chipsets, one is an ASUS and one is an ASRock. (although I've been told that ASRock is a low-budget division of ASUS, dunno whether that's true or not.) Also are you getting any error messages? You can check /var/run for the x logs from the last running of x. Nope. Just locks the machine. Does x lock after the startx command, or randomly later on while you are using x? It locks as soon as the X server starts. I can start it with X -configure, xorgcfg, or just plain `X', it doesn't matter - as soon as it starts trying to initialize the display, it locks up. -Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using 5-STABLE packages with 5.4 RELEASE
Kris Kennaway wrote: On Wed, May 11, 2005 at 09:00:04AM +0200, Nekdo Nekje wrote: My question is... Is it possible to use the latest Samba package with the 5.4-RELEASE? Is it absolutely necessary to upgrade the RELEASE distibution to -STABLE for that to work? Is using a package from the STABLE ports tree with the RELEASE system an insane thing to do? It's mostly expected to work, although some packages are tied to a particular kernel version and may not work on systems other than that for which they were built. samba should be fine though. I've never had a problem with a port that was related running -RELEASE(*). The likelihood of this happening is really quite slim. Many, many people run -RELEASE versions because they want the stability, and because not all machines can be rebooted at whim. All these people have tons of ports installed, which they more than likely keep up to date. I'm sure Kris is correct that, in theory, some port could fail on a -RELEASE version, but it really is very unlikely. It is very much more unlikely with something like samba which runs on many different operating systems. In short, keep your ports up to date! (But read /usr/ports/UPDATING). (*) Actually, I mean RELENG whatever. Check out the handbook on using cvsup to keep your version of FreeBSD up to date with respect to security patches, rather than the more general fixing and improving that goes into STABLE or CURRENT. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW/Samba does not work with WinXP (but with MacOS 10.3)
Yes - that's my understanding too. I'm trying to let all local traffic (i.e. on the same network) through with this: # Allow any traffic to or from my own net. ${fwdcmd} 400 pass all from me to ${net}:${mask} ${fwdcmd} 500 pass all from ${net}:${mask} to me Anyone with any other thoughts? On 5/11/05, Juha Saarinen [EMAIL PROTECTED] wrote: On 5/11/05, Nicholas Henry [EMAIL PROTECTED] wrote: FreeBSD 5.3-RELEASE (GENERIC) #0: Fri Nov 5 04:19:18 UTC 2004 Hello folks: Trying to set rules to let a local network only connection to a Samba server running on my FreeBSD machine. I'm a FreeBSD newbie. Below is the rules file. The strange thing is this works fine when logging into the Samba server from a OS X, but no go with WinXP. I can connect to the Samba server from WinXP if the IPFW is not loaded. Any ideas? Don't know anything about ipfw, but you need to pass TCP and UDP 135-139 for NetBIOS to work, or change network settings in Windows to make it use TCP/UDP port 445 instead. -- Juha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disappeared options dialog when installing ports
On Wednesday 11 May 2005 04:56 am, Carsten Fuchs wrote: Hi, I have a (simple) question about installing from the ports coll. The 1st time I issued `make install`in /usr/ports/www/firefox it showed a configuration menu where I could select things like xfs. I disabled this xfs option. Now if I want to install Firefox again it won't show me this configuration dialog anymore. I tried `make deinstall` and `make reinstall`- that wouldn't help. I even tried to delete the firefox ports directory and did a cvsup - but that dialog didn't show up. How can I set these installation options once I already installed a port. Where are these options saved on the harddrive? Will I have to run the configure script by hand? I am quite new to FreeBSD, so if there's plenty of instructions concerning my little problem, just give me a direction to search. Thanks in advance! Carsten. Here's a tip (and I don't have any knowledge of it being documented in manuals, though I'm certain it's an oversight of my own)... Have a look at /var/db/ports This is where your make configurations are stored so it won't ask you everytime you go to upgrade (really nice to run your updates and leave the office for the night without too many hangups). So... you'll need to remove the /var/db/ports/firefox/options file in order to see the options menu on your next make. HTH, WizLayer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disappeared options dialog when installing ports
(Wed, 11 May 2005 02:17:24 -0700) Kris Kennaway [EMAIL PROTECTED]: # cd /var/db/ports # make rmconfig see the ports manpage. Thanks a lot, to all of you. Carsten. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
firewall_enable: not found
FreeBSD 5.3-RELEASE (GENERIC) #0: Fri Nov 5 04:19:18 UTC 2004 I have IPFW setup and get this message at boot time and mailed to root by when this script is run (/usr/libexec/save-entropy). firewall_enable: not found Anybody have any ideas why I get this message and how I can stop it? Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall_enable: not found
On 2005-05-11 08:15, Nicholas Henry [EMAIL PROTECTED] wrote: FreeBSD 5.3-RELEASE (GENERIC) #0: Fri Nov 5 04:19:18 UTC 2004 I have IPFW setup and get this message at boot time and mailed to root by when this script is run (/usr/libexec/save-entropy). firewall_enable: not found Anybody have any ideas why I get this message and how I can stop it? Show us the following: # grep -r firewall /etc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finding out which device to mount after plugging in a USB thumb drive
Juho Vuori [EMAIL PROTECTED] writes: Hello, If I plug in a USB thumb drive, which becomes, say, umass0. Normally something like /dev/da0 will also be created amd slices of that device may be mounted. But is there a API for finding out what is the corresponding block device for umass devices ? The device driver writes that to syslog, but reading logs for something like that is quite clumsy. You can always wire it down if you need that to be predictable. See: man scsi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OpenLDAP 2.2.26 it is not loaded automatically
I ask to help with the sanction of a following situation. FreeBSD 5.3 + openldap 2.2.26 OpenLDAP it is not loaded automatically. Install openldap from ports. The script/usr/local/etc/rc.d/slapd.sh is. Has added lines in/etc/rc.conf slapd_enable = YES slapd_flags = '-h ldapi: // %2fvar%2frun%2fopenldap%2fldapi/ldap: // 0.0.0.0 / ' slapd_sockets = /var/run/openldap/ldapi If to start in manual /usr/local/libexec/slapd the user root works without problems. Andrew Lebedev . FreeBSD 5.3 + openldap 2.2.26 OpenLDAP . openldap . /usr/local/etc/rc.d/slapd.sh . /etc/rc.conf slapd_enable=YES slapd_flags='-h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/;' slapd_sockets=/var/run/openldap/ldapi /usr/local/libexec/slapd root . ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports proxy configuration?
On Wednesday 11 May 2005 07:59, Xu Qiang wrote: Hi, guys: I want to install some softwares from FreeBSD Ports collection. But without configuration of proxy, it can't connect out to fetch the src tar balls, and compile/install. I searched the handbook but didn't find any useful info about setting of proxy for Ports. Any suggestions? Xu, use the following in /etc/make.conf FETCH_ENV = HTTP_PROXY=http://user:[EMAIL PROTECTED]:80 FETCH_ENV = HTTP_PROXY=http://user:[EMAIL PROTECTED]:80 It works for me. Ciao Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
about the kld
I will implement the web-cluster by the loadable module based on the tcp/ip stack code ,but ,the symbol definitions in the loadable module will conflict with the orignal network stack when the module is loaded. how do i resolve it? does the loadable module have independent namespace? i remmeber that the symorder can resolve it in freebsd 2.2.6 ,but i don't find it in freebsd 5.3! can you help me ? thanks shiner may 11th 2005 - Do You Yahoo!? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall_enable: not found
As requested - thank you. /etc/defaults/rc.conf:### Basic network and firewall/security options: ### /etc/defaults/rc.conf:firewall_enable=YES # Set to YES to enable firewall /etc/defaults/rc.conf:firewall_script=/etc/rc.firewall # Which script to run to set up the firewall /etc/defaults/rc.conf:firewall_type=UNKNOWN # Firewall type (see /etc/defaults/rc.conf:firewall_quiet=NO # Set to YES to suppress rule display /etc/defaults/rc.conf:firewall_logging=NO # Set to YES to enable events logging /etc/defaults/rc.conf:firewall_flags= # Flags passed to ipfw when type is a file /etc/defaults/rc.conf:natd_enable=NO # Enable natd (if firewall_enable == YES). /etc/defaults/rc.conf:ipv6_firewall_enable=NO # Set to YES to enable IPv6 firewall /etc/defaults/rc.conf:ipv6_firewall_script=/etc/rc.firewall6 # Which script to run to set up the IPv6 firewall /etc/defaults/rc.conf:ipv6_firewall_type=UNKNOWN # IPv6 Firewall type (see /etc/rc.firewall6) /etc/defaults/rc.conf:ipv6_firewall_quiet=NO # Set to YES to suppress rule display /etc/defaults/rc.conf:ipv6_firewall_logging=NO# Set to YES to enable events logging /etc/defaults/rc.conf:ipv6_firewall_flags=# Flags passed to ip6fw when type is a file /etc/rc.d/ip6fw:rcvar=`set_rcvar ipv6_firewall` /etc/rc.d/ip6fw:# Load IPv6 firewall module, if not already loaded /etc/rc.d/ip6fw:debug 'Kernel IPv6 firewall module loaded.' /etc/rc.d/ip6fw:warn 'IPv6 firewall kernel module failed to load.' /etc/rc.d/ip6fw:if [ -z ${ipv6_firewall_script} ]; then /etc/rc.d/ip6fw:ipv6_firewall_script=/etc/rc.firewall6 /etc/rc.d/ip6fw:if [ -r ${ipv6_firewall_script} ]; then /etc/rc.d/ip6fw:. ${ipv6_firewall_script} /etc/rc.d/ip6fw:warn 'IPv6 firewall rules have not been loaded. Default' \ /etc/rc.d/ip6fw:# Enable firewall logging /etc/rc.d/ip6fw:if checkyesno ipv6_firewall_logging; then /etc/rc.d/ip6fw:# Enable the firewall /etc/rc.d/ipfilter: echo Saving firewall state tables /etc/rc.d/ipfw:rcvar=firewall_enable /etc/rc.d/ipfw: warn unable to load firewall module. /etc/rc.d/ipfw: # set the firewall rules script if none was specified /etc/rc.d/ipfw: [ -z ${firewall_script} ] firewall_script=/etc/rc.firewall /etc/rc.d/ipfw: if [ -r ${firewall_script} ]; then /etc/rc.d/ipfw: . ${firewall_script} /etc/rc.d/ipfw: echo 'Warning: kernel has firewall functionality, but' \ /etc/rc.d/ipfw: ' firewall rules are not enabled.' /etc/rc.d/ipfw: if checkyesno firewall_logging; then /etc/rc.d/ipfw: # Enable the firewall /etc/rc.d/ipfw: # Disable the firewall /etc/pf.os:# the case that X is a NAT firewall. While nmap is talking to the /etc/pf.os:# device itself, p0f is fingerprinting the guy behind the firewall /etc/pf.os:# caused by a commonly used software (personal firewalls, security /etc/pf.os:# KEEP IN MIND: Some packet firewalls configured to normalize outgoing /etc/pf.os:# system (and probably not quite to the firewall either). /etc/pf.os:60352:64:0:52:M1460,N,W2,N,N,S: Clavister:7::Clavister firewall 7.x /etc/rc.firewall:# $FreeBSD: src/etc/rc.firewall,v 1.47 2003/11/02 07:31:44 ru Exp $ /etc/rc.firewall:# Setup system for firewall service. /etc/rc.firewall:# Define the firewall type in /etc/rc.conf. Valid values are: /etc/rc.firewall:# UNKNOWN - disables the loading of firewall rules. /etc/rc.firewall: firewall_type=${1} /etc/rc.firewall:case ${firewall_quiet} in /etc/rc.firewall:# before they encounter your remaining rules. The firewall rules /etc/rc.firewall:# For ``simple'' firewall type the divert rule should be put to a /etc/rc.firewall:case ${firewall_type} in /etc/rc.firewall:# do this as your only action by setting the firewall_type to ``open''. /etc/rc.firewall:case ${firewall_type} in /etc/rc.firewall: # This is a prototype setup for a simple firewall. Configure this /etc/rc.firewall: if [ -r ${firewall_type} ]; then /etc/rc.firewall: ${fwcmd} ${firewall_flags} ${firewall_type} /etc/rc.firewall6:# Setup system for IPv6 firewall service. /etc/rc.firewall6:# $FreeBSD: src/etc/rc.firewall6,v 1.15 2004/08/03 08:58:34 ume Exp $ /etc/rc.firewall6:# Define the firewall type in /etc/rc.conf. Valid values are: /etc/rc.firewall6:# UNKNOWN - disables the loading of firewall rules. /etc/rc.firewall6: ipv6_firewall_type=${1} /etc/rc.firewall6:case ${ipv6_firewall_quiet} in /etc/rc.firewall6:# do this as your only action by setting the ipv6_firewall_type to ``open''. /etc/rc.firewall6:case ${ipv6_firewall_type} in /etc/rc.firewall6: # This is a prototype setup for a simple firewall. Configure this /etc/rc.firewall6: if [ -r ${ipv6_firewall_type} ]; then /etc/rc.firewall6: ${fw6cmd} ${ipv6_firewall_flags} ${ipv6_firewall_type} /etc/namedb/named.conf: *
kernel build problem
dear all, im having trouble compiling kernel on 5.3 , i did a `make depend` and `make`. The following is the error that i got, i might have missed a module i guess... cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror vers.c linking kernel umass.o(.text+0x1b73): In function `umass_cam_attach_sim': : undefined reference to `cam_simq_alloc' umass.o(.text+0x1bc4): In function `umass_cam_attach_sim': : undefined reference to `cam_sim_alloc' umass.o(.text+0x1bd3): In function `umass_cam_attach_sim': : undefined reference to `cam_simq_free' umass.o(.text+0x1bf5): In function `umass_cam_attach_sim': : undefined reference to `xpt_bus_register' umass.o(.text+0x1c21): In function `umass_cam_rescan_callback': : undefined reference to `xpt_free_path' umass.o(.text+0x1c94): In function `umass_cam_rescan': : undefined reference to `xpt_periph' umass.o(.text+0x1ca3): In function `umass_cam_rescan': : undefined reference to `xpt_create_path' umass.o(.text+0x1cbf): In function `umass_cam_rescan': : undefined reference to `xpt_setup_ccb' umass.o(.text+0x1cdc): In function `umass_cam_rescan': : undefined reference to `xpt_action' umass.o(.text+0x1dda): In function `umass_cam_detach_sim': : undefined reference to `xpt_bus_deregister' umass.o(.text+0x1df6): In function `umass_cam_detach_sim': : undefined reference to `cam_sim_free' umass.o(.text+0x1e4d): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1ec4): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1ee5): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1f76): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x204a): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x208e): more undefined references to `xpt_done' follow umass.o(.text+0x2254): In function `umass_cam_action': : undefined reference to `cam_calc_geometry' umass.o(.text+0x225c): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x226d): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x227e): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x22ec): In function `umass_cam_cb': : undefined reference to `xpt_done' umass.o(.text+0x23db): In function `umass_cam_cb': : undefined reference to `xpt_done' umass.o(.text+0x23ff): more undefined references to `xpt_done' follow fdc.o(.text+0xf33): In function `fdc_worker': : undefined reference to `isa_dmadone' fdc.o(.text+0x199b): In function `fdc_worker': : undefined reference to `isa_dmastart' fdc.o(.text+0x1d08): In function `fdc_worker': : undefined reference to `isa_dmadone' fdc.o(.text+0x2cd4): In function `fdc_detach': : undefined reference to `isa_dma_release' fdc.o(.text+0x2ead): In function `fdc_attach': : undefined reference to `isa_dma_acquire' fdc.o(.text+0x2eca): In function `fdc_attach': : undefined reference to `isa_dmainit' fdc_acpi.o(.text+0x1d6): In function `fdc_acpi_attach': : undefined reference to `fdc_isa_alloc_resources' ppc.o(.text+0xff7): In function `ppcintr': : undefined reference to `isa_dmadone' ppc.o(.text+0x11b3): In function `ppc_write': : undefined reference to `isa_dmastart' ppc.o(.text+0x1214): In function `ppc_write': : undefined reference to `isa_dmadone' ppc.o(.text+0x1963): In function `ppc_attach': : undefined reference to `isa_dma_acquire' ppc.o(.text+0x1976): In function `ppc_attach': : undefined reference to `isa_dmainit' sio.o(.text+0x62a): In function `sioprobe': : undefined reference to `isa_irq_pending' sio.o(.text+0x7fa): In function `sioprobe': : undefined reference to `isa_irq_pending' sio.o(.text+0x81c): In function `sioprobe': : undefined reference to `isa_irq_pending' sio.o(.text+0x856): In function `sioprobe': : undefined reference to `isa_irq_pending' *** Error code 1 Stop in /usr/src/sys/i386/compile/kernel_opt. thanks in advance, ananth.g ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiler error when doing make buildworld
cc -O -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr/obj/usr/src/i386/usr\ -I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1obj/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1obj/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1obj/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc1obj/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc1obj/../../../../contrib/gcc/objc -I. -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/gnu/usr.bin/cc/cc1obj/../../../../contrib/gcc/objc/objc-act.c /usr/src/gnu/usr.bin/cc/cc1obj/../../../../contrib/gcc/objc/objc-act.c: In function `really_start_method': /usr/src/gnu/usr.bin/cc/cc1obj/../../../../contrib/gcc/objc/objc-act.c:7819: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions PS: If I remove the -O option, it does compile! I'm looking forward to any comment from you all, thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problems with pop3 daemons
Im running a mailserver on FreeBSD 5.4, for some time now im experiencing problems with downloading large messages (above 1 mb but i don't know from which size it starts) through pop3: After about 30 secs of downloading, the download just hangs, qpopper's output to the logs is: ay 11 16:31:00 loki qpopper[57578]: I/O error flushing output to client xxx Operation not permitted (1). I tried to switch pop3 daemon, and tried popd, pop3lite and pop3ad.. all did the same thing but didn't report anything.. im using ipfw to limit the bandwidth to port 110 with the following rules: pipe 1 config bw 16KByte/s add pipe 1 tcp from me 110 to any although I tried turning ipfw off and got the same results. Im also using pf as my firewall and allowing ICMP with the following rules: pass in on $ext_if inet proto icmp from any to any keep state pass out on $ext_if inet proto icmp all keep state what can be the problem ?! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall_enable: not found
ipfw.rules is a shell script - and they do appear to be working correctly. Cheers, Nicholas On 5/11/05, Alex Zbyslaw [EMAIL PROTECTED] wrote: Nicholas Henry wrote: /etc/rc.conf:firewall_enable =YES /etc/rc.conf:firewall_script=/etc/ipfw.rules /etc/rc.conf:firewall_logging=YES I don't have 5.X, but I believe that firewall_script is supposed to be a shell script (like /etc/rc.firewall) whereas /etc/ipfw.rules is just a set of firewall rules. You are trying to execute those rules, when they are not meant to be. There should be a separate config variable (maybe firewall_rules, but I can't confirm that) which you should be setting. --Alex PS If this works, then please let the list know ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hardware RAID 5 - Need vinum?
The problem I've had in the past in Windows for example: Drive D: is a RAID5 volume, 400GB, nearly full. If I add a 200GB drive to the array, the 'disk' that Drive D: resides on is now ~600GB, but Drive D: will remain 400GB. I would have to utilize a third party piece of software to resize Drive D: to utilize all 400GB, or create another partition to use that extra 200GB. In my case. /media/video will still only have 400GB available to it. I'm creating one partition on the array with one slice. My understanding then is if I go into the label editor after adding my new drive, I'll have 200GB of free space, and I could create another slice and another mountpoint, but not simply add that additional space to my original slice and mountpoint at /media/video. Now, since I originally posted this message, I did more digging, and found some posts regarding growfs. Perhaps that command is what I'm looking for, and would allow me to grow /media/video to use all 600GB in that case. Now my only concern is whether or not the SX6000 support nondestructively growing a RAID5 array. If I'm right about growfs that is. :) On Wed, 11 May 2005, Subhro wrote: On 5/11/2005 2:35, Tony Shadwick wrote: What my concern is when I start to fill up the ~400GB of space I'm giving myself with this set. I would like to simply insert another 200GB drive and expand the array, allowing the hardware raid to do the work. That is what everybody does. It is very much normal. The problem I see with this is that yes, the /dev/(raid driver name)0 will now be that much larger, however the original partition size and the subsequent slices will still be the original size. I could not understand what you meant by RAID device entry would be larger. The various entries inside the /dev are nothing but sort of handles to the various devices present in the system. If you want to manipulate or utilize some device for a particular device present on your box from a particular application, then you can reference the same using the handles in the /dev. And the handles remains the same in size irrespective of whether you have 1 hard disk or 100 hard disks in some kind of RAID. Do I need to (and is there a way?) to utilize vinum and still allow the hardware raid controller to do the raid5 gruntwork and still have the ability to arbitrarily grow the volume as needed? The only other solution I see is to use vinum to software-raid the set of drives, leaving it as a glorified ATA controller card, and the cpu/ram of the card unitilized and burden the system CPU and RAM with the task. The main idea in favor of using Hardware RAID solutions over software RAID solutions is you can let the CPU do things which are more worthwhile than managing I/O. The I/O can be well handled and is indeed better handled by the chip on the RAID controller card than the CPU. If you add another disk to your RAID or replace a dead disk at any point of time, then the RAID card should automatically detect the change and rebuild the volumes as and when required. This would be completely transparent to the OS and sometimes also transparent to the user. Regards S. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall_enable: not found
On 2005-05-11 09:17, Nicholas Henry [EMAIL PROTECTED] wrote: As requested - thank you. [...] /etc/rc.conf:firewall_enable =YES As I suspected it, you have a space where none should be! Delete the space before the '=' character and all should be fine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kernel build problem
Check config file carefully, and you will find next string: device umass # Disks/Mass storage - Requires scbus and da in your config da and scbus -disabeled, # SCSI peripherals #device scbus # SCSI bus (required for SCSI) . . . #device da # Direct Access (disks) . . . you need enable it - and all will works ... i have attached my config file. regrds, ananth.g Sergey S. Ropchan wrote: Content of kernel config please ? It's look like wrong option in config. dear all, im having trouble compiling kernel on 5.3 , i did a `make depend` and `make`. The following is the error that i got, i might have missed a module i guess... cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror vers.c linking kernel umass.o(.text+0x1b73): In function `umass_cam_attach_sim': : undefined reference to `cam_simq_alloc' umass.o(.text+0x1bc4): In function `umass_cam_attach_sim': : undefined reference to `cam_sim_alloc' umass.o(.text+0x1bd3): In function `umass_cam_attach_sim': : undefined reference to `cam_simq_free' umass.o(.text+0x1bf5): In function `umass_cam_attach_sim': : undefined reference to `xpt_bus_register' umass.o(.text+0x1c21): In function `umass_cam_rescan_callback': : undefined reference to `xpt_free_path' umass.o(.text+0x1c94): In function `umass_cam_rescan': : undefined reference to `xpt_periph' umass.o(.text+0x1ca3): In function `umass_cam_rescan': : undefined reference to `xpt_create_path' umass.o(.text+0x1cbf): In function `umass_cam_rescan': : undefined reference to `xpt_setup_ccb' umass.o(.text+0x1cdc): In function `umass_cam_rescan': : undefined reference to `xpt_action' umass.o(.text+0x1dda): In function `umass_cam_detach_sim': : undefined reference to `xpt_bus_deregister' umass.o(.text+0x1df6): In function `umass_cam_detach_sim': : undefined reference to `cam_sim_free' umass.o(.text+0x1e4d): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1ec4): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1ee5): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1f76): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x204a): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x208e): more undefined references to `xpt_done' follow umass.o(.text+0x2254): In function `umass_cam_action': : undefined reference to `cam_calc_geometry' umass.o(.text+0x225c): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x226d): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x227e): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x22ec): In function `umass_cam_cb': : undefined reference to `xpt_done' umass.o(.text+0x23db): In function `umass_cam_cb': : undefined reference to `xpt_done' umass.o(.text+0x23ff): more undefined references to `xpt_done' follow fdc.o(.text+0xf33): In function `fdc_worker': : undefined reference to `isa_dmadone' fdc.o(.text+0x199b): In function `fdc_worker': : undefined reference to `isa_dmastart' fdc.o(.text+0x1d08): In function `fdc_worker': : undefined reference to `isa_dmadone' fdc.o(.text+0x2cd4): In function `fdc_detach': : undefined reference to `isa_dma_release' fdc.o(.text+0x2ead): In function `fdc_attach': : undefined reference to `isa_dma_acquire' fdc.o(.text+0x2eca): In function `fdc_attach': : undefined reference to `isa_dmainit' fdc_acpi.o(.text+0x1d6): In function `fdc_acpi_attach': : undefined reference to `fdc_isa_alloc_resources' ppc.o(.text+0xff7): In function `ppcintr': : undefined reference to `isa_dmadone' ppc.o(.text+0x11b3): In function `ppc_write': : undefined reference to `isa_dmastart' ppc.o(.text+0x1214): In function `ppc_write': : undefined reference to `isa_dmadone' ppc.o(.text+0x1963): In function `ppc_attach': : undefined reference to `isa_dma_acquire' ppc.o(.text+0x1976): In function `ppc_attach': : undefined reference to `isa_dmainit' sio.o(.text+0x62a): In function `sioprobe': : undefined reference to `isa_irq_pending' sio.o(.text+0x7fa): In function `sioprobe': : undefined reference to `isa_irq_pending' sio.o(.text+0x81c): In function `sioprobe': : undefined reference to
Re: kernel build problem
i have attached my config file. regrds, ananth.g Sergey S. Ropchan wrote: Content of kernel config please ? It's look like wrong option in config. dear all, im having trouble compiling kernel on 5.3 , i did a `make depend` and `make`. The following is the error that i got, i might have missed a module i guess... cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror vers.c linking kernel umass.o(.text+0x1b73): In function `umass_cam_attach_sim': : undefined reference to `cam_simq_alloc' umass.o(.text+0x1bc4): In function `umass_cam_attach_sim': : undefined reference to `cam_sim_alloc' umass.o(.text+0x1bd3): In function `umass_cam_attach_sim': : undefined reference to `cam_simq_free' umass.o(.text+0x1bf5): In function `umass_cam_attach_sim': : undefined reference to `xpt_bus_register' umass.o(.text+0x1c21): In function `umass_cam_rescan_callback': : undefined reference to `xpt_free_path' umass.o(.text+0x1c94): In function `umass_cam_rescan': : undefined reference to `xpt_periph' umass.o(.text+0x1ca3): In function `umass_cam_rescan': : undefined reference to `xpt_create_path' umass.o(.text+0x1cbf): In function `umass_cam_rescan': : undefined reference to `xpt_setup_ccb' umass.o(.text+0x1cdc): In function `umass_cam_rescan': : undefined reference to `xpt_action' umass.o(.text+0x1dda): In function `umass_cam_detach_sim': : undefined reference to `xpt_bus_deregister' umass.o(.text+0x1df6): In function `umass_cam_detach_sim': : undefined reference to `cam_sim_free' umass.o(.text+0x1e4d): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1ec4): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1ee5): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1f76): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x204a): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x208e): more undefined references to `xpt_done' follow umass.o(.text+0x2254): In function `umass_cam_action': : undefined reference to `cam_calc_geometry' umass.o(.text+0x225c): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x226d): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x227e): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x22ec): In function `umass_cam_cb': : undefined reference to `xpt_done' umass.o(.text+0x23db): In function `umass_cam_cb': : undefined reference to `xpt_done' umass.o(.text+0x23ff): more undefined references to `xpt_done' follow fdc.o(.text+0xf33): In function `fdc_worker': : undefined reference to `isa_dmadone' fdc.o(.text+0x199b): In function `fdc_worker': : undefined reference to `isa_dmastart' fdc.o(.text+0x1d08): In function `fdc_worker': : undefined reference to `isa_dmadone' fdc.o(.text+0x2cd4): In function `fdc_detach': : undefined reference to `isa_dma_release' fdc.o(.text+0x2ead): In function `fdc_attach': : undefined reference to `isa_dma_acquire' fdc.o(.text+0x2eca): In function `fdc_attach': : undefined reference to `isa_dmainit' fdc_acpi.o(.text+0x1d6): In function `fdc_acpi_attach': : undefined reference to `fdc_isa_alloc_resources' ppc.o(.text+0xff7): In function `ppcintr': : undefined reference to `isa_dmadone' ppc.o(.text+0x11b3): In function `ppc_write': : undefined reference to `isa_dmastart' ppc.o(.text+0x1214): In function `ppc_write': : undefined reference to `isa_dmadone' ppc.o(.text+0x1963): In function `ppc_attach': : undefined reference to `isa_dma_acquire' ppc.o(.text+0x1976): In function `ppc_attach': : undefined reference to `isa_dmainit' sio.o(.text+0x62a): In function `sioprobe': : undefined reference to `isa_irq_pending' sio.o(.text+0x7fa): In function `sioprobe': : undefined reference to `isa_irq_pending' sio.o(.text+0x81c): In function `sioprobe': : undefined reference to `isa_irq_pending' sio.o(.text+0x856): In function `sioprobe': : undefined reference to `isa_irq_pending' *** Error code 1 Stop in /usr/src/sys/i386/compile/kernel_opt. thanks in advance, ananth.g ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list
Re: kernel build problem
Le 11 mai 2005 à 16:28, Ananth.G a écrit : i have attached my config file. regrds, ananth.g Sergey S. Ropchan wrote: Content of kernel config please ? It's look like wrong option in config. dear all, im having trouble compiling kernel on 5.3 , i did a `make depend` and `make`. The following is the error that i got, i might have missed a module i guess... cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested- externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual-fformat-extensions -std=c99 -nostdinc -I- - I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/ altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../ contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../ contrib/ngatm -D_KERNEL -include opt_global.h -fno-common - finline-limit=8000 --param inline-unit-growth=100 --param large- function-growth=1000 -mno-align-long-strings -mpreferred-stack- boundary=2 -ffreestanding -Werror vers.c linking kernel snip bunch of lines fdc_acpi.o(.text+0x1d6): In function `fdc_acpi_attach': : undefined reference to `fdc_isa_alloc_resources' ppc.o(.text+0xff7): In function `ppcintr': : undefined reference to `isa_dmadone' ppc.o(.text+0x11b3): In function `ppc_write': : undefined reference to `isa_dmastart' ppc.o(.text+0x1214): In function `ppc_write': : undefined reference to `isa_dmadone' ppc.o(.text+0x1963): In function `ppc_attach': : undefined reference to `isa_dma_acquire' ppc.o(.text+0x1976): In function `ppc_attach': : undefined reference to `isa_dmainit' sio.o(.text+0x62a): In function `sioprobe': : undefined reference to `isa_irq_pending' sio.o(.text+0x7fa): In function `sioprobe': : undefined reference to `isa_irq_pending' sio.o(.text+0x81c): In function `sioprobe': : undefined reference to `isa_irq_pending' sio.o(.text+0x856): In function `sioprobe': : undefined reference to `isa_irq_pending' *** Error code 1 Stop in /usr/src/sys/i386/compile/kernel_opt. # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # snip irrelevant parts # Bus support. Do not remove isa, even if you have no isa slots #deviceisa #deviceeisa devicepci I'm no expert in FreeBSD kernel, but it seems the compile stops on a isa-related error, and that you removed device isa even if the config file told you not to. :) Putting back device isa should cure it. -- See you!!! PAIG Chong Woo. E-Mail : [EMAIL PROTECTED] ICQ : 1305386 Page web : http://www.valken.org --- The historian is a prophet in reverse. Friedrich von Schlegel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: kernel build problem
i have attached my config file. regrds, ananth.g this looks like an issue (cut/pasted from kernel config file). Isa is required, no? # Bus support. Do not remove isa, even if you have no isa slots #device isa #device eisa device pci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hardware RAID 5 - Need vinum?
On 5/11/2005 19:33, Tony Shadwick wrote: The problem I've had in the past in Windows for example: Drive D: is a RAID5 volume, 400GB, nearly full. If I add a 200GB drive to the array, the 'disk' that Drive D: resides on is now ~600GB, but Drive D: will remain 400GB. I would have to utilize a third party piece of software to resize Drive D: to utilize all 400GB, or create another partition to use that extra 200GB. In my case. /media/video will still only have 400GB available to it. I'm creating one partition on the array with one slice. My understanding then is if I go into the label editor after adding my new drive, I'll have 200GB of free space, and I could create another slice and another mountpoint, but not simply add that additional space to my original slice and mountpoint at /media/video. Now, since I originally posted this message, I did more digging, and found some posts regarding growfs. Perhaps that command is what I'm looking for, and would allow me to grow /media/video to use all 600GB in that case. Now my only concern is whether or not the SX6000 support nondestructively growing a RAID5 array. If I'm right about growfs that is. :) You have already answered your question :). BTW kindly do not top post and wrap up mails at 72 characters. IT really creates a mess in my text mode client :(. Regards S. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hardware RAID 5 - Need vinum?
On Wed, 11 May 2005, Subhro wrote: On 5/11/2005 19:33, Tony Shadwick wrote: The problem I've had in the past in Windows for example: Drive D: is a RAID5 volume, 400GB, nearly full. If I add a 200GB drive to the array, the 'disk' that Drive D: resides on is now ~600GB, but Drive D: will remain 400GB. I would have to utilize a third party piece of software to resize Drive D: to utilize all 400GB, or create another partition to use that extra 200GB. In my case. /media/video will still only have 400GB available to it. I'm creating one partition on the array with one slice. My understanding then is if I go into the label editor after adding my new drive, I'll have 200GB of free space, and I could create another slice and another mountpoint, but not simply add that additional space to my original slice and mountpoint at /media/video. Now, since I originally posted this message, I did more digging, and found some posts regarding growfs. Perhaps that command is what I'm looking for, and would allow me to grow /media/video to use all 600GB in that case. Now my only concern is whether or not the SX6000 support nondestructively growing a RAID5 array. If I'm right about growfs that is. :) You have already answered your question :). BTW kindly do not top post and wrap up mails at 72 characters. IT really creates a mess in my text mode client :(. Regards S. Nani? I'm using pine in it's default config. Totally bizarre. I'll look into though. Thanks for the help! Tony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW/Samba does not work with WinXP (but with MacOS 10.3)
OK - problem solved. Not sure if this was an obvious one or not (ok probably was) - I added the freebsd machine name and ip to the WinXP hosts file and it works now. Cheers, Nicholas On 5/11/05, Nicholas Henry [EMAIL PROTECTED] wrote: Yes - that's my understanding too. I'm trying to let all local traffic (i.e. on the same network) through with this: # Allow any traffic to or from my own net. ${fwdcmd} 400 pass all from me to ${net}:${mask} ${fwdcmd} 500 pass all from ${net}:${mask} to me Anyone with any other thoughts? On 5/11/05, Juha Saarinen [EMAIL PROTECTED] wrote: On 5/11/05, Nicholas Henry [EMAIL PROTECTED] wrote: FreeBSD 5.3-RELEASE (GENERIC) #0: Fri Nov 5 04:19:18 UTC 2004 Hello folks: Trying to set rules to let a local network only connection to a Samba server running on my FreeBSD machine. I'm a FreeBSD newbie. Below is the rules file. The strange thing is this works fine when logging into the Samba server from a OS X, but no go with WinXP. I can connect to the Samba server from WinXP if the IPFW is not loaded. Any ideas? Don't know anything about ipfw, but you need to pass TCP and UDP 135-139 for NetBIOS to work, or change network settings in Windows to make it use TCP/UDP port 445 instead. -- Juha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I need further HDD advice before submitting order.
Hi again, I posted a question here last week, asking for advice on how I should ask my datacenter to divide up the HDDs in my new server. Thank you to everyone who responded. I have tried to understand all the advice given and, since then, have tried to get myself up to speed by reading the relevant sections in The Complete FreeBSD, FreeBSD Unleashed, Absolute BSD and Teach Yourself FreeBSD in 24 Hours (it didn't). I understand a little more than I did but am still unsure as to how I should divide the HDDs and would very much appreciate reactions to my current proposal. -- Server purpose: Initially just forums, later sundry other Web apps i.e. ecommerce, ticket bookings etc. Will possibly become a heavy-duty email server at some stage. 2GB RAM 80GB HDD IDE: / = 1GB /usr = 15GB /local = 15GB Swap = 4GB Unallocated = 40GB 200GB HDD IDE: /tmp = 2GB (is that enough?) /home = 28GB /var = 100GB (will inclube the forum databases etc) Unallocated = 70GB I'll be asking them to put the both disks in dangerously dedicated mode, with each on a different IDE bus. -- Is it a good idea leaving so much unallocated space? My research suggests that this may be useful for moving directories around or giving specific subdirectories their own partition at a later date when I have a better idea of usage, does that sound right? The only problem about creating partitions at a later date is that I will have command line access only, I'm not even sure if I can create partitions at a later date, I think that for sysinstall I might actually have to be there. Can anyone advise me on this? Swap: As the second disk will have the presumably quite busy /tmp and /var, placing all the swap on this the first disk, rather than shared between both, could help to balance the load a bit (thanks to Henry Miller for that suggestion). With 2GB of RAM, I'm hoping the Swap won't be needed very often anyway; if it is, I may simply add more memory. I decided not to use GPT because, although it sounds great, it seems a little complicated for a newbie like me. Apologies for seeking your help once again, I just need to get this straight before submitting the order, I would be very grateful for any and all advice. Thanks, Donnacha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5 day lockup on Densitron
Richard J. Valenta wrote: First off - thank you for both your replies... The manufacturer (Densitron) has little info available, especially technological info. I'm going to continue to look for this, but do either of you or anyone else have ideas on where to look for this? Would it be called a 'watchdog' in the BIOS? Previous to this install there was a smaller hard disk and a Windows 2000 install. However, there was no regular reboot or anything else I knew of. Of course, who knows if there's some kind of base Windows 'stroker' that I'm unaware of, or if there was something in place that was part of the application it ran. Anyway - ideas on where to look, and subsequently disable, this (if its there)? Thanks again, Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clifton Royston Sent: Tuesday, May 10, 2005 12:39 AM To: RW Cc: freebsd-questions@freebsd.org Subject: Re: 5 day lockup on Densitron On Tue, May 10, 2005 at 04:30:15AM +0100, RW wrote: On Saturday 07 May 2005 02:00, Clifton Royston wrote: What you describe could conceivably be the result of a special counter or RTC chip running as a watchdog timer with a count-down from boot time, and generating some kind of special interrupt when that countdown reaches 0. Watchdog devices are sometimes set up to require the application software to stroke the timer periodically (reset it in software) with the intent to force a reset of the system (usually a reboot) after such-and-such a period of time if not stroked. Watchdog timeouts are typically a fraction of a minute, a 5 day watchdog timeout is very unlikely. Watchdogs are normally designed to be initialized at boot by the software, and as FreeBSD doesn't know about it... It's a long-shot, but less so than overheating always happening to build up and cause a reset randomly at exactly the same 5 day period of time as somebody suggested. -- Clifton I actually saw this same thing on 2 machines recently. I suggest either upgrading to 5.4(not sure if it will fix it), or reverting to 4.11. My company has not been able to justify putting any 5.3 boxes into production because they seem very unstable. In our case the lockups were random. Initially it was thought to be almost exactly every 2 days but later determined the lockups were random. I installed 4.11 on both of those machines and they have been up every since. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall_enable: not found
Brilliant - thanks so much. On 5/11/05, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2005-05-11 09:17, Nicholas Henry [EMAIL PROTECTED] wrote: As requested - thank you. [...] /etc/rc.conf:firewall_enable =YES As I suspected it, you have a space where none should be! Delete the space before the '=' character and all should be fine. ___ 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: I need further HDD advice before submitting order.
Hi again, I posted a question here last week, asking for advice on how I should ask my datacenter to divide up the HDDs in my new server. Thank you to everyone who responded. I have tried to understand all the advice given and, since then, have tried to get myself up to speed by reading the relevant sections in The Complete FreeBSD, FreeBSD Unleashed, Absolute BSD and Teach Yourself FreeBSD in 24 Hours (it didn't). I understand a little more than I did but am still unsure as to how I should divide the HDDs and would very much appreciate reactions to my current proposal. -- Server purpose: Initially just forums, later sundry other Web apps i.e. ecommerce, ticket bookings etc. Will possibly become a heavy-duty email server at some stage. 2GB RAM 80GB HDD IDE: / = 1GB /usr = 15GB /local = 15GB Swap = 4GB Unallocated = 40GB 200GB HDD IDE: /tmp = 2GB (is that enough?) /home = 28GB /var = 100GB (will inclube the forum databases etc) Unallocated = 70GB I'll be asking them to put the both disks in dangerously dedicated mode, with each on a different IDE bus. -- Is it a good idea leaving so much unallocated space? My research suggests that this may be useful for moving directories around or giving specific subdirectories their own partition at a later date when I have a better idea of usage, does that sound right? Make a file system out of the 'unallocated' space now even if you don't decide on a mount point or use until later. I don't know what you expect to put in all that /usr space if you also have a /home and a /local (which would be /usr/local in reality). But, there is no harm. That should be plenty for /tmp The only problem about creating partitions at a later date is that I will have command line access only, I'm not even sure if I can create partitions at a later date, I think that for sysinstall I might actually have to be there. Can anyone advise me on this? Swap: As the second disk will have the presumably quite busy /tmp and /var, placing all the swap on this the first disk, rather than shared between both, could help to balance the load a bit (thanks to Henry Miller for that suggestion). With 2GB of RAM, I'm hoping the Swap won't be needed very often anyway; if it is, I may simply add more memory. The system uses swap space for its business regardless of how much ram you have - even if it is not forced to swap to have enough space. It uses it for paging as well as swap too. jerry I decided not to use GPT because, although it sounds great, it seems a little complicated for a newbie like me. Apologies for seeking your help once again, I just need to get this straight before submitting the order, I would be very grateful for any and all advice. Thanks, Donnacha ___ 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: Compiler error when doing make buildworld
Juan Fco Rodriguez Hervella wrote: cc -O -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr/obj/usr/src/i386/usr\ -I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1obj/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1obj/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1obj/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc1obj/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc1obj/../../../../contrib/gcc/objc -I. -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/gnu/usr.bin/cc/cc1obj/../../../../contrib/gcc/objc/objc-act.c /usr/src/gnu/usr.bin/cc/cc1obj/../../../../contrib/gcc/objc/objc-act.c: In function `really_start_method': /usr/src/gnu/usr.bin/cc/cc1obj/../../../../contrib/gcc/objc/objc-act.c:7819: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions PS: If I remove the -O option, it does compile! If you try doing a make clean, and then try remaking the world using -O, does it fail in the same place, or in a different place? If the problem is not 100% reproducable, you've likely got a hardware problem like poor cooling or bad RAM which is failing under the stress of building world -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pthread compiler issues
Twas said by Kris Kennaway and my ignorance encourages me to join the dialogue On Tue, May 10, 2005 at 07:06:43PM -0700, [EMAIL PROTECTED] wrote: Somehow you installed xorg without it installing the dri port (hardware graphics acceleration). You should go back and install it, Hi After installing dri I got the following from portupgrade -a in firefox (but also see remarks below: -lcrypt -lXinerama -L/usr/X11R6/lib -lutil -Wl,-rpath,/usr/X11R6/lib -Wl,-rpath-link,/usr/ports/x11/xorg-clients/work/xc/exports/lib genauth.o(.text+0xa62): In function 'InitXdmcpWrapper' : undefined reference to '_XdmcpWrapperToOddParity' genauth.o(.text+0xac5): In function 'InitXdmcpWrapper' : undefined reference to '_XdmcpWrapperToOddParity' genauth.o(.text+0xb3b): In function 'GenerateAuthData' : undefined reference to '_XdmcpAuthSetup' genauth.o(.text+0xb6c): In function 'GenerateAuthData' : undefined reference to '_XdmcpAuthDoIt' xdmauth.o(.text+0x35d): In function 'GetXdmcpAuth' : undefined reference to '_XdmcpWrap' xdmauth.o(.text+0x6cb): In function 'XdmCheckAuthentication' : undefined reference to '_XdmcpUnWrap' xdmauth.o(.text+0x70e): In function 'XdmCheckAuthentication' : undefined reference to '_XdmcpWrap' *** Error code 1 Stop in /usr/ports/x11/xorg-clients/work/xc/programs/xdm. *** Error code 1 Stop in /usr/ports/x11/xorg-clients/work/xc/programs. *** Error code 1 Stop in /usr/ports/x11/xorg-clients. Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade91178.47 make ** Fix the problem and try again --- Skipping 'x11-fonts/p5-type1inst' (p5-type1inst-0.6.1_2) because a requisite package 'xorg-clients-6.7.0_4' (x11/xorg-clients) failed (specify -k to force) --- Skipping 'x11/xorg' (xorg-6.8.2) because a requisite package 'xorg-vfbserver-6.7.0' (x11-servers/xorg-vbfserver) failed (specify -k to force) ** Listing the failed packages (*:skipped /!:failed) !x11-servers/xorg-vfbserver (xorg-vfbserver-6.7.0) (linker error) !x11-servers/xorg-nestserver (xorg-nestserver-6.7.0)(linker error) !x11-servers/xorg-server (xorg-server-6.7.0_9) (new compiler error) !x11-servers/xorg-printserver (xorg-printserver-6.7.0) (new compiler error) !x11-servers/xorg-clients (xorg-clients-6.7.0_4)(linker error) * x11-fonts/p5-type1inst (p5-type1inst-0.6.1_2) *x11/xorg (xorg-6.8.2) --- Packages processed: 0 done, 213 ignored, 2 skipped and 5 failed # pwd /usr/ports/www/firefox - Remarks: As a further check I got: /* same errors in portupgrade -a on: /usr/ports/emulators/linux_base /usr/ports/archivers/xdms /usr/ports/x11/xorg-clients - */ What's next? David David Southwell Ham call sign M0TAU Remove nospamme_ from reply to ** 40 yrs navigating and computing in blue waters. English Owner Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing May bound for Europe via Panama Canal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need further HDD advice before submitting order.
Jerry, thank you so much. Make a file system out of the 'unallocated' space now even if you don't decide on a mount point or use until later. Does it matter what I call that file system i.e. can I change it easily later on from the command line? Can I just call the free space on the 1st HDD /freea, and on the 2nd /freeb ? And should I be dividing each into more than just one file system? I don't know what you expect to put in all that /usr space if you also have a /home and a /local (which would be /usr/local in reality). But, there is no harm. Thanks, I'll bump both /usr and /local down to 10GB each, increasing the free space from 40 to 50GB. The system uses swap space for its business regardless of how much ram you have - even if it is not forced to swap to have enough space. It uses it for paging as well as swap too. Thanks, didn't think of that. Am I right to assume that paging isn't massively intensive? And that it's still a good idea to have all the swap on the 1st HDD (as opposed to split between the two) because it will be balanced out anyway by tmp, home and var on the 2nd HDD. That should be plenty for /tmp Okay, so, my provisional setup at the moment is: P4 2.8Mhz FSB 533, 2GB RAM 80GB HDD IDE: / = 1GB /usr = 10GB /local = 10GB Swap = 4GB /freea = 50GB 200GB HDD IDE: /tmp = 2GB (is that enough?) /home = 28GB /var = 100GB (will inclube the forum databases etc) /freeb = 70GB How does that sound? Again, I would be very grateful for any and all advice and opinions. Thanks, Donnacha jerry I decided not to use GPT because, although it sounds great, it seems a little complicated for a newbie like me. Apologies for seeking your help once again, I just need to get this straight before submitting the order, I would be very grateful for any and all advice. Thanks, Donnacha ___ 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: pthread compiler issues
I am getting problems with my ISP'S webmail interface... Please excuse mail difficulties... The following is missing Stop in /usr/ports/x11/xorg-clients/work/xc/programs. *** Error code 1 Stop in /usr/ports/x11/xorg-clients. Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade91178.47 make ** Fix the problem and try again --- Skipping 'x11-fonts/p5-type1inst' (p5-type1inst-0.6.1_2) because a requisite package 'xorg-clients-6.7.0_4' (x11/xorg-clients) failed (specify -k to force) --- Skipping 'x11/xorg' (xorg-6.8.2) because a requisite package 'xorg-vfbserver-6.7.0' (x11-servers/xorg-vbfserver) failed (specify -k to force) ** Listing the failed packages (*:skipped /!:failed) !x11-servers/xorg-vfbserver (xorg-vfbserver-6.7.0) (linker error) !x11-servers/xorg-nestserver (xorg-nestserver-6.7.0)(linker error) !x11-servers/xorg-server (xorg-server-6.7.0_9) (new compiler error) !x11-servers/xorg-printserver (xorg-printserver-6.7.0) (new compiler error) !x11-servers/xorg-clients (xorg-clients-6.7.0_4)(linker error) * x11-fonts/p5-type1inst (p5-type1inst-0.6.1_2) *x11/xorg (xorg-6.8.2) --- Packages processed: 0 done, 213 ignored, 2 skipped and 5 failed # pwd /usr/ports/www/firefox - As a further check I got: /* same errors in portupgrade -a on: /usr/ports/emulators/linux_base /usr/ports/archivers/xdms /usr/ports/x11/xorg-clients - */ What's next? David David Southwell Ham call sign M0TAU Remove nospamme_ from reply to ** 40 yrs navigating and computing in blue waters. English Owner Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing May bound for Europe via Panama Canal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need further HDD advice before submitting order.
Wow, I just got an email from my host saying they'd gone ahead and set up my server without waiting for my instructions. I logged in using the details they sent and found that they've set it up as follows: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a507630 35424431596 8%/ devfs 1 1 0 100%/dev /dev/ad2s1f 15231278 525930 13486846 4%/usr /dev/ad2s1e 5077038548 4670328 0%/var /dev/ad0s1e 72802358 44 66978126 0%/home /dev/ad0s1d507630 6467014 0%/tmp /dev/ad2s1d507630 6467014 0%/var/tmp /dev/ad2s1g 168392416 4 154921020 0%/www Definitely very different from the configuration I've been moving towards - only 5GB for /var, almost 170GB for a directory I hadn't even considered, /www, not sure what they've allocated to swap. Damn. Should I try to reconfigure this or ask them to do a fresh install according to my instructions? I'm a bit worried because there might be elements of what they've included here that are necessary. Should I be including things like /dev in my instructions or isn't that implicit? Any and all advice VERY much appreciated, Thanks, Donnacha [EMAIL PROTECTED] wrote: Hi again, I posted a question here last week, asking for advice on how I should ask my datacenter to divide up the HDDs in my new server. Thank you to everyone who responded. I have tried to understand all the advice given and, since then, have tried to get myself up to speed by reading the relevant sections in The Complete FreeBSD, FreeBSD Unleashed, Absolute BSD and Teach Yourself FreeBSD in 24 Hours (it didn't). I understand a little more than I did but am still unsure as to how I should divide the HDDs and would very much appreciate reactions to my current proposal. -- Server purpose: Initially just forums, later sundry other Web apps i.e. ecommerce, ticket bookings etc. Will possibly become a heavy-duty email server at some stage. 2GB RAM 80GB HDD IDE: / = 1GB /usr = 15GB /local = 15GB Swap = 4GB Unallocated = 40GB 200GB HDD IDE: /tmp = 2GB (is that enough?) /home = 28GB /var = 100GB (will inclube the forum databases etc) Unallocated = 70GB I'll be asking them to put the both disks in dangerously dedicated mode, with each on a different IDE bus. -- Is it a good idea leaving so much unallocated space? My research suggests that this may be useful for moving directories around or giving specific subdirectories their own partition at a later date when I have a better idea of usage, does that sound right? The only problem about creating partitions at a later date is that I will have command line access only, I'm not even sure if I can create partitions at a later date, I think that for sysinstall I might actually have to be there. Can anyone advise me on this? Swap: As the second disk will have the presumably quite busy /tmp and /var, placing all the swap on this the first disk, rather than shared between both, could help to balance the load a bit (thanks to Henry Miller for that suggestion). With 2GB of RAM, I'm hoping the Swap won't be needed very often anyway; if it is, I may simply add more memory. I decided not to use GPT because, although it sounds great, it seems a little complicated for a newbie like me. Apologies for seeking your help once again, I just need to get this straight before submitting the order, I would be very grateful for any and all advice. Thanks, Donnacha ___ 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]
FireFox is beeping at me!
Hi, I'm having an issue where 'FireFox 1.0.3' on 'FreeBSD 5.3-Release' is beeping at me when I start, use and close it. By use, I mean doing standard tasks inside of it, such as Google'ing and general surfing of the internet. I've tried 'xset b off', but the sound is still present? One thing I have noticed, is if I have an audio application up, or any application that is using the sound device, FireFo doesn't beep? I noticed this whilst listening to music via XMMS. Has anyone else had this issue? It's rather annoying, and any help would be appreciated. Thanks, M Crilly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
best practices for administration
Since the BSD community seems to be more security conscious than other (read windows system administrators) groups, I wanted to see if anyone here would have any pointers to best practices documents when administering ANY operating system, not just FreeBSD. I am assuming that many of you must manage other operating systems as well. The nexus of my query lies in my attempt to have our central IT folks issue additional identities for users to have when administering the systems versus doing productivity work on them. I'd like to understand what is done generally when granting users permissions to do things on the operating system that imply 'administration', ie installing software, adding printers, modifying system scripts, etc. There are some here who think that putting standard user ID's into administrative 'groups' is sufficient for granting such priveledges. hopefully, I'm not being too obscure. -- David Bear phone: 480-965-8257 fax:480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 Beware the IP portfolio, everyone will be suspect of trespassing ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need further HDD advice before submitting order.
[EMAIL PROTECTED] wrote: [ ... ] I understand a little more than I did but am still unsure as to how I should divide the HDDs and would very much appreciate reactions to my current proposal. Howdy-- If it helps, please note that FreeBSD will fit just fine into 10GB or less. How you want to layout 280 GB should be driven by how you want to arrange your content. For what it's worth, I'd rather have two 80GB drives in a RAID-1 mirror than have my stuff on two seperate drives, but using software RAID like vinum/gvinum, you can still mirror 80GB onto the 200GB drive, and have an additional 120 GB of space left over. [ You don't have to do anything about that now, if you do leave an 80 GB chunk of space uncommitted on the big disk. ] -- Server purpose: Initially just forums, later sundry other Web apps i.e. ecommerce, ticket bookings etc. Will possibly become a heavy-duty email server at some stage. 2GB RAM 80GB HDD IDE: / = 1GB /usr = 15GB /local = 15GB Swap = 4GB Unallocated = 40GB 200GB HDD IDE: /tmp = 2GB (is that enough?) /home = 28GB /var = 100GB (will inclube the forum databases etc) Unallocated = 70GB I'll be asking them to put the both disks in dangerously dedicated mode, with each on a different IDE bus. Don't use dangerously dedicated mode for your boot drive. Reserving the 63 sectors at the beginning for a MBR-style layout is a trivial waste of space compared with the hassle of not being able to boot from the drive Is it a good idea leaving so much unallocated space? My research suggests that this may be useful for moving directories around or giving specific subdirectories their own partition at a later date when I have a better idea of usage, does that sound right? Yes, it's a good idea. There is nothing wrong with configuring all of the space to be used if you want to do so and you know what the usage and growth are going to be. However, if you are not certain about how various filesystems grow, there is a real advantage to having some unallocated space handy. The only problem about creating partitions at a later date is that I will have command line access only, I'm not even sure if I can create partitions at a later date, I think that for sysinstall I might actually have to be there. Can anyone advise me on this? You can run /stand/sysinstall remotely via the command line, if you like. Either way, you can adjust the partition table and create new filesystems later on without a problem. Swap: As the second disk will have the presumably quite busy /tmp and /var, placing all the swap on this the first disk, rather than shared between both, could help to balance the load a bit (thanks to Henry Miller for that suggestion). With 2GB of RAM, I'm hoping the Swap won't be needed very often anyway; if it is, I may simply add more memory. You want to have your swap partition be a little larger than the amount of RAM you have; use 2.5 or 3 GB for swap. The biggest problem I see with your layout about is that you don't have a complete bootable system on just the 80 GB drive. If you start moving disks around between machines, for some reason (whether it's to add another box to split the workload, or because one of the drives is showing failure signs and needs to be replaced), you may really regret doing so. I'd be happier with: 80GB HD: / 1 GB swap3 GB /tmp6 GB /var20 GB /usr20 GB /home? 30 GB maybe, or might leave unused Do this as two FDISK partitions, the first with a bootable system via BSd partition slices, the second as /home or unused. 200GB HD: unused 80 GB reserved at beginning of disk, either for possible mirror or as needed for another filesystem based on growth swap 3 GB (optional, could be put in the 80 GB slice above) /local 40 GB I'd call this /opt, myself :-) /home? 40 GB maybe I'd put /home here, and not on the 80 GB unused 40 GB for a while until you see which filesystems grow and/or to balance disk utilization... Do this as 4 FDISK partitions. The thing is, 20 GB will still fit a ton of stuff in /var. When it starts getting full, take your biggest database or the forums or whatever, and move it to it's own partition using the 30 or 40 GB of space left uncommitted, and use a symlink so the old path still works... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need further HDD advice before submitting order.
Hi Chuck, thanks for responding. ... For what it's worth, I'd rather have two 80GB drives in a RAID-1 mirror than have my stuff on two seperate drives, but using software RAID like vinum/gvinum, you can still mirror 80GB onto the 200GB drive, and have an additional 120 GB of space left over. That does sound like a good idea, especially if it's something I can introduce at a later stage. [ You don't have to do anything about that now, if you do leave an 80 GB chunk of space uncommitted on the big disk. ] By uncommitted do you mean space that I keep completed unallocated or can it be space in which, following Jeremy's suggestion, I create a temporary file system that I keep empty until I learn how to use vinum/gvinum? Thanks, Donnacha -- Server purpose: Initially just forums, later sundry other Web apps i.e. ecommerce, ticket bookings etc. Will possibly become a heavy-duty email server at some stage. 2GB RAM 80GB HDD IDE: / = 1GB /usr = 15GB /local = 15GB Swap = 4GB Unallocated = 40GB 200GB HDD IDE: /tmp = 2GB (is that enough?) /home = 28GB /var = 100GB (will inclube the forum databases etc) Unallocated = 70GB I'll be asking them to put the both disks in dangerously dedicated mode, with each on a different IDE bus. Don't use dangerously dedicated mode for your boot drive. Reserving the 63 sectors at the beginning for a MBR-style layout is a trivial waste of space compared with the hassle of not being able to boot from the drive Is it a good idea leaving so much unallocated space? My research suggests that this may be useful for moving directories around or giving specific subdirectories their own partition at a later date when I have a better idea of usage, does that sound right? Yes, it's a good idea. There is nothing wrong with configuring all of the space to be used if you want to do so and you know what the usage and growth are going to be. However, if you are not certain about how various filesystems grow, there is a real advantage to having some unallocated space handy. The only problem about creating partitions at a later date is that I will have command line access only, I'm not even sure if I can create partitions at a later date, I think that for sysinstall I might actually have to be there. Can anyone advise me on this? You can run /stand/sysinstall remotely via the command line, if you like. Either way, you can adjust the partition table and create new filesystems later on without a problem. Swap: As the second disk will have the presumably quite busy /tmp and /var, placing all the swap on this the first disk, rather than shared between both, could help to balance the load a bit (thanks to Henry Miller for that suggestion). With 2GB of RAM, I'm hoping the Swap won't be needed very often anyway; if it is, I may simply add more memory. You want to have your swap partition be a little larger than the amount of RAM you have; use 2.5 or 3 GB for swap. The biggest problem I see with your layout about is that you don't have a complete bootable system on just the 80 GB drive. If you start moving disks around between machines, for some reason (whether it's to add another box to split the workload, or because one of the drives is showing failure signs and needs to be replaced), you may really regret doing so. I'd be happier with: 80GB HD: /1 GB swap3 GB /tmp6 GB /var20 GB /usr20 GB /home?30 GB maybe, or might leave unused Do this as two FDISK partitions, the first with a bootable system via BSd partition slices, the second as /home or unused. 200GB HD: unused80 GB reserved at beginning of disk, either for possible mirror or as needed for another filesystem based on growth swap3 GB (optional, could be put in the 80 GB slice above) /local40 GB I'd call this /opt, myself :-) /home?40 GB maybe I'd put /home here, and not on the 80 GB unused40 GB for a while until you see which filesystems grow and/or to balance disk utilization... Do this as 4 FDISK partitions. The thing is, 20 GB will still fit a ton of stuff in /var. When it starts getting full, take your biggest database or the forums or whatever, and move it to it's own partition using the 30 or 40 GB of space left uncommitted, and use a symlink so the old path still works... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: user owned groups
In the last episode (May 11), David Bear said: Apoligies in advance but searches based on keyword were too voluminous. I've noticed that with some Linux distributions the default behavior of creating user accounts created the group with the same name as the user, and made that group the primary group of the user. There are other linux distributions that the throw all users into a default group named users. Freebsd does the first. Assuming that Freebsd was designed to be more secure from the start, I am assuming that creating a group for each user was also deemed a security plus. Are there any documents explaining the reasoning behind this? Both systems should be equally secure. The BSD way is a bit more flexible in that you can allow user A access to user B's home directories by putting user A in group B. Good for allowing teachers access to student directories (but only the ones taking their classes), or delegating access while an employee is on vacation. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problems with pop3 daemons
Im running a mailserver on FreeBSD 5.4, for some time now im experiencing problems with downloading large messages (above 1 mb but i don't know from which size it starts) through pop3: After about 30 secs of downloading, the download just hangs, qpopper's output to the logs is: ay 11 16:31:00 loki qpopper[57578]: I/O error flushing output to client xxx Operation not permitted (1). I tried to switch pop3 daemon, and tried popd, pop3lite and pop3ad.. all did the same thing but didn't report anything.. im using ipfw to limit the bandwidth to port 110 with the following rules: pipe 1 config bw 16KByte/s add pipe 1 tcp from me 110 to any although I tried turning ipfw off and got the same results. Im also using pf as my firewall and allowing ICMP with the following rules: pass in on $ext_if inet proto icmp from any to any keep state pass out on $ext_if inet proto icmp all keep state what can be the problem ?! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: user owned groups
David Bear wrote: I've noticed that with some Linux distributions the default behavior of creating user accounts created the group with the same name as the user, and made that group the primary group of the user. There are other linux distributions that the throw all users into a default group named users. Good observation. :-) Freebsd does the first. Assuming that Freebsd was designed to be more secure from the start, I am assuming that creating a group for each user was also deemed a security plus. Are there any documents explaining the reasoning behind this? Sure. man 2 umask and man chmod. If all of the users have their default group be staff or some such, anyone can change any file which is group-writable. If each user has their default group be a unique group (with UID==GID), then users can safely use a 002 umask, without worrying about their files being stolen or changed by other users, and yet still use group accounts to work with other users when they do want to share files with. Hunt down the thread Re: Default permissions of /home/user.. (search for msg-id [EMAIL PROTECTED]) for more discussion on this topic. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need further HDD advice before submitting order.
[EMAIL PROTECTED] wrote: Hi Chuck, thanks for responding. You're welcome. ... For what it's worth, I'd rather have two 80GB drives in a RAID-1 mirror than have my stuff on two seperate drives, but using software RAID like vinum/gvinum, you can still mirror 80GB onto the 200GB drive, and have an additional 120 GB of space left over. That does sound like a good idea, especially if it's something I can introduce at a later stage. You bet. Power supplies fail more often than hard drives do, but drive failures with IDE disks are common enough that I prefer to use RAID-1 whenever possible for the boot drive. If needed, add additional storage to handle the space for a database or whatever else is needed for this particular system. [ You don't have to do anything about that now, if you do leave an 80 GB chunk of space uncommitted on the big disk. ] By uncommitted do you mean space that I keep completed unallocated or can it be space in which, following Jeremy's suggestion, I create a temporary file system that I keep empty until I learn how to use vinum/gvinum? It doesn't really matter which. If you're not keeping important data there, you can try both. Just allocate the space in the FDISK partition table, and use newfs directly, if you like, or slice it up using BSD partition table and do something else. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: user owned groups
On Wed, May 11, 2005 at 01:37:27PM -0400, Chuck Swiger wrote: If all of the users have their default group be staff or some such, anyone can change any file which is group-writable. If each user has their default group be a unique group (with UID==GID), then users can safely use a 002 umask, without worrying about their files being stolen or changed by other users, and yet still use group accounts to work with other users when they do want to share files with. Okay, I'm going to jump in now and ask something I have always wanted to know the answer to but always seem to forget. Can /home be configured so all files are created with permissions of 0600 (or 0700 for directories)? I use a umask of 77 but that's annoying when playing with files in other locations. Sorry if this is obvious/stupid :) -Lewis Thompson. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need further HDD advice before submitting order.
Jerry, thank you so much. Make a file system out of the 'unallocated' space now even if you don't decide on a mount point or use until later. Does it matter what I call that file system i.e. can I change it easily later on from the command line? Can I just call the free space on the 1st HDD /freea, and on the 2nd /freeb ? And should I be dividing each into more than just one file system? You don't need to mount it until you decide what to do with it so, no, it doesn't need to be called anything. The system uses swap space for its business regardless of how much ram you have - even if it is not forced to swap to have enough space. It uses it for paging as well as swap too. Thanks, didn't think of that. Am I right to assume that paging isn't massively intensive? And that it's still a good idea to have all the swap on the 1st HDD (as opposed to split between the two) because it will be balanced out anyway by tmp, home and var on the 2nd HDD. I wouldn't call it massively intensive - unless you do run low on memory.I tend to prefer splitting it between drives, but I suspect it doesn't really matter a lot unless you get to the point of running low on memory. One more thing. Do not use the socalled 'dangerously dedicated' disk setup. Just make one regular slice on each disk that uses all of the disk. Then partition those slices. You won't notice the difference in amount of available disk and you might save yourself some headaces later on. That should be plenty for /tmp Okay, so, my provisional setup at the moment is: P4 2.8Mhz FSB 533, 2GB RAM 80GB HDD IDE: / = 1GB /usr = 10GB /local = 10GB Swap = 4GB /freea = 50GB 200GB HDD IDE: /tmp = 2GB (is that enough?) /home = 28GB /var = 100GB (will inclube the forum databases etc) /freeb = 70GB How does that sound? Again, I would be very grateful for any and all advice and opinions. Well, I would do it differently, but I am only responsible for my machines and not yours. I would put all of the standard partitions on the smaller disk (/, /tmp, /usr, /var, and even /home if you don't need any more than 28GB, plus a chunk of the swap) I would not make a separate /usr/local. I would divide up the large disk between some swap and all the rest in one big partition for spill. Then as things grew and began to outstrip their space on the smaller drive, I would just move the the specific directories on to the larger drive and make symlinks. That way I don't have to pre-guess how much any part is going to grow. I also would not have to mess with growfs or anything like that. So, my more likely allocation would be something like: On the 80 GB drive /root1 GB swap 2.5 GB /tmp 2 GB /usr 5 GB /var 5 GB /home64GB (eg. all the rest, see size notes below) On the 200 GB drive swap 2.5 GB /spill 197 GB (eg. all the rest, see size notes below) Things that might be likely to need moving to /spill would be /var/db, /var/mail, /var/spool, /usr/ports, /usr/local. Keep in mind that a nominal 80 GB drive will look like 74.5 GB to the system because of the difference in the manufacturer's definition of a GB (80 billion in decimal) and the system's definition in which a GB is 2^30 or 1,073,741,824. Similarly, the 200 GB drive will really be 186.26 GB in system style GBs. That gets written off as a matter of semantics. But it is really a marketing ploy similar to the gas stations naming their prices with the .9 on the end as in 205.9 cents per gallon rather than just making it 206 cents so people will think 205 rather than 206. But, to add to this, once you get your 74.5 GB drive and start to set it up, when you newfs the partitions to make file systems out of them, you will lose some more to space it needs for superblocks and pionters. And then when the file system is mounted, it will reserve 0.08 (eg 8 per cent) to deal with system issues. So, in reality, your advertised 80 GB drive will yield about 65 GB for regular use. The advertised 200 GB drive will yield about 163 GB after newfs and system reserve. So, with that in mind, you may also want to rethink the size of your partitions. Allocating 1 GB will yield about 830 MB filesystem, etc. Or, to get a 5 GB filesystem, you would need to allocate about 6 GB for the partition before newfs and system reserve. One more thing to think about is the possibility of creating a raid (mirror) for critical things. That would give you some security in case of a disk crash. In that case you would need to put your critical stuff on the smaller drive and carve out an identical size piece on the large one to be its mirror partner. Check out vinum(8). That, of necessity, would make your allocation scheme look quite different. jerry Thanks, Donnacha jerry I decided not to use GPT because, although it sounds great, it seems a little complicated for a
Re: best practices for administration
David Bear wrote: Since the BSD community seems to be more security conscious than other (read windows system administrators) groups, I wanted to see if anyone here would have any pointers to best practices documents when administering ANY operating system, not just FreeBSD. I am assuming that many of you must manage other operating systems as well. Sure. You could start with the networking section of the FreeBSD Handbook, or maybe the O'Reilley books (TCP IP Network Admin, Building Internet Firewalls). If you want to get serious about the matter, follow: http://www.rfc-editor.org/rfcxx00.html#BCPbyBCP ...until you understand RFC-1149. (No smiling in the back, there!) There are lots and lots of other people writing stuff they'd like to sell you, such as books and ISO-9000-whatever standards, or MSCE-certs (Novell certs, Sun certs, Cisco IOS certs, SANS GIS certs...)-- you name it-- someone will charge you to train test for it. The nexus of my query lies in my attempt to have our central IT folks issue additional identities for users to have when administering the systems versus doing productivity work on them. I'd like to understand what is done generally when granting users permissions to do things on the operating system that imply 'administration', ie installing software, adding printers, modifying system scripts, etc. There are some here who think that putting standard user ID's into administrative 'groups' is sufficient for granting such priveledges. hopefully, I'm not being too obscure. It would help to have a context. Are you a manager overseeing a team of sysadmins, are you talking about employees managing stuff on the company fileserver, or are we talking about an ISP and their customers, or are you simply writing a term paper on the subject? :-) Anyway, a really good starting point is using sudo to grant people, or groups of people, controlled access to superuser capabilities. Beyond that, consider POSIX ACL's or the MAC framework from TrustedBSD... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FireFox is beeping at me!
Krilly wrote: I'm having an issue where 'FireFox 1.0.3' on 'FreeBSD 5.3-Release' is beeping at me when I start, use and close it. By use, I mean doing standard tasks inside of it, such as Google'ing and general surfing of the internet. I've tried 'xset b off', but the sound is still present? Did you compile the port with debugging on? Mozilla beeps like a lunatic when it's compiled with debugging. Have a look at /var/db/ports/firefox/options and see if there is a line like WITH_DEBUG=true. If there is, then delete /var/db/ports/firefox/options. Go to /usr/ports/www/firefox and do a make. This time do not turn debugging on when asked to pick options!. Then make deinstall; make reinstall. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pthread compiler issues
Twas said by Kent Stewart and my ignorance encourages me to join the dialogue You have a messed up installation. I don't have 5.3 but I am running 5.4-stable. You are trying to update things in a hap hazard manner. Stop what you are doing and develop a consistant environment. Humph -- I built this machine with 5.3 about 2/3 weeks ago but I am beginning to think that my first cvsup was not properly configured and I messed up that way. First of all, you need a current xorg installed. Don't bother with anything else until you can do a portupgrade -fR xorg. That is underway right now. You pthread problem is very similar. That one seems to have been solved with my upgrade of dri You have ports installed from different vintages. They changed the pthread technology around 5.2.1. When they did that, you could add a /etc/libmap.conf, or do it properly and recompile everything that uses threads. It is pay me now or pay me later. How would I know what uses threads? BTW I am a fully paid up member of the Do it properly club but I have had to make many contributions to the fine box when I have been caught out breaking the rules!! M0TAU is a UK call equivalent to US extra -- speak to you later Thanks again David Thanks for your help If you want to use mozilla, foxfire and etc, you need the linuxpluginwrapper port installed. It comes with a libmap.conf.They all work but are on the touchy side :) . What is a m0 call sign? I am ka7gkw. I have ICQ and Yahoo messenger if you want to talk real time. Kent David David Southwell Ham call sign M0TAU Remove nospamme_ from reply to ** 40 yrs navigating and computing in blue waters. English Owner Captain of British Registered 60' bluewater David Southwell Ham call sign M0TAU Remove nospamme_ from reply to ** 40 yrs navigating and computing in blue waters. English Owner Captain of British Registered 60' bluewater Ke tch S/V Taurus. Currently in San Diego, CA. Sailing May bound for Europe via Panama Canal. David Southwell Ham call sign M0TAU Remove nospamme_ from reply to ** 40 yrs navigating and computing in blue waters. English Owner Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing May bound for Europe via Panama Canal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pthread compiler issues
On Wed, May 11, 2005 at 09:33:12AM -0700, [EMAIL PROTECTED] wrote: Twas said by Kris Kennaway and my ignorance encourages me to join the dialogue On Tue, May 10, 2005 at 07:06:43PM -0700, [EMAIL PROTECTED] wrote: Somehow you installed xorg without it installing the dri port (hardware graphics acceleration). You should go back and install it, Hi After installing dri I got the following from portupgrade -a in firefox (but also see remarks below: -lcrypt -lXinerama -L/usr/X11R6/lib -lutil -Wl,-rpath,/usr/X11R6/lib -Wl,-rpath-link,/usr/ports/x11/xorg-clients/work/xc/exports/lib genauth.o(.text+0xa62): In function 'InitXdmcpWrapper' : undefined reference to '_XdmcpWrapperToOddParity' genauth.o(.text+0xac5): In function 'InitXdmcpWrapper' : undefined reference to '_XdmcpWrapperToOddParity' genauth.o(.text+0xb3b): In function 'GenerateAuthData' : undefined reference to '_XdmcpAuthSetup' genauth.o(.text+0xb6c): In function 'GenerateAuthData' : undefined reference to '_XdmcpAuthDoIt' xdmauth.o(.text+0x35d): In function 'GetXdmcpAuth' : undefined reference to '_XdmcpWrap' xdmauth.o(.text+0x6cb): In function 'XdmCheckAuthentication' : undefined reference to '_XdmcpUnWrap' xdmauth.o(.text+0x70e): In function 'XdmCheckAuthentication' : undefined reference to '_XdmcpWrap' *** Error code 1 Stop in /usr/ports/x11/xorg-clients/work/xc/programs/xdm. *** Error code 1 Stop in /usr/ports/x11/xorg-clients/work/xc/programs. *** Error code 1 Stop in /usr/ports/x11/xorg-clients. Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade91178.47 make ** Fix the problem and try again --- Skipping 'x11-fonts/p5-type1inst' (p5-type1inst-0.6.1_2) because a requisite package 'xorg-clients-6.7.0_4' (x11/xorg-clients) failed (specify -k to force) --- Skipping 'x11/xorg' (xorg-6.8.2) because a requisite package 'xorg-vfbserver-6.7.0' (x11-servers/xorg-vbfserver) failed (specify -k to force) ** Listing the failed packages (*:skipped /!:failed) !x11-servers/xorg-vfbserver (xorg-vfbserver-6.7.0) (linker error) !x11-servers/xorg-nestserver (xorg-nestserver-6.7.0)(linker error) !x11-servers/xorg-server (xorg-server-6.7.0_9) (new compiler error) !x11-servers/xorg-printserver (xorg-printserver-6.7.0) (new compiler error) !x11-servers/xorg-clients (xorg-clients-6.7.0_4)(linker error) * x11-fonts/p5-type1inst (p5-type1inst-0.6.1_2) *x11/xorg (xorg-6.8.2) --- Packages processed: 0 done, 213 ignored, 2 skipped and 5 failed # pwd /usr/ports/www/firefox - Remarks: As a further check I got: /* same errors in portupgrade -a on: /usr/ports/emulators/linux_base /usr/ports/archivers/xdms /usr/ports/x11/xorg-clients - */ What's next? Try reinstalling xorg-libraries first, since something seems to be wrong with it too. You can use precompiled packages (portupgrade -P) if you like, which will avoid the need to compile locally. Kris pgpHTdGaAdGZG.pgp Description: PGP signature
Some strange USB issues ...
Hey! I have two problems, here on my FreeBSD 5.4-STABLE. 1) My USB keyboard: I have a wireless HP (KBR0133) keyboard, as well as an old Compaq keyboard wired to my box. The weird thing is that they tend to switch who gets to work. If the wireless doesn't work, the wired one works, and vice versa. I have no idea what's going on. 2) I followed this setup for my USB mouse (HP MUR0208): http://www.freebsddiary.org/usb-mouse.php But the strange thing is, sometimes the mouse works and sometimes it doesn't. When it doesn't work, the HP Wireless Desktop Receiver 1.0A doesn't allow its light to appear when I press the shiny black button. Again, I have no idea what's going on. Both have no problems in Windows XP. -- Fafa Hafiz Krantz Research Designer @ http://www.home.no/barbershop Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: a problem withcompiling kernel
On Wed, May 11, 2005 at 01:50:19PM +0400, Alexander Soldatov wrote: Of course not, I need INET Is the problem because of a INET support missing? How can I correct it? Yes, you removed it from your kernel configuration. To fix the problem of having removed it from your kernel configuration, don't remove it from your kernel configuration; that is to say, put it back in your kernel configuration. Kris pgphEzBbcu8Rb.pgp Description: PGP signature
Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: a problem withcompiling kernel
On Wed, May 11, 2005 at 11:25:15AM +0200, Idar Tollefsen wrote: Kris Kennaway wrote: -boundary=2 -ffreestanding -Werror ../../../net/if_gif.c ..and -Werror is in effect: -Werror Treat warnings as errors; abort compilation after any warning. As I said, try setting NO_WERROR= yes in make.conf. That's the brainless and probably wrong approach :) More intelligent is to wonder why he's seeing this warning when no-one else is: see my previous response. Agreed :) However, I seem to recall having had the exact same problem somewhere in the gif code on a 4.x version (some time ago), where simply disabling -Werror was the solution. And yes, I did have INET support in there ;) -Werror is not enabled on 4.x, so it must have again been something else. Kris pgpF3Lsdqaq5L.pgp Description: PGP signature
Re: user owned groups
Lewis Thompson wrote: On Wed, May 11, 2005 at 01:37:27PM -0400, Chuck Swiger wrote: If all of the users have their default group be staff or some such, anyone can change any file which is group-writable. If each user has their default group be a unique group (with UID==GID), then users can safely use a 002 umask, without worrying about their files being stolen or changed by other users, and yet still use group accounts to work with other users when they do want to share files with. [ ... ] Can /home be configured so all files are created with permissions of 0600 (or 0700 for directories)? I use a umask of 77 but that's annoying when playing with files in other locations. setgid on directories won't help, but maybe the behavior of the sticky bit is what you are looking for? Is how stuff in /tmp handled OK permission-wise for your expectations? Otherwise, you only have one default umask. I'm not sure there is a sane way of changing it depending on which directory you are currently in, but you might try setting up an alias (cd77, cd22?) which combines setting the umask and cd'ing. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot loader doesn't see [root filesystem on] ATA disk after successful install
--- Joel [EMAIL PROTECTED] wrote: From what little I've seen, it could be worth a try if you have the time. Ok, I tried booting the loader on the SCSI disk, and then telling it to boot the kernel on the IDE disk. In this case it just beeped and returned me to the prompt to select a disk (F1 or F5) to boot from. The lsdev command on this boot loader gave the same results as the one booted from the IDE disk. From what I've read and what I've experienced, putting hard disks and CD-ROMs on the same channel is counterproductive. Boot problems and data problems are said to be likely on many controller and drive combinations. I know, and I wouldn't have done that except that I was surprised to find out that this PC only has one socket for an IDE cable. It has two on-board IDE controllers though! (this is an HP Kayak XU with dual PII processors, a little on the old side, but it's the only i386 SMP system that I have access to at the moment). If you can boot from the SCSI, check the dmesg there to see whether the ATA controller is recognized by the older system. That wouldn't give an absolute answer, but might yield a clue. The older system can see the CD-ROM drive, so it must be recognizing the ATA controller. I'll post the relevant dmesg output tomorrow though. Here is the relevant dmesg output: atapci0: Intel PIIX4 ATA33 controller port 0xfcd0-0xfcdf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ... ad0: 76319MB WDC WD800JB-00JJC0 [155061/16/63] at ata0-master UDMA33 acd0: CDROM CD-532E-A at ata0-slave PIO4 Thanks for your helpful replies, -brian __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hardware RAID 5 - Need vinum?
On Tuesday, 10 May 2005 at 16:05:50 -0500, Tony Shadwick wrote: I've worked with RAID5 in FreeBSD in the past, with either vinum or a hardware raid solution. Never had any problems either way. I'm now building a server for myself at home, and I'm creating a large volume to store video. I have purchased 3 200GB EIDE hard drives, and a 6 channel Promise SX6000 ATA RAID controller. I know how to set up a RAID5 set, and create a mountpoint (say /media/video). What my concern is when I start to fill up the ~400GB of space I'm giving myself with this set. I would like to simply insert another 200GB drive and expand the array, allowing the hardware raid to do the work. The problem I see with this is that yes, the /dev/(raid driver name)0 will now be that much larger, however the original partition size and the subsequent slices will still be the original size. Do I need to (and is there a way?) to utilize vinum and still allow the hardware raid controller to do the raid5 gruntwork and still have the ability to arbitrarily grow the volume as needed? The only other solution I see is to use vinum to software-raid the set of drives, leaving it as a glorified ATA controller card, and the cpu/ram of the card unitilized and burden the system CPU and RAM with the task. What you need here is not Vinum (which would replace the hardware RAID array), but growfs. You'd need that with Vinum as well. There have been issues with growfs in the past; last time I looked it hadn't been updated to handle UFS 2. If you don't need the UFS 2 functionality, you might be better off using UFS 1 if you intend to grow the file system. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: user owned groups
On Wed, May 11, 2005 at 02:33:30PM -0400, Chuck Swiger wrote: setgid on directories won't help, but maybe the behavior of the sticky bit is what you are looking for? Is how stuff in /tmp handled OK permission-wise for your expectations? No, I was thinking more along the lines of inheriting permissions on new files from the directory they are in, i.e. umask 22 mkdir inherit chmod 5700 inherit (let's pretend 5 is my inherit mode) cd inherit touch test The end result would be that test would be created 0600 (or maybe 0700 but that's not very handy). Does that make sense? Is it possible? Thanks, -Lewis Thompson. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT: A beautiful dmesg! Maybe one day?
Fafa Hafiz Krantz wrote: Clifton! I've never read a better e-mail. Thank you for your words, wise man. I've been inspired now. :) From: Clifton Royston -- [EMAIL PROTECTED] If this matters so much to you, it should be worth your effort. I must agree with Fafa. Wise words from a wise man. If ever a statement on this list should carry a copyright.. Let's not get into that :) Would you mind if I used this statement in dealing with my 16 year old Grandson who is dying to get his driving license? Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with pop3 daemons
On Wed, May 11, 2005 at 04:58:40PM +0200, Gal Ben-Haim wrote: Im running a mailserver on FreeBSD 5.4, for some time now im experiencing problems with downloading large messages (above 1 mb but i don't know from which size it starts) through pop3: After about 30 secs of downloading, the download just hangs, qpopper's output to the logs is: ay 11 16:31:00 loki qpopper[57578]: I/O error flushing output to client xxx Operation not permitted (1). I tried to switch pop3 daemon, and tried popd, pop3lite and pop3ad.. all did the same thing but didn't report anything.. This is one for the qpopper mailing list, but to save you some trouble, the not pemitted is what qpopper reports when the client end of the connection has gone away and it finds it's writing to a closed socket. It gets seen on all kinds of platforms and is not a BSD issue, nor (usually) an OS configuration issue. This almost always indicates a buggy POP client which is failing on some message, and/or a client which is running AV software which transparently hijacks POP connections in order to scan them. In either case you need to see what's going on on the client end. qpopper is merely more verbose about reporting this than most POP servers. -- Clifton -- Clifton Royston -- [EMAIL PROTECTED] Tiki Technologies Lead Programmer/Software Architect I'm gonna tell my son to grow up pretty as the grass is green And whip-smart as the English Channel's wide... -- 'Whip-Smart', Liz Phair ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: user owned groups
Lewis Thompson wrote: On Wed, May 11, 2005 at 02:33:30PM -0400, Chuck Swiger wrote: setgid on directories won't help, but maybe the behavior of the sticky bit is what you are looking for? Is how stuff in /tmp handled OK permission-wise for your expectations? No, I was thinking more along the lines of inheriting permissions on new files from the directory they are in, i.e. umask 22 mkdir inherit chmod 5700 inherit (let's pretend 5 is my inherit mode) cd inherit touch test The end result would be that test would be created 0600 (or maybe 0700 but that's not very handy). Does that make sense? Is it possible? Heh, good questions. Yes, and it is probably not needed. If inherit has 700 permissions, nobody who is not root or has the same UID can traverse down into inherit in order to look at or try to access test. If you mkdir private chmod 700 private, any files created under private will be safely[1] hidden away from anyone else but you, regardless of their permissions or what your umask is. -- -Chuck [1]: Within the limits of the security of the filesystem, anyway. If someone steals the hard drive, that's a different problem domain. If you want to keep files truely secret, consider encryption, or avoid keeping them on a computer in the first place. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need further HDD advice before submitting order.
On May 11, 2005, at 12:02 PM, Jerry McAllister wrote: One more thing. Do not use the socalled 'dangerously dedicated' disk setup. Just make one regular slice on each disk that uses all of the disk. Then partition those slices. You won't notice the difference in amount of available disk and you might save yourself some headaces later on. I am interested in what sorts of problems and headaches can come later on... Assume a server that is FreeBSD only and will never have linux or Winbloze or anything else on it. Thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
disklabel and boot2 on Freebsd 5.4
Hi, I was trying to put an alternative boot2 on a freebsd 5.4 box. With the -s option disappeared from 5.4 disklabel, how do I put a customized boot2 to a slice on FreeBSD 5.4? Regards, Ming ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need further HDD advice before submitting order.
On Wed, May 11, 2005 at 04:19:33PM +0100, [EMAIL PROTECTED] wrote: Hi again, I posted a question here last week, asking for advice on how I should ask my datacenter to divide up the HDDs in my new server. Thank you to everyone who responded. I have tried to understand all the advice given and, since then, have tried to get myself up to speed by reading the relevant sections in The Complete FreeBSD, FreeBSD Unleashed, Absolute BSD and Teach Yourself FreeBSD in 24 Hours (it didn't). I understand a little more than I did but am still unsure as to how I should divide the HDDs and would very much appreciate reactions to my current proposal. -- Server purpose: Initially just forums, later sundry other Web apps i.e. ecommerce, ticket bookings etc. Will possibly become a heavy-duty email server at some stage. 2GB RAM 80GB HDD IDE: / = 1GB /usr = 15GB /local = 15GB Swap = 4GB Unallocated = 40GB 200GB HDD IDE: /tmp = 2GB (is that enough?) /home = 28GB /var = 100GB (will inclube the forum databases etc) Unallocated = 70GB Two tips I always do on *BSD systems nowadays: 1) Create and newfs an /altroot partition on the boot drive, of equal size to /, and occasionally sync it from / using dump/restore or rsync. The rest of the time leave it mounted ro. If / gets damaged in a failed upgrade or just via bad luck, you're nearly assured of being able to boot off of /altroot to repair things. It's the kind of thing you might use only once in several years but which saves you a ton of grief then. (Mind you, in your remote data center situation, you would need to talk a technician on the console through the steps to boot from it; make sure you know how to do that.) 2) Take the extra space that you're marking as unallocated, create and newfs the partitions as /data (or sometimes /data, /data2, /data3...), and go ahead and mount it. Then when you run into some application that needs to use it, you can either symlink it into the main filesystem or configure the application to go directly there. For example, ln -s /data /var/db/mysql or CVSROOT=/data/cvs Otherwise what you're proposing looks good at first glance. -- Clifton -- Clifton Royston -- [EMAIL PROTECTED] Tiki Technologies Lead Programmer/Software Architect I'm gonna tell my son to grow up pretty as the grass is green And whip-smart as the English Channel's wide... -- 'Whip-Smart', Liz Phair ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: user owned groups
On Wed, May 11, 2005 at 03:15:40PM -0400, Chuck Swiger wrote: If you mkdir private chmod 700 private, any files created under private will be safely[1] hidden away from anyone else but you, regardless of their permissions or what your umask is. Ah, okay. A slightly bad example. How about 0711 (now a home directory, say /home/lewiz). I would like to have a public_html directory that is generally accessible. Since /home/lewiz is now executable is it not possible for somebody to do, say, cat /home/lewiz/.cshrc? They know the file is there (but can't use ls to see it) so can access it. Sorry for all these questions ;) -Lewis Thompson. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need further HDD advice before submitting order.
Chuck and Jerry, thank you so much. Chuck - I'm going to take your advice on setting up some kind of mirror, software RAID or whatever, thanks. Jerry - that breakdown of how you would allocate space was amazing - seriously, a better division and a better explanation than anything I've found in the FreeBSD books. The idea of allocating almost the entire 2nd drive to /spill is great, that will give me all the flexibility I need, brilliant! Some One more thing to think about is the possibility of creating a raid (mirror) for critical things. That would give you some security in case of a disk crash. In that case you would need to put your critical stuff on the smaller drive and carve out an identical size piece on the large one to be its mirror partner. Check out vinum(8). That, of necessity, would make your allocation scheme look quite different. Can I provide that space from within /spill i.e. without having to set up a seperate partition, or would I be better off just creating an 80GB partition for that on the 2nd drive, to be named and mounted as soon as I learn enough to implement RAID/mirroring/Vinum? That would leave me with the following: On the 80 GB drive /root1 GB swap 2.5 GB /tmp 2 GB /usr 5 GB /var 5 GB /homeAll the rest On the 200 GB drive swap 2.5 GB /mirror Same size as the actual size of the 1st disk, 65GB or whatever. /spill All the rest Does that make sense? I guess that, as my usage grows, I'll be shifting things over with a mind to both disk use balance and space, do you reckon those factors will be fairly easy to work out? From your suggestion that I can symlink stuff over to /spill with a reasonably fine granularity i.e. /var/spool and/or /var/db etc, I get the impression that it will be. Do symlink cause any sort of performance hit? Or rather, any meaningful performance hit? Thanks, Donnacha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MySQL port building solution: -O is required
Here is the answer to the problem I was wrestling with a couple weeks ago: /usr/ports/databases/mysql41-server and /usr/ports/databases/mysql40-server do *not* build on 4.x systems unless *some* level of optimization is turned on. 'CFLAGS=' fails on 4.x releases; 'CFLAGS=-O' works. (as does -O -pipe and probably higher levels.) Not tested on 5-STABLE. I'm guessing that the machines where ports building is tested have '-O -pipe' or similar as a minimum setting. However /etc/make.conf has no default setting for CFLAGS, so with the out of box default settings of everything the build of this port will consistently fail. The problem appears to be, from some cursory digging through the sources, that a number of MySQL functions including MySQL's internal interfaces to the thread libraries are defined only via inlining if the OS *platform* is known to support it, but inlining is not actually enabled (at least in GCC 2.95) unless -O or better is set. I tracked this down once I realized that the key difference between the system where I could build it and the system where I couldn't was that the former's /etc/make.conf was heavily customized, and the latter's was untouched except for the variables set by use.perl ports. I'll file a pr on this, as well as the necessary tweaking on my own system. -- Clifton -- Clifton Royston -- [EMAIL PROTECTED] Tiki Technologies Lead Programmer/Software Architect I'm gonna tell my son to grow up pretty as the grass is green And whip-smart as the English Channel's wide... -- 'Whip-Smart', Liz Phair ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need further HDD advice before submitting order.
Thanks Clifton, much appreciated. If / gets damaged in a failed upgrade or just via bad luck, you're nearly assured of being able to boot off of /altroot to repair things. It's the kind of thing you might use only once in several years but which saves you a ton of grief then. Sounds well worth allocating 1GB to! Once I get Vinum working, though, does it make sense to continue maintaining an /altroot? (Mind you, in your remote data center situation, you would need to talk a technician on the console through the steps to boot from it; make sure you know how to do that.) Oh, I figure that if they know how to install FreeBSD, they'll be able to work out how to boot from /altroot. Of course, they'll charge me $50 to do it, I just hope it's something that isn't needed too often! 2) Take the extra space that you're marking as unallocated, create and newfs the partitions as /data (or sometimes /data, /data2, /data3...), and go ahead and mount it. Then when you run into some application that needs to use it, you can either symlink it into the main filesystem or configure the application to go directly there. For example, ln -s /data /var/db/mysql or CVSROOT=/data/cvs That's clearly a better idea than my original one of leaving the space unallocated. Does your approach have any advantages, though, over Jeremy's /spill idea? Thanks, Donnacha Clifton Royston wrote: On Wed, May 11, 2005 at 04:19:33PM +0100, [EMAIL PROTECTED] wrote: Hi again, I posted a question here last week, asking for advice on how I should ask my datacenter to divide up the HDDs in my new server. Thank you to everyone who responded. I have tried to understand all the advice given and, since then, have tried to get myself up to speed by reading the relevant sections in The Complete FreeBSD, FreeBSD Unleashed, Absolute BSD and Teach Yourself FreeBSD in 24 Hours (it didn't). I understand a little more than I did but am still unsure as to how I should divide the HDDs and would very much appreciate reactions to my current proposal. -- Server purpose: Initially just forums, later sundry other Web apps i.e. ecommerce, ticket bookings etc. Will possibly become a heavy-duty email server at some stage. 2GB RAM 80GB HDD IDE: / = 1GB /usr = 15GB /local = 15GB Swap = 4GB Unallocated = 40GB 200GB HDD IDE: /tmp = 2GB (is that enough?) /home = 28GB /var = 100GB (will inclube the forum databases etc) Unallocated = 70GB Two tips I always do on *BSD systems nowadays: 1) Create and newfs an /altroot partition on the boot drive, of equal size to /, and occasionally sync it from / using dump/restore or rsync. The rest of the time leave it mounted ro. If / gets damaged in a failed upgrade or just via bad luck, you're nearly assured of being able to boot off of /altroot to repair things. It's the kind of thing you might use only once in several years but which saves you a ton of grief then. (Mind you, in your remote data center situation, you would need to talk a technician on the console through the steps to boot from it; make sure you know how to do that.) 2) Take the extra space that you're marking as unallocated, create and newfs the partitions as /data (or sometimes /data, /data2, /data3...), and go ahead and mount it. Then when you run into some application that needs to use it, you can either symlink it into the main filesystem or configure the application to go directly there. For example, ln -s /data /var/db/mysql or CVSROOT=/data/cvs Otherwise what you're proposing looks good at first glance. -- Clifton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: user owned groups
Lewis Thompson wrote: On Wed, May 11, 2005 at 03:15:40PM -0400, Chuck Swiger wrote: If you mkdir private chmod 700 private, any files created under private will be safely[1] hidden away from anyone else but you, regardless of their permissions or what your umask is. Ah, okay. A slightly bad example. How about 0711 (now a home directory, say /home/lewiz). I would like to have a public_html directory that is generally accessible. Um. Don't put stuff which you want to be private in a public_html directory. Since /home/lewiz is now executable is it not possible for somebody to do, say, cat /home/lewiz/.cshrc? They know the file is there (but can't use ls to see it) so can access it. Sure, modulo the permissions on .cshrc itself. If you don't want them to, give that file 600 perms. The Unix octal permissions bits work just fine for almost all reasonable cases, but no default is ever going to suit all possible variations of intent. If you want to control access to something, set the access you want explicitly, do not hope that the system defaults will guess what you want. (DWIM is a horrible idea in general, and is an even worse idea for security.) Anyway, if you do want to do something more complex, look to UFS2 and POSIX ACL's. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]