Re: serial connection
On Sat, 15 Dec 2012 22:43:43 -0600 Jonathan P chavode...@hotmail.com wrote: hello everyone, i need to establish a connection between 2 freebsd systems, but i have to this over a serial line, any advices? thank you all so much! It's been a long time - but this should help. You'll want to use ppp in dedicated mode to achieve this. Try setting it up by hand first and then move it to ppp.conf files and arrange boot time startup. On both sides specify device, speed and IP addresses then on one side use the dial command to bring up the connection. It's similar to this vpn over ssh setup with different device configuration http://www.semicomplete.com/articles/ppp-over-ssh// -- Steve O'Hara-Smith st...@sohara.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: aclocal-1.12: error: 'configure.ac'
On 16/12/2012 07:13, Michael Powell wrote: With that said, the ports tree usually lives under /usr/ports. No idea why it would show up under /opt, except as some carry over Linuxism. You probably need to wipe the Linuxism and start over as a FreeBSD user. It's unorthodox, but you should certainly be able to put the ports tree wherever in your system you want. You will need to set $PORTSDIR in the environment or in the configuration files of any ports management applications you use, but it should all work. Indeed, if you have configured everything appropriately for an alternate ports dir and something still insists on using /usr/ports, then that's a bug. Please report any such that you come across. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: aclocal-1.12: error: 'configure.ac'
On 16/12/2012 06:51, Oleg simonoff wrote: Want to to ask the unix community about my problem. Don`t know what to do. racking my brain over ... The system freeBSD 8.2 Got some trouble with compilation portupgrade-2.4.9.9,2 /usr/ports/ports-mgmt/portupgrade sudo make install ... === Configuring for ruby-1.8.7.370,1 /usr/bin/touch /opt/ports/lang/ruby18/work/ruby-1.8.7-p370/configure aclocal-1.12: error: 'configure.ac' or 'configure.in' is required *** Error code 1 Stop in /opt/ports/lang/ruby18javascript:doImageSubmit('Send'). *** Error code 1 Stop in /opt/ports/lang/ruby18. *** Error code 1 Stop in /opt/ports/ports-mgmt/portupgrade. *** Error code 1 Stop in /opt/ports/ports-mgmt/portupgrade. But that ruby was installd correctly. Please, let me know, what mast i do? Not found something about that in google.. So, you're saying ruby18 is already installed, but when you attempt to install portupgrade it tries to reinstall it? Given you have the ports in an odd location, might I ask where exctly is ruby installed? The ports expects to find other ported software in subdirectories under ${LOCALBASE} -- which is almost always just the default value /usr/local [*]. If the ruby18 binary isn't available as ${LOCALBASE}/bin/ruby18 then the ports will try and reinstall it. The same goes for any other dependencies of portupgrade -- they all have to co-habit in the same tree under ${LOCALBASE} if the ports is going to find and deal with them correctly. You can't scatter them around your filesystems willy-nilly. If you're using a non-standard $LOCALBASE, then setting that in the environment should sort things out for you. Would be a very good idea to simultaneously set $PREFIX to the same value. Cheers, Matthew [*] Note that LOCALBASE (where the ports looks for previously installed dependencies) is different to PREFIX (where the ports installs software to). Generally you'ld have both set to the same location, as anything else gets very unwieldy very quickly. About the only reason to have PREFIX != LOCALBASE is if you are a port maintainer testing changes to a port, and you don't want to spam your live system with test installs. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: switching from i386 to amd64
Hi, On Sun, 16 Dec 2012 06:00:51 -0500 Aryeh Friedman aryeh.fried...@gmail.com wrote: I have been using i386 (-STABLE) for years now and was wondering if switching to amd64 finally makes sense (i.e. are enough ports working on it now [xfrce4, firefox, libreoffice, openjdk-6, tomcat, mysql, apache22, flash, cups, devel/aegis, devel/cook, devel/fhist, virtualbox-ose, nvidia-kmod are the minimal ones I need]) the main reason for asking is PAE seems to be broken now and virtualbox-ose refuses to let me install 64 bit OS's like Win 8. I did the switch 2010 and missed nothing but wine. Ok, flash is not realy working for me but I also do not miss it. Erich ___ 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: switching from i386 to amd64
On Sun, 2012-12-16 at 05:35 -0600, Joseph A. Nagy, Jr wrote: I'm running amd64 and it seems rock-solid and well supported. I had a similar question. I wanted to know if there are issues for audio, when using 64 bit and got this reply: If you do not have a _specific_ requirement for 32 bit, use 64 bit, of course if you have a 64 bit CPU. :-) Specific requirements _could_ be wine and nVidia's proprietary GPU driver, as far as I know. - Polytropon (Btw. thank you Polytropon :) I guess in the web I read something about issues with VBox, but perhaps I'm confusing VBox with wine. I chose 64 bit and will stay with it, even if I should install another version of FreeBSD today. Regards, Ralf ___ 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: switching from i386 to amd64
On Sun, 2012-12-16 at 18:45 +0700, Erich Dollansky wrote: flash For Linux there are no issues with the proprietary 64 bit flash, but there will be no new versions of Flash any more for Linux. If FreeBSD should use the Linux version, than Flash in the near future either way won't work any more. IIRC Flash only is needed by some browsers and only for videos that e.g. start with an advertising and special tasks like that. I'm not sure, but AFAIR HTML 5 can replace Flash, assumed a video doesn't start with an advertising and things like that. For Linux Adobe will continue providing security upgrades for 11.2 in the future, but that won't help, when websites expect newer versions. ___ 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: switching from i386 to amd64
On Sun, 16 Dec 2012 13:05:47 +0100, Ralf Mardorf wrote: On Sun, 2012-12-16 at 18:45 +0700, Erich Dollansky wrote: flash For Linux there are no issues with the proprietary 64 bit flash, but there will be no new versions of Flash any more for Linux. If FreeBSD should use the Linux version, than Flash in the near future either way won't work any more. That shouldn't be _that_ complicated, as Flash is going to be extinct soon (primarily to the lack of it on mobile devices with their growing market share). HTML5 will take over the world instead. :-) IIRC Flash only is needed by some browsers and only for videos that e.g. start with an advertising and special tasks like that. Oh, if it would be that simple... :-( Sadly, for some developers, Flash has gotten a replacement for HTML. They design their whole pages _inside_ Flash, so if you don't have it installed, you get an empty page. Their excuse is interactivity. Still more and more online games (those you can play in the web browser) migrate to HTML 5 technology which offers good support on many platforms (and not only on the latest Windows). And if you're using Firefox, there are plugins available that allow you to download video content instead of dealing with the Flash player the site wants you to use. This also encourages the idea of wathcing such content offline with your favourite player, which is mplayer. :-) I'm not sure, but AFAIR HTML 5 can replace Flash, assumed a video doesn't start with an advertising and things like that. It already does this in more and more locations. Regarding video, there's still the problem created by patent lawyers and other strange guys: the coded. HTML 5 can support many formats for video content, even free formats (that do not require anyone to pay royalties in order to use it), but in how far those are already distributed among browsers and systems, that's a totally different question. However, the out of the box experience gets better. Soon the functionality of Flash will be integrated per default in modern web browsers. Just imagine how stupid it would be if I created a web page that requires you to download a proprietary plugin (with lots of security holes!) in order to see a PNG image, to see text in green color, or to render text centered. Sounds idiotic? It is! And it's mostly what applies to Flash. :-) For Linux Adobe will continue providing security upgrades for 11.2 in the future, but that won't help, when websites expect newer versions. Correct, so this is another good reason for finally dropping Flash and move on to better alternatives. Side note: I've been experiencing working Flash for many years now without any trouble on FreeBSD. Sometimes I wish it wouldn't work anymore. It makes the web much more readable. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: aclocal-1.12: error: 'configure.ac'
On Sun, 16 Dec 2012 02:13:52 -0500, Michael Powell wrote: Oleg simonoff wrote: Hi to all! Want to to ask the unix community about my problem. Don`t know what to do. racking my brain over ... The system freeBSD 8.2 Got some trouble with compilation portupgrade-2.4.9.9,2 /usr/ports/ports-mgmt/portupgrade sudo make install ... === Configuring for ruby-1.8.7.370,1 /usr/bin/touch /opt/ports/lang/ruby18/work/ruby-1.8.7-p370/configure aclocal-1.12: error: 'configure.ac' or 'configure.in' is required *** Error code 1 Stop in /opt/ports/lang/ruby18javascript:doImageSubmit('Send'). *** Error code 1 Stop in /opt/ports/lang/ruby18. *** Error code 1 Stop in /opt/ports/ports-mgmt/portupgrade. *** Error code 1 Stop in /opt/ports/ports-mgmt/portupgrade. ^^ Don't know if this matters, never tried it that way - this is FreeBSD, not Linux. FreeBSD is not some kind of Linux. With setting $PORTSDIR it should be possible to have a valid (!) ports tree in any location you want. See man 7 ports for details. With that said, the ports tree usually lives under /usr/ports. No idea why it would show up under /opt, except as some carry over Linuxism. Probably you aren't old enough to remember that /opt is not a Linuxism, but a Solarism, Solarisism. It expresses the optimistic attitude that the content of this subtree will work as expected. :-) You probably need to wipe the Linuxism and start over as a FreeBSD user. There's nothing wrong with /opt, but I've never found it would be a good place to put the ports tree in. I'm (ab)using /opt myself for software that I manage outside of the ports tree, completely manually: it's basically scripts in /opt/bin, some specific printer filters in /opt/libexec (called by printcap), and few self-contained subtrees of non-ports stuff. In this way, it does not touch the main system. However, having the complete (!) ports in /usr/ports should avoid trouble. What's confusing here is the fact that the OP seems to have a mixed installation. The prompt reads: /usr/ports/ports-mgmt/portupgrade sudo make install But the error messages say: /usr/bin/touch /opt/ports/lang/ruby18/work/ruby-1.8.7-p370/configure So there seems to be both /usr/ports and /opt/ports... ??? But finally: Stop in /opt/ports/ports-mgmt/portupgrade. Is there some symlinking issue opt-usr? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re[4]: can not build FreeRadius 2.2.0
Здравствуйте, Fajar. Вы писали 16 декабря 2012 г., 14:28:34: FAN On Sun, Dec 16, 2012 at 3:21 AM, Eugen Konkov kes-...@yandex.ru wrote: AD Eugen Konkov wrote: Building freeradiusd on # uname -a FreeBSD aki 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Wed Jun 13 13:46:00 EEST 2012 adm@aki:/usr/obj/usr/src/sys/AKI i386 from /usr/ports/net/freeradius2 (2.2.0 version) cause error: /usr/bin/ld: attempted static link of dynamic object `/usr/local/lib/libgdbm.so' AlanD AD Don't do ./configure --disable-shared I do same as on FreeBSD 9: cd /usr/ports/net/freeradius2 make install clean FAN Are you interested in FIXING your problem, or are you interested in FAN saying I'm not doing anything wrong, freebsd ports are perfect, so it FAN must be that your software is broken? FAN If it's the FIRST one, the configure FR manually (i.e. by NOT using FAN freebsd ports), and follow Allan's advice: FAN - if that works, file a bug report to freebsd (or whoever is managing FAN FR ports) that they messed up the recipe FAN - If DOESN'T work, paste your configure line as well the make output here. FAN Now if it's the SECOND one, you better ask in freebsd's list. It's FAN VERY unlikely that you'd get anymore help here, seeing that you FAN snubbed the help you already got. I do not expect you will help me. I just submit a problem report. In any case thank you very much for your answers. and for the clue/advice. I will try to build by hand and send PR to freebsd ports also. -- С уважением, Eugen 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
Re: switching from i386 to amd64
On Sun, 16 Dec 2012, Ralf Mardorf wrote: On Sun, 2012-12-16 at 05:35 -0600, Joseph A. Nagy, Jr wrote: I'm running amd64 and it seems rock-solid and well supported. I had a similar question. I wanted to know if there are issues for audio, when using 64 bit and got this reply: If you do not have a _specific_ requirement for 32 bit, use 64 bit, of course if you have a 64 bit CPU. :-) Specific requirements _could_ be wine and nVidia's proprietary GPU driver, as far as I know. - Polytropon (Btw. thank you Polytropon :) I guess in the web I read something about issues with VBox, but perhaps I'm confusing VBox with wine. I chose 64 bit and will stay with it, even if I should install another version of FreeBSD today. VirtualBox works well with both i386 and amd64 hosts and guests. Of course, with an amd64 host there can be more RAM to share between host and VMs. ___ 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: switching from i386 to amd64
On Sun, 16 Dec 2012 12:48:40 +0100 Ralf Mardorf ralf.mard...@rocketmail.com wrote: Specific requirements _could_ be wine and nVidia's proprietary GPU driver, as far as I know. - Polytropon (Btw. thank you Polytropon :) I'm using amd64 on an Atom/ION box here, the Nvidia binary drivers work fine for both openGL and the vdpau stuff. Virtualbox worked fine too, but this Atom doesn't have hardware virtualisation support so it's a bit sluggish. I've not tried (or wanted) Wine in years. -- Steve O'Hara-Smith st...@sohara.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
Question on how do I tell make to choose between static and shared versions of a library
Hello All, This is not a question strictly on FreeBSD. But since freebsd-questions is a lot quicker with its dependable responses, I decided to post my question here. Under /lib I have both versions - shared (libxyz.so.1) as well as static (libxyz.a) - of a library. How do I tell make to link to the static version, not the shared one ? The next obvious question is how to do the vice versa - tell make to link to the shared version, not the static one. Any help will be greatly appreciated. Thank you -- Regards, Manish Jain bourne.ident...@hotmail.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: Question on how do I tell make to choose between static and shared versions of a library
On Sun, 16 Dec 2012 22:52:05 +0530, Manish Jain wrote: Under /lib I have both versions - shared (libxyz.so.1) as well as static (libxyz.a) - of a library. How do I tell make to link to the static version, not the shared one ? The next obvious question is how to do the vice versa - tell make to link to the shared version, not the static one. To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org This can be done by addressing the linker through $LDFLAGS. I think man ld will be helpful. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Question on how do I tell make to choose between static and shared versions of a library
On 16/12/2012 17:22, Manish Jain wrote: Under /lib I have both versions - shared (libxyz.so.1) as well as static (libxyz.a) - of a library. How do I tell make to link to the static version, not the shared one ? The next obvious question is how to do the vice versa - tell make to link to the shared version, not the static one. Add -static to the ld command line to produce a staticly linked binary: this forbids ld(1) from doing any dynamic linking. Otherwise ld will default to dynamic linking, but fall back to linking staticly against libraries where there isn't a dynamic shared object available. Actually, there are about 4 different linker flags you could use that mean 'produce a staticly linked binary.' They don't have any different effect; the reason they exist is for historic compatibility with versions of ld(1) from many different sources. It's also an all-or-nothing option. If you wanted to use static linkage for one particular library out of all the libraries used by your program, then you'ld need a very different command line. But that, as they say, is left as an exercise for the student. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: switching from i386 to amd64
On 12/16/12 11:00, Aryeh Friedman wrote: I have been using i386 (-STABLE) for years now and was wondering if switching to amd64 finally makes sense (i.e. are enough ports working on it now [xfrce4, firefox, libreoffice, openjdk-6, tomcat, mysql, apache22, flash, cups, devel/aegis, devel/cook, devel/fhist, virtualbox-ose, nvidia-kmod are the minimal ones I need]) the main reason for asking is PAE seems to be broken now and virtualbox-ose refuses to let me install 64 bit OS's like Win 8. I've been using amd64 since I built my current box in April 2008 (starting with 7.0-RELEASE) and have never had a problem. However, I avoid Flash like the plague it is. I recently installed an nVidia card and have no problems with the driver - the latest release dealt with the screen flash problem I had been having. As far as I understand, PAE usage has always had the caveat that certain device drivers may not work with it, and I suspect PAE support is suffering bit rot. ___ 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: switching from i386 to amd64
On 12/16/12 04:00, Aryeh Friedman wrote: I have been using i386 (-STABLE) for years now and was wondering if switching to amd64 finally makes sense (i.e. are enough ports working on it now [xfrce4, firefox, libreoffice, openjdk-6, tomcat, mysql, apache22, flash, cups, devel/aegis, devel/cook, devel/fhist, virtualbox-ose, nvidia-kmod are the minimal ones I need]) the main reason for asking is PAE seems to be broken now and virtualbox-ose refuses to let me install 64 bit OS's like Win 8. I've been using 9.0 release for about six months. xfce, firefox, thunderbird, openoffice 3.4.1, jdk (most was done prior to moving to fbsd 9.0, will be doing more) mysql, nvidia driver. had trouble using html5 from youtube -- caused weird transparent rendering issues, had to disable it. minor problems with oo which are probably generic. (Infinite loop when page had 20-40 images to run text around; not repeatable, but happens fairly frequently; scrolling causes refresh which temporarily fixes the problem). On 12/16/12 07:08, Polytropon wrote: And if you're using Firefox, there are plugins available that allow you to download video content instead of dealing with the Flash player the site wants you to use. and the recommended one is? Sometimes I wish it wouldn't work anymore. It makes the web much more readable. :-) amen ___ 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: Question on how do I tell make to choose between static and shared versions of a library
On 16-Dec-12 23:12, Matthew Seaman wrote: On 16/12/2012 17:22, Manish Jain wrote: Under /lib I have both versions - shared (libxyz.so.1) as well as static (libxyz.a) - of a library. How do I tell make to link to the static version, not the shared one ? The next obvious question is how to do the vice versa - tell make to link to the shared version, not the static one. Add -static to the ld command line to produce a staticly linked binary: this forbids ld(1) from doing any dynamic linking. Otherwise ld will default to dynamic linking, but fall back to linking staticly against libraries where there isn't a dynamic shared object available. Actually, there are about 4 different linker flags you could use that mean 'produce a staticly linked binary.' They don't have any different effect; the reason they exist is for historic compatibility with versions of ld(1) from many different sources. It's also an all-or-nothing option. If you wanted to use static linkage for one particular library out of all the libraries used by your program, then you'ld need a very different command line. But that, as they say, is left as an exercise for the student. Cheers, Matthew Thanks Matthew. That saved me a lot of time, and the man page for ld (as suggested by Polytropon) is not as informative on this particular subject as your response. -- Regards, Manish Jain bourne.ident...@hotmail.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: switching from i386 to amd64
On Sun, 16 Dec 2012 12:13:36 -0700, Gary Aitken wrote: On 12/16/12 07:08, Polytropon wrote: And if you're using Firefox, there are plugins available that allow you to download video content instead of dealing with the Flash player the site wants you to use. and the recommended one is? No idea, I can't use Firefox as it freezes my computer (due to a faulty GPU). I prefer using youtube-dl and get-flash-video scripts which do not rely on a browser, but work for 99% of the cases I've tried them. But as suggested, there are Firefox extensions that allow a similar functionality, but integrated with the web browser. Until later, I'm using Opera, it doesn't freeze my computer. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: IPv6in4 tunnel with only one /64 prefix
Following-up on myself... Of course Steve's suggestion was not what I wanted to hear, as I wanted to do stuff myself :) The take-away is that my plan works. I have a full write up in French at http://tar-jx.bz/notes/tunnels-ipv6.html ; I can translate into English if people are interested. Basically, you need to tell the external interface that it is not in a /64 addres, then you can add the routes you need. There is nothing special to do on the router at the other end of the tunnel, except turning on the DHCPv6 server. I did have to setup an NDP proxy, the (quite trivial) code is at https://gitweb.fperrin.net/?p=ndp6.git. I did hit a bug in ISC dhclient. There is a fix in the Debian bug tracker http://bugs.debian.org/684009 (a similar fix in Network Manager for desktop systems already made itinto their git). Le mercredi 7 à 22:21, Frédéric Perrin a écrit : Hello list, I have a FreeBSD server with native IPv6 connectivity. At home, my ISP provides me with only IPv4 connectivity. In order to get IPv6 to the home, I had the idea of creating a 6in4 tunnel between my home gateway and my FreeBSD server. The part about creating the tunnel, routing between the home and the server works using private addresses (fc00::/8 over gif0). However, I only have one global /64 on the FreeBSD box. What can I do? I have the idea of subnetting the /64 into e.g. /80, route a couple of /80s through gif to the home and use another /80 for the FreeBSD server. However, as the router into which my FreeBSD server is connected will expect the entire /64 to be directly connected, I will have to setup some kind of NDP proxy for the /80 to the home. I will also lose autoconf, but I can live with that. Comments, either on the plan above, or something else I haven't thought of? -- Fred ___ 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: aclocal-1.12: error: 'configure.ac'
Polytropon wrote: [snip] Stop in /opt/ports/ports-mgmt/portupgrade. ^^ Don't know if this matters, never tried it that way - this is FreeBSD, not Linux. FreeBSD is not some kind of Linux. With setting $PORTSDIR it should be possible to have a valid (!) ports tree in any location you want. See man 7 ports for details. With that said, the ports tree usually lives under /usr/ports. No idea why it would show up under /opt, except as some carry over Linuxism. Probably you aren't old enough to remember that /opt is not a Linuxism, but a Solarism, Solarisism. It expresses the optimistic attitude that the content of this subtree will work as expected. :-) lol! I'm 55 yrs old. Only tinkered with Solaris on and off briefly, never used it extensively enough for it to remain in the brain. But you're right! [snip] There's nothing wrong with /opt, but I've never found it would be a good place to put the ports tree in. I'm (ab)using /opt myself for software that I manage outside of the ports tree, completely manually: it's basically scripts in /opt/bin, some specific printer filters in /opt/libexec (called by printcap), and few self-contained subtrees of non-ports stuff. In this way, it does not touch the main system. However, having the complete (!) ports in /usr/ports should avoid trouble. What's confusing here is the fact that the OP seems to have a mixed installation. Main reason I tried to point him back to default install conditions is I can build both these ports right now on a box that is 'normal'. Having a standard default setup will also be less trouble at some future time. More maintainable. I'm a sysadmin and there isn't enough time in my day, so everywhere that I can have stuff that 'Just Works' means I can work on some other more pressing problem. The prompt reads: /usr/ports/ports-mgmt/portupgrade sudo make install Also never had much reason to use sudo with FreeBSD. Just a small personal idiosyncrasy. But the error messages say: /usr/bin/touch /opt/ports/lang/ruby18/work/ruby-1.8.7-p370/configure So there seems to be both /usr/ports and /opt/ports... ??? But finally: Stop in /opt/ports/ports-mgmt/portupgrade. Is there some symlinking issue opt-usr? What I was originally wondering about was the *.mk files located in /usr/ports/Mk. Getting the environment configured as per Matthew's instructions seems like what the OP needs to get right if he truly must have his ports tree in /opt. Unless there is some overriding reason why this is absolutely required, it would be far easier just to have a 'default' setup and get on with things. Just built both of these ports successfully as test. Nothing wrong here. -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: switching from i386 to amd64
On Sun, 16 Dec 2012 06:00:51 -0500 Aryeh Friedman wrote: I have been using i386 (-STABLE) for years now and was wondering if switching to amd64 ... nvidia-kmod are the minimal ones I need]) the main reason for asking is PAE seems to be broken now The last I heard the nvidia driver wasn't compatible with PAE ___ 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
Boot of 9.1 under qemu-kvm 1.3 hangs at pci probing
I'm trying to install FreeBSD 9.1 in a Proxmox KVM, using qemu-kvm 1.3, but the boot process is hanging: pbib0: matched entry for 0.1 INTA pbib0: slot 1 INTA hardwired to IRQ 9 ioapic0: Changing polarity for pin 9 to low found - vendor=0x1013, dev=0x00b8, revid=0x00 domain=0, bus=0, slot=2, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0103, statreg=0x, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0ns), maxlat=0x00 (0ns) [hang] Has anyone come across this before and know of any workarounds? -- 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
mfiutil stating battery not present after installing battery
I have a ServeRAID M5014 SAS/SATA Controller in a server and have just put an M5000 Series Battery directly onto the card. I was just expecting the battery to charge and be able to see it, but no joy after a few days and a restart. As far as I am aware, the battery should just be detected. What am I missing here? The server is 8.3-RELEASE and I get: # mfiutil show adapter mfi0 Adapter: Product Name: ServeRAID M5014 SAS/SATA Controller Serial Number: SV93301447 Firmware: 12.0.1-0097 RAID Levels: JBOD, RAID0, RAID1, RAID5, RAID10, RAID50 Battery Backup: not present NVRAM: 32K Onboard Memory: 256M Minimum Stripe: 8k Maximum Stripe: 1M # mfiutil show battery mfi0: No battery present # dmesg | grep mfi mfi0: LSI MegaSAS Gen2 port 0x1000-0x10ff mem 0x9794-0x97943fff,0x9790-0x9793 irq 16 at device 0.0 on pci1 mfi0: Megaraid SAS driver Ver 3.00 mfi0: 21863 (408970429s/0x0020/info) - Shutdown command received from host mfi0: 21864 (boot + 3s/0x0020/info) - Firmware initialization started (PCI ID 0079/1000/03c7/1014) mfi0: 21865 (boot + 3s/0x0020/info) - Firmware version 2.0.33-0901 mfi0: 21866 (boot + 65s/0x0008/WARN) - Battery Not Present mfi0: 21867 (boot + 65s/0x0020/info) - Board Revision mfi0: 21868 (boot + 83s/0x0002/info) - Inserted: PD 08(e0xff/s8) mfi0: 21869 (boot + 83s/0x0002/info) - Inserted: PD 08(e0xff/s8) Info: enclPd=, scsiType=0, portMap=00, sasAddr=5000cca00a66b335, mfi0: 21870 (boot + 83s/0x0002/info) - PD 08(e0xff/s8) FRU is 42D0628 mfi0: 21871 (boot + 83s/0x0002/info) - Inserted: PD 09(e0xff/s9) mfi0: 21872 (boot + 83s/0x0002/info) - Inserted: PD 09(e0xff/s9) Info: enclPd=, scsiType=0, portMap=02, sasAddr=5000cca00a6993b1, mfi0: 21873 (boot + 83s/0x0002/info) - PD 09(e0xff/s9) FRU is 42D0628 mfi0: 21874 (boot + 83s/0x0002/info) - Inserted: PD 0a(e0xff/s10) mfi0: 21875 (boot + 83s/0x0002/info) - Inserted: PD 0a(e0xff/s10) Info: enclPd=, scsiType=0, portMap=01, sasAddr=5000cca00a645a65, mfi0: 21876 (boot + 83s/0x0002/info) - PD 0a(e0xff/s10) FRU is 42D0628 mfi0: 21877 (boot + 84s/0x0008/WARN) - BBU disabled; changing WB virtual disks to WT mfi0: [ITHREAD] mfi0: 21878 (408970578s/0x0020/info) - Time established as 12/16/12 10:56:18; (145 seconds since power on) mfid0: MFI Logical Disk on mfi0 mfid0: 570296MB (1167966208 sectors) RAID volume '' is optimal Has anyone seen this sort of behaviour before or have any pointers? Thanks, 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
Partitioning - please not that again
Since partitioning didn't work with FreeBSD 9.0 64bit, I tried PC-BSD 8.2 64bit and partitioning worked. I had PC-BSD installed on ada0s1, this was the fstab: /dev/label/rootfs0 / ufs rw,noatime 1 1 /dev/label/swap0noneswapsw 0 0 /dev/label/var0 /varufs rw,noatime 1 1 /dev/label/usr0 /usrufs rw,noatime 1 1 procfs /proc procfs rw 0 0 linprocfs /compat/linux/proc linprocfs rw 0 0 Plan 9 was to delete the PC-BSD files and than to avoid partitioning, but simply to install FreeBSD on the existing slice and what ever the mounted things inside the slice are named. I startet the FreeBSD installer, chose the shell and then run: # mount -t ufs /dev/ad0s1 /mnt # cd /mnt # rm -r * # rm -r .* This does cause the issue I already had before. When I go back to the installer, for the partition editor I get: ada0 298 GB MBR ada0s1 57 GB freebsd ada0s2 240 GB EBR [snip] gpart show also doesn't display the 3 ufs and the swap any more. So I neither can install FreeBSD, nor can I restore the dumped PC-BSD. Is there no easy to use partitioning tool, comparable to e.g. Linux's gparted? How do I have to use the partition editor of the installer? :( Ralf ___ 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
PS: Partitioning - please not that again
Screenshots from Linux's GParted: http://www.zimagez.com/zimage/screenshot-12172012-012707am.php http://www.zimagez.com/zimage/screenshot-12172012-014310am.php Perhaps somebody can exactly write the steps I have to do, to install FreeBSD on /dev/sda1. I guess a swap and / is enough, but swap, /, /usr, /var, as it was for PC-BSD is ok too. I've got 4 GB RAM, the swap I had before, was 8 GB large. Regards, Ralf ___ 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: Partitioning - please not that again
On Mon, 17 Dec 2012 01:05:00 +0100, Ralf Mardorf wrote: I startet the FreeBSD installer, chose the shell and then run: # mount -t ufs /dev/ad0s1 /mnt # cd /mnt # rm -r * # rm -r .* That worked? I can hardly understand why /dev/ad0s1 is mountable (except it's /dev/ad0s1c, i. e. you've initialized the whole slice, but no swap then). A typical construction for FreeBSD would be at least to have /dev/ad0s1a, mounted to /, being the bootable root partition, and /dev/ad0s1b, the swap partition. Further partitions could have been created, e. g. /dev/ad0s1d for /var, and /dev/ad0s1e for /usr. This does cause the issue I already had before. When I go back to the installer, for the partition editor I get: ada0 298 GB MBR ada0s1 57 GB freebsd ada0s2 240 GB EBR [snip] gpart show also doesn't display the 3 ufs and the swap any more. Did it previously show them? I don't know if gpart supports BSD-typical partitioning (i. e. partitions inside a slice)... Option: The partition data has been lost. Only the slice enclosing them has been kept. So I neither can install FreeBSD, nor can I restore the dumped PC-BSD. Is there no easy to use partitioning tool, comparable to e.g. Linux's gparted? Basically, that's what ye olde installer sysinstall would have done. I don't use the new installer bsdinstall because I prefer using the CLI tools which offer more flexibility and seem to be able to deal with nonstandard constructions such as extended DOS partitions et al. How do I have to use the partition editor of the installer? Usually as described in The FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-partitioning.html As it seems, the installer guide defaults to GPT; what you have (judging from the Linux construction) is MBR, but there is a slice available, and that should be sufficient. You can compare: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PS: Partitioning - please not that again
On Mon, 17 Dec 2012 01:54:59 +0100, Ralf Mardorf wrote: Screenshots from Linux's GParted: http://www.zimagez.com/zimage/screenshot-12172012-012707am.php http://www.zimagez.com/zimage/screenshot-12172012-014310am.php Judging from the screenshots, /dev/sda1 = /dev/ad0s1, a DOS primary partition, should be fine for installing FreeBSD into. Perhaps somebody can exactly write the steps I have to do, to install FreeBSD on /dev/sda1. In case the 1st slice is already of sysid 165 (FreeBSD/NetBSD/386BSD), the installer (NB: I'm talking about ye olde sysinstall -- no idea what new bsdinstall will do!) should be able to identify previous partitions that have been created in this slice. You can re-use them, you just have to define the mount points. Maybe it's also a good idea (but not strictly needed) to have the installer format them (newfs = yes). You can check with fdisk ad0 from a FreeBSD live system (or the shell from the installation media). I guess a swap and / is enough, but swap, /, /usr, /var, as it was for PC-BSD is ok too. I've got 4 GB RAM, the swap I had before, was 8 GB large. No problem with this functional separation. This would also default to have /home symlinked to /usr/home, making it part of the /usr partition, if that's okay for you. Also /tmp will be on the / partition (except you use tmpfs or a similar means to put /tmp into RAM). If the installer cannot create the partitions (for whatever reason that may be), you can relapse to using the CLI tool disklabel (bsdlabel) to create the partitions. If you don't want to work in this old-fashioned manner, using gpart is also possible. It supports both old MBR style (what seems to be in use on your current installation) and new GPT style (to get rid of the DOS primary partitions, DOS extended partitions, and logical volumes inside a DOS extended partition). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Partitioning - please not that again
On Mon, 2012-12-17 at 02:17 +0100, Polytropon wrote: On Mon, 17 Dec 2012 01:05:00 +0100, Ralf Mardorf wrote: ada0 298 GB MBR ada0s1 57 GB freebsd ada0s2 240 GB EBR [snip] gpart show also doesn't display the 3 ufs and the swap any more. Did it previously show them? Yes, they where shown. Option: The partition data has been lost. Only the slice enclosing them has been kept. Ok :S. How do I have to use the partition editor of the installer? Usually as described in The FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-partitioning.html As it seems, the installer guide defaults to GPT; what you have (judging from the Linux construction) is MBR, but there is a slice available, and that should be sufficient. Figure 3-16. Manually Create Partitions doesn't work. You can compare: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html So I can start sysinstall from the installer's shell? Oops, in the following mail there is the answer :). Thank you, I'll try 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
Re: PS: Partitioning - please not that again
... On Mon, 2012-12-17 at 02:17 +0100, Polytropon wrote: On Mon, 17 Dec 2012 01:54:59 +0100, Ralf Mardorf wrote: Screenshots from Linux's GParted: http://www.zimagez.com/zimage/screenshot-12172012-012707am.php http://www.zimagez.com/zimage/screenshot-12172012-014310am.php Judging from the screenshots, /dev/sda1 = /dev/ad0s1, a DOS primary partition, should be fine for installing FreeBSD into. PC-BSD could use it. Perhaps somebody can exactly write the steps I have to do, to install FreeBSD on /dev/sda1. In case the 1st slice is already of sysid 165 (FreeBSD/NetBSD/386BSD), the installer (NB: I'm talking about ye olde sysinstall -- no idea what new bsdinstall will do!) should be able to identify previous partitions that have been created in this slice. You can re-use them, you just have to define the mount points. Maybe it's also a good idea (but not strictly needed) to have the installer format them (newfs = yes). You can check with fdisk ad0 from a FreeBSD live system (or the shell from the installation media). Ok. I guess a swap and / is enough, but swap, /, /usr, /var, as it was for PC-BSD is ok too. I've got 4 GB RAM, the swap I had before, was 8 GB large. No problem with this functional separation. This would also default to have /home symlinked to /usr/home, making it part of the /usr partition, if that's okay for you. Also /tmp will be on the / partition (except you use tmpfs or a similar means to put /tmp into RAM). If the installer cannot create the partitions (for whatever reason that may be), you can relapse to using the CLI tool disklabel (bsdlabel) to create the partitions. If you don't want to work in this old-fashioned manner, using gpart is also possible. It supports both old MBR style (what seems to be in use on your current installation) and new GPT style (to get rid of the DOS primary partitions, DOS extended partitions, and logical volumes inside a DOS extended partition). gpart didn't work. However, I'll try sysinstall or http://www.manpages.info/freebsd/disklabel.8.html ... hm? ... I'm not sure, if I already tried bsdlabel. Regards, Ralf ___ 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: PS: Partitioning - please not that again
On Mon, 17 Dec 2012, Ralf Mardorf wrote: Screenshots from Linux's GParted: http://www.zimagez.com/zimage/screenshot-12172012-012707am.php http://www.zimagez.com/zimage/screenshot-12172012-014310am.php Perhaps somebody can exactly write the steps I have to do, to install FreeBSD on /dev/sda1. I guess a swap and / is enough, but swap, /, /usr, /var, as it was for PC-BSD is ok too. I've got 4 GB RAM, the swap I had before, was 8 GB large. Like this? http://forums.freebsd.org/showpost.php?p=149210postcount=13 ___ 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: Partitioning - please not that again
On Mon, 17 Dec 2012, Polytropon wrote: On Mon, 17 Dec 2012 01:05:00 +0100, Ralf Mardorf wrote: I startet the FreeBSD installer, chose the shell and then run: # mount -t ufs /dev/ad0s1 /mnt # cd /mnt # rm -r * # rm -r .* That worked? I can hardly understand why /dev/ad0s1 is mountable (except it's /dev/ad0s1c, i. e. you've initialized the whole slice, but no swap then). A typical construction for FreeBSD would be at least to have /dev/ad0s1a, mounted to /, being the bootable root partition, and /dev/ad0s1b, the swap partition. Further partitions could have been created, e. g. /dev/ad0s1d for /var, and /dev/ad0s1e for /usr. This does cause the issue I already had before. When I go back to the installer, for the partition editor I get: ada0 298 GB MBR ada0s1 57 GB freebsd ada0s2 240 GB EBR [snip] gpart show also doesn't display the 3 ufs and the swap any more. Did it previously show them? I don't know if gpart supports BSD-typical partitioning (i. e. partitions inside a slice)... Yes, it does. But it won't show them unless you look in ada0s1. bsdlabel partitions are inside slices. ___ 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