Re: More than 32 CPUs under 8.4-P
В Sat, 18 May 2013 10:13:08 -0700 Dennis Glatting free...@pki2.com пишет: I have a 4x16=64 core server running FreeBSD 8.4-P but only two of the CPUs (2x16=32) are enabled. Enabling the other 32 isn't as simple as changing MAXCPU in param.h (apparently) and recompiling. Oops, sorry :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: More than 32 CPUs under 8.4-P
В Sat, 18 May 2013 10:13:08 -0700 Dennis Glatting free...@pki2.com пишет: I have a 4x16=64 core server running FreeBSD 8.4-P but only two of the CPUs (2x16=32) are enabled. Enabling the other 32 isn't as simple as changing MAXCPU in param.h (apparently) and recompiling. What do I need to do to enable the other 32 cores? Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.4-PRERELEASE #0 r250401: Wed May 8 21:46:23 PDT 2013 root@mc:/disk-2/obj/disk-1/src/sys/GENERIC amd64 gcc version 4.2.1 20070831 patched [FreeBSD] Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Opteron(TM) Processor 6274 (2200.04-MHz K8-class CPU) Origin = AuthenticAMD Id = 0x600f12 Family = 15 Model = 1 Stepping = 2 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x1e98220bSSE3,PCLMULQDQ,MON,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX AMD Features=0x2e500800SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM AMD Features2=0x1c9bfffLAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,XOP,SKINIT,WDT,LWP,FMA4,NodeId,Topology,b23,b24 TSC: P-state invariant real memory = 137438953472 (131072 MB) avail memory = 132427862016 (126293 MB) ACPI APIC Table: 120911 APIC1027 FreeBSD/SMP: Multiprocessor System Detected: 32 CPUs FreeBSD/SMP: 2 package(s) x 16 core(s) http://svnweb.freebsd.org/base/releng/8.4/sys/amd64/include/param.h?revision=248810view=markup Set MAXCPU parameter to 64 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Errors cross compilation of architecture MIPS
Hi all. I have uname -rms FreeBSD 10.0-CURRENT amd64 I use to build system for architecture MIPS the instructions on the wiki http://wiki.freebsd.org/FreeBSD/mips I use next script build.sh http://privatepaste.com/339d25c604 but the compilation fails http://privatepaste.com/106d4015d0 then I add the option -DWITHOUT_GROFF \ in build.sh and re-run the script build.sh Next, I get the following error http://privatepaste.com/9887e06e42 then I add the option -DWITHOUT_SENDMAIL \ in build.sh and re-run the script build.sh Next, I get the following error http://privatepaste.com/962b406024 In what could be the problem here and what I'm doing wrong? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Errors cross compilation of architecture MIPS
Thanks, I'll try to figure out how to use it :) В Wed, 7 Nov 2012 08:46:56 -0800 Adrian Chadd adr...@freebsd.org пишет: That's odd. I don't build like that though, I build with my build scripts at http://code.google.com/p/freebsd-wifi-build/ Maybe see what I do in build_freebsd ? Adrian On 7 November 2012 04:37, Ivan Klymenko fi...@ukr.net wrote: Hi all. I have uname -rms FreeBSD 10.0-CURRENT amd64 I use to build system for architecture MIPS the instructions on the wiki http://wiki.freebsd.org/FreeBSD/mips I use next script build.sh http://privatepaste.com/339d25c604 but the compilation fails http://privatepaste.com/106d4015d0 then I add the option -DWITHOUT_GROFF \ in build.sh and re-run the script build.sh Next, I get the following error http://privatepaste.com/9887e06e42 then I add the option -DWITHOUT_SENDMAIL \ in build.sh and re-run the script build.sh Next, I get the following error http://privatepaste.com/962b406024 In what could be the problem here and what I'm doing wrong? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
praudit after work leaves /dev/auditpipeX files.
Hi all. I run command praudit /dev/auditpipe and watch its output to the console, and i stop the praudit, but /dev/auditpipeX files remain. I have not found a way how to remove the files /dev/auditpipeX - only to rebooted. Is it a bug? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wine-fbsd64 updated to 1.5.3 (32bit Wine for 64bit FreeBSD)
В Mon, 7 May 2012 21:04:46 +0200 David Naylor naylor.b.da...@gmail.com пишет: On Monday, 7 May 2012 18:09:29 fidaj wrote: --- Оригінальне повідомлення --- Від кого: David Naylor naylor.b.da...@gmail.com Кому: freebsd-emulat...@freebsd.org, freebsd-questions@freebsd.org Дата: 7 травня 2012, 11:45:18 Тема: Wine-fbsd64 updated to 1.5.3 (32bit Wine for 64bit FreeBSD) root@nonamehost# pkg_add wine-fbsd64-1.5.3,1.txz tar: +CONTENTS: Not found in archive tar: Error exit delayed from previous errors. pkg_add: tar extract of /home/my_src/ports/wine-fbsd64/wine-fbsd64-1.5.3,1.txz failed! pkg_add: unable to extract table of contents file from '/home/my_src/ports/wine-fbsd64/wine-fbsd64-1.5.3,1.txz' - not a package? md5 wine-1.5.x-freebsd10/wine-fbsd64-1.5.3,1.txz MD5 (wine-fbsd64-1.5.3,1.txz) = 1e7f52dadbd6808d48fa26923ab29f17 To install wine-fbsd64 on FreeBSD 10 please do: # make -C /usr/ports/ports-mgmt/pkg install clean # sh fix-arch.sh wine-fbsd64-1.5.3,1.txz # pkg add wine-fbsd64-1.5.3,1.txz fix-arch.sh is available from mediafire. Regards Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Best solution to install zfs on root for FBSD 9
В Tue, 20 Dec 2011 18:11:36 +0100 bsd b...@todoo.biz пишет: Hi, I would like to know if there is an official howto that could help me in the process of installing zfs on root. I will need a raid 1 configuration and plan to use the whole disks to be part of the pool. How far can we go with the installer ? Do I have to use gpart ? What is best way to achieve this ? Any recent and up to date pointer will be welcome. Thx. http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot http://www.aisecure.net/2011/05/01/root-on-zfs-freebsd-current/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: trouble setting timezone for ukraine
В Fri, 04 Nov 2011 15:43:57 -0400 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org пишет: Alexander Kapshuk alexander.kaps...@gmail.com writes: i'm based in ukraine. on 29 Oct 2011 ukraine went to winter time, i.e. we put our clocks one hour back. the current time in ukraine is 8.49 pm; the output of 'date' is: :; date Fri Nov 4 22:49:48 FET 2011 i tried resetting my timezone via 'sysinstall', but to no avail. do i use 'date' to set my system time to the right time, or is there a better way of doing it? :; uname -a FreeBSD localhost 9.0-RC1 FreeBSD 9.0-RC1 #0: Tue Oct 18 18:30:38 UTC 2011 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I think that your government changed its mind about staying on standard time this year, but only did so at the last minute. So you probably have an outdated timezone file. That would lead the computer to be one hour late rather than two, but it's probably a change you need to make. Also check the system's time in UTC to see whether the clock itself is off. run tzsetup... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ugen4.2: Unknown at usbus4 (disconnected)
Hi all! I have an Acer Aspire 5720. And built in a WebCam Crystal Eye. uname -a FreeBSD nonamehost1 9.0-BETA2 FreeBSD 9.0-BETA2 #0 r225700: Tue Sep 27 12:30:24 EEST 2011 user@nonamehost1:/usr/obj/usr/src/sys/mk9 amd64 When a booting OS visible line: ugen4.2: Unknown at usbus4 (disconnected) ... ichsmb0: Intel 82801H (ICH8) SMBus controller port 0x6000-0x601f mem 0x9b305000-0x9b3050ff irq 19 at device 31.3 on pci0 smbus0: System Management Bus on ichsmb0 ugen4.2: Unknown at usbus4 (disconnected) nvidia0: GeForce 8400M GS on vgapci0 vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io ... The device /dev/cuse is present, and /dev/video0 is not present, hence no video in Skype and other applications which use webcam ... What do I do that would appear the device /dev/video0? Thanks! kldstat Id Refs AddressSize Name 1 117 0x8020 a7d378 kernel 21 0x80c7e000 1cc0 splash_pcx.ko 31 0x80c8 88c0 vesa.ko 41 0x80e12000 41be linprocfs.ko 54 0x80e17000 1e0f3linux.ko 61 0x80e36000 9f4 linsysfs.ko 71 0x80e37000 2102 ichsmb.ko 81 0x80e3a000 868 smbus.ko 91 0x80e3b000 406 lindev.ko 101 0x80e3c000 a3187e nvidia.ko 111 0x8186e000 2445 acpi_video.ko 121 0x81871000 f06a if_bge.ko 131 0x81881000 140a8snd_hda.ko 143 0x81896000 3981csound.ko 151 0x818d 4aa8 snd_uaudio.ko 161 0x818d5000 30d0 cuse4bsd.ko 171 0x818d9000 2ef8 ng_bt3c.ko 187 0x818dc000 8e00 netgraph.ko 191 0x818e5000 3258 ng_ubt.ko 201 0x818e9000 8b34 ng_hci.ko 212 0x818f2000 a60 ng_bluetooth.ko 221 0x818f3000 7f8 ubtbcmfw.ko 231 0x818f4000 1b61 atapicam.ko 241 0x818f6000 256 cd9660_iconv.ko 251 0x818f7000 2281 libiconv.ko 261 0x818fa000 3f24 sdhci.ko 271 0x818fe000 4f90 mmc.ko 281 0x81903000 175d mmcsd.ko 292 0x81905000 3812 geom_sched.ko 301 0x81909000 f0c gsched_rr.ko 312 0x8190a000 11174firewire.ko 321 0x8191c000 6d90 sbp.ko 331 0x81923000 8c1b if_wpi.ko 341 0x8192c000 24c04wpifw.ko 351 0x81951000 1544 ng_ether.ko 361 0x81953000 3150 ng_pppoe.ko 371 0x81957000 1b90 ng_socket.ko 381 0x81959000 16994ng_btsocket.ko 391 0x8197 a980 fuse.ko 401 0x8197b000 204 green_saver.ko 411 0x8197c000 768 rtc.ko lsusb Bus /dev/usb Device /dev/ugen6.1: ID : Bus /dev/usb Device /dev/ugen5.1: ID : Bus /dev/usb Device /dev/ugen4.1: ID : Bus /dev/usb Device /dev/ugen3.1: ID : Bus /dev/usb Device /dev/ugen2.1: ID : Bus /dev/usb Device /dev/ugen1.1: ID : Bus /dev/usb Device /dev/ugen0.1: ID : usbconfig ugen0.1: UHCI root HUB Intel at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen1.1: UHCI root HUB Intel at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen2.1: EHCI root HUB Intel at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen3.1: UHCI root HUB Intel at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen4.1: UHCI root HUB Intel at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen5.1: UHCI root HUB Intel at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen6.1: EHCI root HUB Intel at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE pciconf -lv hostb0@pci0:0:0:0: class=0x06 card=0x011e1025 chip=0x2a008086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile PM965/GM965/GL960 Memory Controller Hub' class = bridge subclass = HOST-PCI pcib1@pci0:0:1:0: class=0x060400 card=0x011e1025 chip=0x2a018086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = 'Mobile PM965/GM965/GL960 PCI Express Root Port' class = bridge subclass = PCI-PCI uhci0@pci0:0:26:0: class=0x0c0300 card=0x011e1025 chip=0x28348086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) USB UHCI Controller' class = serial bus subclass = USB uhci1@pci0:0:26:1: class=0x0c0300 card=0x011e1025 chip=0x28358086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) USB UHCI Controller' class = serial bus subclass = USB ehci0@pci0:0:26:7: class=0x0c0320 card=0x011e1025 chip=0x283a8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801H (ICH8 Family) USB2 EHCI Controller' class = serial bus subclass = USB hdac0@pci0:0:27:0: class=0x040300
Re: ugen4.2: Unknown at usbus4 (disconnected)
В Sun, 2 Oct 2011 16:39:19 +0200 Hans Petter Selasky hsela...@c2i.net пишет: On Sunday 02 October 2011 10:47:33 Ivan Klymenko wrote: Hi all! I have an Acer Aspire 5720. And built in a WebCam Crystal Eye. uname -a FreeBSD nonamehost1 9.0-BETA2 FreeBSD 9.0-BETA2 #0 r225700: Tue Sep 27 12:30:24 EEST 2011 user@nonamehost1:/usr/obj/usr/src/sys/mk9 amd64 When a booting OS visible line: ugen4.2: Unknown at usbus4 (disconnected) ... ichsmb0: Intel 82801H (ICH8) SMBus controller port 0x6000-0x601f mem 0x9b305000-0x9b3050ff irq 19 at device 31.3 on pci0 smbus0: System Management Bus on ichsmb0 ugen4.2: Unknown at usbus4 (disconnected) Your webcam should appear like an USB device typically. Could you look for more occurrences of ugen4.2 in dmesg? The fact of the matter is that unfortunately no more information about ugen4.2 not in the output gmesg :( even if I use the Verbose mode boot... In the output after booting gmesg generally do not have any information about ugen4.2 device... ls /dev/|grep ugen ugen0.1 ugen1.1 ugen2.1 ugen3.1 ugen4.1 ugen5.1 ugen6.1 ls /dev/usb 0.1.0 0.1.1 1.1.0 1.1.1 2.1.0 2.1.1 3.1.0 3.1.1 4.1.0 4.1.1 5.1.0 5.1.1 6.1.0 6.1.1 Webcamd will start automatically when it sees your webcam. --HPS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Buildworld failure after update r224806 to r224886
Hello, all! I have: uname -a FreeBSD nonamehost 9.0-BETA1 FreeBSD 9.0-BETA1 #0 r224806M: Sat Aug 13 15:43:38 EEST 2011 ivan@nonamehost:/usr/obj/usr/src/sys/mk9 amd64 Buildworld failure after update r224806 to r224886 In my configuration files since nothing has changed... Building of the world accompanied by the following errors: ... === include/rpc (all) gzip -cn heimdal.info heimdal.info.gz /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyylex' /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyyin' /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyytext' ranlib libavl_p.a === cddl/lib/libctf (all) === kerberos5/lib (all) /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyylex' /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyyin' /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyytext' /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyyerror' /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyylineno' distcc[31852] ERROR: compile (null) on localhost failed *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyyerror' /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyylineno' distcc[31847] ERROR: compile (null) on localhost failed *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyylex' /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyyin' /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyytext' /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyyerror' /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyylineno' distcc[31856] ERROR: compile (null) on localhost failed *** Error code 1 /usr/local/libexec/ccache/world/cc -pg -O2 -mmmx -msse -msse2 -msse3 -mssse3 -pipe -march=core2 -DCTF_OLD_VERSIONS -I/usr/src/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris -I/usr/src/cddl/lib/libctf/../../../cddl/compat/opensolaris/include -I/usr/src/cddl/lib/libctf/../../../cddl/contrib/opensolaris/head -I/usr/src/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf -I/usr/src/cddl/lib/libctf/../../../cddl/contrib/opensolaris/lib/libctf/common -I/usr/src/cddl/lib/libctf/../../../sys/cddl/contrib/opensolaris/uts/common -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector -Wno-pointer-sign -Wno-unknown-pragmas -c /usr/src/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_create.c -o ctf_create.po gzip -cn atrun.8 atrun.8.gz 1 error *** Error code 2 1 error *** Error code 2 /usr/local/libexec/ccache/world/cc -pg -O2 -mmmx -msse -msse2 -msse3 -mssse3 -pipe -march=core2 -DCTF_OLD_VERSIONS -I/usr/src/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris -I/usr/src/cddl/lib/libctf/../../../cddl/compat/opensolaris/include -I/usr/src/cddl/lib/libctf/../../../cddl/contrib/opensolaris/head -I/usr/src/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf -I/usr/src/cddl/lib/libctf/../../../cddl/contrib/opensolaris/lib/libctf/common -I/usr/src/cddl/lib/libctf/../../../sys/cddl/contrib/opensolaris/uts/common -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector -Wno-pointer-sign -Wno-unknown-pragmas -c /usr/src/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_decl.c -o ctf_decl.po /usr/local/libexec/ccache/world/cc -c -O2 -mmmx -msse -msse2 -msse3 -mssse3 -pipe -march=core2 -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -std=gnu99 -fvisibility=hidden -DHIDE_EXPORTS -p -fPIC -fexceptions -D__GLIBC__=3 -DElfW=__ElfN -o unwind-sjlj.po /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-sjlj.c /usr/local/libexec/ccache/world/cc -c -O2 -mmmx -msse -msse2 -msse3 -mssse3 -pipe -march=core2 -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -std=gnu99 -fvisibility=hidden -DHIDE_EXPORTS -p -fPIC -fexceptions -D__GLIBC__=3 -DElfW=__ElfN -o gthr-gnat.po /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-gnat.c /usr/local/libexec/ccache/world/cc -c -O2 -mmmx -msse -msse2 -msse3 -mssse3 -pipe -march=core2 -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -std=gnu99
Re: Buildworld failure after update r224806 to r224886
В Mon, 15 Aug 2011 20:12:35 +0200 Niclas Zeising niclas.zeis...@gmail.com пишет: ... Someone have any idea what is that? Thanks! There was a period when there was a bug in dev/std{in,err,out}, which amongst other things made it impossible to complete a buildworld. Compile a new kernel (past r224842), boot to that kernel and rebuild world, that should work. For details see UPDATING r224875. HTH! Ooops! Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Any working SIP-phone on FreeBSD?
В Sat, 18 Jun 2011 10:19:33 -0700 Yuri y...@rawbw.com пишет: I tried ekiga but it doesn't work. It gets into standby mode and stays this way. I think it's because of firewall. There is the PR for this. I looked into Empathy. On Linux telepathy-sofiasip should be installed to add SIP to empathy, and on FreeBSD there is no such port. Yuri I also can not get ekiga to work even after trying to configure a firewall and router, guided by the following instructions: http://wiki.ekiga.org/index.php/Internet_ports_used_by_Ekiga http://wiki.ekiga.org/index.php/Enable_port_forwarding_manually http://wiki.ekiga.org/index.php/Ekiga_behind_a_NAT_router :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kernel: install: mps.ko.symbols: No such file or directory
В Mon, 23 May 2011 10:03:42 +0200 O. Hartmann ohart...@mail.zedat.fu-berlin.de пишет: On 05/23/11 00:37, Garrett Cooper wrote: On May 22, 2011, at 2:42 PM, O. Hartmann wrote: Building kernel and modules with CLANG (did not try with gcc) results in corrupted system with following error message. Operating system is most recent svn update of FreeBSD 9.0-CURRENT/amd64: URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 222199 Node Kind: directory Schedule: normal Last Changed Author: rmacklem Last Changed Rev: 222199 Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) After doing some review of the checkins made recently and per our offline discussion, it might be r222188 that's causing issues. How did you issue the build (did you run buildworld buildkernel, or just buildkernel, KERNFAST, etc)? Thanks, -Garrett I've blown away /usr/obj, did a svn update in /usr/src this morning (but there were no updates) and issued make buildworld make buildkernel Both went well. But make installkernel still fails installing mps.ko.symbols (which is not found). Oliver ___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org I change the line: .if defined(DEBUG) !defined(INSTALL_NODEBUG) \ on .if (defined(DEBUG) || defined(DEBUG_FLAGS)) !defined(INSTALL_NODEBUG) \ in the file /sys/conf/kmod.mk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kernel: install: mps.ko.symbols: No such file or directory
В Mon, 23 May 2011 14:55:39 -0700 Garrett Cooper yaneg...@gmail.com пишет: On Mon, May 23, 2011 at 11:44 AM, O. Hartmann ohart...@mail.zedat.fu-berlin.de wrote: On 05/23/11 18:10, Garrett Cooper wrote: On May 23, 2011, at 5:55 AM, Dimitry Andric wrote: mps-debug.diff Shouldn't DEBUG_FLAGS be the proper usage in this particular case? Mmmhhh, I changed .if defined(DEBUG) !defined(INSTALL_NODEBUG) \ [...] to .if defined(DEBUG_FLAGS) !defined(INSTALL_NODEBUG) \ [...] and everything runs smooth ... Please update to r29 and see if things are fixed. Thanks! -Garrett Working! Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Ekiga FreeBSD (for a future without Skype)
В Sun, 22 May 2011 19:10:33 +0200 Matthias Apitz g...@unixarea.de пишет: Hello, Now, as M$ bought Skype, we should stop wining for a native Skype client for FreeBSD and should prepare us for the time when M$ will integrate Skype into its desktop and stop deliver binaries for Linux; I have spent some time to get PTlib, Opal and Ekiga compiled directly from its repositories in SVN and Git, and fixed the bugs to let Ekiga detect the devices /dev/video0 (created by pwc.ko or webcamd) and /dev/dsp* sound devices. The result is documented here: http://wiki.ekiga.org/index.php/Compile_your_own_SVN_version_of_Ekiga_on_FreeBSD If someone wants to give me a call at sip:@ekiga.net, just contact me offlist :-) HIH matthias In that case - why not upgrade the port net/ekiga3 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Ekiga FreeBSD (for a future without Skype)
В Sun, 22 May 2011 10:44:50 -0700 mer...@stonehenge.com (Randal L. Schwartz) пишет: Matthias == Matthias Apitz g...@unixarea.de writes: Matthias Now, as M$ bought Skype, we should stop wining for a native Matthias Skype client for FreeBSD and should prepare us for the time Matthias when M$ will integrate Skype into its desktop and stop Matthias deliver binaries for Linux; Consider Jitsi, which is written in Java, and supports all modern SIP and XMPP and IM (and soon full Gtalk) protocols, with a built in broad list of audio and video codecs. With the proper use of the free (or paid) PSTN-to-SIP bridges, it can nearly completely replace Skype, at least for point-to-point audio/video. (No SILK though... there's nothing that comes close, sadly.) I interviewed the lead developer for FLOSS Weekly a few weeks back... sounds quite promising. http://twit.tv/floss162 I do not think that bind to Java is a good idea ... IMHO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (8.2) amd64 + linuxulator + nvidia driver is it stable ?
В Tue, 10 May 2011 17:31:53 +0200 Patrick Lamaiziere patf...@davenulle.org пишет: Hi, I've got a new box running 8.2-stable with amd64 + linuxulator + nvidia driver. Quite often when watching video on youtube the box freeze (no panic). Are there some known problems with this kind of configuration on amd64? (Works fine on my old laptop using 8.2/i386) I don't know where is problem, but one time the machine crashed just after a pkill of npviewer.bin (they were in the futex state), so it could be the linuxulator? I have encountered in the system exactly the same problem uname -a FreeBSD nonamehost 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r221598: Sat May 7 17:28:18 EEST 2011 ivan@nonamehost:/usr/obj/usr/src/sys/mk9 amd64 pciconf -lv|grep Ge device = 'Geforce 8400M GS (unknown)' pkg_info|grep nvidi nvidia-driver-270.41.06 NVidia graphics card binary drivers for hardware OpenGL ren dmesg|grep NVRM NVRM: Xid (:01:00): 13, 000a 8297 19d0 003c 0100 they were observed for nearly all nvidia drivers for amd64... I tried to change the different options: setenv VDPAU_NVIDIA_NO_OVERLAY=1 - ~/.cshrc Option Xinerama False and Option Xinerama 0 - /etc/X11/xorg.conf cat /etc/adobe/mms.cfg OverrideGPUValidation=false AutoUpdateDisable=true EnableLinuxHWVideoDecode=0 FullScreenDisable=false and it seems to me it helped for flashplayer... but the situation as a whole wants the best, because these problems continue with using VDPAU so I'm leaning that cause these problems in drivers... sorry for my english... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kernel and buildworld questions
В Tue, 10 May 2011 20:59:17 +0200 Mage m...@mage.hu пишет: On 05/10/2011 08:35 PM, Pierre-Luc Drouin wrote: By the way you don't really need to use the cvsup package anymore, as there is now the csup command that is part of FreeBSD. Regarding the core dumps, maybe you should tried running portsclean -PLD to remove old packages, libraries and distfiles from your system.If you can reproduce easily the core dumps, maybe you can find which libraries causes the processes to crash using gdb Thank you for helping. I tried: [root@eden ~]# cvsup sup_standard Connected to cvsup.de.FreeBSD.org Updating collection src-all/cvs Edit src/bin/sh/expand.c Illegal instruction: 4 (core dumped) [root@eden ~]# portsclean -PLD Detecting unreferenced distfiles... no unreferenced distfiles found. Cleaning out /usr/ports/packages... Delete /usr/ports/packages/All/ezm3-1.1_2.tbz [root@eden ~]# cvsup sup_standard Connected to cvsup.de.FreeBSD.org Updating collection src-all/cvs Edit src/bin/sh/expand.c Illegal instruction: 4 (core dumped) rm /usr/share/zoneinfo/UTC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kernel and buildworld questions
В Tue, 10 May 2011 21:28:25 +0200 Mage m...@mage.hu пишет: On 05/10/2011 09:10 PM, Ivan Klymenko wrote: [root@eden ~]# cvsup sup_standard Connected to cvsup.de.FreeBSD.org Updating collection src-all/cvs Edit src/bin/sh/expand.c Illegal instruction: 4 (core dumped) rm /usr/share/zoneinfo/UTC I thought you are joking, but I tried: [root@eden ~]# cvsup sup_standard Connected to cvsup.de.FreeBSD.org Updating collection src-all/cvs Edit src/bin/sh/expand.c Illegal instruction: 4 (core dumped) [root@eden ~]# mv /usr/share/zoneinfo/UTC ./ [root@eden ~]# cvsup sup_standard Connected to cvsup.de.FreeBSD.org Updating collection src-all/cvs Edit src/bin/sh/expand.c Edit src/bin/sh/main.c [...] Edit src/usr.sbin/usbdump/usbdump.c Finished successfully How could this help? begin http://docs.freebsd.org/cgi/mid.cgi?20091215140234.GA94567 end http://docs.freebsd.org/cgi/mid.cgi?20091215180327.7cab12aa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Tinderbox question...
В Sat, 2 Apr 2011 09:28:58 +0100 Chris Rees utis...@gmail.com пишет: On 2 April 2011 09:26, Ivan Klymenko fi...@ukr.net wrote: Hi, folks! For example, i built in my tinderbox port audio/clementine-player... It depends on qt4 -* ports... For example, the file qt-everywhere-opensource-src-4.7.2.tar.gz must be downloaded (if not mistaken) for more than five times! Why? File size ~208655K = 5*208655K=1043275K !!! When building ports with these files it is extremely slow and not optimal. Is it possible to transfer the function cleandistfiles to another place, that would be cleaning distfiles directory took place after the construction of the entire queue, or do it manually? What do you think about this? Thank you! Best regards, Ivan. Distfiles aren't cached by default. http://tinderbox.marcuscom.com/README/README.html#AEN587 Chris Thanks! Sorry for noice. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Tinderbox question...
Hi, folks! For example, i built in my tinderbox port audio/clementine-player... It depends on qt4 -* ports... For example, the file qt-everywhere-opensource-src-4.7.2.tar.gz must be downloaded (if not mistaken) for more than five times! Why? File size ~208655K = 5*208655K=1043275K !!! When building ports with these files it is extremely slow and not optimal. Is it possible to transfer the function cleandistfiles to another place, that would be cleaning distfiles directory took place after the construction of the entire queue, or do it manually? What do you think about this? Thank you! Best regards, Ivan. P.S. Sorry for my english. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: request Skype.com(TM) for a native version of Skype for FreeBSD
В Sat, 25 Dec 2010 09:40:43 +0100 Matthias Apitz g...@unixarea.de пишет: Hello, Please support the request by sending ME TOO in the topic: http://forum.skype.com/index.php?showtopic=563851 Thanks matthias Done. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error 1: gpart create -s GPT ad0
В Sat, 13 Nov 2010 09:35:14 +0200 Ivan Klymenko fi...@ukr.net пишет: В Fri, 12 Nov 2010 22:09:30 -0500 Kris Moore k...@pcbsd.org пишет: On Fri, Nov 12, 2010 at 08:47:00PM +0200, Ivan Klymenko wrote: Hello! People. I use the alternate installer pc-sysinstall based on FreeBSD 9.0-CURRENT r215176 When you load the virtual machine qemu disk ad0 is determined by: http://img573.imageshack.us/i/qemu1.png/ but when trying to create a section displays the following error: http://img80.imageshack.us/i/qemu.png/ Think all options for gpart are correct - what can there be a problem? Thanks! The gpart syntax looks correct, and ad0 is being used elsewhere in your install process successfully. Is this a fresh disk / image? Perhaps something has broken in the gpart command? Thank you! Now try to recreate the virtual disk ... But it did not help avoid the problem :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error 1: gpart create -s GPT ad0
В Fri, 12 Nov 2010 20:02:08 -0800 Garrett Cooper gcoo...@freebsd.org пишет: On Fri, Nov 12, 2010 at 7:09 PM, Kris Moore k...@pcbsd.org wrote: On Fri, Nov 12, 2010 at 08:47:00PM +0200, Ivan Klymenko wrote: Hello! People. I use the alternate installer pc-sysinstall based on FreeBSD 9.0-CURRENT r215176 When you load the virtual machine qemu disk ad0 is determined by: http://img573.imageshack.us/i/qemu1.png/ but when trying to create a section displays the following error: http://img80.imageshack.us/i/qemu.png/ Think all options for gpart are correct - what can there be a problem? Thanks! The gpart syntax looks correct, and ad0 is being used elsewhere in your install process successfully. Is this a fresh disk / image? Perhaps something has broken in the gpart command? According to the gpart(8) manpage, the invocation is correct. It'd be interesting to see what the log displayed yields, but before then have you tried kern.geom.debugflags=16? no. after booting the system immediately executed script pc-sysinstall now try to force the kern.geom.debugflags = 16 before running pc-sysinstall I did a quick scan of lib/libgeom and sys/geom, and all of the places (minus one) that returned EINVAL were due to incorrect sector size. What are you using for your disk? Thanks, -Garrett I'm afraid I do not quite understand the essence last question ... : ( I created a virtual disk command: qemu-img create name_disk.img 40G All the breakdown of disk partitions running script pc-sysinstall in accordance with my config file pcinstall.cfg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error 1: gpart create -s GPT ad0
В Sat, 13 Nov 2010 11:01:36 +0300 Andrey V. Elsukov bu7c...@yandex.ru пишет: On 13.11.2010 10:34, Ivan Klymenko wrote: Hmm, are you sure that your kernel is based on r215176? no doubt! :) Do you use custom ISO image? yes. Can you mount it and show output of command: # ident /mnt/boot/kernel/kernel.symbols | grep g_part.c Once mounted iso image of my drive to /mnt ident error: /mnt/boot/kernel/kernel.symbols: No such file or directory because this file (kernel.symbols) is really not in the iso image... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error 1: gpart create -s GPT ad0
В Sat, 13 Nov 2010 11:34:12 +0300 Andrey V. Elsukov bu7c...@yandex.ru пишет: On 13.11.2010 11:25, Ivan Klymenko wrote: Once mounted iso image of my drive to /mnt ident error: /mnt/boot/kernel/kernel.symbols: No such file or directory because this file (kernel.symbols) is really not in the iso image... So, I can not reproduce this error. And I still think that you use older revision and you should rebuild your ISO image with fresh sources. well ... but it will take a little time ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error 1: gpart create -s GPT ad0
В Sat, 13 Nov 2010 11:49:29 +0300 Andrey V. Elsukov bu7c...@yandex.ru пишет: On 13.11.2010 11:40, Ivan Klymenko wrote: So, I can not reproduce this error. And I still think that you use older revision and you should rebuild your ISO image with fresh sources. well ... but it will take a little time ... Just a note - as you may see from tinderbox's emails at the moment building of fresh current is broken :) Thanks! I saw it - watch for the mailing too ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error 1: gpart create -s GPT ad0
В Sat, 13 Nov 2010 08:38:16 +0300 Andrey V. Elsukov bu7c...@yandex.ru пишет: On 12.11.2010 21:47, Ivan Klymenko wrote: http://img80.imageshack.us/i/qemu.png/ Think all options for gpart are correct - what can there be a problem? This was temporary regression and it is fixed now in r215118. In any case it is harmless. I am ashamed ... :( You were right! I have an ISO audit r215110 ... Is the current system on a PC r215176 now try to rebuild the ISO it ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error 1: gpart create -s GPT ad0
В Sat, 13 Nov 2010 11:03:00 +0200 Ivan Klymenko fi...@ukr.net пишет: В Sat, 13 Nov 2010 08:38:16 +0300 Andrey V. Elsukov bu7c...@yandex.ru пишет: On 12.11.2010 21:47, Ivan Klymenko wrote: http://img80.imageshack.us/i/qemu.png/ Think all options for gpart are correct - what can there be a problem? This was temporary regression and it is fixed now in r215118. In any case it is harmless. I am ashamed ... :( You were right! I have an ISO audit r215110 ... Is the current system on a PC r215176 now try to rebuild the ISO it I rebuild the ISO image based on r215176 and gpart did not return an error. Thank you all! Topic can be closed. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Error 1: gpart create -s GPT ad0
Hello! People. I use the alternate installer pc-sysinstall based on FreeBSD 9.0-CURRENT r215176 When you load the virtual machine qemu disk ad0 is determined by: http://img573.imageshack.us/i/qemu1.png/ but when trying to create a section displays the following error: http://img80.imageshack.us/i/qemu.png/ Think all options for gpart are correct - what can there be a problem? Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error 1: gpart create -s GPT ad0
В Sat, 13 Nov 2010 08:45:02 +0300 Andrey V. Elsukov bu7c...@yandex.ru пишет: On 12.11.2010 21:47, Ivan Klymenko wrote: I use the alternate installer pc-sysinstall based on FreeBSD 9.0-CURRENT r215176 Hmm, are you sure that your kernel is based on r215176? no doubt! :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error 1: gpart create -s GPT ad0
В Fri, 12 Nov 2010 22:09:30 -0500 Kris Moore k...@pcbsd.org пишет: On Fri, Nov 12, 2010 at 08:47:00PM +0200, Ivan Klymenko wrote: Hello! People. I use the alternate installer pc-sysinstall based on FreeBSD 9.0-CURRENT r215176 When you load the virtual machine qemu disk ad0 is determined by: http://img573.imageshack.us/i/qemu1.png/ but when trying to create a section displays the following error: http://img80.imageshack.us/i/qemu.png/ Think all options for gpart are correct - what can there be a problem? Thanks! The gpart syntax looks correct, and ad0 is being used elsewhere in your install process successfully. Is this a fresh disk / image? Perhaps something has broken in the gpart command? Thank you! Now try to recreate the virtual disk ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
kern.smp.topology
Hello! People. Who can explain the purpose of sysctl variable kern.smp.topology? What does it affect? It may take such values: 1 -Dual core with no sharing. 2 -No topology, all cpus are equal. 3 -Dual core with shared L2. 4 -quad core, shared l3 among each package, private l2. 5 -quad core, 2 dualcore parts on each package share l2. 6 -Single-core 2xHTT 7 -quad core with a shared l3, 8 threads sharing L2. default-Default, ask the system what it wants. Does it make sense to set its value manually, if I know that my CPU Core2Duo? How to do this, select a value? I not found this explanation in any of the official guides ... Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to generate pi in c
В Fri, 5 Nov 2010 13:39:05 -0400 Alejandro Imass a...@p2ee.org пишет: This is how I do it in perl use constant PI = 4 * atan2(1, 1); In C it owuld probably be (using math.h): pi = 4.0*atan(1.0); On Fri, Nov 5, 2010 at 1:15 PM, Remko Lodder re...@elvandar.org wrote: No, but a simple search reveals some information; http://einstein.drexel.edu/courses/Comp_Phys/General/C_basics/ On Nov 5, 2010, at 5:40 PM, Arthur Bela wrote: Does anyone has a generate-pi.c source code? Thanks.. :D :\ -- /\ Best regards, | re...@freebsd.org \ / Remko Lodder | X http://www.evilcoder.org/ | Quis custodiet ipsos custodes / \ ASCII Ribbon Campaign | Against HTML Mail and News ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org adapt the code to build on FreeBSD... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to generate pi in c
В Fri, 5 Nov 2010 13:39:05 -0400 Alejandro Imass a...@p2ee.org пишет: This is how I do it in perl use constant PI = 4 * atan2(1, 1); In C it owuld probably be (using math.h): pi = 4.0*atan(1.0); On Fri, Nov 5, 2010 at 1:15 PM, Remko Lodder re...@elvandar.org wrote: No, but a simple search reveals some information; http://einstein.drexel.edu/courses/Comp_Phys/General/C_basics/ On Nov 5, 2010, at 5:40 PM, Arthur Bela wrote: Does anyone has a generate-pi.c source code? Thanks.. :D :\ -- /\ Best regards, | re...@freebsd.org \ / Remko Lodder | X http://www.evilcoder.org/ | Quis custodiet ipsos custodes / \ ASCII Ribbon Campaign | Against HTML Mail and News ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org adapt the code to build on FreeBSD... excuse me - the problem in acceding file / /* ** PI.C - Computes Pi to an arbitrary number of digits ** ** Uses far arrays so may be compiled in any memory model */ #includestdio.h #includestdlib.h #if defined(__ZTC__) #include dos.h #define FAR _far #define Fcalloc farcalloc #define Ffree farfree #define Size_T unsigned long #elif defined(__TURBOC__) #include alloc.h #define FAR far #define Fcalloc farcalloc #define Ffree farfree #define Size_T unsigned long #else /* assume MSC/QC */ #include malloc.h #define FAR _far #define Fcalloc _fcalloc #define Ffree _ffree #define Size_T size_t #endif long kf, ks; long FAR *mf, FAR *ms; long cnt, n, temp, nd; long i; long col, col1; long loc, stor[21]; void shift(long FAR *l1, long FAR *l2, long lp, long lmod) { long k; k = ((*l2) 0 ? (*l2) / lmod: -(-(*l2) / lmod) - 1); *l2 -= k * lmod; *l1 += k * lp; } void yprint(long m) { if (cntn) { if (++col == 11) { col = 1; if (++col1 == 6) { col1 = 0; printf(\n); printf(%4ld,m%10); } else printf(%3ld,m%10); } else printf(%ld,m); cnt++; } } void xprint(long m) { long ii, wk, wk1; if (m 8) { for (ii = 1; ii = loc; ) yprint(stor[(int)(ii++)]); loc = 0; } else { if (m 9) { wk = m / 10; m %= 10; for (wk1 = loc; wk1 = 1; wk1--) { wk += stor[(int)wk1]; stor[(int)wk1] = wk % 10; wk /= 10; } } } stor[(int)(++loc)] = m; } void memerr(int errno) { printf(\a\nOut of memory error #%d\n, errno); if (2 == errno) Ffree(mf); _exit(2); } int main(int argc, char *argv[]) { int i=0; char *endp; stor[i++] = 0; if (argc 2) { puts(\aUsage: PI number_of_digits); return(1); } n = strtol(argv[1], endp, 10); if (NULL == (mf = Fcalloc((Size_T)(n + 3L), (Size_T)sizeof(long memerr(1); if (NULL == (ms = Fcalloc((Size_T)(n + 3L), (Size_T)sizeof(long memerr(2); printf(\nApproximation of PI to %ld digits\n, (long)n); cnt = 0; kf = 25; ks = 57121L; mf[1] = 1L; for (i = 2; i = (int)n; i += 2) { mf[i] = -16L; mf[i+1] = 16L; } for (i = 1; i = (int)n; i += 2) { ms[i] = -4L; ms[i+1] = 4L; } printf(\n 3.); while (cnt n) { for (i = 0; ++i = (int)n - (int)cnt; ) { mf[i] *= 10L; ms[i] *= 10L; } for (i =(int)(n - cnt + 1); --i = 2; ) { temp = 2 * i - 1; shift(mf[i - 1], mf[i], temp - 2, temp * kf); shift(ms[i - 1], ms[i], temp - 2, temp * ks); } nd = 0; shift((long FAR *)nd, mf[1], 1L, 5L); shift((long FAR *)nd, ms[1], 1L, 239L); xprint(nd); } printf(\n\nCalculations Completed!\n); Ffree(ms); Ffree(mf); return(0); }
Re: Can not install ZendOptimizer
В Thu, 7 Oct 2010 21:24:30 +0700 Phan Quoc Hien phanquoch...@gmail.com пишет: Hello, I'm trying install ZendOptimizer with my php5 and get this error: freebsd# make install clean === ZendOptimizer-3.3.0.a cannot install: doesn't work with PHP version : 5 (Doesn't support PHP 5). *** Error code 1 Stop in /usr/ports/devel/ZendOptimizer. Why error? ZendOptimizer port is older? Thanks. because it requires version 4.4.x or 5.2.x and port php5 is version 5.3.x you need install/use port lang/php4 or lang/php52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: External HD
В Sat, 21 Aug 2010 09:31:53 -0700 Rem P Roberti remeg...@comcast.net пишет: I have a 500GB USB HD which I am able mount thus: mount_ntfs /dev/da2s1 /mnt Having done so I can copy from the external drive, but not write to it. What is necessary to implement in order to be able to write to an external hard drive? Rem use the port /usr/ports/sysutils/fusefs-ntfs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
change the password e-mail account
В Thu, 19 Aug 2010 07:04:10 -0400 Jerry freebsd.u...@seibercom.net пишет: On Thu, 19 Aug 2010 19:57:28 +1000 Roland Smith rsm...@xs4all.nl articulated: Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 Why is this crap polluting this list? I have been receiving multiple copies of this junk for awhile now. The link simple redirects to: http://www.searchmagna.com/?domain=xpbargains.netfolder=404648785ts=pl Isn't there any way to stop this garbage? All senders, with this the contents of letter, an urgent need to change the password e-mail account! I think that broke password mailboxes... From my email too, came a letter to the mailing list, but I did not send it :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD, GPGPU and OpenCL/CUDA
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD, GPGPU and OpenCL/CUDA
There are some other problems (please note that i don't follow the -current nor -kernel lists) a) Who knows how to implement Kernel Mode Settings for this? b) Are KMS drivers desirable in FreeBSD? c) Is it in the roadmap for FreeBSD9 or 8.x? d) Anyone wants to do the work? probably the last question and is the most important ... remaining issues - not yet substantial ... :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD, GPGPU and OpenCL/CUDA
В Sat, 14 Aug 2010 11:53:10 +0200 O. Hartmann ohart...@mail.zedat.fu-berlin.de пишет: I think that OpenCL can be activated in FreeBSD, if you add the necessary extensions for clang/llvm ... http://clang.llvm.org/docs/LanguageExtensions.html#vectors and a few links on the topic ... http://www.khronos.org/message_boards/viewtopic.php?f=36t=2314 http://llvm.org/Users.html Am I right? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD, GPGPU and OpenCL/CUDA
I think it might be worthwhile to contact nVidia directly about this. To raise awareness that there are people using FreeBSD for HPC and that they very much would like to see OpenCL/CUDA supported. http://nvnews.net/vbulletin/showthread.php?t=152742 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ports issue with gegl
В Fri, 25 Jun 2010 10:06:21 -0700 Chip Camden sterl...@camdensoftware.com пишет: Greetings. uname -a: FreeBSD libertas.local.camdensoftware.com 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #1: Thu Jun 24 13:38:09 PDT 2010 sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/GENERIC amd64 As of a portsnap fetch update this morning, the gegl port will not build === gegl-0.1.2_1 is marked as broken: ffmpeg support is currently broken. gimp depends on gegl, so the latest update to gimp will not build. Known problem? reconfigure graphics/gegl whit out ffmpeg support cd /user/ports/graphics/gegl make WITHOUT_FFMPEG=yes config ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
GCD technology...
Hi, folk. Why are not used is available GCD technology in the ports, where it can be used? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeOrion won't run
В Tue, 27 Apr 2010 08:01:54 +1000 Da Rock freebsd-questi...@herveybayaustralia.com.au пишет: While I am able to send to the list I might as well make use of it :) I've been trying out some games for my kids to play, and I believe I've heard of FreeOrion (or similar) before. Trouble is it won't work for the life of me... When I first ran it I got this message: Failed to initialize GEM. Falling back to classic. Assertion failed: (0 != this-mask_), function posix_charset_matcher, file /usr/local/include/boost/xpressive/detail/core/matcher/posix_charset_matcher.hpp, line 40. Abort (core dumped) So I tried updating and went through all the issues of changing openal in the process (something which I had been delaying), and finally found the message had changed to this: /libexec/ld-elf.so.1: Shared object libopenal.so.0 not found, required by libalut.so.1 You need install or reinstall next port: freealut cd /usr/ports/audio/freealut make reinstall clean So, in the interests of science I decided to simply link libopenal.so to libopenal.so.0, and I got back to the old message again. Searching on google hasn't revealed anything either. I'm running FreeBSD-RC2 AMD64 (I know... I have to update to RELEASE. I'll be doing that as soon as I get a replacement HDD in this unit here - this one's on its last legs). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Warming and CPU work % above normal(comparing to Fedora Linux).SpeedStep not working?
В Thu, 15 Apr 2010 17:15:20 +0100 Luca Renaud renaud.l...@gmail.com пишет: Comparing my FreeBSD8 and FedoraLinux12 systems (both using KDE and running on the same computer Dell netbook) I notice on the Bottom bar monitoring CPU graph that the CPU under FreeBSD8 is in average 40% above the FedoraLinux12 -comparison for the exactly same type of computing tasks-.The warming of the netbook for example,after 1 hour running is clearly higher with FreeBSD8 than with FedoraLinux12. Is this SpeedStep not running on one system and running on the other,or is there something configurable on FreeBSD which must be done manually and it is not done automatically to approximate the charge on the CPU under FreeBSD to the FedoraLinux? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Maybe you need to add in /etc/rc.conf something like powerd_enable=YES powerd_flags=-a hiadaptive -b adaptive -p 100 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org