Re: Why can't I set my cpu type in kernel config ?
I think it's likely that it is a 64-bit installation. Not sure about that. How could the amd64 OS be installed and run on a i386 machine? it cannot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: compare zfs xfs and jfs o
Of course "ZFS doesn't need fsck". Until it fails. Did you personally try ZFS ? of course. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: compare zfs xfs and jfs o
El 07/08/12 16:09, Wojciech Puchar escribió: English is not my native language, so i can make mistakes. ZFS is the way to go if you need consistency + speed on a NFS server/service. Of course "ZFS doesn't need fsck". Until it fails. Did you personally try ZFS ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why can't I set my cpu type in kernel config ?
On Wed, 8 Aug 2012 01:04:49 +0100, RW wrote: > On Tue, 7 Aug 2012 23:26:33 +0200 > Polytropon wrote: > > > On Tue, 7 Aug 2012 14:14:30 -0500 (CDT), Robert Bonomi wrote: > > > > From owner-freebsd-questi...@freebsd.org Tue Aug 7 02:44:36 2012 > > > > Date: Tue, 7 Aug 2012 09:41:41 +0200 (CEST) > > > > From: Wojciech Puchar > > > > To: Chris Hill > > > > Cc: RW , freebsd-questions@freebsd.org > > > > Subject: Re: Why can't I set my cpu type in kernel config ? > > > > > > > > >> That's the amd64 (64-bit) GENERIC > > > > > > > > > > Jason: It looks like you may have installed the 64-bit > > > > > distribution on your > > > > > > > > nonsense. 64-bit distribution doesn't run on 32-bit computer. > > > > > > *PRECISELY* why the OP is having problems. He _is_ trying to > > > build amd64 kernel on 34-bit only processor. > > > > > > Unlike "Wojciech the infallible" people _do_ get things wrong on > > > occasion. > > > > That's why the statement "you may have installed the 64-bit > > distribution" Wojciech refered to as "nonsense": On a 32 bit > > system, the 64 bis OS version should not run. So the OP seems > > to be using the (correct!) 32 bit OS version, but trying to > > compile the 64 bit kernel (from /sys/amd64/conf instead of > > from /sys/i386/conf). Therefore, it's a matter of having > > chosen the wrong kernel config, not the wrong OS version. :-) > > The architecture isn't defined in GENERIC, it defaults to what's > already installed. Yes, I think this is done in /usr/src/Makefile.inc1 where the correct GENERIC file in /usr/src/sys/i386/conf or /usr/src/sys/amd64/conf is then selected. > You have to explicitly set it to cross-build, and I > find it hard to believe that someone would set TARGET/TARGET_ARCH to > amd64 by mistake In case of a crossbuild, I assume the system would also do the proper "TARGET magic" to use the GENERIC corresponding to the requested architecture. > I think it's likely that it is a 64-bit installation. Not sure about that. How could the amd64 OS be installed and run on a i386 machine? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why can't I set my cpu type in kernel config ?
On Tue, 7 Aug 2012 23:26:33 +0200 Polytropon wrote: > On Tue, 7 Aug 2012 14:14:30 -0500 (CDT), Robert Bonomi wrote: > > > From owner-freebsd-questi...@freebsd.org Tue Aug 7 02:44:36 2012 > > > Date: Tue, 7 Aug 2012 09:41:41 +0200 (CEST) > > > From: Wojciech Puchar > > > To: Chris Hill > > > Cc: RW , freebsd-questions@freebsd.org > > > Subject: Re: Why can't I set my cpu type in kernel config ? > > > > > > >> That's the amd64 (64-bit) GENERIC > > > > > > > > Jason: It looks like you may have installed the 64-bit > > > > distribution on your > > > > > > nonsense. 64-bit distribution doesn't run on 32-bit computer. > > > > *PRECISELY* why the OP is having problems. He _is_ trying to > > build amd64 kernel on 34-bit only processor. > > > > Unlike "Wojciech the infallible" people _do_ get things wrong on > > occasion. > > That's why the statement "you may have installed the 64-bit > distribution" Wojciech refered to as "nonsense": On a 32 bit > system, the 64 bis OS version should not run. So the OP seems > to be using the (correct!) 32 bit OS version, but trying to > compile the 64 bit kernel (from /sys/amd64/conf instead of > from /sys/i386/conf). Therefore, it's a matter of having > chosen the wrong kernel config, not the wrong OS version. :-) The architecture isn't defined in GENERIC, it defaults to what's already installed. You have to explicitly set it to cross-build, and I find it hard to believe that someone would set TARGET/TARGET_ARCH to amd64 by mistake I think it's likely that it is a 64-bit installation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why can't I set my cpu type in kernel config ?
On Tue, 7 Aug 2012 14:14:30 -0500 (CDT), Robert Bonomi wrote: > > From owner-freebsd-questi...@freebsd.org Tue Aug 7 02:44:36 2012 > > Date: Tue, 7 Aug 2012 09:41:41 +0200 (CEST) > > From: Wojciech Puchar > > To: Chris Hill > > Cc: RW , freebsd-questions@freebsd.org > > Subject: Re: Why can't I set my cpu type in kernel config ? > > > > >> That's the amd64 (64-bit) GENERIC > > > > > > Jason: It looks like you may have installed the 64-bit distribution on > > > your > > > > nonsense. 64-bit distribution doesn't run on 32-bit computer. > > *PRECISELY* why the OP is having problems. He _is_ trying to build amd64 > kernel on 34-bit only processor. > > Unlike "Wojciech the infallible" people _do_ get things wrong on occasion. That's why the statement "you may have installed the 64-bit distribution" Wojciech refered to as "nonsense": On a 32 bit system, the 64 bis OS version should not run. So the OP seems to be using the (correct!) 32 bit OS version, but trying to compile the 64 bit kernel (from /sys/amd64/conf instead of from /sys/i386/conf). Therefore, it's a matter of having chosen the wrong kernel config, not the wrong OS version. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: compare zfs xfs and jfs o
English is not my native language, so i can make mistakes. ZFS is the way to go if you need consistency + speed on a NFS server/service. Of course "ZFS doesn't need fsck". Until it fails. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why can't I set my cpu type in kernel config ?
> From owner-freebsd-questi...@freebsd.org Tue Aug 7 02:44:36 2012 > Date: Tue, 7 Aug 2012 09:41:41 +0200 (CEST) > From: Wojciech Puchar > To: Chris Hill > Cc: RW , freebsd-questions@freebsd.org > Subject: Re: Why can't I set my cpu type in kernel config ? > > >> That's the amd64 (64-bit) GENERIC > > > > Jason: It looks like you may have installed the 64-bit distribution on your > > nonsense. 64-bit distribution doesn't run on 32-bit computer. *PRECISELY* why the OP is having problems. He _is_ trying to build amd64 kernel on 34-bit only processor. Unlike "Wojciech the infallible" people _do_ get things wrong on occasion. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error
On Aug 7, 2012, at 10:31 AM, Mark Felder wrote: > jail_sysvipc_allow="YES" in rc.conf should do it. Hmm I added that and rebooted the jail host system. However, the setting in sysctl security.jail.sysvipc_allowed is still 0 after the reboot # sysctl -a | grep sysvipc security.jail.param.allow.sysvipc: 0 security.jail.sysvipc_allowed: 0 # I can set security.jail.sysvipc_allowed to 1 manually. However, even after doing that, the original fcgi problem happens when starting apache2.2 with mod_fcgid in the configuration and being loaded [Tue Aug 07 13:09:12 2012] [emerg] (78)Function not implemented: mod_fcgid: Can't create shared memory for size 1192488 bytes Thanks! Chad
Re: compare zfs xfs and jfs o
El 05/08/12 18:13, Wojciech Puchar escribió: with ZFS because the consistence in disk and speed will gonna be the differentiator. true. it is consistently slow. REALLY from what tale do you people get such a statements. There is no tale, only a feature set: http://en.wikipedia.org/wiki/Zfs#Features And everything everyone writes is always true. Did you read the foot notes ? the subsequent links ? Regards, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: compare zfs xfs and jfs o
El 05/08/12 20:05, Anonymous Remailer (austria) escribió: I think that XFS & JFS are more mature filesystems than ZFS This is not up for discussion. but the feature set of ZFS i ahead in the future. Too many iPads, iPhones, etc? For a NFS server first I'll go with ZFS because the consistence in disk If not spelling, or grammar... and speed will gonna be the differentiator. A high-school education may well have been the differentiator, but that's not important right now. Journaling filesystems are not known for speed. EXT2 will probably outperform ZFS as far as NFS servers go. English is not my native language, so i can make mistakes. ZFS is the way to go if you need consistency + speed on a NFS server/service. -- Speed "Will" Gonna Be The Differentiator ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: compare zfs xfs and jfs o
El 05/08/12 18:10, Wojciech Puchar escribió: really - stick with FreeBSD UFS. it is really best. Yes UFS is very good, but very hight IO ZFS is fastest if you use L2ARC/ZIL on SSD. if... better just move heavy used things on SSD and rest on HDD. really it's fastest. Yes, you can do that ... until the SSD is full ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Issue with cvsup and updating RELENG_9
I've been using cvsup for upgrading all of my installations for more years than I want to remember. I just detected that I have a problem. Configuration: supfile=/usr/local/etc/cvs-supfile and contains: *default tag=RELENG_9 *default host=cvsup15.freebsd.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default release=cvs *default delete use-rel-suffix src-all # doc-all cvsroot-all I run cvsup from crontab and my logfile shows: TreeList failed: Error in "/usr/local/etc/cvsup/sup/cvsroot-all/checkouts.cvs:RELENG_9": Bad header line. Delete it and try again. I just checked the Handbook to see if the tag has changed. No luck, so I assume I am missing something that I shouldn't. Maybe I should change and not use cvsup. Any suggestions appreciated. I also update ports using cvsup and is working fine. Thanks, ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error
jail_sysvipc_allow="YES" in rc.conf should do it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error
Hi. I'll try this again. I run systems using FreeBSD 9.0 FreeBSD utah.XXXcom 9.0-STABLE FreeBSD 9.0-STABLE #1: Wed Mar 21 15:22:14 MDT 2012 chad@underhill:/usr/obj/usr/src/sys/UNDERHILL-XEN amd64 and on those systems run a bunch of jails. I have Apache 2.2 built and running in the jail in question, and recently had need to add mod_fcgid to it. NOTE that the Apache and mod_fcgid were not installed through ports or packages. I download the source and build myself (for various reasons). Apache inside the Jail, with mod_fcgid enabled will not start: [Mon Jul 23 10:59:35 2012] [emerg] (78)Function not implemented: mod_fcgid: Can't create shared memory for size 1192488 bytes I did a search on this and found that I would probably need a system kernel parameter changed from 0 -> 1 security.jail.sysvipc_allowed So I did that. (And restarted the jail). However, I still get the same error when trying to start apache. I noticed a similar parameter security.jail.param.allow.sysvipc but cannot change this at run time and did not find anything useful about what this parameter is for using a search engine. (As an aside, how would I change security.jail.sysvipc_allowed and also security.jail.param.allow.sysvipc at boot time? I added them both to /boot/loader.conf but they did not get changed at boot and I had to do the security.jail.sysvipc_allowed one again on the command line -- I have some vfs type kernel state variables set there and they stick) I would appreciate some help with getting things set up so that I can run apache with mod_fcgid under my Jails on FBSD 9. Thanks! Chad
Re: Openresolv Config
== Iqbal Aroussi wrote on Tue 7.Aug'12 at 14:00:06 + == > Hi Matthew, > > Thank you so much for your quick reply. > How Can I override using openresolv/resolvconf or configuring it for static > IP on a server ? > Currently my servers are configured with DHCP by the webhost company. > I prefer to have them configured with static IP but right now I'm stuck on > the openresolv problem. > > Do you know where can I find a openresolv howto for FreeBSD-9 please. > > Best Regards You can set up a local DNS server using named. This is what I do for my mail server. I do use NetBSD on that machine though but the set up won't much different. You would need to configure your router to always assign the same ip to your machine and configure your network interface to use that ip, possibly within /etc/rc.conf. That way the dhclient won't override the entries you put in /etc/resolv.conf and /etc/nsswitch.conf when it boots-up. That might be a solution to your problem, perhaps others could confirm that for sure. Jamie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Openresolv Config
Hi Matthew, Thank you so much for your quick reply. How Can I override using openresolv/resolvconf or configuring it for static IP on a server ? Currently my servers are configured with DHCP by the webhost company. I prefer to have them configured with static IP but right now I'm stuck on the openresolv problem. Do you know where can I find a openresolv howto for FreeBSD-9 please. Best Regards On Tue, Aug 7, 2012 at 1:41 PM, Matthew Seaman < m.sea...@infracaninophile.co.uk> wrote: > On 07/08/2012 14:05, Iqbal Aroussi wrote: > > Can you please give some hints on configuring Openresolv on FreeBSD-9 > > My server is configured with DHCP, but I want to change the nameservers > in > > /etc/resolv.conf to use mein. > > I'm not sure that Openresolv is necessarily the right thing to use. > > This is how you would override the resolvers handed out to you by a DHCP > server using dhclient. Edit the file /etc/dhclient.conf and add lines > like so: > > interface "em0" { >supersede domain-name-serves 192.0.2.1, 192.0.2.2; > } > > Obviously, substitute the correct interface name and the IP numbers of > your own DNS servers. There's also 'prepend' instead of 'supersede,' > which allows you to stick your nameservers in as the preferred choice, > but still keep the original ones as a fallback. See dhclient.conf(5). > > This assumes you've only got the one ethernet interface being configured > by DHCP, and that you always want to use your own nameservers > irrespective of what network you're connecting to. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matt...@infracaninophile.co.uk Kent, CT11 9PW > > -- * Iqbal Aroussi * *+212 699 206 390* *iq...@aroussi.name* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
NFS within a Jail?!
Hi everybody! I'm wondering if it's possible to run in a "clear fashion" an NFS server within a jail on FreeBSD 9.0. I'm having some issues that make me think this is not supposed to work. I've googled it but I couldn't find much especially on releases prior 5!! A quick tip would be great I don't really wanna waste hours on this not very relevant issue. Many thanks in advance. signature.asc Description: This is a digitally signed message part
Re: Openresolv Config
On 07/08/2012 14:05, Iqbal Aroussi wrote: > Can you please give some hints on configuring Openresolv on FreeBSD-9 > My server is configured with DHCP, but I want to change the nameservers in > /etc/resolv.conf to use mein. I'm not sure that Openresolv is necessarily the right thing to use. This is how you would override the resolvers handed out to you by a DHCP server using dhclient. Edit the file /etc/dhclient.conf and add lines like so: interface "em0" { supersede domain-name-serves 192.0.2.1, 192.0.2.2; } Obviously, substitute the correct interface name and the IP numbers of your own DNS servers. There's also 'prepend' instead of 'supersede,' which allows you to stick your nameservers in as the preferred choice, but still keep the original ones as a fallback. See dhclient.conf(5). This assumes you've only got the one ethernet interface being configured by DHCP, and that you always want to use your own nameservers irrespective of what network you're connecting to. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Openresolv Config
Hi Can you please give some hints on configuring Openresolv on FreeBSD-9 My server is configured with DHCP, but I want to change the nameservers in /etc/resolv.conf to use mein. Thanks in advance Best Regards -- * Iqbal Aroussi * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
It's a summer time, a low traffic time here ...
Facebook CIA Project. http://www.youtube.com/watch?v=cqggW08BWO0 Smoking orangutan moved to island rehab. http://newsfixnow.com/2012/08/07/smoking-orangutan-moved-to-island-rehab/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why can't I set my cpu type in kernel config ?
That's the amd64 (64-bit) GENERIC Jason: It looks like you may have installed the 64-bit distribution on your nonsense. 64-bit distribution doesn't run on 32-bit computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Why can't I set my cpu type in kernel config ?
I am installing 8.3-RELEASE on an old 900mhz pentium laptop ... it's an i686 CPU. By default, GENERIC has "HAMMER" as the cpu, and that isn't working. So I tried both: you've got into wrong directory /usr/src/sys/i386/conf is right /usr/src/sys/amd64/conf is wrong, unless you have 64-bit CPU which you don't cpu I586_CPU and: cpu I686_CPU this is right setting. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: questions on the use of moused for Xorg
On Sunday 05 August 2012 19:46:30 Martin Alejandro Paredes Sanchez wrote: > > When I run this command > > /usr/sbin/moused -f -d -z 4 5 6 7 -p /dev/ums0 -t auto -I > /var/run/moused.ums0.pid > > moused reports movements in XY (dx dy) but not ZW (dz), for Z now reports > buttons 4 and 5 pressed, in Xorg the scroll (vertical) does not work (xev > reports events for button 8 and 9), and no horizontal (xev doesn't report > anything) > according to http://www.x.org/releases/X11R7.5/doc/man/man4/mousedrv.4.html Option "ButtonMapping" "N1 N2 [...]" Specifies how physical mouse buttons are mapped to logical buttons. Default: "1 2 3 8 9 10 ...". That is the reason that in Xorg the scroll (vertical) does not work, xev reports events for button 8 and 9 because moused reports button 4 and 5, but xorg remapped to 8 an 9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"