FreeBSD Port: portupgrade-2.4.3_2,2
Hi ! I'm having trouble running portupgrade -ra after upgrading from 6.3 to 7.0 with the freebsd-update util. When I try to run portupgrade, it says : Fatal error 'Cannot allocate red zone for initial thread' at line 384 in file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) I've got some troubles running freebsd-update, and I have made some change manually, like install ports/misc/compat6x in order to have my old apps running, rename INDEX-6.db to INDEX-6.db.old and reconstruct it. I don't see where the problem comes from and I don't know how to solve it. I have searched on Google and I didn't find anything that can help me. I have no /usr/src sub-directories. Regards, -- http://www.thorzero.info Laurent. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Port: portupgrade-2.4.3_2,2
Thank you Ken for your advice but it didn't solve anything. I ran all the commands you describe below, and all go well, but I'm still having the same issue. Here is the complete error I've got : Fatal error 'Cannot allocate red zone for initial thread' at line 384 in file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) apxs:Error: Sorry, no shared object support for Apache. apxs:Error: available under your platform. Make sure. apxs:Error: the Apache module mod_so is compiled into. apxs:Error: your server binary `/usr/local/sbin/httpd'.. /usr/ports/Mk/bsd.apache.mk, line 287: warning: /usr/local/sbin/apxs -q MPM_NAME returned non-zero status eval: 1: Syntax error: ( unexpected /usr/ports/Mk/bsd.apache.mk, line 294: warning: eval `echo [ 20+ -eq Bus error (core dumped) ] | /usr/bin/sed -e 's/- -eq/ -ge/ ; s/+ -eq/ -le/' ` ; echo ${?} returned non-zero status /usr/ports/Mk/bsd.apache.mk, line 323: warning: String comparison operator should be either == or != /usr/ports/Mk/bsd.apache.mk, line 323: Malformed conditional (${APACHE_VERSION} = 21) /usr/ports/Mk/bsd.port.mk, line 6123: if-less endif make: fatal errors encountered -- cannot continue /usr/local/sbin/portupgrade:1433:in `get_pkgname': Makefile broken (MakefileBrokenError) from /usr/local/sbin/portupgrade:622:in `main' from /usr/local/sbin/portupgrade:613:in `each' from /usr/local/sbin/portupgrade:613:in `main' from /usr/local/sbin/portupgrade:588:in `catch' from /usr/local/sbin/portupgrade:588:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `catch' ... 6 levels... from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:229:in `new' from /usr/local/sbin/portupgrade:229:in `main' from /usr/local/sbin/portupgrade:2173 Do you know why this is happened ? On Thu, Apr 17, 2008 at 7:39 PM, Ken Menzel [EMAIL PROTECTED] wrote: Laurent Grangeau wrote: Hi ! I'm having trouble running portupgrade -ra after upgrading from 6.3 to 7.0 with the freebsd-update util. When I try to run portupgrade, it says : Fatal error 'Cannot allocate red zone for initial thread' at line 384 in file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) I've got some troubles running freebsd-update, and I have made some change manually, like install ports/misc/compat6x in order to have my old apps running, rename INDEX-6.db to INDEX-6.db.old and reconstruct it. I don't see where the problem comes from and I don't know how to solve it. I have searched on Google and I didn't find anything that can help me. I have no /usr/src sub-directories. Regards, Lauren, It sounds like you have partially updated some ports and you now have a library conflict with two versions of libc. Make sure your ports collections is up to date (using csup ports.sup or you favorite method ) Then, run cd /usr/ports;make fetchindex . Then delete portupgrade using pkg_delete portupgrade\* and cd /usr/ports/ports-mgmt/portupgrade; make install. You may also want to reinstall ruby this way before reinstalling portupgrade. After portupgraded is installed rm /var/db/pkg/pkgdb.db and portupgrade will rebuild it. Hope this helps you, Ken -- http://www.thorzero.info Laurent. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Port: nvidia-driver-169.12
Hi there ! I've been using FreeBSD now for 4 months. I've been able to compile NVidia-drivers without Linux compatibility on FreeBSD 7.0 but when I generate a xorg.conf file, and when I try this file, it says that the NVidia GLX module fails to load. Here is my log : [EMAIL PROTECTED] ~]# Xorg -config xorg.conf.new X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.0-RELEASE i386 Current Operating System: FreeBSD orion.thorzero.info 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Build Date: 06 March 2008 07:07:55PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Fri Mar 7 13:16:47 2008 (++) Using config file: xorg.conf.new (II) Module ramdac already built-in (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X (EE) NVIDIA(0): log file that the GLX module has been loaded in your X (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If (EE) NVIDIA(0): you continue to encounter problems, Please try (EE) NVIDIA(0): reinstalling the NVIDIA driver. Could not init font path element /usr/local/lib/X11/fonts/misc/, removing from list! Could not init font path element /usr/local/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/local/lib/X11/fonts/100dpi/, removing from list! Could not init font path element /usr/local/lib/X11/fonts/75dpi/, removing from list! Here is a snippet of my config file : Section Module Load extmod Load record Load dbe Load glx Load GLcore Load xtrap Load dri Load freetype Load type1 EndSection Here is my Xorg.0.log (II) LoadModule: glx (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor=X.Org Foundation compiled for 1.4.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.3 (==) AIGLX disabled (II) Loading extension GLX Do you know why and how it can be fixes ? Regards, -- http://www.thorzero.info Laurent. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Port: nvidia-driver-169.12
Hi, I try to do as you said (i.e. reboot and remove dri module) but the error is still there. The /boot/loeader.conf is well configured (nvidia_load=YES). I don't install Xorg via the meta-ports, but package by package (i.e. xorg-server, xinit, nvidia-driver and ). Can the error come here ? I think the error come from the glx module. It's the module of Xorg. (II) LoadModule: glx (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor=X.Org Foundation compiled for 1.4.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.3 (==) AIGLX disabled (II) Loading extension GLX Is it necessary to install x11-drivers/xf86-video-nv ? Thank you for your help and time :) Regards, On Fri, Mar 7, 2008 at 1:44 PM, Alexey Dokuchaev [EMAIL PROTECTED] wrote: On Fri, Mar 07, 2008 at 01:12:32PM +0100, TooMany Secrets wrote: On 3/7/08, Laurent Grangeau [EMAIL PROTECTED] wrote: Hi there ! I've been using FreeBSD now for 4 months. I've been able to compile NVidia-drivers without Linux compatibility on FreeBSD 7.0 but when I generate a xorg.conf file, and when I try this file, it says that the NVidia GLX module fails to load. (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X (EE) NVIDIA(0): log file that the GLX module has been loaded in your X (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If (EE) NVIDIA(0): you continue to encounter problems, Please try (EE) NVIDIA(0): reinstalling the NVIDIA driver. With fbsd 7, after compile nvidia, you need to reboot your computer. Then the nvidia ko run ok. Make sure you it's in your /boot/loader.conf. Also, you might find useful to remove dri from your ``Modules'' section in X.org config file. ./danfe -- http://www.thorzero.info Laurent. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Port: nvidia-driver-169.12
Hi, I think I've found the problem :) In /usr/local/lib/xorg/modules/extensions, there was libglx.so and libglx.so.1. I rename the libglx.so in libglx.so.old and libglx.so.1 in libglx.so. I re-run Xorg -config /root/xorg.conf.new and the error is gone !! :) I'm not able at the time to start X (because I sshed my computer) but tonight, I'll try to start X and I think there will be no problem. My log file now show the good libglx extension : (II) LoadModule: glx (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor=NVIDIA Corporation compiled for 4.0.2, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 0.1 (II) NVIDIA GLX Module 169.12 Thu Feb 14 16:15:29 PST 2008 Regards, On Fri, Mar 7, 2008 at 2:03 PM, Laurent Grangeau [EMAIL PROTECTED] wrote: Hi, I try to do as you said (i.e. reboot and remove dri module) but the error is still there. The /boot/loeader.conf is well configured (nvidia_load=YES). I don't install Xorg via the meta-ports, but package by package (i.e. xorg-server, xinit, nvidia-driver and ). Can the error come here ? I think the error come from the glx module. It's the module of Xorg. (II) LoadModule: glx (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor=X.Org Foundation compiled for 1.4.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.3 (==) AIGLX disabled (II) Loading extension GLX Is it necessary to install x11-drivers/xf86-video-nv ? Thank you for your help and time :) Regards, On Fri, Mar 7, 2008 at 1:44 PM, Alexey Dokuchaev [EMAIL PROTECTED] wrote: On Fri, Mar 07, 2008 at 01:12:32PM +0100, TooMany Secrets wrote: On 3/7/08, Laurent Grangeau [EMAIL PROTECTED] wrote: Hi there ! I've been using FreeBSD now for 4 months. I've been able to compile NVidia-drivers without Linux compatibility on FreeBSD 7.0 but when I generate a xorg.conf file, and when I try this file, it says that the NVidia GLX module fails to load. (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X (EE) NVIDIA(0): log file that the GLX module has been loaded in your X (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If (EE) NVIDIA(0): you continue to encounter problems, Please try (EE) NVIDIA(0): reinstalling the NVIDIA driver. With fbsd 7, after compile nvidia, you need to reboot your computer. Then the nvidia ko run ok. Make sure you it's in your /boot/loader.conf. Also, you might find useful to remove dri from your ``Modules'' section in X.org config file. ./danfe -- http://www.thorzero.info Laurent. -- http://www.thorzero.info Laurent. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Port: xorg-7.3_1
Hi there ! I've been using FreeBSD now for 4 months and it's a great OS. But is there a way to install minimal Xorg server without installing the meta-port (and thus, without all of the drivers) ? I'm using portinstall as the installer and I've been able to install completely xorg-xserver and nvidia-driver until now, but I'm not able tu launch the startx script. Where is that damned script (I mean, in which package) ? I'm running minimal install of FreeBSD 7.0. Regards, -- http://www.thorzero.info Laurent. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]