bwi spitting out errors during bootstrap
bwi: base tssi measure failed bwi: need multicast callback update Ok, the second error repeats, but it looks like a ToDo item for the programmer. I'm running FreeBSD 8, and bwi is new in 8. ___ 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: Where is gfortran in FreeBSD 7.2 Release (i386)?
On Tue, Dec 22, 2009 at 12:31:13AM +0100, Erik Trulsson wrote: On Mon, Dec 21, 2009 at 01:14:22PM -0800, Jeff Hamann wrote: I've been trying to figure out where gfortran went since it doesn't appear in the /usr/ports collection in FreeBSD 7.2 (i386). I need it to build plots of numerical things and use the following lots: ./configure \ CC=gcc -arch i386 \ CXX=g++ -arch i386 \ OBJC=gcc -arch i386 \ F77=gfortran -arch i386 \ FC=gfortran -arch i386 \ --with-python \ --with-openssl My web searches turn up lots of on-responses (i.e. you shouldn't be using fortran anway's it's dead...), and I seem to have gcc42 installed. $ gcc -v Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] $ A little help please? Install the lang/gcc44 port which includes Fortran support. The Fortran compiler will be installed as gfortran44. there's no fortran compiler in base since 7 branch (I think). You need to get one from ports. The default now is gcc44, but if you want you can try gcc45 or 43. gcc44 is best, if it builds for you, because most fortran-dependent ports will want gfortran44. An alternative is lang/g95. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: editing a binary file
well, one of my colleagues pointed out a feature of fortran 2003, which I, being an idiot, have missed. YOu have access='stream' in f2003, which is all I need. No record separators, just data. many thanks for all your help and advice. anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: ZFS: Strange performance issues
Hello, I'm seeing exactly the same issues on my 5 disk raidz pool again. In brief: I can only write to the filesystem at ~20MB/s, and read from it at ~25MB/s. Normally, I'd expect to be able to write at nearer 50-100 MB/s, and read at ~200MB/s. The values from zpool iostat -v are also strange. When writing to the pool, I get sensible values, whereby the pool write rate matches the rate reported by dd, and each of the five drives reports a quarter of this rate. When reading from the filesystem, the pool read rate is ~200MB/s, with each drive reading at ~40MB/s. The read rate that dd reports is still 25MB/s however. The last time that this happened, I concluded that ZFS had simply ceased to perform any caching, which would apparently explain the above observations. A reboot fixed this issue, and the assumption of caching problems seemed borne out by the change in kstat.zfs.misc.arcstats.p, .c and .size: Before reboot*: kstat.zfs.misc.arcstats.p: 21353344 kstat.zfs.misc.arcstats.c: 21353344 kstat.zfs.misc.arcstats.size: 29774848 After reboot: kstat.zfs.misc.arcstats.p: 412187380 kstat.zfs.misc.arcstats.c: 415807010 kstat.zfs.misc.arcstats.size: 416037376 I had guessed that this caching problem was due to some unexpected pressure on memory, but had rebooted the system before thinking to check! Seeing the same issues again, I am now in a position to investigate further. I see the same reduced values in kstat.zfs.misc.arcstats.*: kstat.zfs.misc.arcstats.p: 21353344 kstat.zfs.misc.arcstats.c: 21353344 kstat.zfs.misc.arcstats.size: 29774848 I'm not sure exactly how to interpret stats from top, but there doesn't appear to be anying amiss: Mem: 340M Active, 765M Inact, 686M Wired, 976K Cache, 211M Buf, 162M Free Swap: 8192M Total, 1152K Used, 8191M Free Before I restart this system, can anyone suggest anything to further diagnose whats going on here? What exactly do arcstats.(p|c) mean, and would increasing arcstats.c_min perhaps help? Kind Regards, Christopher Key * The stats before the reboot in my previous post were incorrect. I still have them archived, and include them here for future reference. vfs.zfs.arc_min: 21353344 vfs.zfs.arc_max: 512480256 vfs.zfs.mdcomp_disable: 0 vfs.zfs.prefetch_disable: 0 vfs.zfs.zio.taskq_threads: 0 vfs.zfs.recover: 0 vfs.zfs.vdev.cache.size: 10485760 vfs.zfs.vdev.cache.max: 16384 vfs.zfs.cache_flush_disable: 0 vfs.zfs.zil_disable: 0 vfs.zfs.debug: 0 kstat.zfs.misc.arcstats.hits: 512541171 kstat.zfs.misc.arcstats.misses: 39560635 kstat.zfs.misc.arcstats.demand_data_hits: 156634097 kstat.zfs.misc.arcstats.demand_data_misses: 5743443 kstat.zfs.misc.arcstats.demand_metadata_hits: 303622664 kstat.zfs.misc.arcstats.demand_metadata_misses: 5425923 kstat.zfs.misc.arcstats.prefetch_data_hits: 4293179 kstat.zfs.misc.arcstats.prefetch_data_misses: 28037490 kstat.zfs.misc.arcstats.prefetch_metadata_hits: 47991231 kstat.zfs.misc.arcstats.prefetch_metadata_misses: 353779 kstat.zfs.misc.arcstats.mru_hits: 43042878 kstat.zfs.misc.arcstats.mru_ghost_hits: 16196037 kstat.zfs.misc.arcstats.mfu_hits: 420079251 kstat.zfs.misc.arcstats.mfu_ghost_hits: 3400520 kstat.zfs.misc.arcstats.deleted: 29558675 kstat.zfs.misc.arcstats.recycle_miss: 14747429 kstat.zfs.misc.arcstats.mutex_miss: 12390 kstat.zfs.misc.arcstats.evict_skip: 330353811 kstat.zfs.misc.arcstats.hash_elements: 1410 kstat.zfs.misc.arcstats.hash_elements_max: 30816 kstat.zfs.misc.arcstats.hash_collisions: 10467654 kstat.zfs.misc.arcstats.hash_chains: 31 kstat.zfs.misc.arcstats.hash_chain_max: 8 kstat.zfs.misc.arcstats.p: 21353344 kstat.zfs.misc.arcstats.c: 21353344 kstat.zfs.misc.arcstats.c_min: 21353344 kstat.zfs.misc.arcstats.c_max: 512480256 kstat.zfs.misc.arcstats.size: 29774848 ___ 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
Setting fonts and other defaults in Xorg--new q? on font menu
2) fonts: There are a couple of cool commands, fc-list and xfontsel to list the installed fonts. I used these to set fonts after testing options by starting some variations with xterm -fa 'Liberation Mono' -fs 10 xterm -fa Bitstream Vera Sans Mono -fs 9 After finding what you like simply add the lines to ~/.Xdefaults: XTerm*faceName: Liberation Mono XTerm*faceSize: 10 Is there a way to change the contents of the xterm font menu without editing the xterm source? If so, how to do it? Mark Terribile ___ 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: Loadbalance outgoing traffic over two cable modems in same network
On 22/12/2009 00:46, Mel Flynn wrote: On Monday 21 December 2009 09:56:11 Nikos Vassiliadis wrote: On 12/21/2009 6:03 AM, Mel Flynn wrote: Hi, I've looked over http://www.openbsd.org/faq/pf/pools.html but this assumes two different gateways for the two interfaces. I'm faced with two cable modems from the same ISP, with the same gateway. I can't lagg(4) the interfaces, since specific IP's are bound to specific modems. This can probably be fixed from the ISP side. It should probably be some antispoofing rule that drops the packets you are sending via the wrong interface. You could try communicating the problem to the ISP and hope for the best... I'd rather not go that route. However, I might ask the ISP to move swap two IP's, so that I have two consecutive IPs on two modems and can use /31 notation for the pool. Source hash should then work better. So I'm wondering if using stick-address with a round-robin nat pool is really sufficient to do load balancing of outgoing traffic and not get into session problems with various protocols. Has anybody had similar experiences? I have no experience on this, but theoretically a state can expire while the upper layers are still active... so, I *think* you may have problems... Of course, you could increase the lifetime of states True, I'm mostly worried about DNS queries and other UDP protocols. TCP should theoretically be fine. Thanks for your feedback. Would ECMP (aka RADIX_MPATH) not be suitable for your requirements ?? 2 default routes, one to each of the modems IP's ... that should start bunting traffic down both pipes. Works for me here... = Equal cost multipath routing Status: Committed to 8-CURRENT Will appear in 8.0: sure Authors: Qing Li Web: commit message ECMP routing allows for multiple routes to be handled by the kernel, including default routes. It potentially offers substantial increases in bandwidth by load-balancing traffic over multiple paths. = http://en.wikipedia.org/wiki/Equal-cost_multi-path_routing http://lists.freebsd.org/pipermail/cvs-src/2008-April/089956.html /Craig B ___ 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: Signal over range, WAS: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.
On Sun, Dec 20, 2009 at 11:20:12PM +0100, Marius Strobl wrote: On Sun, Dec 20, 2009 at 10:10:10PM +, Anton Shterenlikht wrote: On Sun, Dec 20, 2009 at 04:00:05PM +0100, Marius Strobl wrote: On Sat, Dec 19, 2009 at 09:48:03PM +, Anton Shterenlikht wrote: I've built X without hal, but get this error on X -configure: Actually when running `X -configure` or when trying to use the resulting /root/xorg.conf.new? This looks more like an error in the configuration file and the results returned by google for this failure message suggest that this can be due to the server not being able to load a configured module. Anyway, I'd try to use the resulting xorg.conf.new and if that fails manually checking its contents and removing unnecessary and unavailable stuff like DRI for example. yes, on 'X -configure'. Removing modules doesn't help. and then on 'X -config ./xorg.conf.new': Could you please make that xorg.conf.new available somewhere? ok, I moved a step further. 'X -configure' is now successful. All I had to do is to move the graphics card to another pci slot. Perhaps where xvr600 was, is not a standard pci slot at all? pgx64 worked fine there in the text mode, but not in the graphics mode. So now I'm stopped with Signal over range message reported by the monitor firmware (?). The card seems to be detected, the scan frequencies I put are from the manufacturer's specs, but still something is wrong. I put conf and log files here: http://seis.bris.ac.uk/~mexas/freebsd/xorg.conf.new http://seis.bris.ac.uk/~mexas/freebsd/Xorg.0.log I also get this on the console: (++) Using config file: ./xorg.conf.new failed to unset mtrr: Operation not supported by device failed to unset mtrr: Operation not supported by device ^Cfailed to unset mtrr: Operation not supported by device failed to unset mtrr: Operation not supported by device # not sure if this matters.. Please advise many thanks all your help and support -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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
Help with ipfw please
Im trying to add a basic rule in my ipfw. My server has 2 network address, one for external access (x.x.x.x) and other for the local network(y.y.y.y). The mysql is binded to the local network, but I would like to allow my home computer (z.z.z.z) to connect to the mysql by the external ip. so basicaly im trying to do is: if request comes from z.z.z.z to y.y.y.y:3306 redirect to x.x.x.x:3306 I tryed some configuration but I ended locked outside the machine... ___ 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: cups-1.4.2 usb printer not recognized [solved]
Am Freitag, den 18.12.2009, 04:41 +0100 schrieb Peter Ulrich Kruppa: Am Dienstag, den 15.12.2009, 07:28 -0500 schrieb Lowell Gilbert: Peter Ulrich Kruppa ulr...@pukruppa.net writes: since my update to cups-1.4.2 I can't print anymore :-( I have got a HP Deskjet 990 Cxi attached to an USB port. My system is a FreeBSD 8.0 -STABLE amd64. I can cat some words to /dev/ulpt0 but that's about all. When I access http://localhost:631 no local printer will show up. Any ideas? I'm still not on 8, but I understand that ulpt is no longer appropriate with the new USB stack and libusb. Remove ulpt from the kernel and I think you'll find CUPS detects the printer properly. Hm,...yes after some deinstalling/reinstalling and kernel building now cups will find this: hp:/usb/Deskjet_990C?serial=ES0731D00XLG But when I try to print the test page I get this error message: /usr/local/libexec/cups/backend/hp failed (I am running hplip-3.9.8 backend.) For the records: with latest portstree - some patches have been commited during the last days - and a # portupgrade -arf which took some time, print/cups and print/hplip now will recognize my USB-printer correctly. ulpt doesn't have to be removed from the kernel, I tested that. Of course permissions for the ugen device have to be set so that cups can access it. Thanks to everyone who repaired the ports! Uli. Any more ideas? Thanks Uli. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wireless interface says privacy OFF
On 12/22/09, Steven Friedrich free...@insightbb.com wrote: What does privacy mean and why isn't it explained in any man page? Here's my ifconfig: wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:14:a5:2a:a5:db inet 192.168.2.254 netmask 0xff00 broadcast 192.168.2.255 media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g status: associated ssid FriedrichAir channel 1 (2412 Mhz 11g) bssid 00:17:3f:f1:3d:50 country US authmode WPA privacy OFF txpower 0 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 protmode CTS roaming MANUAL This wlan0 is configured to a NDIS wrapped Windows Ethernet driver. New in 8.0, the bwi driver supports the same hardware. When I get the ifconfig for wlan0 when it's configured for he bwi driver, privacy said ON. What exactly does privacy mean and do I want it ? Ignore it, if_ndis.c just forgot to set IEEE80211_F_PRIVACY flag. It set that flag mistakenly only when WEP is enabled. -- Paul B Mahol ___ 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: Compiling only shared libraries?
On Mon, Dec 21, 2009 at 03:00:27PM -0800, Matthew Fleming wrote: We have a bunch of libraries to support our product and as far as I know we only link to the shared library version. I'd like to skip the build of the static version of our libraries to speed up our builds and save on disk space, but I don't see any way to do that via directives in the Makefiles. I didn't see anything in bsd.lib.mk which would indicate this can be done. Is this even possible? Just write your own Makefile. See the snippets below; BASENAME = foo VERSION_MAJOR = 1 VERSION_MINOR = 0 ... OBJS = bar.o baz.o ... ... SHARED= lib$(BASENAME).so.$(VERSION_MAJOR).$(VERSION_MINOR) ... # build the shared library $(SHARED): $(OBJS) cc -shared -Wl,-soname,lib$(BASENAME).so.$(VERSION_MAJOR) \ -o $(SHARED) $(OBJS) $(LIBS) strip -g --strip-unneeded $(SHARED) 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) pgpr4nw699mKZ.pgp Description: PGP signature
Re: FreeBSD beastie plush toy?
You can find here too http://shop.mensys.nl/uk/catalogue/mns_FreeBSDDaemon.html --- En date de : Lun 21.12.09, Bruce Cran br...@cran.org.uk a écrit : De: Bruce Cran br...@cran.org.uk Objet: Re: FreeBSD beastie plush toy? À: Aleksandr Miroslav alexmiros...@gmail.com Cc: freebsd-questions@freebsd.org Date: Lundi 21 Décembre 2009, 19h47 On Mon, 21 Dec 2009 13:41:05 -0500 Aleksandr Miroslav alexmiros...@gmail.com wrote: Where can I purchase a FreeBSD beastie plush toy? Something like http://www.freebsdmall.com/cgi-bin/fm/bsdbeanie?id=NkWSe8g8mv_pc=144 ? -- Bruce Cran ___ 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
anybody uses Netgear WG311T PCI wireless card? any issues?
It's quite confusing trying to figure out which card is which. ath(4) only gives chipsets as AR5210, AR5211, AR5212 and AR5416. But the manufacturers rarely say which chipsets their cards are using. After some search I can see that Netgear WG311T is ar5212, so should be supported. But, just to double check, is anybody using this card? Any issues? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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
Help building/running SDL/OpenGL code
I developed a small molecular dynamics simulation under Linux some time ago. Since recently moving to FreeBSD I thought that I'd try to get it running here, too. However, although I am able to get the code to build, it dumps core -- apparently before getting to any user code! During the build (linking phase) I get one error which seems to be a pointer to the source of the problem: = gcc -Wall -L/usr/local/lib -o lennardjones main.o anim-thread.o ode.o gasdynamics.o eyedynamics.o -lSDL -lSDL_gfx -lm -lGLU /usr/bin/ld: warning: libm.so.3, needed by /usr/local/lib/libGL.so.1, may conflict with libm.so.5 = Note the last two lines. (I have included the two previous lines to show the dependent libraries, if that helps.) Important information: 1) I am running the code on an i386 machine with the NVIDIA driver (nvidia- driver-173 for an old FX 5200). 2) I installed the Mesa Libs after installing the NVIDIA driver. I then thought this might produce a conflict with the Nvidia-supplied GL libs, so un- installed the NVIDIA driver. Then re-installed after installing mesa-demos. 3) glxinfo | grep -i render reports: direct rendering: Yes OpenGL renderer string: GeForce FX 5200/PCI/SSE2 4) glxgears runs without problems When I uninstall the NVIDIA driver and build the code, the linker error above disappears and the code runs to the point where I can select the graphics mode, i.e., it executes user code without dumping core. However, selecting any mode now gives (somewhat expectedly): === selected video mode is: 1280 x 1024 (32 bpp) Could not set video mode: Couldn't find matching GLX visual === So, it appears that there is some conflict between the mesa libraries (which I need to #include to build the code) and the NVIDIA-supplied libraries, or am I on the wrong track? Can anyone shed some light on this? I've spent quite some time on what first appeared to be a fairly trivial task and I am eager to see how this runs under FreeBSD. Thanks in advance... -Richard ___ 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 port : audio/mpdscribble
I have found a solution to my problem. I have created a directory mpdscribble in /var/run Then, I changed rights of /var/run/mpdscribble to 777 and I rebooted the system. At startup, there were no error message. In /var/run/mpdscribble the pid file was present and was owned by nobody user. Then I changed the owner of ths directory to nobody user (owner), and I 'chmoded' 755 on the directory. Now I can start mpdscribble at startup without error. I hope this can be useful for others. Thanks. Alexandre L. ___ 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: anybody uses Netgear WG311T PCI wireless card? any issues?
On Tue, Dec 22, 2009 at 02:23:26PM +, Anton Shterenlikht wrote: It's quite confusing trying to figure out which card is which. ath(4) only gives chipsets as AR5210, AR5211, AR5212 and AR5416. But the manufacturers rarely say which chipsets their cards are using. If you are looking at a certain card, download the windoze drivers from the manufacturers website and extract them (using e.g. cabextract) somewhere. Then you can keep into the .INF files for the drivers. Those usually give you the chipset info you're looking for. After some search I can see that Netgear WG311T is ar5212, so should be supported. But, just to double check, is anybody using this card? Any issues? Unfortunately you cannot count on all cards using the same chipset. On some cards you can see the chips, but not on this particular model, it seems. See http://kbserver.netgear.com/products/WG311.asp (not about the T model, but you get the drift) Recently, I bought a Sitecom WL-171 v1 after I spotted a Ralink RT2561 chip on the card. Unfortunately, the only method to check if it _really_ works is to try it. 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) pgpDCeg5Zbg6u.pgp Description: PGP signature
Re: Help building/running SDL/OpenGL code
On Tue, Dec 22, 2009 at 05:36:19PM +0200, Richard Mace wrote: I developed a small molecular dynamics simulation under Linux some time ago. Since recently moving to FreeBSD I thought that I'd try to get it running here, too. However, although I am able to get the code to build, it dumps core -- apparently before getting to any user code! During the build (linking phase) I get one error which seems to be a pointer to the source of the problem: = gcc -Wall -L/usr/local/lib -o lennardjones main.o anim-thread.o ode.o gasdynamics.o eyedynamics.o -lSDL -lSDL_gfx -lm -lGLU /usr/bin/ld: warning: libm.so.3, needed by /usr/local/lib/libGL.so.1, may conflict with libm.so.5 = Note the last two lines. (I have included the two previous lines to show the dependent libraries, if that helps.) Looks like the libGL supplied by nvidia was built for FreeBSD 5. Try installing the /usr/ports/misc/compat5x port. That includes libm.so.3, and might help. If you are not running the GENERIC kernel, make sure your kernel contains the right COMPAT_FREEBSD5, COMPAT_FREEBSD6 and COMPAT_FREEBSD7 options. 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) pgpGFpqFBYHin.pgp Description: PGP signature
want to configure an old HP 6000 omnibook
And I can get the basic screens up but have no working keyboard or mouse. To each of you, thank you very much for your assistance. ___ 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: Help with ipfw please
Здравствуйте, Tiago. Вы писали 22 декабря 2009 г., 14:59:50: T Im trying to add a basic rule in my ipfw. T My server has 2 network address, one for external access (x.x.x.x) and other T for the local network(y.y.y.y). T The mysql is binded to the local network, but I would like to allow my home T computer (z.z.z.z) to connect to the mysql by the external ip. T so basicaly im trying to do is: if request comes from z.z.z.z to T y.y.y.y:3306 redirect to x.x.x.x:3306 T I tryed some configuration but I ended locked outside the machine... You need -redirect_port man natd: For example, the argument tcp inside1:telnet -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
FTDI's FT232R device driver
Hello, Are you aware of any this driver available? Thanks. Mike ___ 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: Help with ipfw please
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 22 Dec 2009, Коньков Евгений wrote: |Здравствуйте, Tiago. | |Вы писали 22 декабря 2009 г., 14:59:50: | |T Im trying to add a basic rule in my ipfw. |T My server has 2 network address, one for external access (x.x.x.x) and other |T for the local network(y.y.y.y). |T The mysql is binded to the local network, but I would like to allow my home |T computer (z.z.z.z) to connect to the mysql by the external ip. |T so basicaly im trying to do is: if request comes from z.z.z.z to |T y.y.y.y:3306 redirect to x.x.x.x:3306 |T I tryed some configuration but I ended locked outside the machine... | |You need -redirect_port |man natd: Also it could be done at kernel-level with ipnat. Simple rule doing something like DNAT looks like (/etc/ipnat.conf): rdr input_if_name z.z.z.z port 3306 - x.x.x.x port 3306 tcp After when /etc/ipnat.conf is prepared, say ipnat -f /etc/ipnat.conf and see active sessions with ipnat -l. Good luck. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFLMPnnbt6QiUlK9twRAi2SAJ9FW9gdsHFBM6ZVrZhuIrPur7jdXACff/7z qe3vBcSjtevHsD5wKaJRVSg= =BIyk -END PGP SIGNATURE-___ 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: Help building/running SDL/OpenGL code
On Tuesday 22 December 2009 18:28:07 you wrote: On Tue, Dec 22, 2009 at 05:36:19PM +0200, Richard Mace wrote: I developed a small molecular dynamics simulation under Linux some time ago. Since recently moving to FreeBSD I thought that I'd try to get it running here, too. However, although I am able to get the code to build, it dumps core -- apparently before getting to any user code! During the build (linking phase) I get one error which seems to be a pointer to the source of the problem: = gcc -Wall -L/usr/local/lib -o lennardjones main.o anim-thread.o ode.o gasdynamics.o eyedynamics.o -lSDL -lSDL_gfx -lm -lGLU /usr/bin/ld: warning: libm.so.3, needed by /usr/local/lib/libGL.so.1, may conflict with libm.so.5 = Note the last two lines. (I have included the two previous lines to show the dependent libraries, if that helps.) Looks like the libGL supplied by nvidia was built for FreeBSD 5. Try installing the /usr/ports/misc/compat5x port. That includes libm.so.3, and might help. If you are not running the GENERIC kernel, make sure your kernel contains the right COMPAT_FREEBSD5, COMPAT_FREEBSD6 and COMPAT_FREEBSD7 options. Roland Thanks, Roland. Apparently /usr/ports/misc/compat5x is installed: toutatis# make install clean === Installing for compat5x-i386-5.4.0.8_11 === compat5x-i386-5.4.0.8_11 depends on file: /usr/local/share/compat/locale/UTF-8/LC_CTYPE - found === Generating temporary packing list === Checking if misc/compat5x already installed === compat5x-i386-5.4.0.8_11 is already installed = And... ls -al /usr/local/lib/compat/libm.* -r--r--r-- 1 root wheel 120004 Dec 13 06:18 /usr/local/lib/compat/libm.so. I am using the stock 8.0-RELEASE kernel on a 3-week old install. Any other ideas on where the conflict/problem may lie? -Richard ___ 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: Help with ipfw please
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 22 Dec 2009, Igor V. Ruzanov wrote: |-BEGIN PGP SIGNED MESSAGE- |Hash: SHA1 | |On Tue, 22 Dec 2009, Коньков Евгений wrote: | ||Здравствуйте, Tiago. || ||Вы писали 22 декабря 2009 г., 14:59:50: || ||T Im trying to add a basic rule in my ipfw. ||T My server has 2 network address, one for external access (x.x.x.x) and other ||T for the local network(y.y.y.y). ||T The mysql is binded to the local network, but I would like to allow my home ||T computer (z.z.z.z) to connect to the mysql by the external ip. ||T so basicaly im trying to do is: if request comes from z.z.z.z to ||T y.y.y.y:3306 redirect to x.x.x.x:3306 ||T I tryed some configuration but I ended locked outside the machine... || ||You need -redirect_port ||man natd: | |Also it could be done at kernel-level with ipnat. Simple rule doing |something like DNAT looks like (/etc/ipnat.conf): | |rdr input_if_name z.z.z.z port 3306 - x.x.x.x port 3306 tcp Oh sorry! z.z.z.z necessary to replace with x.x.x.x from your task (external IP), and x.x.x.x by y.y.y.y from your task (private IP). +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFLMPz8bt6QiUlK9twRApFzAJ9OPj1QP/Asxen3aprWPFtTaxT6AwCfcjZc C42ztGPXSqJRP3LeZ9zK/Ok= =ZZvR -END PGP SIGNATURE-___ 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: Help building/running SDL/OpenGL code
On Tue, Dec 22, 2009 at 07:06:47PM +0200, Richard Mace wrote: On Tuesday 22 December 2009 18:28:07 you wrote: On Tue, Dec 22, 2009 at 05:36:19PM +0200, Richard Mace wrote: I developed a small molecular dynamics simulation under Linux some time ago. Since recently moving to FreeBSD I thought that I'd try to get it running here, too. However, although I am able to get the code to build, it dumps core -- apparently before getting to any user code! During the build (linking phase) I get one error which seems to be a pointer to the source of the problem: = gcc -Wall -L/usr/local/lib -o lennardjones main.o anim-thread.o ode.o gasdynamics.o eyedynamics.o -lSDL -lSDL_gfx -lm -lGLU /usr/bin/ld: warning: libm.so.3, needed by /usr/local/lib/libGL.so.1, may conflict with libm.so.5 = Note the last two lines. (I have included the two previous lines to show the dependent libraries, if that helps.) Looks like the libGL supplied by nvidia was built for FreeBSD 5. Try installing the /usr/ports/misc/compat5x port. That includes libm.so.3, and might help. If you are not running the GENERIC kernel, make sure your kernel contains the right COMPAT_FREEBSD5, COMPAT_FREEBSD6 and COMPAT_FREEBSD7 options. Roland Thanks, Roland. Apparently /usr/ports/misc/compat5x is installed: toutatis# make install clean === Installing for compat5x-i386-5.4.0.8_11 === compat5x-i386-5.4.0.8_11 depends on file: /usr/local/share/compat/locale/UTF-8/LC_CTYPE - found === Generating temporary packing list === Checking if misc/compat5x already installed === compat5x-i386-5.4.0.8_11 is already installed = And... ls -al /usr/local/lib/compat/libm.* -r--r--r-- 1 root wheel 120004 Dec 13 06:18 /usr/local/lib/compat/libm.so. I am using the stock 8.0-RELEASE kernel on a 3-week old install. Any other ideas on where the conflict/problem may lie? What version of the nvidia driver are you using? Have a look at the x11-drivers/xf86-video-nouveau port. Maybe that works for you? (BTW, problems like these are why I avoid proprietary drivers like the plague) 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) pgp28nCNeUz1e.pgp Description: PGP signature
.Xdefaults file
On my desktop box I settled on an xterm font and font size by experimenting thus: xterm -fa 'Bitstream Vera Sans Mono' -fs 10 I went through a number of fonts until I settled on the one I liked most. Then I created an .Xdefaults file in my home directory which included: Xterm*faceName Bitstream Vera Sans Mono Xterm*faceSize 10 Everything works fine. However, when I tried to to this on my old Compaq Presario on which I have 7.2 installed it doesn't work. Oddly, I can create an xterm window using the original xterm command that I used when I was experimenting with fonts, and the window opens and is rendered correctly, but I can't get X to read the .Xdefaults file. Any ideas on why .Xdefauts works on the desktop box but not the laptop? Rem ___ 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: Help building/running SDL/OpenGL code
On Tuesday 22 December 2009 19:31:31 you wrote: What version of the nvidia driver are you using? The one in /usr/ports/x11/nvidia-driver-173. I have to use this for the aging FX 5200. Have a look at the x11-drivers/xf86-video-nouveau port. Maybe that works for you? (BTW, problems like these are why I avoid proprietary drivers like the plague) I'm rendering a whole bunch of molecules (spheres), moving a camera and at the same time doing quite a bit of CPU intensive numerical integration of a whole slew of coupled ordinary differential equations -- I need the speed of the GPU (read proprietary driver) to relieve the CPU and avoid a slide show. (This works very nicely with dual core CPUs: I use one thread for the rendering and another for the numerics.) I'll keep digging (and getting educated, I guess). Incidentally, in Debian GNU/Linux they have a system of clever diverts which avoid these kinds of library clashes. Thanks -Richard ___ 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 panic on SATA drive
You may wish to check and see if your firmware is up-to-date on all of your disk drives, and your controller. On Mon, Dec 21, 2009 at 10:40:10PM +0200, Alex thus spake: Dear John, Any progress for bellow? I have the same problem with PCI SATA Controller ST-Lab A-173 Sil3512 It's not RAID, but when copying to HDD: LOG--- ad6:FAILURE - device detached g_vfs_done():ad6s1f[WRITE(offset=38007275520, length=131072)]error = 6 /usr: got error 6 while accessing filesystem panic: softdep_deallocate_dependencies: unrecovered I/O error cpuid = 0 Uptime: 2m18s Physical memory: 243 MB Dumping 58 MB:unknown: timeout waiting to issue command unknown: error issuing WRITE_DMA command ** DUMP FAILED (ERROR 5) ** Automatic reboot in 15 seconds - press any key on the console to abort ---END LOG- Brgrds, Alex I've been having an intermittent problem, wonder if someone on the list has any ideas. First my setup: FreeBSD 7.2-RELEASE (amd64) quad-core Phenom processor mobo: MSI K9N2G Neo chipset: NVIDIA GeForce 8200, which FreeBSD recognizes as nForce (not sure how that works) I have a 3ware RAID card (RAID 1), which is the boot device. A seagate drive connected via SATA A WD external drive via USB I will have the system running fine, then the seagate will apparently fall off the bus, resulting in a panic. The dump fails as well, presumably due to the 3ware driver not being able to handle the panic? not sure... If anyone knows a way I can get the dump to succeed, I'd appreciate that info, too. See below output for details. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kernel panic on SATA drive
On Tue, Dec 22, 2009 at 11:52 AM, Jason jhelf...@e-e.com wrote: = Any progress for bellow? I have the same problem with PCI SATA Controller ST-Lab A-173 Sil3512 It's not RAID, but when copying to HDD: LOG--- ad6:FAILURE - device detached g_vfs_done():ad6s1f[WRITE(offset=38007275520, length=131072)]error = 6 /usr: got error 6 while accessing filesystem panic: softdep_deallocate_dependencies: unrecovered I/O error cpuid = 0 Uptime: 2m18s Physical memory: 243 MB Dumping 58 MB:unknown: timeout waiting to issue command unknown: error issuing WRITE_DMA command ** DUMP FAILED (ERROR 5) ** Automatic reboot in 15 seconds - press any key on the console to abort ---END LOG- Brgrds, Alex I just had a drive do the same, it was dying. -- Adam Vande More ___ 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: .Xdefaults file
On Tue, Dec 22, 2009 at 09:38:19AM -0800, Rem P Roberti wrote: rendered correctly, but I can't get X to read the .Xdefaults file. ideas on why .Xdefauts works on the desktop box but not the laptop? Could it be that you need to make sure your xterm is executing a login shell when it starts, such as: xterm*loginShell: true ... in your .Xdefaults file Jamie pgpbxPjZbxSBm.pgp Description: PGP signature
fsck fat32 fs
Hi, Do you have any idea how to run fsck to a FAT32 fs, I tried fsck_msdosfs but it seems that is not for FAT32, I always get the following: root# fsck_msdosfs -y /dev/da0s1 ** /dev/da0s1 backup doesn't compare to primary bootblock Thank you! László ___ 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: Signal over range, WAS: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.
On Tue, 22 Dec 2009, Anton Shterenlikht wrote: ok, I moved a step further. 'X -configure' is now successful. All I had to do is to move the graphics card to another pci slot. Perhaps where xvr600 was, is not a standard pci slot at all? pgx64 worked fine there in the text mode, but not in the graphics mode. So now I'm stopped with Signal over range message reported by the monitor firmware (?). The card seems to be detected, the scan frequencies I put are from the manufacturer's specs, but still something is wrong. I put conf and log files here: http://seis.bris.ac.uk/~mexas/freebsd/xorg.conf.new http://seis.bris.ac.uk/~mexas/freebsd/Xorg.0.log Manually setting a single mode is probably the easiest: Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth 24 SubSection Display Viewport 0 0 Depth 24 Modes 1280x1024 EndSubSection EndSection That might be enough, or you might have to go to 1024x768. You could limit the entries in the Monitor section to trick the card into picking a single reasonable mode, like VertRefresh 70, or HorizSync 30-50. (Assuming this is a CRT. If it's an LCD, use VertRefresh 60.) Incidentally, Radeon 7000 cards are available in standard PCI for $20 or so. Not a great card, but quite an upgrade over a Mach64, and supported by a current driver. -Warren Block * Rapid City, South Dakota USA ___ 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: Help building/running SDL/OpenGL code
On Tue, Dec 22, 2009 at 07:50:19PM +0200, Richard Mace wrote: On Tuesday 22 December 2009 19:31:31 you wrote: What version of the nvidia driver are you using? The one in /usr/ports/x11/nvidia-driver-173. I have to use this for the aging FX 5200. Have a look at the x11-drivers/xf86-video-nouveau port. Maybe that works for you? (BTW, problems like these are why I avoid proprietary drivers like the plague) I'm rendering a whole bunch of molecules (spheres), moving a camera and at the same time doing quite a bit of CPU intensive numerical integration of a whole slew of coupled ordinary differential equations -- I need the speed of the GPU (read proprietary driver) to relieve the CPU and avoid a slide show. (This works very nicely with dual core CPUs: I use one thread for the rendering and another for the numerics.) In this case it might be better to invest in a more recent graphics card. Currently Radeons (up to and including R6xx/R7xx) are better supported by open source drivers than nvidia. I'll keep digging (and getting educated, I guess). Incidentally, in Debian GNU/Linux they have a system of clever diverts which avoid these kinds of library clashes. As far as I know, the compat libraries are meant to be able to keep using old binaries on newer systems. I do not think they were ever meant to be used in a mixed (as in linking with both libm.so.3 and libm.so.5) environment. From experience (botched ports upgrade going from 6.x to 7) I know that having a program linked to different versions of the same library can result in interesting experiences (i.e. crashes). There are several things you could try, from building your app and the libraries it needs on a 5.x machine to trying to get the libGL to link with the current libm. Whatever you do, it will probably end up being a kludge. 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) pgpwZhyj1kY0A.pgp Description: PGP signature
Re: Signal over range, WAS: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.
On Tue, Dec 22, 2009 at 11:12:35AM -0700, Warren Block wrote: On Tue, 22 Dec 2009, Anton Shterenlikht wrote: ok, I moved a step further. 'X -configure' is now successful. All I had to do is to move the graphics card to another pci slot. Perhaps where xvr600 was, is not a standard pci slot at all? pgx64 worked fine there in the text mode, but not in the graphics mode. So now I'm stopped with Signal over range message reported by the monitor firmware (?). The card seems to be detected, the scan frequencies I put are from the manufacturer's specs, but still something is wrong. I put conf and log files here: http://seis.bris.ac.uk/~mexas/freebsd/xorg.conf.new http://seis.bris.ac.uk/~mexas/freebsd/Xorg.0.log Manually setting a single mode is probably the easiest: Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth 24 SubSection Display Viewport 0 0 Depth 24 Modes 1280x1024 EndSubSection EndSection That might be enough, or you might have to go to 1024x768. You could limit the entries in the Monitor section to trick the card into picking a single reasonable mode, like VertRefresh 70, or HorizSync 30-50. (Assuming this is a CRT. If it's an LCD, use VertRefresh 60.) Warren, thank you, but this doesn't help. I've added: Section Monitor Identifier Monitor0 HorizSync 30-50 VertRefresh 60 EndSection Section Device Identifier Card0 Driver mach64 BusID PCI:0:2:0 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth24 SubSection Display Viewport 0 0 Depth 24 Modes 1280x1024 EndSubSection EndSection This is an LCD monitor, and the manuf. specs state max res 1280x1024 horizontal: 30-80 vertical: 50-75 I tried modes down to 800x600 - no change. I noticed also this error: (EE) [drm] drmOpen failed. (EE) MACH64(0): [dri] DRIScreenInit Failed should I add device drm to the kernel? Just to remind, this is sparc64. Incidentally, Radeon 7000 cards are available in standard PCI for $20 or so. Not a great card, but quite an upgrade over a Mach64, and supported by a current driver. wow.. you mean on sparc64? I didn't know. If it'll work on sparc, this would be great. There are many more radeon 7000 on offer than pgx64. many thanks as always anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: .Xdefaults file
On 2009.12.22 18:03:00 +, Jamie Griffin wrote: On Tue, Dec 22, 2009 at 09:38:19AM -0800, Rem P Roberti wrote: rendered correctly, but I can't get X to read the .Xdefaults file. ideas on why .Xdefauts works on the desktop box but not the laptop? Could it be that you need to make sure your xterm is executing a login shell when it starts, such as: xterm*loginShell: true ... in your .Xdefaults file Jamie That was a good idea, but unfortunately it didn't work. Rem ___ 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: Signal over range, WAS: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.
On Tue, 22 Dec 2009, Anton Shterenlikht wrote: Warren, thank you, but this doesn't help. I've added: Section Monitor Identifier Monitor0 HorizSync 30-50 VertRefresh 60 EndSection Section Device Identifier Card0 Driver mach64 BusID PCI:0:2:0 EndSection Hmm. Some web searching says non-Intel platforms might need a different reference clock: http://www.gentoo.org/doc/en/gentoo-sparc-faq.xml#doc_chap4_sect1 (EE) [drm] drmOpen failed. (EE) MACH64(0): [dri] DRIScreenInit Failed should I add device drm to the kernel? It seems unlikely that you'll get DRM on that card anyway. Just to remind, this is sparc64. Incidentally, Radeon 7000 cards are available in standard PCI for $20 or so. Not a great card, but quite an upgrade over a Mach64, and supported by a current driver. wow.. you mean on sparc64? I didn't know. If it'll work on sparc, this would be great. There are many more radeon 7000 on offer than pgx64. No experience on my part, but... The card BIOS may not work (as above with the reference clock), but if the system can do without and the PCI bus is standard... -Warren Block * Rapid City, South Dakota USA ___ 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: .Xdefaults file
On Tue, Dec 22, 2009 at 09:38:19AM -0800, Rem P Roberti wrote: On my desktop box I settled on an xterm font and font size by experimenting thus: xterm -fa 'Bitstream Vera Sans Mono' -fs 10 I went through a number of fonts until I settled on the one I liked most. Then I created an .Xdefaults file in my home directory which included: Xterm*faceName Bitstream Vera Sans Mono Xterm*faceSize 10 I think case matters here, i.e. XTerm*, not Xterm or xterm. Everything works fine. However, when I tried to to this on my old Compaq Presario on which I have 7.2 installed it doesn't work. Oddly, I can create an xterm window using the original xterm command that I used when I was experimenting with fonts, and the window opens and is rendered correctly, but I can't get X to read the .Xdefaults file. Any ideas on why .Xdefauts works on the desktop box but not the laptop? Rem HTH, Yuri ___ 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: Help building/running SDL/OpenGL code
On Tuesday 22 December 2009 20:35:19 you wrote: On Tue, Dec 22, 2009 at 07:50:19PM +0200, Richard Mace wrote: On Tuesday 22 December 2009 19:31:31 you wrote: What version of the nvidia driver are you using? The one in /usr/ports/x11/nvidia-driver-173. I have to use this for the aging FX 5200. Have a look at the x11-drivers/xf86-video-nouveau port. Maybe that works for you? (BTW, problems like these are why I avoid proprietary drivers like the plague) I'm rendering a whole bunch of molecules (spheres), moving a camera and at the same time doing quite a bit of CPU intensive numerical integration of a whole slew of coupled ordinary differential equations -- I need the speed of the GPU (read proprietary driver) to relieve the CPU and avoid a slide show. (This works very nicely with dual core CPUs: I use one thread for the rendering and another for the numerics.) In this case it might be better to invest in a more recent graphics card. Currently Radeons (up to and including R6xx/R7xx) are better supported by open source drivers than nvidia. I'll keep digging (and getting educated, I guess). Incidentally, in Debian GNU/Linux they have a system of clever diverts which avoid these kinds of library clashes. As far as I know, the compat libraries are meant to be able to keep using old binaries on newer systems. I do not think they were ever meant to be used in a mixed (as in linking with both libm.so.3 and libm.so.5) environment. From experience (botched ports upgrade going from 6.x to 7) I know that having a program linked to different versions of the same library can result in interesting experiences (i.e. crashes). There are several things you could try, from building your app and the libraries it needs on a 5.x machine to trying to get the libGL to link with the current libm. Whatever you do, it will probably end up being a kludge. Roland Thanks again for the suggestions, Roland. In the end, as a last resort, I de-installed the nvidia driver and started X with an empty /etc/X11/xorg.conf (which presumably loads the nv driver). I re-built my code and it runs, albeit without the smoothest of graphics. I guess that that proves that the problem lies with the NVIDIA driver and its inter-relationship with the Mesa libraries, which one has to use if one builds one's own OpenGL programs. It is a pity that FreeBSD has not sorted that out, but I hasten to add that I'm new to FBSD and it could be my error. It does beg the question, though, how one would develop OpenGL apps on FBSD? I'll revisit this soon, after some careful googling. Thanks again for the help. -Richard ___ 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: Signal over range, WAS: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.
On Tue, Dec 22, 2009 at 12:26:03PM -0700, Warren Block wrote: On Tue, 22 Dec 2009, Anton Shterenlikht wrote: Warren, thank you, but this doesn't help. I've added: Section Monitor Identifier Monitor0 HorizSync 30-50 VertRefresh 60 EndSection Section Device Identifier Card0 Driver mach64 BusID PCI:0:2:0 EndSection Hmm. Some web searching says non-Intel platforms might need a different reference clock: http://www.gentoo.org/doc/en/gentoo-sparc-faq.xml#doc_chap4_sect1 yes, now you told me I see it's actually in the logs: (--) MACH64(0): Reference clock 157.5/11 (14.318) MHz. (II) MACH64(0): If modes do not work on Ultra 5/10 or Blade 100/150, set option reference_clock to 28.636 MHz or 29.5 MHz by using either 28.636 or 29.5 I now get no signal over range. In fact I just get a black screen. Not sure if this is worse or better... many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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
SOLVED: Re: Signal over range, WAS: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.
On Tue, Dec 22, 2009 at 12:26:03PM -0700, Warren Block wrote: On Tue, 22 Dec 2009, Anton Shterenlikht wrote: Warren, thank you, but this doesn't help. I've added: Section Monitor Identifier Monitor0 HorizSync 30-50 VertRefresh 60 EndSection Section Device Identifier Card0 Driver mach64 BusID PCI:0:2:0 EndSection Hmm. Some web searching says non-Intel platforms might need a different reference clock: http://www.gentoo.org/doc/en/gentoo-sparc-faq.xml#doc_chap4_sect1 out of desperation was re-reading the manual and saw this: Starting with Xorg 7.4 and above, this test produces a black screen which may make it difficult to diagnose whether X11 is working properly. The older behavior is still available by using the retro option: # Xorg -config xorg.conf.new -retro so, yes, I got the grey screen and a cross, and the mouse seems to be working. Warren, many thanks for your help! -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: Signal over range, WAS: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.
On Tue, Dec 22, 2009 at 08:12:14PM +, Anton Shterenlikht wrote: On Tue, Dec 22, 2009 at 12:26:03PM -0700, Warren Block wrote: On Tue, 22 Dec 2009, Anton Shterenlikht wrote: Warren, thank you, but this doesn't help. I've added: Section Monitor Identifier Monitor0 HorizSync 30-50 VertRefresh 60 EndSection Section Device Identifier Card0 Driver mach64 BusID PCI:0:2:0 EndSection Hmm. Some web searching says non-Intel platforms might need a different reference clock: http://www.gentoo.org/doc/en/gentoo-sparc-faq.xml#doc_chap4_sect1 yes, now you told me I see it's actually in the logs: (--) MACH64(0): Reference clock 157.5/11 (14.318) MHz. (II) MACH64(0): If modes do not work on Ultra 5/10 or Blade 100/150, set option reference_clock to 28.636 MHz or 29.5 MHz by using either 28.636 or 29.5 I now get no signal over range. The right value for a Rage XL is 29.5 MHz. Marius ___ 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: Signal over range, WAS: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.
On Tue, Dec 22, 2009 at 09:29:54PM +0100, Marius Strobl wrote: On Tue, Dec 22, 2009 at 08:12:14PM +, Anton Shterenlikht wrote: On Tue, Dec 22, 2009 at 12:26:03PM -0700, Warren Block wrote: On Tue, 22 Dec 2009, Anton Shterenlikht wrote: Warren, thank you, but this doesn't help. I've added: Section Monitor Identifier Monitor0 HorizSync 30-50 VertRefresh 60 EndSection Section Device Identifier Card0 Driver mach64 BusID PCI:0:2:0 EndSection Hmm. Some web searching says non-Intel platforms might need a different reference clock: http://www.gentoo.org/doc/en/gentoo-sparc-faq.xml#doc_chap4_sect1 yes, now you told me I see it's actually in the logs: (--) MACH64(0): Reference clock 157.5/11 (14.318) MHz. (II) MACH64(0): If modes do not work on Ultra 5/10 or Blade 100/150, set option reference_clock to 28.636 MHz or 29.5 MHz by using either 28.636 or 29.5 I now get no signal over range. The right value for a Rage XL is 29.5 MHz. Marius, thank you, I figured it out already. Here's the winning xorg.conf: http://seis.bris.ac.uk/~mexas/freebsd/xorg.conf in case somebody else might be using this hardware. Also, could you comment on Warren's suggestion of Radeon 7000? Do you think it might work on blade 1500? many thanks as always anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: Signal over range, WAS: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.
On Tue, Dec 22, 2009 at 08:47:19PM +, Anton Shterenlikht wrote: On Tue, Dec 22, 2009 at 09:29:54PM +0100, Marius Strobl wrote: On Tue, Dec 22, 2009 at 08:12:14PM +, Anton Shterenlikht wrote: On Tue, Dec 22, 2009 at 12:26:03PM -0700, Warren Block wrote: On Tue, 22 Dec 2009, Anton Shterenlikht wrote: Warren, thank you, but this doesn't help. I've added: Section Monitor Identifier Monitor0 HorizSync 30-50 VertRefresh 60 EndSection Section Device Identifier Card0 Driver mach64 BusID PCI:0:2:0 EndSection Hmm. Some web searching says non-Intel platforms might need a different reference clock: http://www.gentoo.org/doc/en/gentoo-sparc-faq.xml#doc_chap4_sect1 yes, now you told me I see it's actually in the logs: (--) MACH64(0): Reference clock 157.5/11 (14.318) MHz. (II) MACH64(0): If modes do not work on Ultra 5/10 or Blade 100/150, set option reference_clock to 28.636 MHz or 29.5 MHz by using either 28.636 or 29.5 I now get no signal over range. The right value for a Rage XL is 29.5 MHz. Marius, thank you, I figured it out already. Here's the winning xorg.conf: http://seis.bris.ac.uk/~mexas/freebsd/xorg.conf in case somebody else might be using this hardware. Also, could you comment on Warren's suggestion of Radeon 7000? Do you think it might work on blade 1500? It won't work currently and also unlikely in the future. Marius ___ 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: Help building/running SDL/OpenGL code
On Tue, Dec 22, 2009 at 09:57:57PM +0200, Richard Mace wrote: In the end, as a last resort, I de-installed the nvidia driver and started X with an empty /etc/X11/xorg.conf (which presumably loads the nv driver). I re-built my code and it runs, albeit without the smoothest of graphics. On a recent core2 duo or quad, even software rendering isn't that bad. I guess that that proves that the problem lies with the NVIDIA driver and its inter-relationship with the Mesa libraries, which one has to use if one builds one's own OpenGL programs. Yes. It is a pity that FreeBSD has not sorted that out, but I hasten to add that I'm new to FBSD and it could be my error. It was nvidia's decision to drop support for older cards from their recent drivers. Nothing that the FreeBSD project can do about that. It does beg the question, though, how one would develop OpenGL apps on FBSD? I'll revisit this soon, after some careful googling. Get a card that is well-supported by the drivers in the FreeBSD kernel and Xorg/Mesa. Currently that means Intel's on-board graphics or boards with ATI/AMD radeon chips, except for the latest chips. AMD released docs for those chips some months ago, and the drivers for accellerated 3D are still evolving. Accellerated 3D works fine on my Radeon X1650 equipped card with the xf86-video-ati driver and the drm.ko and radeon.ko kernel modules. 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) pgpkPmKyr4Qnd.pgp Description: PGP signature
Re: .Xdefaults file
On 2009.12.22 22:05:10 +, Yuri Pankov wrote: On Tue, Dec 22, 2009 at 09:38:19AM -0800, Rem P Roberti wrote: On my desktop box I settled on an xterm font and font size by experimenting thus: xterm -fa 'Bitstream Vera Sans Mono' -fs 10 I went through a number of fonts until I settled on the one I liked most. Then I created an .Xdefaults file in my home directory which included: Xterm*faceName Bitstream Vera Sans Mono Xterm*faceSize 10 I think case matters here, i.e. XTerm*, not Xterm or xterm. Exactly the problem. Thank you! Rem ___ 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
Problem upgrading linux-pango to f10
I've tried to upgrade my Linux subsystem to f10 and ended up with a mess. Some are upgraded and some aren't. Pango is currently refusing to upgrade. Here's what I get: [r...@bahamut /usr/ports]# portupgrade -o x11-toolkits/linux-f10-pango/ linux-pango ** Detected a package name change: linux-pango (x11-toolkits/linux-pango) - 'linux-f10-pango' (x11-toolkits/linux-f10-pango) --- Upgrading 'linux-pango-1.10.2_3' to 'linux-f10-pango-1.22.3' (x11-toolkits/linux-f10-pango) --- Building '/usr/ports/x11-toolkits/linux-f10-pango' === Cleaning for linux-f10-pango-1.22.3 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20091222-64184-wmwx25-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=linux-pango-1.10.2_3 UPGRADE_PORT_VER=1.10.2_3 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! x11-toolkits/linux-f10-pango (linux-pango-1.10.2_3) (unknown build error) The error is so unspecific and I can't find anything searching the internet. I could really use some help with this. ___ 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
I have mail, but where?
Hello. This evening something new appeared on my box. When I open an xterm or a KDE shell, I get: You have 10 mail messages in /var/mail/. This does not happen when I login on ttyvX. Nothing mail related is on this box (apart from KMail and Thunderbird) and ls -l /var/mail gives only zero size files, none of which is named after me. My home is NFS mounted on a mail server, but that uses Cyrus IMAP, so, again, nothing relevant is in /var/mail even there. Where do I look? This is no stopper, but I'm just curious... bye Thanks av. ___ 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: Setting fonts and other defaults in Xorg--new q? on font menu
On Tue, Dec 22, 2009 at 02:48:15AM -0800, Mark Terribile wrote: After finding what you like simply add the lines to ~/.Xdefaults: XTerm*faceName: Liberation Mono XTerm*faceSize: 10 Is there a way to change the contents of the xterm font menu without editing the xterm source? If so, how to do it? Modifying your resource definitions doesn't affect the xterm source... -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgptAy6xsaKMf.pgp Description: PGP signature
Re: .Xdefaults file
On Tue, Dec 22, 2009 at 01:45:52PM -0800, Rem P Roberti wrote: I think case matters here, i.e. XTerm*, not Xterm or xterm. Exactly the problem. Thank you! Curious, on my system (7.2) my ~/.Xdefaults uses lowercase 'xterm*...' values. At least you got it working which is the main thing. Jamie pgpvqEjVtShIe.pgp Description: PGP signature
Re: I have mail, but where?
On Tue, Dec 22, 2009 at 4:55 PM, Andrea Venturoli m...@netfence.it wrote: Hello. This evening something new appeared on my box. When I open an xterm or a KDE shell, I get: You have 10 mail messages in /var/mail/. This does not happen when I login on ttyvX. Nothing mail related is on this box (apart from KMail and Thunderbird) and ls -l /var/mail gives only zero size files, none of which is named after me. My home is NFS mounted on a mail server, but that uses Cyrus IMAP, so, again, nothing relevant is in /var/mail even there. Where do I look? This is no stopper, but I'm just curious... bye Thanks av. Type mail man 1 mail FreeBSD has a daily cron security and status script that run and send email to root (which then is usually redirected to another user's account). This is probably what is sending the emails - check it and see. ___ 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: I have mail, but where?
APseudoUtopia ha scritto: Type mail You have 10 mail messages in /var/mail/. %mail No mail for andrea % I had already tried that, but AFAIK mail reads from /var/mail/andrea and that file is not there (in spite of the above message). FreeBSD has a daily cron security and status script that run and send email to root (which then is usually redirected to another user's account). This is probably what is sending the emails - check it and see. These are redirected to my mail server, which is another box. Besides, as you can see, I'm not experiencing this on my root account. bye Thanks av. ___ 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 8.0 not detecting hot swap drive insertion
It should be noted that my raid controller card driver (htprr) is exhibiting the same issue. Before 8.0, both the ata and htprr drivers would recognize a HD insertion and the disks information would be scanned and device nodes created. On 8.0, the best I can see is that the drive insertion is detected (the htprr driver prints a message about drive insertion/removal), but the disks are never scanned for drive information nor device nodes created. Rob Rob wrote: I don't have any /dev/ada* devices, so I assume I'm using the original ata driver. I haven't done any kernel customization, and am running the distribution's kernel (upgraded with the freebsd-update tool). Does the older driver no longer detect drive insertion? Rob Steve Polyack wrote: Rob wrote: I'm running a 10 hot-swap SATA disk ZFS pool and recently upgraded from 7.2 to 8. Since I upgraded, freebsd isn't spinning up or recognizing a new drive that is inserted. In freebsd 7.[0,2], I could remove a drive and insert a new one and freebsd would recognize it, spin it up, and create the device nodes. None of that is happening in 8.0, and the only way I've found to get it to recognize the disk is to reboot the system. I tried using atacontrol to force freebsd to reinit an ata channel, but that didn't have any effect. Did something change in 8.0 that prevents this auto-detection? Is there a way to re-enable it? Are you using the original (7.x) ata(4) driver or the newer enhanced SATA drivers like ahci(4) or siis(4)? If you're using the latter your devices will be labeled /dev/ada* instead of /dev/ad*. If you are indeed using the newer enhanced SATA drivers, you will need to use camcontrol to reset and rescan the associated SATA channels. ___ 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 ___ 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: Loadbalance outgoing traffic over two cable modems in same network
On Tuesday 22 December 2009 02:48:58 Craig Butler wrote: On 22/12/2009 00:46, Mel Flynn wrote: On Monday 21 December 2009 09:56:11 Nikos Vassiliadis wrote: On 12/21/2009 6:03 AM, Mel Flynn wrote: Hi, I've looked over http://www.openbsd.org/faq/pf/pools.html but this assumes two different gateways for the two interfaces. I'm faced with two cable modems from the same ISP, with the same gateway. I can't lagg(4) the interfaces, since specific IP's are bound to specific modems. This can probably be fixed from the ISP side. It should probably be some antispoofing rule that drops the packets you are sending via the wrong interface. You could try communicating the problem to the ISP and hope for the best... I'd rather not go that route. However, I might ask the ISP to move swap two IP's, so that I have two consecutive IPs on two modems and can use /31 notation for the pool. Source hash should then work better. So I'm wondering if using stick-address with a round-robin nat pool is really sufficient to do load balancing of outgoing traffic and not get into session problems with various protocols. Has anybody had similar experiences? I have no experience on this, but theoretically a state can expire while the upper layers are still active... so, I *think* you may have problems... Of course, you could increase the lifetime of states True, I'm mostly worried about DNS queries and other UDP protocols. TCP should theoretically be fine. Thanks for your feedback. Would ECMP (aka RADIX_MPATH) not be suitable for your requirements ?? 2 default routes, one to each of the modems IP's ... that should start bunting traffic down both pipes. Works for me here... = Equal cost multipath routing Status: Committed to 8-CURRENT Will appear in 8.0: sure Authors: Qing Li Web: commit message ECMP routing allows for multiple routes to be handled by the kernel, including default routes. It potentially offers substantial increases in bandwidth by load-balancing traffic over multiple paths. = http://en.wikipedia.org/wiki/Equal-cost_multi-path_routing http://lists.freebsd.org/pipermail/cvs-src/2008-April/089956.html Thanks for the pointers, I'll look into this. It's a little more complicated, there's 16 total IP's. 2 of which are gonna be used for LAN translations. The other 14 are eventually going to be used by DMZ services, so I'm not sure if it's solvable at the routing level, as the incoming traffic needs to go out the same way, not through the 2 LAN IP's. -- Mel ___ 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
the Opera broswer?
Folks, This is exacrtly a FreeBSD question [for a change]. I read on another list that the Opera broswer has a builtin speech option and am wondering in our port/pkg/version has this capability. Anybody know off hand? gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php ___ 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: the Opera broswer?
Yep Gary Kline wrote: Folks, This is exacrtly a FreeBSD question [for a change]. I read on another list that the Opera broswer has a builtin speech option and am wondering in our port/pkg/version has this capability. Anybody know off hand? gary ___ 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: the Opera broswer?
On Tue, 22 Dec 2009 15:16:41 -0800 Gary Kline kl...@thought.org wrote: Folks, This is exacrtly a FreeBSD question [for a change]. I read on another list that the Opera broswer has a builtin speech option and am wondering in our port/pkg/version has this capability. Anybody know off hand? gary The Option for the Voice isn't present like in the Windows version. The tutorials on the Opera site also says you need Windows. -- Rod Person http://www.rodperson.com What luck for rulers that men do not think. - Adolf Hitler ___ 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-doc-en
My system: FreeBSD 8.0 I had a problem with update freebsd-doc-en ** Error: /undefinedfilename in --file-- Operand stack: (/usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building- products/../../../share/images/articles/building-products/freebsd- organization.eps) (r) Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- -- nostringval-- 2 %stopped_push --nostringval-- --nostringval-- -- nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop 1739 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- -- nostringval-- --nostringval-- Dictionary stack: --dict:1155/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- -- dict:10/25(L)-- Current allocation mode is local Last OS error: 2 Current file position is 8177 GPL Ghostscript 8.70: Unrecoverable error, exit code 1 Error: /undefinedfilename in --file-- Operand stack: (/usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building- products/../../../share/images/articles/building-products/freebsd- branches.eps) (r) Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- -- nostringval-- 2 %stopped_push --nostringval-- --nostringval-- -- nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop 1739 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- -- nostringval-- --nostringval-- Dictionary stack: --dict:1155/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- -- dict:10/25(L)-- Current allocation mode is local Last OS error: 2 Current file position is 8177 GPL Ghostscript 8.70: Unrecoverable error, exit code 1 *** Error code 1 *** Error code 1 2 errors *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 1 Stop in /usr/ports/misc/freebsd-doc-en. *** Error code 1 Stop in /usr/ports/misc/freebsd-doc-en. * I have checked html_split and pdf. Now I deinstall and try to install again but I got the same error. Thanks in advance. Mitja http://starikarp.redbubble.com ___ 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: I have mail, but where?
On Wednesday 23 December 2009 00:50, Andrea Venturoli wrote: I had already tried that, but AFAIK mail reads from /var/mail/andrea and that file is not there (in spite of the above message). In my box, there is the ~/mbox file that has the messages in it. you can check out if it exists... -- Real programmers don't document. If it was hard to write, it should be hard to understand. signature.asc Description: This is a digitally signed message part.
Re: I have mail, but where?
On Tue, 22 Dec 2009 23:50:54 +0100 Andrea Venturoli m...@netfence.it wrote: APseudoUtopia ha scritto: Type mail You have 10 mail messages in /var/mail/. %mail No mail for andrea Are there really two spaces in a row there? That's a vital clue. For some reason your 'USER' environment variable is set to ' andrea' (with a leading space). Then .cshrc sets the 'mail' shell variable to '(/var/mail/ andrea)'. That's now a list with two elements. Since the first is a directory, csh counts the files in it, assuming they are messages. Since you don't have this problem with console logins, look for a configuration error in your GUI login manager. HTH ___ 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: Help building/running SDL/OpenGL code
On Tuesday 22 December 2009 22:00:51 Roland Smith wrote: On Tue, Dec 22, 2009 at 09:57:57PM +0200, Richard Mace wrote: In the end, as a last resort, I de-installed the nvidia driver and started X with an empty /etc/X11/xorg.conf (which presumably loads the nv driver). I re-built my code and it runs, albeit without the smoothest of graphics. On a recent core2 duo or quad, even software rendering isn't that bad. True, until you press the full screen(s) button of your program running on your dual 1920x1200 monitor setup like I do ;-) Suddenly you're watching a slideshow... I guess that that proves that the problem lies with the NVIDIA driver and its inter-relationship with the Mesa libraries, which one has to use if one builds one's own OpenGL programs. Yes. Agreed. It's quite annoying that the nvidia drivers replace the existing mesa GL libs, which breaks OpenGL when you switch back to mesa rendering. However, because the library is implemented by nvidia for their hardware, it is also blazingly fast. It is a pity that FreeBSD has not sorted that out, but I hasten to add that I'm new to FBSD and it could be my error. It was nvidia's decision to drop support for older cards from their recent drivers. Nothing that the FreeBSD project can do about that. The oldest cards that the new drivers support are the GeForce 6xxx series, which are over 5 years old. I'm not saying that I approve dropping support but frankly I don't really care for 3D acceleration on graphics cards that old. The latest nvidia drivers are actually built using a more recent version of FreeBSD so you won't have that linking problem. Which is indeed the most likely cause of the problem. I don't understand why glxgears does run and your simulation does not though... I would've expected both too fail or work. It does beg the question, though, how one would develop OpenGL apps on FBSD? I'll revisit this soon, after some careful googling. Personally I use a recent nvidia card with the latest nvidia drivers. This has worked well for me, but I don't use SDL. My programs tend to use the simple GLUT/GLU/GL combo or wxGTK/GLU/GL if I need more controls. Loading textures is done using DevIL. Unfortunately my old GeForce 4 is broken so I can't test the legacy drivers any more. Get a card that is well-supported by the drivers in the FreeBSD kernel and Xorg/Mesa. Currently that means Intel's on-board graphics or boards with If you're going with intel you might as well use software rendering :-) ATI/AMD radeon chips, except for the latest chips. AMD released docs for those chips some months ago, and the drivers for accellerated 3D are still evolving. Yes, AMD's efforts are very commendable. Accellerated 3D works fine on my Radeon X1650 equipped card with the xf86-video-ati driver and the drm.ko and radeon.ko kernel modules. Roland -- Pieter de Goeje ___ 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: the Opera broswer?
On Tue, Dec 22, 2009 at 06:27:46PM -0500, Rod Person wrote: On Tue, 22 Dec 2009 15:16:41 -0800 Gary Kline kl...@thought.org wrote: Folks, This is exacrtly a FreeBSD question [for a change]. I read on another list that the Opera broswer has a builtin speech option and am wondering in our port/pkg/version has this capability. Anybody know off hand? gary The Option for the Voice isn't present like in the Windows version. The tutorials on the Opera site also says you need Windows. Well, that's what I thought might be the case. thanks. -- Rod Person http://www.rodperson.com What luck for rulers that men do not think. - Adolf Hitler -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php ___ 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: Help building/running SDL/OpenGL code
On Wednesday 23 December 2009 04:20:28 Pieter de Goeje wrote: On Tuesday 22 December 2009 22:00:51 Roland Smith wrote: On Tue, Dec 22, 2009 at 09:57:57PM +0200, Richard Mace wrote: In the end, as a last resort, I de-installed the nvidia driver and started X with an empty /etc/X11/xorg.conf (which presumably loads the nv driver). I re-built my code and it runs, albeit without the smoothest of graphics. On a recent core2 duo or quad, even software rendering isn't that bad. True, until you press the full screen(s) button of your program running on your dual 1920x1200 monitor setup like I do ;-) Suddenly you're watching a slideshow... I guess that that proves that the problem lies with the NVIDIA driver and its inter-relationship with the Mesa libraries, which one has to use if one builds one's own OpenGL programs. Yes. Agreed. It's quite annoying that the nvidia drivers replace the existing mesa GL libs, which breaks OpenGL when you switch back to mesa rendering. However, because the library is implemented by nvidia for their hardware, it is also blazingly fast. It is a pity that FreeBSD has not sorted that out, but I hasten to add that I'm new to FBSD and it could be my error. What I meant here by sort out was that FreeBSD provide some way for Mesa libs and NVIDIA drivers to co-exist. It seems that you (as new user) have to learn, through error, that you need to install Mesa first, then NVIDIA (and whenever Mesa-related apps get an upgrade you need to re-install NVIDIA). Would be nice if these two ports could check for each other's existence before install and do the necessary to the libGL* symbolic links. It was nvidia's decision to drop support for older cards from their recent drivers. Nothing that the FreeBSD project can do about that. The oldest cards that the new drivers support are the GeForce 6xxx series, which are over 5 years old. I'm not saying that I approve dropping support but frankly I don't really care for 3D acceleration on graphics cards that old. The latest nvidia drivers are actually built using a more recent version of FreeBSD so you won't have that linking problem. Which is indeed the most likely cause of the problem. I don't understand why glxgears does run and your simulation does not though... I would've expected both too fail or work. This is confusing to me, too, which led to the question immediately below. It does beg the question, though, how one would develop OpenGL apps on FBSD? I'll revisit this soon, after some careful googling. Personally I use a recent nvidia card with the latest nvidia drivers. This has worked well for me, but I don't use SDL. My programs tend to use the simple GLUT/GLU/GL combo or wxGTK/GLU/GL if I need more controls. Loading textures is done using DevIL. Unfortunately my old GeForce 4 is broken so I can't test the legacy drivers any more. Get a card that is well-supported by the drivers in the FreeBSD kernel and Xorg/Mesa. Currently that means Intel's on-board graphics or boards with Well, right now I am evaluating FreeBSD on an old machine (Pentium IV, NVIDIA FX5200) to see whether I would make the switch from Debian GNU/Linux. I don't really want to purchase a new card for this purpose. Perhaps I will try to install FBSD on my laptop, which is dual-core and has an NVIDIA Quadro FX 570M on board. If you're going with intel you might as well use software rendering :-) I'd agree there ;-). ATI/AMD radeon chips, except for the latest chips. AMD released docs for those chips some months ago, and the drivers for accellerated 3D are still evolving. Yes, AMD's efforts are very commendable. Accellerated 3D works fine on my Radeon X1650 equipped card with the xf86-video-ati driver and the drm.ko and radeon.ko kernel modules. Roland Thanks to all for your help and suggestions. Incidentally, if there is anyone out there with newer hardware who is interested in building the code I am talking about you can find it at: http://physics.ukzn.ac.za/~richm/courses/phys110/lennard-jones-3d.html You'll need to change the following lines in the Makefile to get it to successfully build under FreeBSD: == CFLAGS = -Wall -Wextra -pthread -I/usr/local/include -I/usr/local/include/SDL -O3 -march=native LFLAGS = -Wall -L/usr/local/lib lennardjones : $(OBJS) $(CC) $(LFLAGS) -o lennardjones $(OBJS) -lSDL -lSDL_gfx -lGLU == It would be interesting to hear feedback. (Basic controls are: up-arrow add heat to crystal; down-arrow cool down gas/crystal. There are a bunch of others -- look in main.c). You are welcome to do whatever you wish with my code. -Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send
Re: freebsd-doc-en
On 23/12/2009 2:03 π.μ., ajtiM wrote: My system: FreeBSD 8.0 I had a problem with update freebsd-doc-en ** Error: /undefinedfilename in --file-- Operand stack: (/usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building- products/../../../share/images/articles/building-products/freebsd- organization.eps) (r) Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- -- nostringval-- 2 %stopped_push --nostringval-- --nostringval-- -- nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop 1739 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- -- nostringval-- --nostringval-- Dictionary stack: --dict:1155/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- -- dict:10/25(L)-- Current allocation mode is local Last OS error: 2 Current file position is 8177 GPL Ghostscript 8.70: Unrecoverable error, exit code 1 Error: /undefinedfilename in --file-- Operand stack: (/usr/ports/misc/freebsd-doc-en/work/doc/en_US.ISO8859-1/articles/building- products/../../../share/images/articles/building-products/freebsd- branches.eps) (r) Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- -- nostringval-- 2 %stopped_push --nostringval-- --nostringval-- -- nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop 1739 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- -- nostringval-- --nostringval-- Dictionary stack: --dict:1155/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- -- dict:10/25(L)-- Current allocation mode is local Last OS error: 2 Current file position is 8177 GPL Ghostscript 8.70: Unrecoverable error, exit code 1 *** Error code 1 *** Error code 1 2 errors *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 1 Stop in /usr/ports/misc/freebsd-doc-en. *** Error code 1 Stop in /usr/ports/misc/freebsd-doc-en. * I have checked html_split and pdf. Now I deinstall and try to install again but I got the same error. Thanks in advance. Something to do with the new Ghostscript version, most of the doc package builds are broken. I was pointed to this patch http://paste.lisp.org/display/92500 and it continued for a while but it errored out again with a different message (Bounding box not found). Still, you may wish to give it a try. ___ 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: Problem upgrading linux-pango to f10
On Tue, 22 Dec 2009 13:47:09 -0800 (PST) David LeCount wrote: I've tried to upgrade my Linux subsystem to f10 and ended up with a mess. Some are upgraded and some aren't. Pango is currently refusing to upgrade. Here's what I get: [r...@bahamut /usr/ports]# portupgrade -o x11-toolkits/linux-f10-pango/ linux-pango Please read /usr/ports/UPDATING for instructions about how to upgrade to a new linux base port. -- WBR, bsam ___ 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: I have mail, but where?
Ed Jobs ha scritto: In my box, there is the ~/mbox file that has the messages in it. you can check out if it exists... Nope. bye av. ___ 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