Re: High Availability FreeBSD www cluster
Thank you all for your input. Carp looks like it needs some investigation Thanks Michael Peter Ross wrote: Hi, Michael Christie wrote: I want to cluster some freeBSD servers, The purpose of this is to learn. I would like to run some basic services like www and mail on a test network. I would like to set up the servers so if one server falls over the other will take over the services automatically, load balanceing would be good as well. I have googled, I could be looking in the wrong place , there seems not to be much in regard to seting up freebsd in a cluster, lots on linux. I have looked at the High Availability Linux project , I see on the front page that it will run on freebsd. So I am a bit lost and i am wanting to learn how to cluster freebsd web and mail servers, I have looked at Beowulf clusters, which seem to give computers more grunt, Can some on on the list please advise me on what clustering softwhere i need to get started and if the High Availability Linux project softwhere will do the job. pound (/usr/ports/www/pound) can be used on HTTP(S) level. From pkg-descr: The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s). Pound was developed to enable distributing load among several Web-servers, and to allow for a convenient SSL wrapper for those Web servers that do not offer it natively. Pound is distributed under the GPL - no warranty, it's free to use, copy and give away. WWW: http://www.apsis.ch/pound/ - Anders Nordby [EMAIL PROTECTED] Regards Peter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-cluster 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: Wireless net Card
On Thursday 07 August 2008 14:21:41 David Gurvich wrote: FreeBSD and Linux are different operating systems. There is no compatibility between them. FreeBSD has an emulation layer which works for a limited subset of Linux binary programs. These are not kernel drivers. Your best bet on FreeBSD is to check the status for your chipset in CURRENT or to try ndiswrapper. Welp i tried the nidswrapper and made rtl8185_sys.ko, sadly when i used kldload it forced ma system to reboot, so im at a loss .. If i stuck the card in a windows machine would i be able to determine what chipset the wireles belkin card is using ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cluster Filesystem
Hello, I'd like to know whether there are any works on a cluster filesystem for FreeBSD. Here in our environment, we use StorNext for Linux and OS X, and Quantum people told me that they once also had a kernel module for FreeBSD. But because there was a lack of demands they stopped maintaining it. I really like UFS, and maybe ZFS is wonderful, too; but a cluster filesystem has many charms in a large production environment: load distribution, redundancy in case of failures, ... Thanks for any reply Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Add CONFIGURE_ARGS option for port in make.conf
Hi list, I want to compile a port with an option that is not controllable through the FreeBSD Makefile or with make config. The specific port is lang/php4 and the option I want to add is --with-mime-magic (I know, php4 is old and not supported after 8.8.08 and --with-mime-magic is deprecated, but thats another story...). So I added an option to make.conf(5): .if ${.CURDIR:M*/lang/php4} CONFIGURE_ARGS+=--with-mime-magic .endif Unfortonately, this does not work. When I add this option in the Makefile it works. The relevant part looks like this: CONFIGURE_ARGS= --enable-versioning \ --with-mime-magic \ --enable-memory-limit \ --with-layout=GNU \ --with-config-file-scan-dir=${PREFIX}/etc/php \ --disable-all \ --program-prefix= Any ideas whats wrong here? Regards, Matthias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What is the best kind of computer, overall? [was: Re: general questions about 7.0 and computer efficiency......]
On Wed, Aug 06, 2008 at 07:10:59AM +0200, Roland Smith wrote: On Tue, Aug 05, 2008 at 05:07:08PM -0700, Gary Kline wrote: This brings me to my next question which is:: It it better to buy a proprietary make like Dell or HP or stick to something more generic? Let's assume that i could handle the hardware end myself. what would you suggest? I'd stick to a system from a good local builder. It gives you much more control over what components go into the box. You want to make sure that the chipset on the motherboard and the graphics card are supported by FreeBSD. The components of e.g. Dell systems tend to vary depending on what they have lying around. actually, it just occurred to me that there *is* a place just down the hill that buys/sells used computer stuff. RE-PC ... not to give them a plug or anything, but i had bought used cabling and a few things there. not sure that they'll built-to-order [used], but it's worth checking. my LAN volunteer suggested all Dell, HP, , but then he wasnt factoring in the reality that i can't swap-in/out parts myself. circa 2001 i had a local place build a bare-bones 750MHz server; it was A+, not even a hiccup. Good pt about checking the FBSD list. valuable resource. gary Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dnat for specific source IP
Hello world, How could I setup some dnat rules with ipf/ipnat couple? for exemple: All UDP paquects on port 1025, from $FRIENDIP should be dnat to $MYIP rdr do not seams accept any source ip rules, but only destinate ip. thanks -- Richard VENNE IT Administrator Administrateur réseaux système sécurité Afin de respecter de l'environnement, merci de n'imprimer cet email qu'en cas de nécessité absolue. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports upgrade within Jail
Hello List, i have a jail hosted on a 6-2 RELEASE machine i don't have access to. As i don't have access, i can't upgrade the base system. But i would like to keep the ports i use up to date. Will i encounter problems if i just upgrade my ports using portsnap and portmaster? or will those tools be aware of the version my base system is and only use ports that are made for this version? -- Thank you manuel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problems with a C script, exiting with signal 10
Hi, I've got this home-made script, written in C, on a Freebsd 7.0 server with different versions of postfix: 2.3,2,4 and 2.5 The problem is that, while most of the time it works like a charm, sometimes it crashes and bounces the message. It's not really a big deal, cause the sender gets notified that their mail wasn't delivered and hopefully, they will resend it. However, the problem is that I've tried to debug my script but found nothing wrong at all, cause it only fails from time to time, let's say... once for each 2000 messages that postfix receives, and it appears to do so in a random way. As i said... postfix can fail to deliver a message to one particular mailbox, but if then you resend the very same message to the very same mailbox, it will be delivered. The error is reported in both maillog and messages, like this: **/var/log/maillog Aug 7 01:55:19 mail01 postfix/pipe[27534]: 3E1A0143709: to=EMAIL_ACCOUNT, relay=quota_postfix, delay=0.23, delays=0.11/0/0/0.11, dsn=5.3.0, status=bounced (Command died with signal 10: /usr/local/etc/postfix/quota_postfix) */var/log/messages*** Aug 7 01:55:19 mail01 kernel: pid 29535 (quota_postfix), uid 125: exited on signal 10 Here you have some extra information about the script itself and the master.cf */usr/local/etc/postfix/quota_postfix*** # ls -la /usr/local/etc/postfix/quota_postfix -rwsr-xr-x 1 postfix postfix 20048 Aug 4 10:18 /usr/local/etc/postfix/quota_postfix It's got de suid flag cause it performs a du command and other file operations which need permissions, although i've tried with other groups of permissions and it eventually crashes anyway with signal 10 **master.cf* . # spamfilter spamfilter unix- n n - 20 pipe flags=R user=filter argv=/home/antispam.pl localhost:10027 antispam ${sender} ${recipient} /usr/local/bin/spamc # from spamfilter to smtpd:10026 localhost:10027 inetn - n - 100 smtpd -o content_filter=quota_postfix # quota_postfix quota_postfix unix- n n - 20 pipe flags=R user=filter argv=/usr/local/etc/postfix/quota_postfix localhost 10028 ${sender} ${recipient} ${domain} # from quota_postfix to smtpd:10028 localhost:10028 inetn - n - 100 smtpd -o content_filter= So far, any program which crashed would leave a .core file in /usr/crash, but this one is not doing the same, so... i can't actually debug from the core file either. Sysctl in my FreeBSD server is ok, but i guess that postfix, somehow is preventing this filter from generating a core file. Is that possible? Or am i completely wrong? How could I, at least, generate the .core file? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cluster Filesystem
On Thu, 7 Aug 2008 09:44:55 +0200 (CEST) Konrad Heuer [EMAIL PROTECTED] wrote: I really like UFS, and maybe ZFS is wonderful, too; but a cluster filesystem has many charms in a large production environment: load distribution, redundancy in case of failures, ... man ggated - there have been a few threads on this over the last couple of months, check the archives (-questions@ , -stable@, probably) You can also check user space systems... gluster , which uses FUSE, comes to mind right now. /me wonders... Does hadoop work on FBSD? B _ {Beto|Norberto|Numard} Meijome There is more to life than increasing its speed. Mahatma Mohandis K. Gandhi I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Cluster Filesystem
Norberto Meijome On Thu, 7 Aug 2008 09:44:55 +0200 (CEST) Konrad Heuer [EMAIL PROTECTED] wrote: I really like UFS, and maybe ZFS is wonderful, too; but a cluster filesystem has many charms in a large production environment: load distribution, redundancy in case of failures, ... man ggated - there have been a few threads on this over the last couple of months, check the archives (-questions@ , -stable@, probably) You can also check user space systems... gluster , which uses FUSE, comes to mind right now. /me wonders... Does hadoop work on FBSD? Don't forget about the HAMMER file system which Matthew Dillon over at DragonFly BSD is busy working on. It's not 100% finished but hopefully soon and it should be ported to FreeBSD. It looks to be pretty good (Exabytes of space?!!!?) More info: Interview with Matthew: http://cisx1.uma.maine.edu/~wbackman/bsdtalk/bsdtalk154.mp3 Website: http://www.dragonflybsd.org/hammer/ Wiki: http://en.wikipedia.org/wiki/HAMMER We have setup hadoop on FreeBSD, bit of mission cause of java and I'm not sure about performance but it can be done :) http://hadoop.apache.org/core/ Rudi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports upgrade within Jail
Will i encounter problems if i just upgrade my ports using portsnap and portmaster? or will those tools be aware of the version my base system is and only use ports that are made for this version? The components of your jail are totally seperate from the host. You can use portsnap, or cvsup, or csup (can you? not sure) to update *your* ports collection. Only things which won't work are kernel drivers etc, you can't load them. But for the rest, no problem at all. Edwin -- Edwin Groothuis |Personal website: http://www.mavetju.org [EMAIL PROTECTED]| Weblog: http://www.mavetju.org/weblog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Cluster Filesystem
DragonFly BSD is busy working on. It's not 100% finished but hopefully soon and it should be ported to FreeBSD. It looks to be pretty good ^^ i wish it will, at first glance it looks like ZFS done right. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports upgrade within Jail
The only common between the jail and the hosted system are the kernel and its drivers. You may use entirely different ports in the base system and into the jailed enviroment. So you may keep your jailed ports up to date without any concern as long as they do not conflict with the base system drivers and etc. Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD Druckbar [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07.08.2008 13:15 To freebsd-questions@freebsd.org cc Subject Ports upgrade within Jail Hello List, i have a jail hosted on a 6-2 RELEASE machine i don't have access to. As i don't have access, i can't upgrade the base system. But i would like to keep the ports i use up to date. Will i encounter problems if i just upgrade my ports using portsnap and portmaster? or will those tools be aware of the version my base system is and only use ports that are made for this version? -- Thank you manuel ___ 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]
IPsec with NAT-T in transport mode dropping all packets?
Greetings All, I'm having a bit of trouble getting IPsec working in transport mode with NAT-T. I wonder if any experts out there might be able to point me in the right direction. Briefly, the background is that I'm trying to configure a FreeBSD box to provide to remote Windows clients with VPN access to the network it sits on. It seemed that L2TP/IPsec was a sensible approach, since then no additional software is required on the clients. To that end, I've been trying to construct a solution with the following: 1) FreeBSD (RELENG_7_0), kernel built with options IPSEC and IPSEC_NAT_T, and patched with 2) the NAT-T patch at http://vanhu.free.fr/FreeBSD/patch-natt-freebsd7-2008-03-11.diff, 3) ipsec-tools (0.7.0) for racoon for key exchange, and 4) mpd (5.1) for L2TP. My understanding is that I need IPsec to operate in transport mode (tunnelling will be provided by L2TP). I need NAT-T, since the clients will likely be behind NAT gateways. I can't seem to find much documentation on this configuration (so maybe I'm going about this the wrong way?). Anyhow, I have two security policy entries in ipsec.conf, intended to encrypt L2TP traffic: spdadd 82.16.99.99[1701] 0.0.0.0/0 udp -P out ipsec esp/transport//require; spdadd 0.0.0.0/0 82.16.99.99[1701] udp -P in ipsec esp/transport//require; The tricky key negotiation all seems to be working; when I initiate a connection from a Windows client, racoon negotiates security associations (I'm using certificates): racoon: INFO: IPsec-SA established: ESP/Transport 195.248.102.183[4500]-82.16.99.99[4500] spi=73448711(0x460bd07) racoon: INFO: IPsec-SA established: ESP/Transport 82.16.99.99[4500]-195.248.102.183[4500] spi=2159874738(0x80bd12b2) However, mpd's log doesn't show any evidence of a single packet arriving (and the client eventually gives up), and, with net.inet.ipsec.debug=1, the kernel issues the single line: kernel: ipsec_common_input: no key association found for SA 82.16.99.99[4500]/460bd07/50 I'm guessing, therefore, that the kernel is discarding packets because it doesn't think it has the correct security associations to deal with them (can I check this?). I'm wondering if this is NAT-T related. I'm a bit suspicious that the security associations are in terms of port 4500, the NAT-T port, and not 1701, the L2TP port. I notice the NAT-T patch adds checking of port numbers to the security association lookup. I'd be very grateful if anyone can spot any stupid mistakes I've made, or can suggest what I might do to diagnose further. I'll happily provide any more info required. Many thanks! -- David Murray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading from 6.x to 7.x
The easiest way to do the upgrade (if you are using a GENERIC kernel) is to use Freebsd-update (http://www.daemonology.net/freebsd-update/) It's a pretty powerful tool which allows you to do binary updates for FreeBSD. To upgrade between major versions you would want to check out this page: http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade .html. If i have read the man pages correct the command im using being ... # freebsd-update upgrade -r 7.0-CURRENT Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching public key from update1.FreeBSD.org... failed. No mirrors remaining, giving up. Are there more mirrors or am i missing something here ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Atheros (ath) MSI wireless embedded chipset fails to attach on 7.0-STABLE
Edwin L. Culp wrote: Alexander Sack [EMAIL PROTECTED] escribió: Final update, I got everything working! I came home and connected by new notebook using the latest PCIe Atheros chipset to a WPA2 network using wpa_supplicant! Yippie! Hope this thread helps someone else, -aps On Tue, Jun 17, 2008 at 5:17 PM, Alexander Sack [EMAIL PROTECTED] wrote: On Tue, Jun 17, 2008 at 3:44 PM, Alexander Sack [EMAIL PROTECTED] wrote: On Tue, Jun 17, 2008 at 3:35 PM, Edwin L. Culp [EMAIL PROTECTED] wrote: Manolis Kiagias [EMAIL PROTECTED] escribió: Edwin L. Culp wrote: Alexander Sack [EMAIL PROTECTED] escribió: On Tue, Jun 17, 2008 at 11:31 AM, Manolis Kiagias [EMAIL PROTECTED] wrote: Alexander Sack wrote: Hello: I have installed FreeBSD-7.0-amd64 stable on my new AMD X2 Turon based notebook, a MSI-1710A (GX710Ax) which has a generic embedded controller. During boot up I notice that ATH complains with: ath_rate: version 1.2 SampleRate bit-rate selection algorithm ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) ath0: Atheros 5424/2424 mem 0xfd7f-0xfd7f irq 16 at device 0.0 on pci2 ath0: Reserved 0x1 bytes for rid 0x10 type 3 at 0xfd7f ath0: [MPSAFE] ath0: [ITHREAD] ath0: unable to attach hardware; HAL status 13 device_attach: ath0 attach returned 6 HAL status 13 from the header file seems to indicate that the 7.0-STABLE driver doesn't support my hardware revision. Here is my pciconf -l output: Maybe you could try compiling a kernel with a newer hal. This is the kind of hack we use on the eeepc. Have a look at this: http://nighthack.org/wiki/EeeBSD Thank you SO much for this link. That's EXACTLY what I want to do because I realize that this is a HAL problem. I've been searching like MAD where I could get an updated binary HAL for this chipset (PCIe based). That makes two of us ;) My dmesg is very, very similar to yours and hoped that this would work. ath0: Atheros 5424/2424 mem 0xf220-0xf220 irq 19 at device 0.0 on pci5 ath0: Reserved 0x1 bytes for rid 0x10 type 3 at 0xf220 ioapic0: routing intpin 19 (PCI IRQ 19) to vector 64 ath0: [MPSAFE] ath0: [ITHREAD] ath0: unable to attach hardware; HAL status 13 device_attach: ath0 attach returned 6 I followed the instructions from the web page, recompiled and it made no difference which really worries me that I must have done something wrong. cd madwifi-ng-r2756+ar5007/hal cp -R * /usr/src/sys/contrib/dev/ath/ I did not erase it previously but am going to try that. I made no kern configuration changes to find that the hal is from contrib. Is there nothing else I should do? Thanks, Well, I have only tested this on the eeepc and can confirm it works. Maybe different atheros chipset have other problems not directly related to the hal version. You do not need to do anything more that what is shown in the page: untar, replace the existing files, recompile / install kernel, reboot. If you got no errors during the kernel compilation phase, you can safely assume you did everything correctly, and the problem lies elsewhere. At least there was a ray of hope for the time it took to compile the kernel. Ed: I took recompiled and got the same issue. If I use the LATEST mad distro I get some compile bugs (ath_desc_status was moved into ath_desc structure in ah_desc.h) which I can't completely work around (apparently the API into the HAL has changed as well). What I'm trying to do is look at the Linux driver and understand the newer API in order to get past this compile issue and see if this works. Otherwise I believe we are SOL. Does anyone know if the CURRENT contains an updated ath HAL AND driver for support of newer PCIe based chipsets? If I get it to work I will let you know... Ok the trick is not to get it from the madfi project. Get it from the author directly! If you grab: http://people.freebsd.org/~sam/ath_hal-20080528.tgz Copy the contents into the src/sys/contrib/dev/ath/* and recompile, you should now see ath attach properly to the your NIC card. Thanks go to my friend jkim for pointing this out since he has a similar notebook/chipset and runs CURRENT successfully. I tried using CURRENT ath but there is to much vap support in it and it turned out the 7.0-RELEASE driver works. Now ath attaches properly and I'm going to test it out! (this is at least much further than a bad attach status code from the HAL). Let me know how it goes, Going G R E A T for the first time I see: ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417) ath0: Atheros 5424/2424 mem 0xf220-0xf220 irq 19 at device 0.0 on pci5 ath0: [ITHREAD] ath0: WARNING: using obsoleted if_watchdog interface ath0: mac 14.2 phy 7.0 radio 10.2 and an ifconfig ath0 shows: ath0:
Re: Add CONFIGURE_ARGS option for port in make.conf
On Thu, 07 Aug 2008 10:04:23 +0200 Matthias Kellermann [EMAIL PROTECTED] wrote: Hi list, I want to compile a port with an option that is not controllable through the FreeBSD Makefile or with make config. ... So I added an option to make.conf(5): .if ${.CURDIR:M*/lang/php4} CONFIGURE_ARGS+=--with-mime-magic .endif Unfortonately, this does not work. ... Any ideas whats wrong here? make.conf is read before the makefile. The use of CONFIGURE_ARGS= in the port makefile means that any change to CONFIGURE_ARGS made in make.conf is lost. I think you'll have to maintain a patch against the port makefile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Add CONFIGURE_ARGS option for port in make.conf
RW wrote: On Thu, 07 Aug 2008 10:04:23 +0200 Matthias Kellermann [EMAIL PROTECTED] wrote: Hi list, I want to compile a port with an option that is not controllable through the FreeBSD Makefile or with make config. ... So I added an option to make.conf(5): .if ${.CURDIR:M*/lang/php4} CONFIGURE_ARGS+=--with-mime-magic .endif Unfortonately, this does not work. ... Any ideas whats wrong here? make.conf is read before the makefile. The use of CONFIGURE_ARGS= in the port makefile means that any change to CONFIGURE_ARGS made in make.conf is lost. I think you'll have to maintain a patch against the port makefile. Thanks, but I thought CONFIGURE_ARGS+= should add this option and not overwrite the options from the Makefile. Therefore the plus-sign. Regards, Matthias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
64-bit Linux Binary Compatibility (for Matlab)
Hello all, Simple question - am I able to run 64-bit linux binaries using the ABI emulation under FreeBSD 7.0 amd64? In the NOTES for amd64 kernel configuration the COMPAT_LINUX option is commented out, but I don't understand the explanation at the top of the section: #XXX keep these here for now and reactivate when support for emulating #XXX these 32 bit binaries is added. For 32-bit there is already the COMPAT_LINUX32 option, no? This is the first time that I've dealt with linux compatibility in FreeBSD, so would appreciate some pointers. The goal is to get Matlab running in 64-bit mode. Some of the algorithms that my colleagues need to execute were crashing the software, and they assumed that it was due to a limitation of virtual memory that is available under 32-bit. Apparently Matlab tries to allocate a continuous chunk of memory, and we needed to upgrade to 64-bit hardware to give it access to more than 1GB of memory, which is about the most that it was able to get before. It's a lousy explanation, but I wasn't employed at this place when this diagnosis was made. If anyone else here is running Matlab on FreeBSD, I'd welcome any pointers you can give me for setting it up. Right now, I'm following the steps listed in the handbook. As a side note - is it, in fact, the case that Matlab x86_64 will run slower than the 32-bit version (http://osdir.com/ml/netbsd.ports.x86-64/2006-07/msg00061.html)? - Max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Disk errors on installing FreeBSD 7.0
Hi all, I'm trying to install FreeBSD 7.0 release on a box at home. When I boot up with the installation DVD these error messages appear on the screen. [Written down by hand:] ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0055347 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0 etc etc FreeBSD sees these hard disks during boot up: ad0: 78533MB Hitachi HDS728080PLAT20 PF20A21B at ata0-master UDMA133 ad1: 32253MB Samsung SP2014N VC100-33 at ata0-slave UDMA100 [This is wrong, the disk have a capacity of about 185 GB] So, when I go on with the installation program and try to write to disk the new slices and labels in fdisk I get an error message saying something like not able to write to the disk. I don't think there is something wrong with my hardware, because I just have recently installed both Windows XP and Slackware Linux on the same box, without any problems. Does anybody have any idea to fix these problems? regards, Snorre D. Øverbø signature.asc Description: OpenPGP digital signature
Re: 64-bit Linux Binary Compatibility (for Matlab)
Maxim Khitrov wrote: Hello all, Simple question - am I able to run 64-bit linux binaries using the ABI emulation under FreeBSD 7.0 amd64? In the NOTES for amd64 kernel configuration the COMPAT_LINUX option is commented out, but I don't understand the explanation at the top of the section: Not yet, there is a summer of code project working on this but I don't think it is complete. You can, of course, run 32-bit linux binaries on amd64. If anyone else here is running Matlab on FreeBSD, I'd welcome any pointers you can give me for setting it up. Right now, I'm following the steps listed in the handbook. As a side note - is it, in fact, the case that Matlab x86_64 will run slower than the 32-bit version (http://osdir.com/ml/netbsd.ports.x86-64/2006-07/msg00061.html)? Depends what you use it for, presumably. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 64-bit Linux Binary Compatibility (for Matlab)
If you are looking for batch processing, octave may be an option. The objective was to be as compatible with Matlab as possible. There wasn't any gui available when I last looked at this program. As a side note, I found the following from the Matlab site hilarious : FreeBSD distributions of Linux are not compatible with MATLAB 6.0 (R12). Makes me wonder how good the Linux version of Matlab is. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disk errors on installing FreeBSD 7.0
Snorre D. Øverbø wrote: Hi all, I'm trying to install FreeBSD 7.0 release on a box at home. When I boot up with the installation DVD these error messages appear on the screen. [Written down by hand:] ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0055347 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0 etc etc FreeBSD sees these hard disks during boot up: ad0: 78533MB Hitachi HDS728080PLAT20 PF20A21B at ata0-master UDMA133 ad1: 32253MB Samsung SP2014N VC100-33 at ata0-slave UDMA100 [This is wrong, the disk have a capacity of about 185 GB] So, when I go on with the installation program and try to write to disk the new slices and labels in fdisk I get an error message saying something like not able to write to the disk. I don't think there is something wrong with my hardware, because I just have recently installed both Windows XP and Slackware Linux on the same box, without any problems. Does anybody have any idea to fix these problems? regards, Snorre D. Øverbø Try to replace the IDE ribbon cable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 64-bit Linux Binary Compatibility (for Matlab)
On Thu, Aug 7, 2008 at 10:37 AM, Kris Kennaway [EMAIL PROTECTED] wrote: Maxim Khitrov wrote: Hello all, Simple question - am I able to run 64-bit linux binaries using the ABI emulation under FreeBSD 7.0 amd64? In the NOTES for amd64 kernel configuration the COMPAT_LINUX option is commented out, but I don't understand the explanation at the top of the section: Not yet, there is a summer of code project working on this but I don't think it is complete. You can, of course, run 32-bit linux binaries on amd64. Kris Thanks, I'll give it a try under 32-bit and see if the simple change from Linux to FreeBSD as host OS is enough to fix the problems we were having. - Max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 64-bit Linux Binary Compatibility (for Matlab)
On Thu, Aug 7, 2008 at 10:52 AM, Sean Cavanaugh [EMAIL PROTECTED] wrote: Date: Thu, 7 Aug 2008 09:47:45 -0400 From: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: 64-bit Linux Binary Compatibility (for Matlab) Apparently Matlab tries to allocate a continuous chunk of memory, and we needed to upgrade to 64-bit hardware to give it access to more than 1GB of memory, which is about the most that it was able to get before. It's a lousy explanation, but I wasn't employed at this place when this diagnosis was made. running 32-bit gives you access to 4GB of RAM, not 1. there is some address space that is used up by hardware such as video cards that will reduce that number reported by the OS. I know that, the key word there is continuous space. In either case, I'm only repeating what was said to me as the reason for purchasing a brand new server - run in 64-bit mode to give Matlab more virtual memory. It may end up being the case that the problem was completely unrelated. I'll know in about an hour :) - Max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 64-bit Linux Binary Compatibility (for Matlab)
Maxim Khitrov wrote: On Thu, Aug 7, 2008 at 10:52 AM, Sean Cavanaugh [EMAIL PROTECTED] wrote: Date: Thu, 7 Aug 2008 09:47:45 -0400 From: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: 64-bit Linux Binary Compatibility (for Matlab) Apparently Matlab tries to allocate a continuous chunk of memory, and we needed to upgrade to 64-bit hardware to give it access to more than 1GB of memory, which is about the most that it was able to get before. It's a lousy explanation, but I wasn't employed at this place when this diagnosis was made. running 32-bit gives you access to 4GB of RAM, not 1. there is some address space that is used up by hardware such as video cards that will reduce that number reported by the OS. I know that, the key word there is continuous space. It still doesn't make any sense; processes on i386 have up to 3GB (by default) of address space to do with what they wish. Perhaps someone forgot to increase the maxdsiz resource limit? Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
joining 2 files together ?
Hi, I am trying to find the equivalent for the old dos copy file1+file2 command (copy myfile1.txt+myfile2.txt copies the contents in myfile2.txt and combines it with the contents in myfile1.txt). But the standard freebsd cp doesn't seem to want the + between the two files : bsdaddict# cp file1.avi+file2.avi usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file target_file cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file ... target_directory bsdaddict# So how to I append file2 at the end of file1 to get only one file ? To be more specific : I would like to merge 2 avi files into one. How do I get file1.avi+file2.avi into file3.avi ? Thanks. -- Beni. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: joining 2 files together ?
In response to beni [EMAIL PROTECTED]: I am trying to find the equivalent for the old dos copy file1+file2 command (copy myfile1.txt+myfile2.txt copies the contents in myfile2.txt and combines it with the contents in myfile1.txt). But the standard freebsd cp doesn't seem to want the + between the two files : bsdaddict# cp file1.avi+file2.avi usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file target_file cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file ... target_directory bsdaddict# So how to I append file2 at the end of file1 to get only one file ? To be more specific : I would like to merge 2 avi files into one. How do I get file1.avi+file2.avi into file3.avi ? Thanks. Well, to answer your first question: cp file1.avi file3.avi cat file2.avi file3.avi But to answer your real question, you can't just mash two avi files together to make 1 big one. You'll need something like avidemux or one of the command line tools to actually get the avi headers correct. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: joining 2 files together ?
You might try the old 'cat file1 file2 ... fileN'. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: joining 2 files together ?
On Thu, Aug 7, 2008 at 10:38 AM, Bill Moran [EMAIL PROTECTED] wrote: But to answer your real question, you can't just mash two avi files together to make 1 big one. You'll need something like avidemux or one of the command line tools to actually get the avi headers correct. If I recall correctly, generally you can play the file, but it will stop at the end of the first part. However, I think you can seek past that point and avoid the premature termination. Which is to say that you are correct. -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: joining 2 files together ?
On Thu, Aug 07, 2008 at 11:39:09AM -0400, David Gurvich wrote: You might try the old 'cat file1 file2 ... fileN'. % cat file1 file2 ... fileN fileconcatenated -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Soul Purpose in Houston
[1][logobw.gif] [2]HOUSTON A.N.E.W. [3][eblast.gif] [4]If you are unable to view this email please click here [] [footer_cap3.gif] [5]Unsubscribe | [6]Update Profile | [7]Confirm [8][delivered_by_blue.gif] [footer_cap3.gif] References 1. http://stylemagazine.c.topica.com/maal8flabJwdwaF2LFxc/ 2. http://stylemagazine.c.topica.com/maal8flabJwdxaF2LFxc/ 3. http://stylemagazine.c.topica.com/maal8flabJwdwaF2LFxc/ 4. http://stylemagazine.c.topica.com/maal8flabJwdyaF2LFxc/ 5. http://topica.com/f/unsub.html/aaaebr2kkywks7txugv8lls9vghh8h3xhb8gyyzl6xrv56 6. http://topica.com/f/?a2jjvy.aF2LFx.cXVlc3Rp 7. http://topica.com/f/?a2jjvy.aF2LFx.cXVlc3Rp.c 8. http://www.topica.com/?p=T3FOOTER ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disk errors on installing FreeBSD 7.0
Snorre D. Øverbø wrote: Hi all, I'm trying to install FreeBSD 7.0 release on a box at home. When I boot up with the installation DVD these error messages appear on the screen. [Written down by hand:] ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0055347 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0 etc etc FreeBSD sees these hard disks during boot up: ad0: 78533MB Hitachi HDS728080PLAT20 PF20A21B at ata0-master UDMA133 ad1: 32253MB Samsung SP2014N VC100-33 at ata0-slave UDMA100 [This is wrong, the disk have a capacity of about 185 GB] So, when I go on with the installation program and try to write to disk the new slices and labels in fdisk I get an error message saying something like not able to write to the disk. I don't think there is something wrong with my hardware, because I just have recently installed both Windows XP and Slackware Linux on the same box, without any problems. Does anybody have any idea to fix these problems? regards, Snorre D. Øverbø Do you get the same error with FreeBSD 8.0 Current? ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading from 6.x to 7.x
Warren Liddell wrote: The easiest way to do the upgrade (if you are using a GENERIC kernel) is to use Freebsd-update (http://www.daemonology.net/freebsd-update/) It's a pretty powerful tool which allows you to do binary updates for FreeBSD. To upgrade between major versions you would want to check out this page: http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade .html. If i have read the man pages correct the command im using being ... # freebsd-update upgrade -r 7.0-CURRENT Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching public key from update1.FreeBSD.org... failed. No mirrors remaining, giving up. Are there more mirrors or am i missing something here ? Yes, 7.0-CURRENT doesnt exist. freebsd-update will do releases (with updates) not -CURRENT or -STABLE use 7.0-RELEASE instead (which will get you 7.0-RELEASE-p3) looking in my command history i used freebsd-update -r 7.0-RELEASE upgrade freebsd-update -r 7.0-RELEASE install Vince ___ 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]
can't get skype to work
Hi I've just installed FreeBSD7-STABLE on my laptop and its running very nicely. I tried to get skype working I keep getting core dumps Here is the output from skype *** glibc detected *** skype: double free or corruption (!prev): 0x0944a7b8 *** === Backtrace: = /lib/libc.so.6[0x29710c88] /lib/libc.so.6(cfree+0x90)[0x29714230] /lib/libc.so.6(closedir+0x28)[0x29734cf8] /usr/lib/libfontconfig.so.1(FcDirScan+0x1f2)[0x2946e21d] /usr/lib/libfontconfig.so.1(FcConfigBuildFonts+0x94)[0x29468d51] /usr/lib/libfontconfig.so.1(FcInitLoadConfigAndFonts+0x26)[0x294700b3] /usr/lib/libfontconfig.so.1(FcInit+0x2e)[0x294702b0] skype[0x8980276] skype[0x89385c9] skype[0x893918e] skype[0x822c73e] skype[0x8053bc2] /lib/libc.so.6(__libc_start_main+0xdc)[0x296bedec] skype(__gxx_personality_v0+0x1e5)[0x8053841] === Memory map: 08048000-0929b000 rwxp 01362000 00:00 834161 /usr/local/bin/skype 0929b000-093aa000 rwxp 01362000 00:00 834161 /usr/local/bin/skype 093aa000-09514000 rwxp 0016a000 00:00 0 2929b000-292b4000 r-xp 0001e000 00:00 72522 /usr/compat/linux/lib/ld-2.5.so 292b4000-292b5000 r-xp 0001e000 00:00 72522 /usr/compat/linux/lib/ld-2.5.so 292b5000-292b6000 rw-p 1000 00:00 0 292b6000-292b8000 r-xp 3000 00:00 424484 /usr/compat/linux/usr/lib/gconv/UTF-16.so 292b8000-292ba000 rwxp 3000 00:00 424484 /usr/compat/linux/usr/lib/gconv/UTF-16.so 292bc000-29385000 r-xp 000ce000 00:00 73218 /usr/compat/linux/lib/libasound.so.2.0.0 29385000-2938a000 rwxp 000ce000 00:00 73218 /usr/compat/linux/lib/libasound.so.2.0.0 2938a000-2938b000 rwxp 1000 00:00 0 2938b000-2938f000 r-xp 4000 00:00 73502 /usr/compat/linux/usr/X11R6/lib/libXv.so.1.0 2938f000-2939 rwxp 4000 00:00 73502 /usr/compat/linux/usr/X11R6/lib/libXv.so.1.0 2939-29392000 r-xp 2000 00:00 73496 /usr/compaAbort (core dumped) [EMAIL PROTECTED] df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s2a496M248M208M54%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad4s2e496M 14K456M 0%/tmp /dev/ad4s2f 12G3.2G8.2G28%/usr /dev/ad4s2d1.9G 41M1.7G 2%/var linprocfs 4.0K4.0K 0B 100%/usr/compat/linux/proc I have changed compat.linux.osrelease to 2.6.16 before installing fc6 and skype but still nothing. Any ideas in what I can do to make it work Thanks Reinhold ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 64-bit Linux Binary Compatibility (for Matlab)
Date: Thu, 7 Aug 2008 09:47:45 -0400 From: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Apparently Matlab tries to allocate a continuous chunk of memory, and we needed to upgrade to 64-bit hardware to give it access to more than 1GB of memory, which is about the most that it was able to get before. It's a lousy explanation, but I wasn't employed at this place when this diagnosis was made. Large contiguous allocations have to occur during or soon after booting because of memory fragmentation. I can see that larger memory configurations on a 64 bit OS has a better chance of allocating big chunks like this. Make sure you have much more than 4G RAM since some hardware needs memory below 4GB, and the contiguous allocation at boot favors memory towards the top of the 4GB range. --Mark Tinguely. ___ 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 a C script, exiting with signal 10
Jordi Moles Blanco presented these words - circa 8/7/08 3:13 AM- Hi, I've got this home-made script, written in C, on a Freebsd 7.0 server with different versions of postfix: 2.3,2,4 and 2.5 The problem is that, while most of the time it works like a charm, sometimes it crashes and bounces the message. It's not really a big deal, cause the sender gets notified that their mail wasn't delivered and hopefully, they will resend it. However, the problem is that I've tried to debug my script but found nothing wrong at all, cause it only fails from time to time, let's say... once for each 2000 messages that postfix receives, and it appears to do so in a random way. As i said... postfix can fail to deliver a message to one particular mailbox, but if then you resend the very same message to the very same mailbox, it will be delivered. The error is reported in both maillog and messages, like this: **/var/log/maillog Aug 7 01:55:19 mail01 postfix/pipe[27534]: 3E1A0143709: to=EMAIL_ACCOUNT, relay=quota_postfix, delay=0.23, delays=0.11/0/0/0.11, dsn=5.3.0, status=bounced (Command died with signal 10: /usr/local/etc/postfix/quota_postfix) */var/log/messages*** Aug 7 01:55:19 mail01 kernel: pid 29535 (quota_postfix), uid 125: exited on signal 10 Well signal 10 is SIGBUS which is indicative of (generally) a bad address, non-aligned memory address (on platforms it matters) or a hardware error. I would look for places you are dereferencing a pointer without perhaps first validating it. Given that it rarely occurs, I might suspect that you are allocating some memory, but failing to completely initialize (malloc() doesn't zero out memory) it or assuming it is already initialize. Good luck, Patrick Here you have some extra information about the script itself and the master.cf */usr/local/etc/postfix/quota_postfix*** # ls -la /usr/local/etc/postfix/quota_postfix -rwsr-xr-x 1 postfix postfix 20048 Aug 4 10:18 /usr/local/etc/postfix/quota_postfix It's got de suid flag cause it performs a du command and other file operations which need permissions, although i've tried with other groups of permissions and it eventually crashes anyway with signal 10 **master.cf* . # spamfilter spamfilter unix- n n - 20 pipe flags=R user=filter argv=/home/antispam.pl localhost:10027 antispam ${sender} ${recipient} /usr/local/bin/spamc # from spamfilter to smtpd:10026 localhost:10027 inetn - n - 100 smtpd -o content_filter=quota_postfix # quota_postfix quota_postfix unix- n n - 20 pipe flags=R user=filter argv=/usr/local/etc/postfix/quota_postfix localhost 10028 ${sender} ${recipient} ${domain} # from quota_postfix to smtpd:10028 localhost:10028 inetn - n - 100 smtpd -o content_filter= So far, any program which crashed would leave a .core file in /usr/crash, but this one is not doing the same, so... i can't actually debug from the core file either. Sysctl in my FreeBSD server is ok, but i guess that postfix, somehow is preventing this filter from generating a core file. Is that possible? Or am i completely wrong? How could I, at least, generate the .core file? Thanks. ___ 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: joining 2 files together ?
beni presented these words - circa 8/7/08 8:34 AM- Hi, I am trying to find the equivalent for the old dos copy file1+file2 command (copy myfile1.txt+myfile2.txt copies the contents in myfile2.txt and combines it with the contents in myfile1.txt). But the standard freebsd cp doesn't seem to want the + between the two files : bsdaddict# cp file1.avi+file2.avi usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file target_file cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file ... target_directory bsdaddict# So how to I append file2 at the end of file1 to get only one file ? To be more specific : I would like to merge 2 avi files into one. How do I get file1.avi+file2.avi into file3.avi ? try 'cat file1.avi file2.avi file3.avi' Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 64-bit Linux Binary Compatibility (for Matlab)
Mark Tinguely wrote: Date: Thu, 7 Aug 2008 09:47:45 -0400 From: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Apparently Matlab tries to allocate a continuous chunk of memory, and we needed to upgrade to 64-bit hardware to give it access to more than 1GB of memory, which is about the most that it was able to get before. It's a lousy explanation, but I wasn't employed at this place when this diagnosis was made. Large contiguous allocations have to occur during or soon after booting because of memory fragmentation. To the best of my knowledge matlab does not run in the kernel and use contigmalloc() ;-) User applications in UNIX use *virtual* memory. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newsyslog.conf / rotating logs based on size AND time
Hello, On Thu, 7 Aug 2008 13:12:45 -0400, Garance A Drosehn [EMAIL PROTECTED] wrote: I haven't looked closely at newsyslog in awhile. I started to write up a reply to you, but in a quick test newsyslog does not seem to be working the way that I expected it to work. It might just be that I was too tired to think straight when I was testing. I'll try to get back to this sometime later today. I appreciate it! I just thought I am unable to set up even a simple thing. If newsyslog cannot really be used like that, what else would people recommend? I just glanced at rotatelog but I had impression that it was also unable to use two conditions to rotate logs. However, I may just be plain wrong. Thanks! -- Zbigniew Szalbot www.LCWords.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fw: wpi not working on 11b
hi, as i didn't get any response to my email on current list i try it here now... thanks for any help. -- ciao, tobias ---BeginMessage--- hi, since vlan came in i can't connect to any 11b network anymore using the intel wireless card with the wpi driver and i can't figure out where the problem is... has anyone else experienced the same problem? my access point / router is a notebook running openbsd with a rtw card which is only capable of 11b mode. all other modes (11g/11a) work fine so far with different aps i tested, so it must have something to do with the vlan support and wpi driver i think. here are some details: my notebook is an IBM/Lenovo ThinkPad X60 Tablet running 8.0 current: --- FreeBSD lain 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Jun 8 11:58:51 CEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 --- [EMAIL PROTECTED] ~ # dmesg |grep wpi wpi0: Intel(R) PRO/Wireless 3945ABG mem 0xedf0-0xedf00fff irq 17 at device 0.0 on pci3 wpi0: [ITHREAD] wpi0: timeout resetting Tx ring 1 wpi0: timeout resetting Tx ring 3 wpi0: timeout resetting Tx ring 4 wpi0: timeout resetting Tx ring 1 wpi0: timeout resetting Tx ring 3 wpi0: timeout resetting Tx ring 4 wpi0: scan timeout wpi0: scan timeout wpi0: scan timeout --- [EMAIL PROTECTED] ~ # ifconfig -v wlan0 list scan SSID BSSID CHAN RATE S:N INT CAPS navi.wireless 00:09:5b:8a:1b:597 11M 13:0100 E SSIDnavi.wireless RATESB2,B4,11,22 DSPARMS7 TIM05040001 --- [EMAIL PROTECTED] ~ # ifconfig -v wlan0 wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:1c:bf:91:f2:be media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b (autoselect) status: no carrier ssid 00:09:5b:8a:1b:59 channel 7 (2442 Mhz 11g) bssid 00:00:00:00:00:00 regdomain DEBUG country US anywhere -ecm authmode OPEN -wps -tsn privacy OFF deftxkey UNDEF powersavemode OFF powersavesleep 100 txpower 0 txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346 bmiss 7 11aucast NONEmgmt 6 Mb/s mcast 6 Mb/s maxretry 6 11bucast NONEmgmt 1 Mb/s mcast 1 Mb/s maxretry 6 11gucast 11 Mb/s mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 11na ucast NONEmgmt 0 MCS mcast 0 MCS maxretry 6 11ng ucast NONEmgmt 0 MCS mcast 0 MCS maxretry 6 scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250 roam:11arssi7dBm rate 12 Mb/s roam:11brssi7dBm rate 1 Mb/s roam:11grssi7dBm rate 5 Mb/s -pureg protmode OFF -ht -htcompat -ampdu ampdulimit 8k ampdudensity - -amsdu -shortgi htprotmode RTSCTS -puren -wme -burst -ff -dturbo -dwds roaming AUTO bintval 100 groups: wlan --- let me know if you need more debugging info thanks for any help in this case. -- ciao, lev signature.asc Description: PGP signature ---End Message--- signature.asc Description: PGP signature
Linking amd64 binary with a 32-bit linux library
My knowledge of compilers is insufficient to answer this question. I'm currently going through the process of installing a 32-bit version of Matlab onto FreeBSD 7.0 amd64. In fact, Matlab itself has been installed and seems to be running fine (albeit without a GUI due to some java-related issues). The next thing I need to do is to build a library (matlab.so) that will allow ruby scripts to access the Matlab Engine. This library must be usable by mod_ruby, which is compiled for FreeBSD from ports, but it must use the 32-bit linux libraries from Matlab to do the actual work. Is such compilation possible? The exact commands that I would use on a linux system (minus changes in paths) are the following: swig -ruby matlab.i cc -c -shared matlab_wrap.c -I/usr/local/lib/ruby/1.8/amd64-freebsd7/ -I/compat/linux/usr/local/matlab-7.0.4/extern/include -fPIC cc -shared matlab_wrap.o -L/compat/linux/usr/local/matlab-7.0.4/bin/glnx86 -lmat -leng -o matlab.so The matlab.i file is something that we wrote to use Matlab Engine in ruby, swig is used to create C code. On a linux system these three lines give me matlab.so library that can then be loaded from ruby via require 'matlab' command. On FreeBSD I get this for the third command: /usr/bin/ld: skipping incompatible /compat/linux/usr/local/matlab-7.0.4/bin/glnx86/libmat.so when searching for -lmat /usr/bin/ld: cannot find -lmat I take it that this happens because libmat.so is a linux binary, but is there any way to do what I'm after? - Max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linking amd64 binary with a 32-bit linux library
Maxim Khitrov wrote: I take it that this happens because libmat.so is a linux binary, but is there any way to do what I'm after? You can't mix and match Linux and FreeBSD code in the same binary. You will have to make a completely Linux binary, either by compiling on a Linux system, or by installing a Linux toolchain into a chroot and building there. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linking amd64 binary with a 32-bit linux library
On Thu, Aug 7, 2008 at 2:03 PM, Kris Kennaway [EMAIL PROTECTED] wrote: Maxim Khitrov wrote: I take it that this happens because libmat.so is a linux binary, but is there any way to do what I'm after? You can't mix and match Linux and FreeBSD code in the same binary. You will have to make a completely Linux binary, either by compiling on a Linux system, or by installing a Linux toolchain into a chroot and building there. Kris I thought so. In that case, if I need to have this library loaded by mod_ruby, and mod_ruby loaded by apache, I take it that I will have to recompile all of these as linux binaries if I want to interface with matlab? I guess I should have thought about this first. :-\ - Max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newsyslog.conf / rotating logs based on size AND time
At 10:17 AM +0200 8/5/08, Zbigniew Szalbot wrote: My question is how can I make sure the logs are rotated when they grow too large AND they are also rotated at a specified point in time (start of a new month). I am reading man newsyslog.conf and it says: If the when field contains an asterisk (`*'), log rotation will solely depend on the contents of the size field. To me it seems to say that when it is not an asterisk (i.e. when I enter a date), the log rotation is not based solely on size factor, which in other words should mean it is also based on time? I haven't looked closely at newsyslog in awhile. I started to write up a reply to you, but in a quick test newsyslog does not seem to be working the way that I expected it to work. It might just be that I was too tired to think straight when I was testing. I'll try to get back to this sometime later today. -- Garance Alistair Drosehn = [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Institute; Troy, NY; USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote host replies to SYN+FIN
does anybody have any idea how to resolve this? thanks.. kalin m wrote: hi all... after setting up a pf rule set on one of newly installed freebsd 7 i did a scan with nessus 3 on that machine the result i got was like this one: http://www.nessus.org/plugins/index.php?view=singleid=11618 how do 'fix' it using pf?... thanks... ___ 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: Remote host replies to SYN+FIN
kalin m a écrit : does anybody have any idea how to resolve this? thanks.. kalin m wrote: hi all... after setting up a pf rule set on one of newly installed freebsd 7 i did a scan with nessus 3 on that machine the result i got was like this one: http://www.nessus.org/plugins/index.php?view=singleid=11618 how do 'fix' it using pf?... thanks... Hi, I think that you should look at the 'scrub' directive in pf.conf. I think that a 'scrub in all' should block that kind of malformed packets. Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Add CONFIGURE_ARGS option for port in make.conf
On Thu, Aug 07, 2008 at 10:04:23AM +0200, Matthias Kellermann wrote: Hi list, I want to compile a port with an option that is not controllable through the FreeBSD Makefile or with make config. The specific port is lang/php4 and the option I want to add is --with-mime-magic (I know, php4 is old and not supported after 8.8.08 and --with-mime-magic is deprecated, but thats another story...). So I added an option to make.conf(5): .if ${.CURDIR:M*/lang/php4} CONFIGURE_ARGS+=--with-mime-magic .endif Unfortonately, this does not work. When I add this option in the Makefile it works. The relevant part looks like this: CONFIGURE_ARGS= --enable-versioning \ --with-mime-magic \ --enable-memory-limit \ --with-layout=GNU \ --with-config-file-scan-dir=${PREFIX}/etc/php \ --disable-all \ --program-prefix= Any ideas whats wrong here? Regards, Matthias /etc/make.conf is read first, from make(1): First of all, the initial list of specifications will be read from the system makefile, sys.mk, unless inhibited with the -r option. The standard sys.mk as shipped with FreeBSD also handles make.conf(5) So if the port uses VAR= instead of VAR+= (Or VAR?=) then settings in /etc/make.conf will have no effect. AFAIK there is no pretty workaround, you will need to edit the Makefile. For a more structual solution, ports should use CONFIGURE_ARGS+= instead of CONFIGURE_ARGS, or a a new variable can be added, where the user can set custom configure arguments (i.e. LOCAL_CONFIGURE_ARGS). -- Martin Tournoij [EMAIL PROTECTED] http://www.daemonforums.org QOTD: Do not overtax your powers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote host replies to SYN+FIN
On Aug 7, 2008, at 11:33 AM, kalin m wrote: does anybody have any idea how to resolve this? thanks.. kalin m wrote: hi all... after setting up a pf rule set on one of newly installed freebsd 7 i did a scan with nessus 3 on that machine the result i got was like this one: http://www.nessus.org/plugins/index.php?view=singleid=11618 how do 'fix' it using pf?... Add a pf rule like to pf.conf: block in proto tcp from any flags SF/SF ...? -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linking amd64 binary with a 32-bit linux library
Maxim Khitrov wrote: On Thu, Aug 7, 2008 at 2:03 PM, Kris Kennaway [EMAIL PROTECTED] wrote: Maxim Khitrov wrote: I take it that this happens because libmat.so is a linux binary, but is there any way to do what I'm after? You can't mix and match Linux and FreeBSD code in the same binary. You will have to make a completely Linux binary, either by compiling on a Linux system, or by installing a Linux toolchain into a chroot and building there. Kris I thought so. In that case, if I need to have this library loaded by mod_ruby, and mod_ruby loaded by apache, I take it that I will have to recompile all of these as linux binaries if I want to interface with matlab? I guess I should have thought about this first. :-\ If you have to run them all in the same process, then yes. Depending on what you are trying to achieve you may be able to use another form of IPC to interface them (e.g. socket, shared memory, etc). Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
having problems with dhcpd and bootp clients
Hi, dhcpd starts so I know that there are no problems with my configuration file (at least syntax, I suppose that a semantic error may still be present). Running dhcpd with the -d option shows this string being placed on stderr: BOOTREQUEST from MAC via fxp0: BOOTP from dynamic client and no dynamic leases Now, what's confusing is that the MAC for this client is one in which I've specifically called out in /usr/local/etc/dhcpd.conf. This is a work machine so I can't share the config file with you (sorry I know that will make it difficult to help). This DHCP server can't hand out any addresses dynamically so I've prevented that from happening. It's only purpose is to hand out a small block of IP addresses that my team uses within a much larger subnet. None of these clients are DHCP clients, they are only BOOTP. These clients aren't actually trying to boot over the network they're just getting an address. (Yes, this probably isn't the best way, or the correct way, of doing this but I didn't set it up but I must use it). So, the long and the short of it is that our older BOOTP server has died and I'm trying to get something in place to keep us functioning. From the manual page for dhcpd(8) subnet 239.252.197.0 netmask 255.255.255.0 { range 239.252.197.10 239.252.197.250; } If a subnet will only be provided with BOOTP service and no dynamic address assignment, the range clause can be left out entirely, but the subnet statement must appear. So, I have: subnet mysubnet netmask thenetmask { } Then, all of the host entries are: host host1 { option host-name host1; hardware ethernet the MAC; fixed-address the IP to give this client; } I noticed that the manual page shows this for a bootp client: host haagen { hardware ethernet 08:00:2b:4c:59:23; fixed-address 239.252.197.9; filename /tftpboot/haagen.boot; } The verbiage used in the paragraph right above this example, in the man page, would lead one to believe that the filename option used in the host declarator isn't necessary, but never the less it is different than what I have and I wanted to ask. I haven't been able to track it down as yet but I'm thinking that my problem probably isn't with my host declarator sections. It probably has something to do with an option to the configuration that I haven't found yet. I'm going to keep looking, but it was time to ask for some help too. This is all running on a FreeBSD 6.2p11 box. Any help is greatly appreciated, Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 64-bit Linux Binary Compatibility (for Matlab)
On Thursday 07 August 2008, David Gurvich wrote: If you are looking for batch processing, octave may be an option. The objective was to be as compatible with Matlab as possible. There wasn't any gui available when I last looked at this program. There's math/koctave, which is a GUI for some definition of G. As a side note, I found the following from the Matlab site hilarious : FreeBSD distributions of Linux are not compatible with MATLAB 6.0 (R12). Makes me wonder how good the Linux version of Matlab is. Indeed :-) -- Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mixing 64 and 32-bit code (was: Linking amd64 binary with a 32-bit linux library)
Kris Kennaway ha scritto: You can't mix and match Linux and FreeBSD code in the same binary. Sorry for stepping in, but I have a similar question I asked in the past and didn't get any answer: is it possible to mix and match 32-bit and 64-bit FreeBSD code? I have a closed source 32-bit library which I'd like to link to on a 64-bit system... bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Disk quotas out of sync
Hello Folks, Ever since I went from 6.x to 7.x I have started experiencing disk quotas getting out of sync, way out of sync. For example, a user with 160GB quota suddenly shows usage of only 120GB This forces me to run quotacheck -av often. Was something changed regarding quotas in 7.x? Nobody else noticed this issue? I have this issue across multiple, different hardware, servers running 7.x Thank you for any insight and help in advance! PS: please CC me -Simon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mixing 64 and 32-bit code
Andrea Venturoli wrote: Kris Kennaway ha scritto: You can't mix and match Linux and FreeBSD code in the same binary. Sorry for stepping in, but I have a similar question I asked in the past and didn't get any answer: is it possible to mix and match 32-bit and 64-bit FreeBSD code? I have a closed source 32-bit library which I'd like to link to on a 64-bit system... Again, no, for basically the same reasons. The ABI is per-process. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote host replies to SYN+FIN
i have that in i still get that message from nessus... maybe synproxy or something like S/SAF?! FreeBSD wrote: kalin m a écrit : does anybody have any idea how to resolve this? thanks.. kalin m wrote: hi all... after setting up a pf rule set on one of newly installed freebsd 7 i did a scan with nessus 3 on that machine the result i got was like this one: http://www.nessus.org/plugins/index.php?view=singleid=11618 how do 'fix' it using pf?... thanks... Hi, I think that you should look at the 'scrub' directive in pf.conf. I think that a 'scrub in all' should block that kind of malformed packets. Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote host replies to SYN+FIN
thanks... or something like it... i'll try... Chuck Swiger wrote: On Aug 7, 2008, at 11:33 AM, kalin m wrote: does anybody have any idea how to resolve this? thanks.. kalin m wrote: hi all... after setting up a pf rule set on one of newly installed freebsd 7 i did a scan with nessus 3 on that machine the result i got was like this one: http://www.nessus.org/plugins/index.php?view=singleid=11618 how do 'fix' it using pf?... Add a pf rule like to pf.conf: block in proto tcp from any flags SF/SF ...? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Resizing partitions and slices
I have a hard drive with one slice and 3 partitions. Only two partitions are actually being used. I would like to delete the 3rd partition, resize the slice, and create a second slice the size of the deleted partition. Is there a safe way, one that preserves the data on the other 2 partitions, that this can be done? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Questions about healthd and mprime
I recently got close to burning up my shiny new Athlon64 processor. (Wire got tangled up in the heatsink fan. Thankfully, I caught it in time, before the processor was fully cooked.) On and off, I was watching the BIOS system hardware monitor screen at the time, which is how I managed to catch it. (Processor went to 101c before I did.) So anyway, now all of a sudden, I'm interested in the topic of what exactly would happen to my server if I'm out of town for a few days and the fan on the heatsink fails. Obviously, I would like it if my processor _didn't_ just sit there and bake itself to death. Researching this issue, I learned that on Athlons, the CPU will shut itself down, but _only_ after it reaches 125c! Yikes! That's like above the boiling point of water! (As I understand it, this specific processor, LE-1640B, should be kept under 65c.) So now I set about looking for something that will do a clean shutdown of FreeBSD sometime well before that, say at 100c. I pretty quickly found healthd, which looks like it ought to be helpful... although it obviously will need to be wrapped inside of some sort of script that will initiate shutdown. Problem is: documentation of healthd's output is almost non-existant. OK, so when it prints those three temperature numbers, which one stands for what? And if, as I surmize, the last (and highest) one is CPU temp, then why doesn't it seem to change at all? I'm guessing that I just need to create some artificial load, yes? OK, so _now_ I've looked around and found out that a lot of folks these days heat up their CPUs by running the mprime thingy. Swell. But I don't know diddly poo about this program. So can somebody please tell me the set of best command line options for the thing if your only goal is to stress your CPU? Thanks in advance. Regards, rfg P.S. Please reply on-list. My spam filters are re-diculous, and you'll probably never get past them if you send to me direct. Thanks for your understanding. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mixing 64 and 32-bit code (was: Linking amd64 binary with a 32-bit linux library)
On Aug 7, 2008, at 12:31 PM, Andrea Venturoli wrote: You can't mix and match Linux and FreeBSD code in the same binary. Sorry for stepping in, but I have a similar question I asked in the past and didn't get any answer: is it possible to mix and match 32-bit and 64-bit FreeBSD code? I have a closed source 32-bit library which I'd like to link to on a 64-bit system... The simplest answer is that it won't work-- the syscall interface and function argument/return-value sizes are going to be different between 32-bit and 64-bit code. If you have 32-bit code compiled with -fPIC which doesn't make any system calls, and is using all C99 datatypes (rather than native datatypes like int or long which are going to change in size under an ILP64 environment), well, that might be linkable into a 64-bit binary, but even so I wouldn't count on it to work without a translation shim. [1] Regards, -- -Chuck [1]: You can look up how thunking between Win16 and Win32 code worked here: http://en.wikipedia.org/wiki/Thunk#Thunk_as_compatibility_mapping ...but the same idea could be applied to generic 32-bit 64-bit ELF code. (It's really an evil thing to try to do, however.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions about healthd and mprime
OK, so _now_ I've looked around and found out that a lot of folks these days heat up their CPUs by running the mprime thingy. Swell. But I don't know diddly poo about this program. So can somebody please tell me the set of best command line options for the thing if your only goal is to stress your CPU? Thanks in advance. If you just want to heat up your CPU, this should suffice: yes /dev/null Once for each CPU/core. mprime is useful to stress test the cores, looking for a situation where the core fails. This can cause odd system problems, and not necessarily a crash or lock up. But in terms of just heating the cores up, yes should do the trick. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linking amd64 binary with a 32-bit linux library
In the last episode (Aug 07), Maxim Khitrov said: On Thu, Aug 7, 2008 at 2:03 PM, Kris Kennaway [EMAIL PROTECTED] wrote: Maxim Khitrov wrote: I take it that this happens because libmat.so is a linux binary, but is there any way to do what I'm after? You can't mix and match Linux and FreeBSD code in the same binary. You will have to make a completely Linux binary, either by compiling on a Linux system, or by installing a Linux toolchain into a chroot and building there. I thought so. In that case, if I need to have this library loaded by mod_ruby, and mod_ruby loaded by apache, I take it that I will have to recompile all of these as linux binaries if I want to interface with matlab? I guess I should have thought about this first. :-\ You'll have to build a Linux ruby, but you can use FastCGI (or an equivalent system) to run your CGIs in a separate process, so you can still run a native apache. -- 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]
Re: Questions about healthd and mprime
On Thursday 07 August 2008, Ronald F. Guilmette wrote: Problem is: documentation of healthd's output is almost non-existant. OK, so when it prints those three temperature numbers, which one stands for what? And if, as I surmize, the last (and highest) one is CPU temp, then why doesn't it seem to change at all? I'm guessing that I just need to create some artificial load, yes? Try sysutils/k8temp. When run with -n, it only prints the CPU's temperature. Together with rrdtool it makes a nice graph: http://lux.student.utwente.nl/~pyotr/stats/graphs/temperature-all-168.png For Intel Core CPU's there's coretemp(4). OK, so _now_ I've looked around and found out that a lot of folks these days heat up their CPUs by running the mprime thingy. Swell. But I don't know diddly poo about this program. So can somebody please tell me the set of best command line options for the thing if your only goal is to stress your CPU? I don't know about mprime, but running make -j4 buildworld in /usr/src will make your CPU sweat. Thanks in advance. Regards, rfg -- Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Switching to IPv6?
On Wed, 2008-08-06 at 13:05 -0400, FreeBSD Questions wrote: I've been considering switching my home network to IPv6. I have a computer acting as a firewall sitting between my ISP and my three LANs at home. Of course, my DSL provider gives me an IPv4 address, and everything I want to access on the Internet is on an IPv4 network. The whole point is to learn to set up IPv6, to play with IPv6, and to become familiar with it, so when the day comes that the world actually uses IPv6 (ha ha) I'm ready, armed with knowledge. But the whole idea will go to pot if my firewall can't let my IPv6 networks access my IPv4 Internet connection. Does FreeBSD 7 provide such facilities as to allow access to an IPv4 network from an IPv6 network? What will my Vista, XP, and FreeBSD clients do if they only have an IPv6 address and I try to go to google.com or freebsd.org which are on IPv4 networks? i would like to recommend that you visit at http://ipv6.he.net/ ;; that's simple if you wish to get both ipv6 and ipv4 ;; byunghee -- Old friend, I have no such powers. If I did I would be more merciful than God, believe me. -- Vito Corleone, Chapter 1, page 47 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Add CONFIGURE_ARGS option for port in make.conf
On Thu, 07 Aug 2008 16:04:46 +0200, Matthias Kellermann [EMAIL PROTECTED] wrote: Thanks, but I thought CONFIGURE_ARGS+= should add this option and not overwrite the options from the Makefile. Therefore the plus-sign. As it has been mentioned before, /etc/make.conf is read first with your +=, setting CONFIGURE_ARGS to only this one value. Then, Makefile of the port is read, and it has a = in it, not a +=, so CONFIGURE_ARGS is overwritten and your setting is gone. Hint: Maybe the Makefile.local mechanism of the ports is still available. Then, you would add your += directive in a file called Makefile.local in the port's directory. As far is I know, Makefile.local is read after Makefile, so you can profit from settings done in the first mentioned place. -- Polytropon From 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 [EMAIL PROTECTED]
Weird Processes on my server from user....
Hi guys, Checking my server i found this processessThe user doesnt appear doing w..so its like if he was doing an scp or something like that...though in this case its sftp... But i read the man and doesnt have much information..so i dont understand what is going in the background with this proccesess or how can i check it... the user is deamon and is a registered user... here is the pstree output: | |-+= 74888 root sshd: deamon [priv] (sshd) | | \-+- 74891 deamon sshd: [EMAIL PROTECTED] (sshd) | | \-+= 74892 deamon csh -c /usr/libexec/sftp-server | | \--- 74893 deamon /usr/libexec/sftp-server | |-+= 75613 root sshd: deamon [priv] (sshd) | | \-+- 75616 deamon sshd: [EMAIL PROTECTED] (sshd) | | \-+= 75617 deamon csh -c /usr/libexec/sftp-server | | \--- 75618 deamon /usr/libexec/sftp-server | \-+= 78566 root sshd: deamon [priv] (sshd) | \-+- 78569 deamon sshd: [EMAIL PROTECTED] (sshd) | \--= 78570 deamon -csh (csh) Thanks and cheers, Agustin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disk errors on installing FreeBSD 7.0
* Snorre D. ?verb? [EMAIL PROTECTED] [2008-08-07 15:29:11+]: When I boot up with the installation DVD these error messages appear on the screen. ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0055347 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0 etc I got the same exact errors trying to install 7.0-RELEASE on two different Dell boxes. One was 4 years old, the other was brand new (3 months ago). Never was able to fix the problem. For the older one, I plugged in an external DVD drive and installed via that. For the other one, I installed via a mini-install disk, and then did a minimal network install. For the record, they both had SATA drives and the disks worked (and still work) fine after the OS was installed. It was just copying the base system off the CD that was causing errors. Thomas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading from 6.x to 7.x
On Thursday 07 August 2008 23:18:34 Marc Coyles wrote: If i have read the man pages correct the command im using being ... # freebsd-update upgrade -r 7.0-CURRENT # sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade followed eventually by... # sh freebsd-update.sh -f freebsd-update.conf install I have just upgraded a 6.2 box to 7.0 Release following the instructions at http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade .html to the letter without issue (other than bind needing to be reinstalled from ports afterwards) L8rs! Marci # freebsd-update -r 7.0-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching public key from update1.FreeBSD.org... failed. No mirrors remaining, giving up. # sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade freebsd-update.sh: Can't open freebsd-update.sh: No such file or directory I then did a search for the sh file # sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade File does not exist or is not readable: freebsd-update.conf freebsd-update is part of base system so there was no need to install it via the port etc .. or is there ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions about healthd and mprime
In message [EMAIL PROTECTED], you wrote: On Thursday 07 August 2008, Ronald F. Guilmette wrote: Problem is: documentation of healthd's output is almost non-existant. OK, so when it prints those three temperature numbers, which one stands for what? And if, as I surmize, the last (and highest) one is CPU temp, then why doesn't it seem to change at all? I'm guessing that I just need to create some artificial load, yes? Try sysutils/k8temp. When run with -n, it only prints the CPU's temperature. U... On the system I'm most interested in at the moment, which has only _one_ athlon64 _single core_ processor in the whole system, k8temp -n prints this: 19 10 So, this yields two problems: 1) Which number is the Right One? 2) Assming those numbers are given in C, both of them appear to be impossible numbers. My motherboard BIOS is saying that the CPU is running at around 39-40c. So even if the Right Answer from k8temp is the bigger number (19) that's _still_ below even the room temperature, I think. In short, it looks like useless non- information. Do you agree? (By the way, I'm in California, and it is summer here. It _ain't_ cold where I am. Room temp right now is about 78F.) Together with rrdtool it makes a nice graph: http://lux.student.utwente.nl/~pyotr/stats/graphs/temperature-all-168.png Thanks, but I don't need fancy graphs. OK, so _now_ I've looked around and found out that a lot of folks these days heat up their CPUs by running the mprime thingy. Swell. But I don't know diddly poo about this program. So can somebody please tell me the set of best command line options for the thing if your only goal is to stress your CPU? I don't know about mprime, but running make -j4 buildworld in /usr/src will make your CPU sweat. I was hoping to find something that didn't touch disk (nor use up all of my remaining space in the /usr partition). I think I'll wait and try to learn more about mprime. But thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote host replies to SYN+FIN
kalin m wrote: does anybody have any idea how to resolve this? [snip] Not without a lot more information. But I may be able to fathom some wild guess, generically speaking. Only allow connections to set up like this: pass out quick on $ExtIF inet proto tcp all flags S/SA keep state pass in quick on $ExtIF inet proto tcp from any to any port 48080 flags S/SA keep state Notice I included the keep state for illustrative purposes. With the latest version of pf this is now the default condition and including it is no longer required. Then either block the SYN+FIN before they reach these rules, or simply allow it to fall through to a generic dumping rule like this: block in quick log on $ExtIF all This way the SYN+FIN doesn't match the rules for legitimate traffic and falls through to default block all non-legitimate traffic. YMMV - Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apple mac laptop.
People, My daughter wants a laptop; the only brand [ AFAIC ] is Apple. amazon.com seems to have a fair price. Her school requires Word, for some reason. {maybe because we're in X-Bill country:} Anyway, if anybody onlist knows of a better place to buy an online Mac laptop, please drop a line. gary -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apple mac laptop.
Gary Kline [EMAIL PROTECTED] wrote: My daughter wants a laptop; the only brand [ AFAIC ] is Apple. amazon.com seems to have a fair price. Her school requires Word, for some reason. {maybe because we're in X-Bill country:} Anyway, if anybody onlist knows of a better place to buy an online Mac laptop, please drop a line. You are asking on the wrong mailing list; see http://www.apple.com. -- Sahil Tandon [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[OT] Re: apple mac laptop.
On Aug 7, 2008, at 3:42 PM, Gary Kline wrote: My daughter wants a laptop; the only brand [ AFAIC ] is Apple. amazon.com seems to have a fair price. Her school requires Word, for some reason. {maybe because we're in X-Bill country:} Anyway, if anybody onlist knows of a better place to buy an online Mac laptop, please drop a line. Well, students, teachers, and so forth can get about a 10% discount via the Apple Education stores: http://store.apple.com/us/browse/home/education_routing/ (And yes, while one can run FreeBSD just fine on a Macbook, Sahil is right that the question is off-topic for these lists. :-) Regards, -- -Chuck PS: #include std/disclaimer.h ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions about healthd and mprime
Try sysutils/k8temp. When run with -n, it only prints the CPU's temperature. U... On the system I'm most interested in at the moment, which has only _one_ athlon64 _single core_ processor in the whole system, k8temp -n prints this: 19 10 Well it may not work properly on your particular hardware. You can report this to the maintainer and/or file a PR. You can also try one of: /usr/ports/sysutils/mbmon /usr/ports/sysutils/consolehm (and use chm -I from this) I was hoping to find something that didn't touch disk (nor use up all of my remaining space in the /usr partition). I think I'll wait and try to learn more about mprime. But thanks. Then what is wrong with my suggestion of yes /dev/null? It does not touch the disk at all (other than to read the yes binary into memory). It will sufficiently generate a load on the CPU to increase the temperature. You might get the CPU 1-2C hotter with mprime, but I doubt 1 C is going to make or break you. Also, if you are running the amd64 release, the mprime port does not work for the amd64 arch. I've been able to compile it manually, but the port will not work on the amd64 arch. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wireless (Edimax EW-7128g / ral) to work on FreeBSD 7.0
Hi, I'm running FreeBSD 7.0 and have been having trouble getting a connection to my wireless access point with the ral driver. This is the contents of my /etc/rc.conf: ifconfig_ral0=ssid myssid wepmode on weptxkey 1 wepkey key here bssid ap bssid DHCP When I run 'dhclient ral0' to get the network parameters, it seems to be sending out several DHCPDISCOVER messages with no offers. I'll rarely get an offer and send out the request. I have txpower set to 50 (highest value accepted by this driver I guess) and this is what a typical scan shows; # ifconfig ral0 scan SSID BSSID CHAN RATES:N INT CAPS myssid bssid 11 54M -91:-95100EPWME # ifconfig ral0 ral0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether addr media: IEEE802.11 Wireless Ethernet autoselect (OFDM/54Mbps) status:associated ssid myssid channel 11 (2462 Mhz 11g) bssid ... authmode OPEN privacy ON deftxkey 1 wepkey 1:... bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g roam:rate11g 5 protmode CTS FWIW, I have this same wireless card on several of my windows machines and it seems to be working flawlessly :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Questions about coretemp
the Questions about healthd and mprime thread lead me to try recompile and install a freebsd 7.0 kernel with device coretemp on reboot i thought i would find a sysctl variable dev.cpu.%d.temperature but i don't. i don't even see anything in dmesg about coretemp that is, exept for when i added coretemp_load=YES to loader.conf (as per the coretemp manpage) and then i got this in dmesg: module_register: module cpu/coretemp already exists! Module cpu/coretemp failed to register: 17 has anyone had success using this? i wonder if there is a dependency i'm not building into my kernel. . . this system has dual xeons. ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disk errors on installing FreeBSD 7.0
N.J. Thomas wrote: * Snorre D. ?verb? [EMAIL PROTECTED] [2008-08-07 15:29:11+]: When I boot up with the installation DVD these error messages appear on the screen. ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0055347 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0 etc I got the same exact errors trying to install 7.0-RELEASE on two different Dell boxes. One was 4 years old, the other was brand new (3 months ago). Never was able to fix the problem. For the older one, I plugged in an external DVD drive and installed via that. For the other one, I installed via a mini-install disk, and then did a minimal network install. For the record, they both had SATA drives and the disks worked (and still work) fine after the OS was installed. It was just copying the base system off the CD that was causing errors. Thomas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 888 Aloha, I am getting the same errors as you guys with an intermittient BIG_read one occasionally. I've tried to install FreeeBSD CURRENT 8 and 7 release. This is on a no name box with a bio board and 1100 cpu. I've had this on other boxes too and load IDE drives on a box that works with them and then put them in the box with errors and they work just fine. Every thing gets recognized normally at install time, but the size of the IDE drive a Fujutsu 20 gig. shows twice what it should be every time. Dont know if this has anything to do with it, except if you change the size in installer it wont load anything. Maybe one of the top level gurus on the list can help. -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + email: [EMAIL PROTECTED] All that's really worth doing is what we do for others.- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cluster Filesystem
On Thu, 7 Aug 2008 13:10:52 +0200 Rudi Kramer - MWEB [EMAIL PROTECTED] wrote: Don't forget about the HAMMER file system which Matthew Dillon over at DragonFly BSD is busy working on. It's not 100% finished but hopefully soon and it should be ported to FreeBSD. It looks to be pretty good (Exabytes of space?!!!?) More info: Interview with Matthew: http://cisx1.uma.maine.edu/~wbackman/bsdtalk/bsdtalk154.mp3 Website: http://www.dragonflybsd.org/hammer/ Wiki: http://en.wikipedia.org/wiki/HAMMER interesting. it mentions mirroring...but clustering? as in, having a unique ( or several) namespaces that, when addressed, allow you to access any of the nodes that provide storage? Gluster seems more interesting (to me :) )... how well it works, and whether on FBSD, i haven't looked into yet. We have setup hadoop on FreeBSD, bit of mission cause of java and I'm not sure about performance but it can be done :) http://hadoop.apache.org/core/ yeah, i been skimming over hadoop and it seems too much sometimes. I don't particularly like to have to deal with a RDBMs as well as all the other stuff... SUN's QFS (i think it's called that) , Luster , MogileFS (perl?) and others also rely on DBs... B _ {Beto|Norberto|Numard} Meijome Bug: a feature that can't be turned off. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cluster Filesystem
On Thu, 7 Aug 2008 13:10:52 +0200 Rudi Kramer - MWEB [EMAIL PROTECTED] wrote: We have setup hadoop on FreeBSD, bit of mission cause of java and I'm not sure about performance but it can be done :) http://hadoop.apache.org/core/ Hi Rudi, what versions of fbsd , java, hadoop and DB have u used? what were the issues? how many nodes? thanks!! B _ {Beto|Norberto|Numard} Meijome A Man that is good at excuses is usually good at nothing else Benjamin Franklin I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
A few questions from a current linux user
Hi, I am currently using Fedora Core 4 linux distribution for my everyday needs like programming, checking emails etc on my two year old HP laptop. I feel that time has come for me to move away from Fedora. I wasted a lot of time compiling libraries and their dependencies. I could benefit from better packaging systems that come with systems like FreeBSD. I tried to gather as much information as I could from the documentation available on freebsd.org, but the following questions remain unanswered. I would be glad if you can take time to educate me 1) Is a feature similar to magic SysRq in linux necessary for FreeBSD? (As I understand there is no such feature in FreeBSD) 2) Is it possible to compile multiple versions of gcc? If so what is the best way to do it? 3) Is it possible to perform a binary update from one release to another? If so can you please point me to the documentation? How are config files updated in this case? (Could not locate documentation on binup) 4) If a binary update leads to an unstable system, how easy it is to backtrack to an earlier working version along with working config files? 5) Does FreeBSD have support for PCMCIA-USB cards? thanks, Krishna. PS: I am considering Debian as another alternative. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: The Design and Implementation of the FreeBSD Operating System
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gonzalo Nemmi Sent: Tuesday, July 22, 2008 2:06 PM To: freebsd-questions@freebsd.org Subject: Re: The Design and Implementation of the FreeBSD Operating System Actually .. I'd be more than willing to buy an updated version of that book too .. I _do_ undertand your point of view but to be honest, I'd rather buy a new copy that prints everything up to _yesterday_ and that has at least some hints into tomorrow ... If you only knew the work that has to be done behind the scenes to get one of these out that prints everything up to yesterday... Finally; Editor, Publisher, _Dear_Writer_: if you guys are hesitant .. I think there's at least two copies of an updated version of The Design and Implementation .. already sold with a lot more on the way :) Nobody makes a living off writing FreeBSD books. If the planets align and everything works you can perhaps make enough to buy yourself a toy, like a new motorcycle or something. But if you divide it out, for the time it takes to put one of these together, you would make more money flipping burgers. Seriously. Now, Linux or Macintosh, that's a horse of a different color... These are labors of love, or Resume builders, or merely proving to yourself that you can actually do it and play with the Big Boys. When I put out Corporate Networker's Guide, I literally burned the CD for version 4.2 about 4 hours after 4.2-RELEASE was posted and FedExd the final proof and that burned CD about 2 hours after that. The book started showing up in the stores about a month later, and that helped sales because many folks bought the book to get a current CD, mainly to have a real pressed CD, not a burned one. When the second printing came out, the deadline for turning in the final proof and CD was a week before version 4.4 RELEASE came out. I pleaded with the publisher to delay it for just a week to get the next version in, they basically said that any delay would mean no second printing. They have these printing presses so far in advance and your book gets such a narrow slot of time for access to the printer that if you screw it up, the publisher just says hell with you and that's that. That decision probably caused a noticably larger percent of the second printing run to end up remaindered, rather than sold at full price. A few years later about 6 months after the book went out of print I actually bought a box of 20 of the books for something like a dollar a book, from a remainder dealer, just to have a future cache of them that I could give away. Kind of funny to think about that being almost a decade ago... Ted Mittelstaedt Author, FreeBSD Corporate Networker's Guide http://www.freebsd-corp-net-guide.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A few questions from a current linux user
Hi! On Thu, 7 Aug 2008 23:20:08 -0400, Krishna Mohan Gundu [EMAIL PROTECTED] wrote: 1) Is a feature similar to magic SysRq in linux necessary for FreeBSD? (As I understand there is no such feature in FreeBSD) As far as I know, most window managers are able to be configured in a way that you can assign differnt functionalities like shutting the system down to a custom key combination (WindowMaker can); if a xdm like login manager (in the state of nobody logged in) can, I'm not sure. On the text mode consoles, Ctrl-Alt-Del can be used to shut the system down, but the feature can be disabled (kernel configuration). 2) Is it possible to compile multiple versions of gcc? If so what is the best way to do it? For example from ports, but I'm not sure if you can define which binaries are acutally used; at least you should be able to run the compiler from within the port's work/ directory (you don't install the port, then), as long as there are no problems with depending libraries. 3) Is it possible to perform a binary update from one release to another? If so can you please point me to the documentation? The tool freebsd-update can be used to achieve this goal. The command % man freebsd-update is a good start for learning more. How are config files updated in this case? (Could not locate documentation on binup) I think mergemaster can be used to do this; you usually run this program if you perform an update using the make command (make update, make buildworld, make buildkernel etc.). 4) If a binary update leads to an unstable system, how easy it is to backtrack to an earlier working version along with working config files? An update set provided via freebsd-update should not render a system unstable / unusable; at least it's possible that the system is not in a working state when the update process gets interrupted at a critical point, but I never had such a problem. In the worst case, you can restore the base system from the installation CD (or via bootonly + network) and try the update again. 5) Does FreeBSD have support for PCMCIA-USB cards? Don't know. -- Polytropon From 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 [EMAIL PROTECTED]
RE: A few questions from a current linux user
Krishna Mohan Gundu wrote: I feel that time has come for me to move away from Fedora. PS: I am considering Debian as another alternative. I've done both Red Hat and Debian, and prefer FreeBSD. I suggest that you get yourself some 7.0-RELEASE CD's, buy this book, and go for it: http://nostarch.com/abs_bsd2.htm Even if you decide BSD doesn't meet your needs, your time and money will have been well spent expanding your horizons. HTH, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]