Re: libsndfile portupgrade cuts sound... :-(
On Tue, Mar 10, 2009 at 08:03:49PM +0100, Wojciech Puchar wrote: Today, I successfully portupgraded libsndfile, but afterwards I noticed that my sound doesn't work anymore. Running FreeBSD 7.0-RELEASE #0 and have a '82801G (ICH7 Family) High Definition Audio' sound card. Before it was working without any problems with the sound/snd_hda drivers. What can I do to get my sound back up and running? libsndfile has nothing to do with sound driver, i'm sure it's still working fine. just do cat /dev/urandom /dev/audio to check :) Nope, no sound coming out of my speakers. I was a bit worried that it was my audio card died on me but booting from another external HD with FreeBSD, everything seems to work fine. I'll portupgrade the other HD also to verify if the same issue occurs. I've only updated gtar, libsndfile, and ruby18-bdb that day, so I assumed it had to do with libsndfile. Hopefully I'll know more the next few days, so don't spend any time on my problem for now ;-) Thanks, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ 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: libsndfile portupgrade cuts sound... :-(
:) Nope, no sound coming out of my speakers. I was a bit worried that it was my audio card died on me but booting from another external HD with FreeBSD, everything seems to work fine. I'll portupgrade the other HD also to verify if the same issue occurs. run mixer and check if it's not just volume set to 0 ___ 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: libsndfile portupgrade cuts sound... :-(
On Wed, Mar 11, 2009 at 07:38:29AM +0100, Wojciech Puchar wrote: :) Nope, no sound coming out of my speakers. I was a bit worried that it was my audio card died on me but booting from another external HD with FreeBSD, everything seems to work fine. I'll portupgrade the other HD also to verify if the same issue occurs. run mixer and check if it's not just volume set to 0 I guess idiots (me) haven't left this world yet since indeed the pcm in mixer was set to 0... Problem solvedyet strange that it suddenly was at 0 Thanks, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ 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: port nasm wont upgrade
Lowell Gilbert wrote: You seem to be be missing /usr/ports/devel/nasm/distinfo. You can re-create it with make makesum, but that would defeat the point of checking file integrity in the first place. Besides, if you have a missing (or corrupted) file in your ports tree, there may be others. If you update your ports tree regularly anyway, I would recommend removing that directory and updating. Hiya I removed the ports directory as suggest (Cant believe I didnt think of that). Alls working / compiling. Thanks so much. Regards Brent Clark ___ 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: /libexec/ld-elf.so.1: Shared object libxcb.so.1 not found, required by libcairo.so.2
Noah wrote: Robert Huff wrote: Noah writes: rebuilding emacs using portupgrade is dying and claiming I am missing a library. What shall I do? /libexec/ld-elf.so.1: Shared object libxcb.so.1 not found, required by libcairo.so.2 Have you: 1) updated your whole ports tree? 2) read /usr/ports/UPDATING? Sure Robert, This is what I do to update the whole ports tree. Am I missing something? 1) use cvsup and get the entire ports 2) cd /usr/ports make index 3) cd /usr/ports make fetchindex Do one of 2 or 3 -- not both. 4) /usr/local/sbin/portsdb -Uu 5) /usr/local/sbin/pkgdb -fu Yeah. You need to read /usr/ports/UPDATING and act on the 20090123 entry for x11/libxcb. You'ld know if you had carried out the instructions because it would have reinstalled just about everything X related on your system. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Is there a roadmap for FreeBSD ?
Le Wed, 11 Mar 2009 08:25:12 + (GMT), Saifi Khan saifi.k...@twincling.org: Personally I don't think roadmaps are all that usefull for open source projects that depend on volunteer work. Volunteers tend to work on an area that either scratches an itch for them or that interests them. Fine, may i have the list of 'itch'es ? Ivan Voras has a nice page What's cooking for FreeBSD 8? http://ivoras.sharanet.org/freebsd/freebsd8.html ___ 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: iSCSI initiator lockups
--VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In our last exciting episode, Danny Braniss (da...@cs.huji.ac.il) said: I guess it's time to fix this. danny Thank you very much for the pointer to the newer version; we have seen a=20 marked improvement with none of the 30 second studdering. I appreciate your rapid assistance! Good, can you send me the info of the target/s you are using to add to the list of supported targets? Cheers, danny ___ 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: Is there a roadmap for FreeBSD ?
On Wed, 11 Mar 2009, Patrick Lamaizi?re wrote: Le Wed, 11 Mar 2009 08:25:12 + (GMT), Saifi Khan saifi.k...@twincling.org: Personally I don't think roadmaps are all that usefull for open source projects that depend on volunteer work. Volunteers tend to work on an area that either scratches an itch for them or that interests them. Fine, may i have the list of 'itch'es ? Ivan Voras has a nice page What's cooking for FreeBSD 8? http://ivoras.sharanet.org/freebsd/freebsd8.html Thank you Patrick for the help. This is the document that i was searching for on freebsd.org and wiki.freebsd.org . Is there any reason, to not have this document on freebsd.org website like other projects ? thanks Saifi.___ 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: Is NFS Locking Reliable?
Our NFS servers for user home directories are on FreeBSD (6.4), MacOSX (10.5), Linux (still 2.4 kernel) and Tru64-UNIX boxes; NFS clients are mostly Linux (2.6 kernel) and FreeBSD (6.4, 7.0, but w/o kernel lockd) systems. I have seen problems with NFS locking even in completely homogeneous environments. With a mix like that, I would not trust it as far as I could throw a Cray :) There are periods of several days without problems, but from time to time, on one, two, or several (but not all) clients application processes which use locking suddenly hang in kernel mode - namely firefox, opera, pine. Lockups are probably the least of your concerns, at least where pine is involved. Dunno what sort of data firefox and opera are protecting from race conditions, but I suppose pine is being used for email. Cases will arise wherein mail mysteriously disappears, because the client and the delivery agent were both updating the inbox at the same time. Often there will be no noticeable symptoms, except for users wondering what happened to that important message they were supposed to have gotten (and which the MTA log shows was in fact delivered). Never export an inbox read/write if reliability of mail delivery is needed. Use IMAP instead. It seems to be no specific operating system problem - all combinations of clients and servers are involved. I suspect the reason NFS locking is so troublesome is that it presents problems which are fundamentally incomputable. Prior to restoration of communication, how can any automaton possibly distinguish between * a temporary loss of the communication link (but the peer is still running and the link will eventually be re-established), and * the peer has crashed, and will eventually reboot? ___ 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
bsd vs gpl
i've not paid much attention to licensing philosophy i the past, because for me it was always windoze vs the goodguys. however, recently i've become aware of there being a chasm within the goodguys in that the bsd attitude is do what you want as long as you give credit to the creator, whereas the gpl folks say do what you want as long as you keep it free. is this a fair summation? do people here have any thoughts on the two different licenses? -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ 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: PAE kernel problem on Dell PowerEdge 2950
Hi, However, I am going to use 7.1-STABLE on them. I see no reason why you should run 6.4 at all though. What's your motivation towards thaat angle? I suggest you install the 7.1 and update it to -STABLE then see if anything changes as regards the CPU (est message), while we wait for the magic word from the dedicated developers. With some delay in the reply: for a production server I try to keep with the legacy version of FreeBSD. And I stick to RELENG, not STABLE, because I want to patch security bugs, but I most probably does not need all the new bells and whistles of STABLE: this is a production server, I prefer to modify the machine as least as possible, unless it is expressely needed by a secuity issue (I won't apply security patches if they are not pertinent to a specific server and the services running on that machine). Bests, Olivier ___ 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: bsd vs gpl
On Wed, Mar 11, 2009 at 8:20 AM, prad p...@towardsfreedom.com wrote: however, recently i've become aware of there being a chasm within the goodguys in that the bsd attitude is do what you want as long as you give credit to the creator, whereas the gpl folks say do what you want as long as you keep it free. is this a fair summation? do people here have any thoughts on the two different licenses? -- In friendship, prad There are two rights associated. Rights to Usage Rights to Modify When you take a piece of code licensed under GPL and modify it, you are required to make your changes available and also under the same license ie. GPL. So the rights to modify comes with covenants in GPL. In the case of BSD and ASL, there is no such covenant. It may also be pertinent to know that under any license, the recipient cannot change the copyright ownership or the notice for eg. ... The Regents of the University of California. All rights reserved. ... -- thanks Saifi. ___ 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
torrent client traffic shaping question
Hiya I got this question to ask, and I was hoping the TCP/IP gurus would be able to help me understand this. K you know how with traffic shapping you can control only the traffic leaving you, how it is that torrent clients say they can control the download as well as the upload. I would think the client can only control the upload. TIA Brent Clark ___ 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: torrent client traffic shaping question
Hi, K you know how with traffic shapping you can control only the traffic leaving you, how it is that torrent clients say they can control the download as well as the upload. I would think the client can only control the upload. Maybe torrent protocol includes something where by the client tells its peers to send data at a slower rate. Traffic shaping is done at IP or TCP level, while the up/down load speed is managed at the client level. Bests, Olivier ___ 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: PAE kernel problem on Dell PowerEdge 2950
Olivier Nicole wrote: [snip] And I stick to RELENG, not STABLE, because I want to patch security bugs, but I most probably does not need all the new bells and whistles of STABLE: this is a production server, I prefer to modify the machine as least as possible, unless it is expressely needed by a secuity issue (I won't apply security patches if they are not pertinent to a specific server and the services running on that machine). Bests, Olivier I am of the same bent. For many security issues that do not mandate a reboot I just apply the patches following the instructions in the security advisory. 32 bit drivers such as NVidia on a desktop box mean you're stuck with i386. These same drivers usually have problems with PAE kernels as well. In the server world you are better off not running a PAE kernel. PAE is kludge and a true 64 bit implementation will give you better performance. The thing to watch out here would be a controller driver based on a binary blob. How it was originally built by the mfr can cause trouble in a mix-n- match environment. I believe most controller drivers these days are OK on 64 bit platforms, it is just a detail to keep an eye out on. But - PAE is something better done away with and relegated to history. Just my $.02 -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
driver for wifi as usb device
Hi, I'm struggling with installation of driver for my wifi visible as usb device (hp 8730w laptop) on both, 7.1 and 8.0, versions of FreeBSD. I've tried to use Windows drivers with no significant effect (still, USB wifi is not assigned with the driver). Has anyone succeeded in resolving similar problem? Any help will be most appreciated. Best, Michal ___ 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: bsd vs gpl
On Wed, Mar 11, 2009 at 4:20 AM, prad p...@towardsfreedom.com wrote: do people here have any thoughts on the two different licenses? -- In friendship, prad This is NOT a simple issue . In http://en.wikipedia.org/wiki/Comparison_of_free_software_licences http://en.wikipedia.org/wiki/Category:Software_licenses http://en.wikipedia.org/wiki/Software_licences pages and links in them , it is possible to find sufficiently detailed information . The main point is that any dispute with respect to software licenses are solved in courts and final decisions are made by judges . This means that any legal advise can only be made by legally authorized persons . The other views are only exchange of point of views . Thank you very much . Mehmet Erol Sanliturk ___ 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: bsd vs gpl
i've not paid much attention to licensing philosophy i the past, because for me it was always windoze vs the goodguys. however, recently i've become aware of there being a chasm within the goodguys in that the bsd attitude is do what you want as long as you give credit to the creator, whereas the gpl folks say do what you want as long as you keep it free. is this a fair summation? not quite. keep it free means that you HAVE TO publish sources of your whole product if you will just use a few lines of code from GPL sources. It's not free licence, it's just another kind communism. In contrary BSD licence allows you to JUST USE THE CODE. That's all. Nothing forbids you to write say prad-OS that will reuse all drivers from FreeBSD, and sell it commercially in binary only form. ___ 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: torrent client traffic shaping question
Olivier Nicole wrote: Maybe torrent protocol includes something where by the client tells its peers to send data at a slower rate. Traffic shaping is done at IP or TCP level, while the up/down load speed is managed at the client level. Bests, Olivier Hi I posted the same Q on netfilters mailinglist. This was one of the answers I got snip If you read from socket at fixed rate, it's TCP receive buffer is emptied at same rate. TCP announces free buffer in receive window field, so congestion window on sender side is also adjusted, thus limiting send speed to the rate you read from socket on receiver side. /snip Brent ___ 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: PAE kernel problem on Dell PowerEdge 2950
Hi, why not simply use /amd64? You mean he changes the CPU? All CPUs generally shipped from Dell anymore are 64bit capable. Do you have the original specs (take the service tag, go to dell support - warranty - original system config) and paste that. It gives chip IDs that we can use online to see if it's amd64 capable. It seems that amd64 is not only for CPU's manufactured by AMD, but it can be used on 64 bits Intels too. Well I am just trying and so far it installed. But that name amd64 is missleading, to say the least. Bests, Olivier ___ 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: torrent client traffic shaping question
On Wed, 11 Mar 2009 11:13:16 +0200 Brent Clark brentgclarkl...@gmail.com wrote: Hiya I got this question to ask, and I was hoping the TCP/IP gurus would be able to help me understand this. K you know how with traffic shapping you can control only the traffic leaving you, how it is that torrent clients say they can control the download as well as the upload. I would think the client can only control the upload. If the client reads from a TCP socket slower than the data is coming-in, the buffers fill-up and the sliding-window algorithm in TCP causes the sending side to slow down. A traffic shaper could efficiently regulate downloads by proxying TCP. And even though PF does some limited TCP proxying, unfortunately dummynet and altq work at the IP level. ___ 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: hardware list in a machine
On Tue, 10 Mar 2009 10:24:24 +, Ricardo Jesus ricardo.meb.je...@gmail.com wrote: Polytropon I can't seem to find usbconf. % usbconf usbconf: Command not found. % whereis usbconf usbconf: Is it a third party application? My mistake, sorry. Of course it's usbdevs, a tool that comes with the OS. % which usbdevs /usr/sbin/usbdevs Its manpage offers various options how to show the attached USB devices, as well as the USB controller's / hub' capabilities. The most common use is usbdevs -vd to obtain the most important informations. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PAE kernel problem on Dell PowerEdge 2950
Olivier Nicole wrote: Hi, why not simply use /amd64? You mean he changes the CPU? All CPUs generally shipped from Dell anymore are 64bit capable. Do you have the original specs (take the service tag, go to dell support - warranty - original system config) and paste that. It gives chip IDs that we can use online to see if it's amd64 capable. It seems that amd64 is not only for CPU's manufactured by AMD, but it can be used on 64 bits Intels too. Well I am just trying and so far it installed. But that name amd64 is missleading, to say the least. [snip] Yes - it has been somewhat of a small source of confusion. The reason it had the name amd64 attached is it was AMD that first developed the x86-64 extensions. Intel soon followed suit when it became apparent that their IA64 architecture was not going to supplant x86. They named their version EMT64. FreeBSD simply used the amd64 wrt it's naming scheme to give proper credit where due, e.g, to the inventor/originator. -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
p5-Digest-HMAC-1.01 installation is corrupt!
Hi there, I am trying to remove p5-Digest-HMAC-1.01 installation. How do I do it? # portmanager -u -y rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: @comment ORIGIN: not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running pkg_delete -f p5-Digest-HMAC-1.01 then manually reinstalling this port rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: @comment ORIGIN: not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running pkg_delete -f p5-Digest-HMAC-1.01 then manually reinstalling this port portmanager 0.4.1_9: Collecting installed port data ^CMGPMrCatchSignal received signal -=2 # pkg_delete -f p5-Digest-HMAC-1.01 pkg_delete: package 'p5-Digest-HMAC-1.01' doesn't have a prefix ___ 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: p5-Digest-HMAC-1.01 installation is corrupt!
I am trying to remove p5-Digest-HMAC-1.01 installation. How do I do it? # portmanager -u -y rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: @comment ORIGIN: not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running pkg_delete -f p5-Digest-HMAC-1.01 Did you try pkg_delete -f p5-Digest-HMAC-1.01 as recommended? Bests, Olivier ___ 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: p5-Digest-HMAC-1.01 installation is corrupt!
yes # pkg_delete -f p5-Digest-HMAC-1.01 pkg_delete: package 'p5-Digest-HMAC-1.01' is required by these other packages and may not be deinstalled (but I'll delete it anyway): p5-Mail-SpamAssassin-3.2.5_1 pkg_delete: package 'p5-Digest-HMAC-1.01' doesn't have a prefix Olivier Nicole wrote: I am trying to remove p5-Digest-HMAC-1.01 installation. How do I do it? # portmanager -u -y rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: @comment ORIGIN: not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running pkg_delete -f p5-Digest-HMAC-1.01 Did you try pkg_delete -f p5-Digest-HMAC-1.01 as recommended? Bests, Olivier ___ 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: p5-Digest-HMAC-1.01 installation is corrupt!
yes and I still get the error again when running portmanager # pkg_delete -f p5-Digest-HMAC-1.01 pkg_delete: package 'p5-Digest-HMAC-1.01' is required by these other packages and may not be deinstalled (but I'll delete it anyway): p5-Mail-SpamAssassin-3.2.5_1 pkg_delete: package 'p5-Digest-HMAC-1.01' doesn't have a prefix # # portmanager -u -y rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: @comment ORIGIN: not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running pkg_delete -f p5-Digest-HMAC-1.01 then manually reinstalling this port rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: @comment ORIGIN: not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running pkg_delete -f p5-Digest-HMAC-1.01 then manually reinstalling this port portmanager 0.4.1_9: Collecting installed port data ^CMGPMrCatchSignal received signal -=2 Olivier Nicole wrote: I am trying to remove p5-Digest-HMAC-1.01 installation. How do I do it? # portmanager -u -y rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: @comment ORIGIN: not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running pkg_delete -f p5-Digest-HMAC-1.01 Did you try pkg_delete -f p5-Digest-HMAC-1.01 as recommended? Bests, Olivier ___ 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
reinstall package with portinstall
Hi there, how can I reinstall a package that could be the same version as the currently Install version with portinstall or portupgrade? Cheers, Noah ___ 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
port: multimedia/recordmydesktop
Hello, Any experience or comments about the port multimedia/recordmydesktop? I can't access the web site http://recordmydesktop.iovar.org/ that's why I'm asking; to the Cc'ed maintainer of the port: the web site mentioned in pkg-descr does not exist anymore; Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/ ___ 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: reinstall package with portinstall
On Wed, 11 Mar 2009 06:14:58 -0700 Noah adm...@enabled.com wrote: Hi there, how can I reinstall a package that could be the same version as the currently Install version with portinstall or portupgrade? portupgrade -f ___ 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: reinstall package with portinstall
On Wed, Mar 11, 2009 at 4:14 PM, Noah adm...@enabled.com wrote: Hi there, how can I reinstall a package that could be the same version as the currently Install version with portinstall or portupgrade? man portupgrade If the install location conflicts, you have to deinstall one, then install the other. Otherwise portupgrade -Nf will do what you want. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The only time a woman really succeeds in changing a man is when he is a baby. - Natalie Wood ___ 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: bsd vs gpl
On Wed, Mar 11, 2009 at 01:20:18AM -0700, prad wrote: i've not paid much attention to licensing philosophy i the past, because for me it was always windoze vs the goodguys. however, recently i've become aware of there being a chasm within the goodguys in that the bsd attitude is do what you want as long as you give credit to the creator, whereas the gpl folks say do what you want as long as you keep it free. is this a fair summation? No, too simple. The source code is always free under BSD, contrary to what GPL proponents claim. Just that under BSD you are free to keep ownership of your own work. To decide how *you* wish to distribute. You may limit the redistribution of your work which includes BSD components. GPL people seem to forget the base BSD code is still free, its just that they want your enhancements too. Its a lesson in how to lie the way they claim this is somehow free and/or freedom. GPL states that if you make changes those changes must be made available under the same terms as the original source code. Yet somehow darlings of the GPL world such as Red Hat, MySQL, and others, skirt around that onerous requirement. -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: p5-Digest-HMAC-1.01 installation is corrupt!
Try doing a pkg_deinstall -pf p5-Digest-HMAC-1.01 And if that fails, I guess you could try as a last resort rm -Rf /var/db/pkg/p5-Digest-HMAC-1.01 and then reinstall the package and do a regular pkg_delete -f p5-Digest-HMAC-1.01 -- Jacques Manukyan Noah wrote: yes and I still get the error again when running portmanager # pkg_delete -f p5-Digest-HMAC-1.01 pkg_delete: package 'p5-Digest-HMAC-1.01' is required by these other packages and may not be deinstalled (but I'll delete it anyway): p5-Mail-SpamAssassin-3.2.5_1 pkg_delete: package 'p5-Digest-HMAC-1.01' doesn't have a prefix # # portmanager -u -y rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: @comment ORIGIN: not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running pkg_delete -f p5-Digest-HMAC-1.01 then manually reinstalling this port rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: @comment ORIGIN: not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running pkg_delete -f p5-Digest-HMAC-1.01 then manually reinstalling this port portmanager 0.4.1_9: Collecting installed port data ^CMGPMrCatchSignal received signal -=2 Olivier Nicole wrote: I am trying to remove p5-Digest-HMAC-1.01 installation. How do I do it? # portmanager -u -y rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: @comment ORIGIN: not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running pkg_delete -f p5-Digest-HMAC-1.01 Did you try pkg_delete -f p5-Digest-HMAC-1.01 as recommended? Bests, Olivier ___ 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
acroread error with libgobject-2.0.so.0
I have installed acroread8 with no errors, however on execution I get the following error; /usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/bin/acroread: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory the file is there; $ cd /usr/local/lib $ $ ls -tld libgobject* -rw-r--r-- 1 root wheel 344082 Feb 27 19:17 libgobject-2.0.a -rwxr-xr-x 1 root wheel 984 Feb 27 19:17 libgobject-2.0.la lrwxr-xr-x 1 root wheel 19 Feb 27 19:17 libgobject-2.0.so - libgobject-2.0.so.0 -rwxr-xr-x 1 root wheel 235062 Feb 27 19:17 libgobject-2.0.so.0 and ldconfig sees it; $ ldconfig -r | grep libgobject 219:-lgobject-2.0.0 = /usr/X11R6/lib/libgobject-2.0.so.0 460:-lgobject-2.0.0 = /usr/local/lib/libgobject-2.0.so.0 $ I have followed a few threads with similar error but have found no resolution yet. Any pointers would be helpful. ___ 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
How to auto-detect a USB drive?
I want to have a process running on my FreeBSD box that automatically detects when a USB drive is inserted. What's the easiest way to accomplish this? I know I could simply monitor /var/log/messages and look for the appropriate events to appear, but is there a more elegant way? ___ 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: bsd vs gpl
On Wed, 11 Mar 2009 09:02:47 -0500, David Kelly dke...@hiwaay.net wrote: The source code is always free under BSD, contrary to what GPL proponents claim. Terms like enslavement of code come into mind, BSD thieves and others... But this isn't only the case with BSDL. The MIT uses a similar license for X, as far as I know, and Apache does it as well. Just that under BSD you are free to keep ownership of your own work. The BSDL doesn't change anything related to copyright (which is on the side of the coders). GPL states that if you make changes those changes must be made available under the same terms as the original source code. Yet somehow darlings of the GPL world such as Red Hat, MySQL, and others, skirt around that onerous requirement. That's why the GPL is often called a viral license. As far as I know, not only using GPL code, also linking against a GPL library would require to put the initial work under GPL. I'd like to make an addition: The freedom of the BSDL intentionally allows to close sources. This can be considered theft, if one would like to use this interpretation. When taking some BSDL code, there's no need to contribute anything back. One argument could be that the money or hardware given to the FreeBSD developers is abused by those who silently take advantage of their work. But finally, it's always the developer who decides what to do with his own work. If he intends to allow others to make money from his code without giving anything back, it's his choice to do so. If a supporter doesn't like this decision, he should think about his support. Closing code doesn't make the code disappear which it is based upon, so code doesn't get unfree. I know, this can lead into an endless discussion. It has already taken place on other platforms, such as here: http://www.osnews.com/comments/20740 Forgive me my comment. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to auto-detect a USB drive?
On Wed, 11 Mar 2009 07:42:04 -0700 (PDT), Peter Steele pste...@maxiscale.com wrote: I want to have a process running on my FreeBSD box that automatically detects when a USB drive is inserted. What's the easiest way to accomplish this? I know I could simply monitor /var/log/messages and look for the appropriate events to appear, but is there a more elegant way? The system will monitor it itself. :-) My question to you would be: What exactly do you mean by automatically detect? The drive *is* automatically detected. Should it be mounted afterwards? The creation of the device files (after system startup) is controlled by the file /etc/devfs.rules. You can use automounters to automatically mount devices when they appear. In order how to determine file systems, slices and partitions on such an USB device, you could, for example, have a look at how FreeSBIE does it. Additionally, there are already tools integrated in KDE and Gnome that automount USB devices. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to auto-detect a USB drive?
devd.conf On Wed, 11 Mar 2009, Peter Steele wrote: I want to have a process running on my FreeBSD box that automatically detects when a USB drive is inserted. What's the easiest way to accomplish this? I know I could simply monitor /var/log/messages and look for the appropriate events to appear, but is there a more elegant way? ___ 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: acroread error with libgobject-2.0.so.0
David Banning wrote: I have installed acroread8 with no errors, however on execution I get the following error; /usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/bin/acroread: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory the file is there; $ cd /usr/local/lib $ $ ls -tld libgobject* -rw-r--r-- 1 root wheel 344082 Feb 27 19:17 libgobject-2.0.a -rwxr-xr-x 1 root wheel 984 Feb 27 19:17 libgobject-2.0.la lrwxr-xr-x 1 root wheel 19 Feb 27 19:17 libgobject-2.0.so - libgobject-2.0.so.0 -rwxr-xr-x 1 root wheel 235062 Feb 27 19:17 libgobject-2.0.so.0 and ldconfig sees it; $ ldconfig -r | grep libgobject 219:-lgobject-2.0.0 = /usr/X11R6/lib/libgobject-2.0.so.0 460:-lgobject-2.0.0 = /usr/local/lib/libgobject-2.0.so.0 $ I have followed a few threads with similar error but have found no resolution yet. Any pointers would be helpful. Please forgive if I seem a trifle dense, but how did you go about installing? If done using the ports system, as part of the process linux_compat and various linux-* ports should have installed as dependencies. Perhaps the install succeeded but left out linux_load=YES from /boot/loader.conf? Possibly it may be one of the few things that need linprocfs_load=YES too, but I doubt this because there would be a different error. I would expect it to be looking for the library referenced above somewhere below the /compat or /usr/compat (the first is a link) which is where the linuxolator resides. This library should be being provided by the linux- gtk2-2.6.10_1 port. Since the acroread8 is a linux blob it should be using the linuxolator to run. -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: bsd vs gpl
That's why the GPL is often called a viral license. As GPL is a communist licence. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to auto-detect a USB drive?
My question to you would be: What exactly do you mean by automatically detect? The drive *is* automatically detected. Should it be mounted afterwards? Yeah, I guess my wording was a little vague. I know that the system automatically detects when a USB drive is inserted, and creates the appropriate entries under /dev. I want to follow this up with having the drive automatically mounted, and I'll then examine the USB drive for specific files I expect to be present, and possible run something that's installed on the disk, then unmount the disk. We want to use this approach to deploy our software on large clusters of machines that may not have an IP identity. You can use automounters to automatically mount devices when they appear. In order how to determine file systems, slices and partitions on such an USB device, you could, for example, have a look at how FreeSBIE does it. If I can hook into an event that signals when a USB disk is inserted, I can take care of verifying the disk is in the format we expect it to be. Additionally, there are already tools integrated in KDE and Gnome that automount USB devices. Our boxes have no GUI so these may not work for us. We have a more specific application though and do not need a general purpose automounter. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to auto-detect a USB drive?
This looks like it will do exactly what I need. Thanks for the pointer! - Original Message - From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl To: Peter Steele pste...@maxiscale.com Cc: questi...@freebsd.org Sent: Wednesday, March 11, 2009 8:08:20 AM GMT -08:00 US/Canada Pacific Subject: Re: How to auto-detect a USB drive? devd.conf On Wed, 11 Mar 2009, Peter Steele wrote: I want to have a process running on my FreeBSD box that automatically detects when a USB drive is inserted. What's the easiest way to accomplish this? I know I could simply monitor /var/log/messages and look for the appropriate events to appear, but is there a more elegant way? ___ 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: hardware list in a machine
devinfo -v On Tue, Mar 10, 2009 at 12:29 AM, gahn ipfr...@yahoo.com wrote: Hi all: How could I find out the list of hardware in my machine? I used dmesg and var/run/dmesg.boot, it didn't seem to help that much as I expected. which file lists all of hardware in the machine? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ 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: bsd vs gpl
Reader Chemisor advances a theory in his journal that a linguistic misunderstanding is at the root of many disagreements over different licensing philosophies, in particular BSD vs. GPL. The argument is that GPL adherents desire the freedom of their /code/, while those on the BSD side want freedom for their /projects/. http://news.slashdot.org/article.pl?sid=08/07/08/1832255 could we follow up to -chat please? -questions is usually meant for freeBSD questions. -- Eitan Adler Security is increased by designing for the way humans actually behave. -Jakob Nielsen ___ 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: bsd vs gpl
At 16:09 11/03/2009, Wojciech Puchar wrote: That's why the GPL is often called a viral license. As GPL is a communist licence. No, even communist are more generous ... --- Useful Acronyms: GPL = Greedy Pengüin Licence ___ 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: bsd vs gpl
At 16:09 11/03/2009, Wojciech Puchar wrote: That's why the GPL is often called a viral license. As GPL is a communist licence. No, even communist are more generous ... It's not funny. Communism is common today, and it's getting stronger from day they just changed to names to hide. Computers are just one thing. As usual - Richard Stallman probably wanted good, but - it turned as usual. ___ 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: SYSCALL_MODULE macro modified?
T. wrote: Found 7.0's sysent.h file modified at the commonly used SYSCALL_MODULE macro, wasn't sure how I should modify my code to accommodate the change so changed the sysent.h (yikes!). No biggy right? Removed the AUE_NULL. That's all that's been added. But the argument was NULL, so what the hell else could I do? AUE_NULL didn't work. And how can you be requiring anything else where once there was NULL. And when I said NULL, I meant NULL! Boggling! This is related to some audit stuff? Anyway... #define SYSCALL_MODULE(name, offset, new_sysent, evh, arg) \ static struct syscall_module_data name##_syscall_mod = { \ evh, arg, offset, new_sysent, { 0, NULL, AUE_NULL } \ }; \ \ static moduledata_t name##_mod = { \ #name, \ syscall_module_handler, \ name##_syscall_mod \ }; \ DECLARE_MODULE(name, name##_mod, SI_SUB_SYSCALLS, SI_ORDER_MIDDLE) ___ So, if anyone else is interested / doesn't already know, if you encounter AUE_NULL errors compiling rather than go and removing AUE_NULL from the system source (which works too), you can just add #include bsm/audit_kevents.h That's where AUE_NULL is defined. You'd think they would have included that in the macro then, eh? ___ 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: p5-Digest-HMAC-1.01 installation is corrupt!
On Wed, 11 Mar 2009 06:13:33 -0700 Noah adm...@enabled.com wrote: yes and I still get the error again when running portmanager # pkg_delete -f p5-Digest-HMAC-1.01 pkg_delete: package 'p5-Digest-HMAC-1.01' is required by these other packages and may not be deinstalled (but I'll delete it anyway): p5-Mail-SpamAssassin-3.2.5_1 pkg_delete: package 'p5-Digest-HMAC-1.01' doesn't have a prefix # # portmanager -u -y rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: @comment ORIGIN: not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running pkg_delete -f p5-Digest-HMAC-1.01 then manually reinstalling this port rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: @comment ORIGIN: not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running pkg_delete -f p5-Digest-HMAC-1.01 then manually reinstalling this port portmanager 0.4.1_9: Collecting installed port data ^CMGPMrCatchSignal received signal -=2 Please don't top post. If you don't know what that means, Google for it. Try running pkg_delete with the [-d] [-v] options also. pkg_delete -dfv p5-Digest-HMAC-1.01 Paste the output here if there is a problem. Then run portmanager: portmanager security/p5-Digest-HMAC -l -f -y See if that clears up your problem. -- Jerry ges...@yahoo.com Man is an animal that makes bargains: no other animal does this-- no dog exchanges bones with another. Adam Smith signature.asc Description: PGP signature
Re: How to auto-detect a USB drive?
On Wed, Mar 11, 2009 at 08:10:46AM -0700, Peter Steele wrote: My question to you would be: What exactly do you mean by automatically detect? The drive *is* automatically detected. Should it be mounted afterwards? Yeah, I guess my wording was a little vague. I know that the system automatically detects when a USB drive is inserted, and creates the appropriate entries under /dev. I want to follow this up with having the drive automatically mounted, and I'll then examine the USB drive for specific files I expect to be present, and possible run something that's installed on the disk, then unmount the disk. We want to use this approach to deploy our software on large clusters of machines that may not have an IP identity. The easiest way (I think) is to use devd, in combination with a USB drive that has a unique label. Say you have a USB drive formatted with a UFS filesystem. You use 'tunefs -L' to give this drive a unique label, e.g. 'FOO'. Then you can put the following in /etc/devd.conf notify 1000 { match systemDEVFS; match subsystem CDEV; match cdev /dev/ufs/FOO; action sh /usr/local/sbin/autorun /dev/ufs/FOO ; }; Where the script /usr/local/sbin/autorun would contain the required actions (mount, check, run, umount, beep). The reason for using a labeled device is that you might not want to run the script on any old USB drive! If you want to use a FAT formatted drive you should use /dev/msdosfs/FOO for the path. Last week I submitted a patch to get this system and subsystem documented in the manual page of devd.conf. It should be in CURRENT now, and will be MFC'd to STABLE in a week or so. 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) pgpktjpteoFPZ.pgp Description: PGP signature
Re: acroread error with libgobject-2.0.so.0
Michael Powell wrote: David Banning wrote: I have installed acroread8 with no errors, however on execution I get the following error; /usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/bin/acroread: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory the file is there; $ cd /usr/local/lib $ $ ls -tld libgobject* -rw-r--r-- 1 root wheel 344082 Feb 27 19:17 libgobject-2.0.a -rwxr-xr-x 1 root wheel 984 Feb 27 19:17 libgobject-2.0.la lrwxr-xr-x 1 root wheel 19 Feb 27 19:17 libgobject-2.0.so - libgobject-2.0.so.0 -rwxr-xr-x 1 root wheel 235062 Feb 27 19:17 libgobject-2.0.so.0 and ldconfig sees it; $ ldconfig -r | grep libgobject 219:-lgobject-2.0.0 = /usr/X11R6/lib/libgobject-2.0.so.0 460:-lgobject-2.0.0 = /usr/local/lib/libgobject-2.0.so.0 $ I have followed a few threads with similar error but have found no resolution yet. Any pointers would be helpful. Please forgive if I seem a trifle dense, but how did you go about installing? If done using the ports system, as part of the process linux_compat and various linux-* ports should have installed as dependencies. Perhaps the install succeeded but left out linux_load=YES from /boot/loader.conf? I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE) but it didn't touch the /boot/loader.conf file. Is there a way to load this without rebooting? Possibly it may be one of the few things that need linprocfs_load=YES too, but I doubt this because there would be a different error. I'll look at that. I would expect it to be looking for the library referenced above somewhere below the /compat or /usr/compat (the first is a link) which is where the linuxolator resides. This library should be being provided by the linux- gtk2-2.6.10_1 port. Since the acroread8 is a linux blob it should be using the linuxolator to run. The acroread8 port did not install linux-gtk2 ports are up-to-date. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to auto-detect a USB drive?
Last week I submitted a patch to get this system and subsystem documented in the manual page of devd.conf. It should be in CURRENT now, and will be MFC'd to STABLE in a week or so. This looks like exactly what we need, except we're using 7.0, and are too close to releasing 1.0 of our software to make a switch to 7.1 now (QA would want to run weeks of testing). What are the issues with devd and 7.0? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to auto-detect a USB drive?
On Wed, Mar 11, 2009 at 10:49:18AM -0700, Peter Steele wrote: Last week I submitted a patch to get this system and subsystem documented in the manual page of devd.conf. It should be in CURRENT now, and will be MFC'd to STABLE in a week or so. This looks like exactly what we need, except we're using 7.0, and are too close to releasing 1.0 of our software to make a switch to 7.1 now (QA would want to run weeks of testing). What are the issues with devd and 7.0? It's missing the call to devctl_notify in the devfs handling. This was added to RELENG_7 on the 28th of May 2008. You'll need at least rev. 1.208.2.4 of /usr/src/sys/kern/kern_conf.c. See: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/kern_conf.c?f=uonly_with_tag=RELENG_7logsort=date 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) pgpSm2i7ZRcDO.pgp Description: PGP signature
Re: How to auto-detect a USB drive?
On Wednesday 11 March 2009, Peter Steele wrote: Yeah, I guess my wording was a little vague. I know that the system automatically detects when a USB drive is inserted, and creates the appropriate entries under /dev. I want to follow this up with having the drive automatically mounted, and I'll then examine the USB drive for specific files I expect to be present, and possible run something that's installed on the disk, then unmount the disk. We want to use this approach to deploy our software on large clusters of machines that may not have an IP identity. I do something like this. Here's the rules I have in /usr/local/etc/devd.conf #- # # Generic USB devices # attach 10 { match device-name umass0; action sleep 2; /root/bin/usbstick_attach /dev/console; }; # # Cameras # attach 20 { match device-name umass0; match vendor 0x(07b4|04b0); action /bin/sleep 2 mount -t msdosfs /dev/da0s1 /camera /root/bin/camcopy umount /camera echo ^G /dev/console; }; #- For most USB storage devices /root/bin/usbstick_attach parses the output of `camcontrol devlist` looking for entries like (da*,pass*) or (pass*,da*) and then it sets the permissions on the device to 660 and, for convenience, creates a link called usbstick in the dev directory pointing to the real device. This way the I can always mount /dev/usbstick on one of my own subdirectories without having to determine what device was created. I could have made the script mount the USB stick but if I have to make the effort to mount it myself I might be more likely to remember to unmount it afterwards. The cameras are a special case since all I want to do is to check for new photos and copy them to my photo archive so if devd detects one of my cameras it mounts the camera with the higher priority attach 20 rule which invokes /root/bin/camcopy to copy the photos before unmounting the camera and sounding the console bell to let me know I can unplug it. The scripts are a bit primitive and get totally confused if I insert more than one USB storage device at a time so would need some refinement for general use but work OK for me as the only user on this PC. -- Mike Clarke ___ 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
Disabling write cache on eSATA enclosures
Hi. atacontrol is reporting that the write cache on an eSATA enclosure I am using (Silicon Image chipset) with Silicon Image SATA controller has write cache enabled even though I want it disabled in loader.conf. My feeling is this has to be controlled by the enclosure, though such control doesn't exist. Is this it, or is the OS still responsible for turning off cache on external drives? What's your experience? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to auto-detect a USB drive?
It's missing the call to devctl_notify in the devfs handling. This was added to RELENG_7 on the 28th of May 2008. You'll need at least rev. 1.208.2.4 of /usr/src/sys/kern/kern_conf.c. See: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/kern_conf.c?f=uonly_with_tag=RELENG_7logsort=date Looks like were out of luck then. Our version is 1.208.2.1 from circa 2007/12/07. I assume we can't just replace this one file with the latest version? We simply cannot move to 7.1 at this point. We have some substantial kernel mods that would need to be ported and tested in the 7.1 code base and there simply isn't time for that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to auto-detect a USB drive?
On Wed, Mar 11, 2009 at 10:49:18AM -0700, Peter Steele wrote: Last week I submitted a patch to get this system and subsystem documented in the manual page of devd.conf. It should be in CURRENT now, and will be MFC'd to STABLE in a week or so. This looks like exactly what we need, except we're using 7.0, and are too close to releasing 1.0 of our software to make a switch to 7.1 now (QA would want to run weeks of testing). An alternative solution is to run a script from a cron job that checks for the labeled device and performs the necessary actions if found. It could mean that you have to wait up to a minute (the minimum granularity of cron) for the process to start. You have to make sure that the script fails gracefully if it is started while a previous instance is still running! 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) pgplYcLWbu2Ah.pgp Description: PGP signature
Re: How to auto-detect a USB drive?
The scripts are a bit primitive and get totally confused if I insert more than one USB storage device at a time so would need some refinement for general use but work OK for me as the only user on this PC. Thanks, I'll give this a try and see how it works. We have a very simple requirement as well so something primitive will be enough, as long as it works. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to auto-detect a USB drive?
On Wed, Mar 11, 2009 at 06:09:24PM +, Mike Clarke wrote: snip The scripts are a bit primitive and get totally confused if I insert more than one USB storage device at a time so would need some refinement for general use but work OK for me as the only user on this PC. If you give the msdosfs filesystem a unique label (with e.g. mlabel from emulators/mtools), you'll get a unique device in /dev/msdosfs/. 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) pgpGZFmxDKnA1.pgp Description: PGP signature
Re: How to auto-detect a USB drive?
On Wed, Mar 11, 2009 at 11:13:08AM -0700, Peter Steele wrote: It's missing the call to devctl_notify in the devfs handling. This was added to RELENG_7 on the 28th of May 2008. You'll need at least rev. 1.208.2.4 of /usr/src/sys/kern/kern_conf.c. See: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/kern_conf.c?f=uonly_with_tag=RELENG_7logsort=date Looks like were out of luck then. Our version is 1.208.2.1 from circa 2007/12/07. I assume we can't just replace this one file with the latest version? It might work. You'd have to look around in the CVS database [cvsweb.freebsd.org] to see if the changes in question touch other files as well. We simply cannot move to 7.1 at this point. We have some substantial kernel mods that would need to be ported and tested in the 7.1 code base and there simply isn't time for that. Then try another solution: a cron job, as explained in another msg. 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) pgp6jwfUunvQW.pgp Description: PGP signature
Re: How to auto-detect a USB drive?
Then try another solution: a cron job, as explained in another msg. Yeah, that's probably the simplest approach. This was my first thought, but I figured there'd be a more elegant way of doing it if I could tie into the drive insert event ___ 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
reclaiming /var capacity?
Where did my capacity go and how can I get it back? deathray# du -sh /var 70M/var deathray# df -h /var FilesystemSizeUsed Avail Capacity Mounted on /dev/da0d 248M214M 15M94%/var Thanks, --j. ___ 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: reclaiming /var capacity?
On Wed, Mar 11, 2009 at 02:30:08PM -0400, j. wrote: Where did my capacity go and how can I get it back? deathray# du -sh /var 70M/var deathray# df -h /var FilesystemSizeUsed Avail Capacity Mounted on /dev/da0d 248M214M 15M94%/var Thanks, --j. http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF 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: reclaiming /var capacity?
On Wed, Mar 11, 2009 at 1:30 PM, j. 2fo...@gmail.com wrote: Where did my capacity go and how can I get it back? deathray# du -sh /var 70M/var deathray# df -h /var FilesystemSizeUsed Avail Capacity Mounted on /dev/da0d 248M214M 15M94%/var Thanks, Are your log (/var/log) being flushed or overly produced? --j. ___ 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 -- www.nealhogan.net www.lambdaserver.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: acroread error with libgobject-2.0.so.0
David Banning wrote: [snip] Please forgive if I seem a trifle dense, but how did you go about installing? If done using the ports system, as part of the process linux_compat and various linux-* ports should have installed as dependencies. Perhaps the install succeeded but left out linux_load=YES from /boot/loader.conf? I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE) but it didn't touch the /boot/loader.conf file. Is there a way to load this without rebooting? Yes - kldload linux.ko That is provided that the linuxolator was actually installed as it should have been. See below. Placing linux_load=YES in loader.conf will just ensure it's always loaded at every boot. Possibly it may be one of the few things that need linprocfs_load=YES too, but I doubt this because there would be a different error. I'll look at that. Probably not required. IIRC the error associated with this is pretty clear. I would expect it to be looking for the library referenced above somewhere below the /compat or /usr/compat (the first is a link) which is where the linuxolator resides. This library should be being provided by the linux- gtk2-2.6.10_1 port. Since the acroread8 is a linux blob it should be using the linuxolator to run. The acroread8 port did not install linux-gtk2 Maybe something b0rked in dependency land. I believe the object failing to load is part of this port. You can install it manually. Here is what the ports says on the web site: acroread8-8.1.3_1 Adobe Reader for view, print, and search PDF documents (ENU) Long description : Sources : Changes : Download Maintained by: h...@freebsd.org Also listed in: linux Requires: acroreadwrapper-0.0.20080906, hicolor-icon-theme-0.10_2, linux-atk-1.9.1_1, linux-cairo-1.0.2, linux-expat-1.95.8, linux-fontconfig-2.2.3_7, linux-gtk2-2.6.10_1, linux-hicolor-icon-theme-0.5_1, linux-jpeg-6b.34, linux-nvu-1.0_1, linux-pango-1.10.2_1, linux-png-1.2.8_2, linux-scim-gtk-fc4-1.4.4, linux-scim-libs-fc4-1.4.4_1, linux-tiff-3.7.1, linux-xorg-libs-6.8.2_5, linux_base-fc-4_14 Theoretically dependency tracking in the ports system should have installed all of these, and anything they in turn depend on. Also notice that the default linux version is fedora core 4 which is rather old. It is entirely possible that even with all of the other dependencies above properly installed it could still fail if the binary blob from Adobe was compiled against a later version. If such were the case I'd imagine someone would have pinged the port maintainer by now, so I sort of discount the possibility. One clue is the default behavior inherent in acroread8 is it will fall back to trying to use FreeBSD libs in place of the linux versions it can't find. This is what your errors are displaying. -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: reclaiming /var capacity?
On Wed, Mar 11, 2009 at 3:04 PM, Yuri Pankov yuri.pan...@gmail.com wrote: On Wed, Mar 11, 2009 at 02:30:08PM -0400, j. wrote: Where did my capacity go and how can I get it back? deathray# du -sh /var 70M/var deathray# df -h /var FilesystemSizeUsed Avail Capacity Mounted on /dev/da0d 248M214M 15M94%/var Thanks, --j. http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF Thanks, Yuri. According to the FAQ you linked, wouldn't a good smattering of sync ; sync ; sync ; sync ; sync cause the the two to reflect the sizes accurately? This problem has been going on for some time now, so I have more than exceeded the recommendation to wait up to 30 seconds. It does appear that softupdates are on, if that matters. deathray# dumpfs /var | grep -i soft flags soft-updates As the FAQ and Neal's response point out, this is where logs go, but I have cleaned out logs several times over the last few months, so that doesn't appear to be the problem: deathray# du -sh /var/log 1.5M/var/log I am also not sure what to make of the 5% inode usage on this volume: deathray# df -hi /var FilesystemSizeUsed Avail Capacity iused ifree %iused Mounted on /dev/da0d 248M214M 15M94%1720 313025% /var --j. ___ 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: bsd vs gpl
On Wed, 11 Mar 2009 01:20:18 -0700 prad p...@towardsfreedom.com wrote: do people here have any thoughts on the two different licenses? thank you everyone for your comments on this topic. the links some of you provided were very interesting and helpful. i had no idea there were so many licenses either!!! it is a curious situation that the 'freedom' which insists on propagating itself (gpl), can be argued to be not really free, while 'freedom' without such a restriction can permit its own termination. i like this summation the best: The bottom line is, the GPL is not anti-commercial or anti- capitalistic; it is only anti-proprietary. The BSD license, on the other hand, is very unrestrictive, and allows proprietary knockoffs. Which you choose depends on what you need and what you value. There's nothing more to it than that. (http://slashdot.org/articles/99/06/23/1313224.shtml) now off to establish what we value ... -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ 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: reclaiming /var capacity?
On Wed, Mar 11, 2009 at 03:23:50PM -0400, jamgill wrote: On Wed, Mar 11, 2009 at 3:04 PM, Yuri Pankov yuri.pan...@gmail.com wrote: On Wed, Mar 11, 2009 at 02:30:08PM -0400, j. wrote: Where did my capacity go and how can I get it back? deathray# du -sh /var 70M/var deathray# df -h /var FilesystemSizeUsed Avail Capacity Mounted on /dev/da0d 248M214M 15M94%/var Thanks, --j. http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF Thanks, Yuri. According to the FAQ you linked, wouldn't a good smattering of sync ; sync ; sync ; sync ; sync cause the the two to reflect the sizes accurately? This will do nothing if a process has an open file descriptor on a deleted file. Use fstat(1) or lsof to help hunt down the offending process. -- Jonathan Chen j...@chen.org.nz -- When all else fails, RTFM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to auto-detect a USB drive?
On Wednesday 11 March 2009, Roland Smith wrote: If you give the msdosfs filesystem a unique label (with e.g. mlabel from emulators/mtools), you'll get a unique device in /dev/msdosfs/. Yes, but sometimes I'll be transferring data to or from someone else's USB stick so I can't make any assumptions about how the filesystem has been labeled. -- Mike Clarke ___ 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: acroread error with libgobject-2.0.so.0
On Wed, 11 Mar 2009 13:37:07 -0400 David Banning wrote: Michael Powell wrote: David Banning wrote: I have installed acroread8 with no errors, however on execution I get the following error; /usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/bin/acroread: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory Something is wrong with your system/ports... the file is there; $ cd /usr/local/lib $ $ ls -tld libgobject* -rw-r--r-- 1 root wheel 344082 Feb 27 19:17 libgobject-2.0.a -rwxr-xr-x 1 root wheel 984 Feb 27 19:17 libgobject-2.0.la lrwxr-xr-x 1 root wheel 19 Feb 27 19:17 libgobject-2.0.so - libgobject-2.0.so.0 -rwxr-xr-x 1 root wheel 235062 Feb 27 19:17 libgobject-2.0.so.0 These are native FreeBSD libraries. and ldconfig sees it; Yes, native FreeBSD ldconfig sees it's native libraies. $ ldconfig -r | grep libgobject 219:-lgobject-2.0.0 = /usr/X11R6/lib/libgobject-2.0.so.0 460:-lgobject-2.0.0 = /usr/local/lib/libgobject-2.0.so.0 $ I have followed a few threads with similar error but have found no resolution yet. Any pointers would be helpful. A linux application (i.e. acroread8) use linux libraries which by default are installed to /compat/linux. Please forgive if I seem a trifle dense, but how did you go about installing? If done using the ports system, as part of the process linux_compat and various linux-* ports should have installed as dependencies. Perhaps the install succeeded but left out linux_load=YES from /boot/loader.conf? I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE) Please, show commands you had given. but it didn't touch the /boot/loader.conf file. Is there a way to load this without rebooting? Possibly it may be one of the few things that need linprocfs_load=YES too, but I doubt this because there would be a different error. I'll look at that. I would expect it to be looking for the library referenced above somewhere below the /compat or /usr/compat (the first is a link) which is where the linuxolator resides. This library should be being provided by the linux- gtk2-2.6.10_1 port. Since the acroread8 is a linux blob it should be using the linuxolator to run. The acroread8 port did not install linux-gtk2 ports are up-to-date. Please, show an output of commands: % pkg_info -xI linux % (cd /usr/ports/print/acroread8 make all-depends-list | grep linux) WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ 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: Disabling write cache on eSATA enclosures
I've got an external eSATA enclosure as well which is using a Silicon Image Chipset and its connected to a Silicon Image SATA controller just like yours. So far, I haven't figured out how to turn off the write cache. I even tried playing with it on Windows (both XP Vista) and so far, there is no way to disable it. This seems like a common problem with Silicon Image Chipset + Silicon Image SATA controller. There's a lot of complains on google about this but no fixes that work. If anyone on the list has any first hand experience in resolving this, I'm all ears. -- Jacques Manukyan Dan wrote: Hi. atacontrol is reporting that the write cache on an eSATA enclosure I am using (Silicon Image chipset) with Silicon Image SATA controller has write cache enabled even though I want it disabled in loader.conf. My feeling is this has to be controlled by the enclosure, though such control doesn't exist. Is this it, or is the OS still responsible for turning off cache on external drives? What's your experience? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ 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
Freeze on bootstrap loader (CD) using ATA/133 Promise FastTrak TX2000
Hello, I'm stopped on first step of boot for install FreeBSD from CD/DVD.. The first indicator | freezes, not rotating.. Tried with FreeBSD 7.1 i386, amd64. (DVD and CD) FreeBSD 7.0 bootstrap give more info, but freeze at the same step, giving a sort of register dump with tons of es: 0 etc, too fast for read. My short boot process looks like that : - Boot from CD/DVD : CD Loader 1.2 Building the boot loader arguments Looking up /BOOT/LOADER... Found Relocating the loader and the BTX Starting the BTX loader BTX loader 1.00 BTX version is 1.02 Consoles : internal video/keyboard BIOS CD is cd0 BIOS drive A: is disk0 BIOS 628kB/1963904Kb available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (r...@driscoll.css.buffalo.edu, Yhu Jan 1 07:21:03 UTC 2009) | -- And that's all. CPU : http://www.cpu-world.com/CPUs/K8/AMD-Athlon%2064%20X2%203800%2B%20-%20ADO3800IAA5CU%20(ADO3800CUBOX).html Motherboard Gigabyte GA-MA78G-DS3H IDE Raid Controler : Promise FastTrak TX2000 ATA/133 Last bios rev : 2.00.0.33 (same behavior with 2.00.0.22) Hard Disk are Seagate 80G, identical models. Note the freeze occurs only if disks are plugged on the FastTrak ATA Card. Boot is okay with no disk attached, but the card plugged. The system is booting on the controler with an existing system (WIN2K Recycling!) The system also is booting and installing with Debian Lenny. The boot and install are also OK with NetBSD 4.0 and 4.0.1 (i386 and amd64). Just a note, with a degraded array the NetBSD boot is halted (small console system), but after a bios-rebuild (RAID), the system boot again. After disabling some stuff in the BIOS (No SATA, no Floppy), changed ATA Connector #1-#2, used other PCI Slot, etc. same freeze at boot. The system is not OverClocked. I've also upgraded the FastTrak Bios from 2.00.0.22 to 2.00.0.33 (Promise talk about a boot problem on CD corrected with 2.00.0.28). I've plugged the Card and Drives onto another hardware (Compaq Evo 51s) and everything is okay with FreeBSB version (7.0,7.1 i386) Is there a way to ftp,ssh or just run dmesg (without harddisk plugged) from the first install menu stage ? (I dont see any message about the FastTrak TX2000 during boot, but scroll too fast..) I can also do an install to grab the dmesg output if you like more informations. Thanks for reading.. PS : Apologies for submiting a problem occuring on this model of GigaByte motherboard, but such freeze is very unusual for me, used some OS'es so far. This system is planned to boot using TX2000 with all datas stored on 2 or more sata disks using software raid with geom : dedicated array. I can also install using SATA and drop the oldi ATA/133 stuff.. But I like have separate boot/work array ATA:(/, usr, swap ) and separate storage SATA,GEOM:(/var,/home,..) -- Mathieu ___ 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
Ports Collection
I really liked the FreeBSD running on my ASUS desktop, until I tried to install gnome2 and I was surprised that it never finished it, during which it created some 20 and more user groups like 'nobody', 'anonymous', 'aiviah', 'games', etc ... and I am wondering if that was a normal process. # cd /usr/ports/x11/gnome2 # make install clean I have burned the DVD of 6.4 version lately and I don't know if that's all I needed to install gnome2 instead of using Ports Collection. Thanks, Mario Palmer ___ 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
Can't work out which disk we are booting from
Hi, I have installed freebsd 7.1 on a 8GB usb flash drive. Now, it seems that the freebsd loader is unable to identify the usb disk where is booting from(da0s1a). The loader runs fine from the stick but gets confused on the drive it runs from, and the kernel it's not loaded. Here is what the loader prints out: [...] Bios drive A: is disk0 [...] Can't work out which disk we are booting from. Guessed BIOS device 0x80 not found by probes, defaulting to disk0: can't load 'kernel' I installed grub too and grub is loading the freebsd loader just fine, but the freebsd loader still get confused. Unfortunately I wasn't able to load the kernel (/boot/kernel/kernel) directly from grub. Best regards, Dragos ___ 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
USB Port getting disabled on Boot
Im running FreeBSD 7.1-STABLE AMD64 an each time i boot my machine i have to unplug every USB device otherwise it disables the USB port and quite frankly its a very big nuisence since nearly all i use is USB ... is there anything i can do to prevent//curtail this issue ? ___ 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: reclaiming /var capacity?
On Wed, Mar 11, 2009 at 3:57 PM, Jonathan Chen j...@chen.org.nz wrote: On Wed, Mar 11, 2009 at 03:23:50PM -0400, jamgill wrote: On Wed, Mar 11, 2009 at 3:04 PM, Yuri Pankov yuri.pan...@gmail.com wrote: On Wed, Mar 11, 2009 at 02:30:08PM -0400, j. wrote: Where did my capacity go and how can I get it back? deathray# du -sh /var 70M/var deathray# df -h /var FilesystemSizeUsed Avail Capacity Mounted on /dev/da0d 248M214M 15M94%/var Thanks, --j. http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF Thanks, Yuri. According to the FAQ you linked, wouldn't a good smattering of sync ; sync ; sync ; sync ; sync cause the the two to reflect the sizes accurately? This will do nothing if a process has an open file descriptor on a deleted file. Use fstat(1) or lsof to help hunt down the offending process. Thanks for the reply. This helped me solve my problem. fstat /var didn't show me anything interesting, but fstat -v var did indicate a bunch of cant read vnode at 0x0 for pid ... so i installed lsof and saw that httpd and mysqld had a lot more open files than I expected, and several of those were not open to a specific file but to /var (/dev/da0d) ... after restarting the services (i cheated, I rebooted) the space reported by du and df are now much closer. And, importantly, postfix knows it has some room to do its thing in the /var partition. Thanks again. -- Jonathan Chen j...@chen.org.nz -- When all else fails, RTFM -- Build a man a fire, he'll be warm for a night... set a man on fire, he will be warm for the rest of his life ___ 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 with installing curl/xine
Hi all, I was trying to install xine on my FreeBSD 7.1 system. At one point, it came up with an options dialog (curses-based) where I enabled GNU TLS. Since then, xine stops compilation with the following error : curl-7.19.2 may use GNU TLS only if OpenSSL support is disabled. Error code 1 I checked the Makefile in /usr/port/ftp/curl but could not figure out any way to disable either GNU TLS or OpenSSL support. So in the current situation, I cannot install curl and therefore cannot install xine. Can somebody please help me get out of this situation ? Thanks in advance Manish Jain invalid.poin...@gmail.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: is there a laptop ?
Saifi Khan wrote: Hi all: i've looked at tuxmobil, bsdgroup.de etc and i don't want to use ndiswrapper, or broadcom or additional PCMCIA card at all. Is there a laptop model (available in market) that experienced members would like to recommend wherein . the WiFi 802.11 a/g (PCI based) . Ethernet port . and ACPI work absolutely fine with FreeBSD 7.x ? thanks Saifi. ___ 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 HP nc6320 (google RH383ET) - most things work, including wifi and ethernet, except for the following: - gives a repeated message like acpi_tz0 absurd value ignoring - dmesg shows dvd drive errors on each boot and later hald-addon-storage will start using 100%cpu till it is killed (I think they are connected but haven't really investigated) - with FreeBSD (latest PCBSD) cpu fan comes on more than it did with windows and battery doesn't last as long - haven't tested suspend/resume or internal modem. - don't think the finger print reader or the card reader are recognised. - build quality is probably not as good as the IBM's Sorry not to give exact messages, I'm at a different machine but I can give you dmesg etc later if required. Chris PS don't buy from laptopsdirect.co.uk unless you want to get spammed from them and various associated online shops. ___ 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 with installing acroread8
Hi all, I got another problem I can't solve on my own. I was trying to install acroread8 from /usr/ports and came up with the following : === Generating temporary packing list === Checking if x11-toolkits/linux-pango already installed cd /usr/ports/x11-toolkits/linux-pango/work /usr/bin/find * -type d -exec /bin/mkdir -p /compat/linux/{} \; cd /usr/ports/x11-toolkits/linux-pango/work /usr/bin/find * ! -type d | /usr/bin/cpio -pm -R root:wheel /compat/linux 1437 blocks /compat/linux/usr/bin/pango-querymodules-32: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory *** Error code 127 Can anybody please tell me how to get around this problem ? Thanks in advance Manish Jain invalid.poin...@gmail.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: Problem with installing curl/xine
On Thu, 12 Mar 2009 04:34:57 +0530 manish jain invalid.poin...@gmail.com wrote: Hi all, I was trying to install xine on my FreeBSD 7.1 system. At one point, it came up with an options dialog (curses-based) where I enabled GNU TLS. Since then, xine stops compilation with the following error : curl-7.19.2 may use GNU TLS only if OpenSSL support is disabled. Error code 1 I checked the Makefile in /usr/port/ftp/curl but could not figure out any way to disable either GNU TLS or OpenSSL support. So in the current situation, I cannot install curl and therefore cannot install xine. cd /usr/ports/ftp/curl make config ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: acroread error with libgobject-2.0.so.0
Boris Samorodov wrote: On Wed, 11 Mar 2009 13:37:07 -0400 David Banning wrote: Michael Powell wrote: David Banning wrote: I have installed acroread8 with no errors, however on execution I get the following error; /usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/bin/acroread: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory Something is wrong with your system/ports... the file is there; $ cd /usr/local/lib $ $ ls -tld libgobject* -rw-r--r-- 1 root wheel 344082 Feb 27 19:17 libgobject-2.0.a -rwxr-xr-x 1 root wheel 984 Feb 27 19:17 libgobject-2.0.la lrwxr-xr-x 1 root wheel 19 Feb 27 19:17 libgobject-2.0.so - libgobject-2.0.so.0 -rwxr-xr-x 1 root wheel 235062 Feb 27 19:17 libgobject-2.0.so.0 These are native FreeBSD libraries. and ldconfig sees it; Yes, native FreeBSD ldconfig sees it's native libraies. $ ldconfig -r | grep libgobject 219:-lgobject-2.0.0 = /usr/X11R6/lib/libgobject-2.0.so.0 460:-lgobject-2.0.0 = /usr/local/lib/libgobject-2.0.so.0 $ I have followed a few threads with similar error but have found no resolution yet. Any pointers would be helpful. A linux application (i.e. acroread8) use linux libraries which by default are installed to /compat/linux. Please forgive if I seem a trifle dense, but how did you go about installing? If done using the ports system, as part of the process linux_compat and various linux-* ports should have installed as dependencies. Perhaps the install succeeded but left out linux_load=YES from /boot/loader.conf? I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE) Please, show commands you had given. a simple; cd /usr/ports/print/acroread8 make install clean but it didn't touch the /boot/loader.conf file. Is there a way to load this without rebooting? Possibly it may be one of the few things that need linprocfs_load=YES too, but I doubt this because there would be a different error. I'll look at that. I would expect it to be looking for the library referenced above somewhere below the /compat or /usr/compat (the first is a link) which is where the linuxolator resides. This library should be being provided by the linux- gtk2-2.6.10_1 port. Since the acroread8 is a linux blob it should be using the linuxolator to run. The acroread8 port did not install linux-gtk2 ports are up-to-date. Please, show an output of commands: % pkg_info -xI linux % (cd /usr/ports/print/acroread8 make all-depends-list | grep linux) ]# pkg_info -xI linux linux-atk-1.9.1_1 Accessibility Toolkit, Linux/i386 binary linux-cairo-1.0.2 Linux cairo binary linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the FreeDesktop project linux-jpeg-6b.34RPM of the JPEG lib linux-nvu-1.0_1 A complete Web Authoring System linux-png-1.2.8_2 RPM of the PNG lib linux-scim-libs-fc4-1.4.4_1 Smart Common Input Method platform, library part, Linux bin linux-tiff-3.7.1TIFF library, Linux/i386 binary linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries linux_base-fc-4_9 Base set of packages needed in Linux mode (for i386/amd64) linuxdoc-1.1_1 The Linuxdoc SGML DTD # # cd /usr/ports/print/acroread8 make all-depends-list | grep linux /usr/ports/x11-toolkits/linux-gtk2 /usr/ports/x11-toolkits/linux-pango /usr/ports/www/linux-nvu /usr/ports/textproc/linux-scim-gtk /usr/ports/emulators/linux_base-fc4 /usr/ports/accessibility/linux-atk /usr/ports/graphics/linux-jpeg /usr/ports/graphics/linux-png /usr/ports/graphics/linux-tiff /usr/ports/x11/linux-xorg-libs /usr/ports/x11-fonts/linux-fontconfig /usr/ports/graphics/linux-cairo /usr/ports/textproc/linux-expat /usr/ports/x11-themes/linux-hicolor-icon-theme /usr/ports/textproc/linux-scim-libs # ___ 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: is there a laptop ?
On Wed, 11 Mar 2009, Chris Whitehouse wrote: HP nc6320 (google RH383ET) - most things work, including wifi and ethernet, except for the following: From HP site, Network Integrated Broadcom NetLink Gigabit Ethernet PCI Controller (10/100/1000 NIC) Wireless Broadcom 802.11a/b/g; Broadcom 802.11b/g; Bluetooth 2.0 It seems to have the US-trash-com chipset ! Do Atheros, Ralink, Realtek, Intel PRO/Wireless chipset work with FreeBSD ? thanks Saifi. ___ 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
[News] Dabber Newsletter - March 2009
Dabber Newsletter New collaboration with Berns Salonger We are very proud to present a new collaboration Dabber has started collaboration with Berns Salonger, a critically acclaime= d famous Swedish landmark and nightclub in the heart of Stockholm. The nigh= tclub has a vast amount of films, from art, to fashion from concerts, semin= ars and stand-up We have focused on developing ways to present films both as documentati= on of memorable nights but also as a preview and taster of what is coming. = The present times calls for smart, cost effective and innovative ways to co= nnect with the audience. We focused on implementing the player without chan= ging the webpage or the internal structures, but at the same time intensify= ing the look of the page and the communication with the viewer. We use our experience and knowledge as the glue between ideas and all the g= reat video-related applications and services out there. Some of our clients= are looking for the 'wow-factor', while others need to start implementing = video in their business while others need our different approach to take th= e step from idea to an well-visited website. Whatever the need, Dabber is r= eady to take you from static to stunning ! Visit the web site Berns Salonger Nightlife: here About us Dabber is an Internet start-up, focused on helping you change the way you c= ommunicate with online video. It´s not just about technology - it´s als= o about how you film, what you film, and how you present it. The old days o= f flat communication are about to change. We move towards depth, interactio= n, coolness and simplicity. We offer a wide range of online video solutions that are innovative, afford= able and tailored to fit your specific needs - from video management platfo= rms and CDN hosting, content concept production to intuitive 3D video pla= yers. With a background in the contemporary art scene as well as in web dev= elopment, we combine the latest in technology with an understanding of what= makes good content. Visit our web site: www.= dabber.tv To unsubscribe, please forward this email to unsubscr...@dabber.tv Try our other solutions: Our services For more information about our services, please download the Dabber white paper. Contact us For questions regarding pricing, details other information about us and o= ur services, please contact Daniel Daboczy: E-mail: daniel [at] dabber.tv or dd [at] dabber.tv Phone: +46 (0) 73 626 99 85 ___ 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: is there a laptop ?
Date: Thu, 12 Mar 2009 08:25:28 + (GMT) From: Saifi Khan saifi.k...@twincling.org Sender: owner-freebsd-mob...@freebsd.org On Wed, 11 Mar 2009, Chris Whitehouse wrote: HP nc6320 (google RH383ET) - most things work, including wifi and ethernet, except for the following: From HP site, Network Integrated Broadcom NetLink Gigabit Ethernet PCI Controller (10/100/1000 NIC) Wireless Broadcom 802.11a/b/g; Broadcom 802.11b/g; Bluetooth 2.0 It seems to have the US-trash-com chipset ! Do Atheros, Ralink, Realtek, Intel PRO/Wireless chipset work with FreeBSD ? Atheros - if_ath Ralink - if_ral Realtek - Most if_re and if_rl Intel PRO/Wireless - if_ipw, if_iwi, if_wpi For the exact chips supported, see the man pages for the drivers. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: ober...@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 ___ 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: bsd vs gpl
On Wed, 11 Mar 2009, prad wrote: On Wed, 11 Mar 2009 01:20:18 -0700 prad p...@towardsfreedom.com wrote: do people here have any thoughts on the two different licenses? thank you everyone for your comments on this topic. the links some of you provided were very interesting and helpful. i had no idea there were so many licenses either!!! The ACM Queue (1 May 2004) article by Jay Michaelson of Wasabi Systems is very insightful. There is no such thing as Free (Software) lunch Please take a look at http://queue.acm.org/detail.cfm?id=1005066 In 2009, you would like your product (esp infrastructure product or platform) to reach out to as many people as possible and be used in as many ways possible. BSD / ASL 2.0 license precisely help one accomplish that in a very benign way. thanks Saifi. ___ 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
Release-7.0 named and dhcpd
I am getting the following messages on a bind server running Release-7.0: Mar 11 23:05:56 nameserver named[674]: client 192.168.xxx.xxx#49165: update 'domain.local/IN' denied Mar 11 23:05:56 nameserver dhcpd: if desktop.domain.local IN A rrset doesn't exist add desktop.domain.local 1800 IN A 192.168.xxx.xxx: timed out. The desktops that grab an address from the DHCP pool are not getting added in for named resolution. I am apparently missing something with the communication between named and dhcpd. Any help would be appreciated. Thanks, Greg ___ 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: Release-7.0 named and dhcpd
Hi Greg, The desktops that grab an address from the DHCP pool are not getting added in for named resolution. I am apparently missing something with the communication between named and dhcpd. Any help would be appreciated. There are many reasons why the dhcpd cannot communicate with named, it usually resolves to modify and tune the configuration of both. Did you had a working configuration on a previous server that wil lnot work when you upgraded to 7.0? Bests, Olivier ___ 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: Release-7.0 named and dhcpd
No, this is my first attempt with named and dhcpd. Each one seems to be fine separately but getting them to talk has been a stumbling block. Thanks, Greg Greg Stark -- Sent from my Windows Mobile® phone. -Original Message- From: Olivier Nicole o...@cs.ait.ac.th Sent: Thursday, March 12, 2009 1:07 AM To: greg.st...@sungard.com greg.st...@sungard.com Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Subject: Re: Release-7.0 named and dhcpd Hi Greg, The desktops that grab an address from the DHCP pool are not getting added in for named resolution. I am apparently missing something with the communication between named and dhcpd. Any help would be appreciated. There are many reasons why the dhcpd cannot communicate with named, it usually resolves to modify and tune the configuration of both. Did you had a working configuration on a previous server that wil lnot work when you upgraded to 7.0? Bests, Olivier ___ 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: torrent client traffic shaping question
On Wed, 11 Mar 2009 12:42:23 + RW rwmailli...@googlemail.com wrote: On Wed, 11 Mar 2009 11:13:16 +0200 Brent Clark brentgclarkl...@gmail.com wrote: Hiya I got this question to ask, and I was hoping the TCP/IP gurus would be able to help me understand this. K you know how with traffic shapping you can control only the traffic leaving you, how it is that torrent clients say they can control the download as well as the upload. I would think the client can only control the upload. If the client reads from a TCP socket slower than the data is coming-in, the buffers fill-up and the sliding-window algorithm in TCP causes the sending side to slow down. Sure. A traffic shaper could efficiently regulate downloads by proxying TCP. And even though PF does some limited TCP proxying, unfortunately dummynet and altq work at the IP level. I don't know why you say 'unfortunately' here? I can only talk about ipfw + dummynet from my own experience, but you can use dummynet pipes and their queue/s to shape any sort of IP(v4) traffic, in- or outbound, directed to/from any sort of flow ipfw can distinguish by any of the usual packet selectors (TCP, UDP, ICMP, raw IP or by any IP protocol or options; for TCP/UDP by src/dest ports as well as addresses, whatever) While it's true that shaping listen-only unacknowledged streaming UDP by dropping further packets once the inbound pipe's queue is full involves packet loss, many real-world UDP transfers (eg realaudio) will back off from sending more in the absense of some sort of specific or periodic acknowledgements. I'm not sure what happens with multicast traffic. cheers, Ian ___ 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: acroread error with libgobject-2.0.so.0
On Wed, 11 Mar 2009 21:30:47 -0400 David Banning wrote: Boris Samorodov wrote: On Wed, 11 Mar 2009 13:37:07 -0400 David Banning wrote: Michael Powell wrote: David Banning wrote: I have installed acroread8 with no errors, however on execution I get the following error; /usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/bin/acroread: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory Something is wrong with your system/ports... the file is there; $ cd /usr/local/lib $ $ ls -tld libgobject* -rw-r--r-- 1 root wheel 344082 Feb 27 19:17 libgobject-2.0.a -rwxr-xr-x 1 root wheel 984 Feb 27 19:17 libgobject-2.0.la lrwxr-xr-x 1 root wheel 19 Feb 27 19:17 libgobject-2.0.so - libgobject-2.0.so.0 -rwxr-xr-x 1 root wheel 235062 Feb 27 19:17 libgobject-2.0.so.0 These are native FreeBSD libraries. and ldconfig sees it; Yes, native FreeBSD ldconfig sees it's native libraies. $ ldconfig -r | grep libgobject 219:-lgobject-2.0.0 = /usr/X11R6/lib/libgobject-2.0.so.0 460:-lgobject-2.0.0 = /usr/local/lib/libgobject-2.0.so.0 $ I have followed a few threads with similar error but have found no resolution yet. Any pointers would be helpful. A linux application (i.e. acroread8) use linux libraries which by default are installed to /compat/linux. Please forgive if I seem a trifle dense, but how did you go about installing? If done using the ports system, as part of the process linux_compat and various linux-* ports should have installed as dependencies. Perhaps the install succeeded but left out linux_load=YES from /boot/loader.conf? I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE) Please, show commands you had given. a simple; cd /usr/ports/print/acroread8 make install clean That should have done the right thing... but it didn't touch the /boot/loader.conf file. Is there a way to load this without rebooting? Possibly it may be one of the few things that need linprocfs_load=YES too, but I doubt this because there would be a different error. I'll look at that. I would expect it to be looking for the library referenced above somewhere below the /compat or /usr/compat (the first is a link) which is where the linuxolator resides. This library should be being provided by the linux- gtk2-2.6.10_1 port. Since the acroread8 is a linux blob it should be using the linuxolator to run. The acroread8 port did not install linux-gtk2 Yep, see further. ports are up-to-date. Please, show an output of commands: % pkg_info -xI linux % (cd /usr/ports/print/acroread8 make all-depends-list | grep linux) ]# pkg_info -xI linux linux-atk-1.9.1_1 Accessibility Toolkit, Linux/i386 binary linux-cairo-1.0.2 Linux cairo binary linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the FreeDesktop project linux-jpeg-6b.34RPM of the JPEG lib linux-nvu-1.0_1 A complete Web Authoring System linux-png-1.2.8_2 RPM of the PNG lib linux-scim-libs-fc4-1.4.4_1 Smart Common Input Method platform, library part, Linux bin linux-tiff-3.7.1TIFF library, Linux/i386 binary linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries linux_base-fc-4_9 Base set of packages needed in Linux mode (for i386/amd64) linuxdoc-1.1_1 The Linuxdoc SGML DTD # # cd /usr/ports/print/acroread8 make all-depends-list | grep linux /usr/ports/x11-toolkits/linux-gtk2 /usr/ports/x11-toolkits/linux-pango /usr/ports/www/linux-nvu /usr/ports/textproc/linux-scim-gtk /usr/ports/emulators/linux_base-fc4 /usr/ports/accessibility/linux-atk /usr/ports/graphics/linux-jpeg /usr/ports/graphics/linux-png /usr/ports/graphics/linux-tiff /usr/ports/x11/linux-xorg-libs /usr/ports/x11-fonts/linux-fontconfig /usr/ports/graphics/linux-cairo /usr/ports/textproc/linux-expat /usr/ports/x11-themes/linux-hicolor-icon-theme /usr/ports/textproc/linux-scim-libs So the dependencies are right, but three ports had not been installed: x11-toolkits/linux-gtk2 x11-toolkits/linux-pango textproc/linux-scim-gtk So, something definitely wrong. There are two ways to go. A first one is simple but it may not give any guarantee that the situation will not appear in the future: install those ports by hand. I'll advice the second one. Write down all linux applications you use (i.e. print/acroread8, net/skype, etc.) -- not infrastructure linux ports (they should be installed as dependencies). Then pkg_delete those applications and linux*, unmount all linux filesystems, rm -rf /compat/linux/*.Then install linux applications and mount