Re: f9 snmpd[4517]: stack overflow detected; terminated
What's the core dump and your config file look like? On Mon, Aug 26, 2013 at 9:28 PM, alexus ale...@gmail.com wrote: My bsnmpd(1) keep crashing( f9# uname -a FreeBSD f9.alexus.org 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:40:52 UTC 2013 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 f9# bzip2 -cd all.log.1.bz2 | grep snmpd Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected; terminated Aug 24 20:59:55 f9 kernel: Aug 24 20:59:55 f9 snmpd[4517]: stack overflow detected; terminated Aug 24 20:59:56 f9 kernel: pid 4517 (bsnmpd), uid 0: exited on signal 6 (core dumped) f9# head -1 /etc/snmpd.config # $FreeBSD: release/9.1.0/etc/snmpd.config 216595 2010-12-20 17:28:15Z syrinx $ f9# What can I do to resolve it? -- http://alexus.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 -- James Gosnell, ACP ___ 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: kern_jail_set() Error Scenario Question
On 08/22/13 17:46, Matt Miller wrote: We ran into the following scenario in an application recently and were wondering if the behavior of kern_jail_set() is as expected here. This was an application bug where we were in, say, the JID 1 context and tried to call jailparam_set() with the flags (JAIL_CREATE | JAIL_UPDATE) and the jid param set to 1. The basic idea was to create or update JID 1 with some params, but the error was we were already in the JID 1 context. So, our understanding is this shouldn't work since JID 1 already exists and you can only modify it from a proper ancestor. However, rather than getting an error back from jailparam_set(), it ended up creating a second prison with JID 1, so there were two prisons existing with JID 1 at that point. This is based on 8.2.0 code, but, at first glance, it looks like the logic causing this may be the same in head. Looking at kern_jail_set(), what happens here is: 1. We find a prison with JID=1, however since it's not a proper child we set pr = NULL in line 1024: 1011 pr = prison_find(jid); 1012 if (pr != NULL) { 1013 ppr = pr-pr_parent; 1014 /* Create: jid must not exist. */ 1015 if (cuflags == JAIL_CREATE) { 1016 mtx_unlock(pr-pr_mtx); 1017 error = EEXIST; 1018 vfs_opterror(opts, jail %d already exists, 1019 jid); 1020 goto done_unlock_list; 1021 } 1022 if (!prison_ischild(mypr, pr)) { 1023 mtx_unlock(pr-pr_mtx); 1024 pr = NULL; 1025 } else if (pr-pr_uref == 0) { 2. Since pr is NULL, we create a new prison. Since the jid is not zero, we insert it in the list and set its pr_id. At this point, we have two prisons with a JID of 1 and the same parent prison. 1166 /* If there's no prison to update, create a new one and link it in. */ 1167 if (pr == NULL) { ... 1185 pr = malloc(sizeof(*pr), M_PRISON, M_WAITOK | M_ZERO); 1186 if (jid == 0) { ... 1212 } else { 1213 /* 1214 * The jail already has a jid (that did not yet exist), 1215 * so just find where to insert it. 1216 */ 1217 TAILQ_FOREACH(tpr, allprison, pr_list) 1218 if (tpr-pr_id = jid) { 1219 TAILQ_INSERT_BEFORE(tpr, pr, pr_list); 1220 break; 1221 } 1222 } ... 1229 pr-pr_parent = ppr; 1230 pr-pr_id = jid; We wanted to see if this is per design or a situation that should avoid creating the second prison and return an error. That's definitely not per design. I'll try reproducing this, and put in correct logic. The proper response is indeed an error: ENOENT, because from inside the JID 1 context you shouldn't be able to see jail #1 (you can't operate on your own jail). - Jamie ___ 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: Custom Software for Municipalities
I've done better looking MVC framework websites using PHP Yii Framework, Perl Catalyst or Perl Mojolicious. It was a while ago, but I had no experience with MVC back then. It took me about a week to completely grok the frameworks and concepts (like authorization model abstraction). After you have knowledge of the framework, I would say it would take a day to make the simple CRUD layout that you see and then a week or two to polish it off. I would conservatively give a programmer a month to complete and polish a similar system, with all the database design, modifications to the views, models and controllers. It looks like the programmer might of been using ASP MVC, but I can't fully tell. I'd recommend you go with an open-source stack of FreeBSD, PostgreSQL Database and one of the Frameworks I mentioned above. I'd recommend Ruby on Rails if I knew more about it. I have no knowledge of Python MVC frameworks. On Tue, Aug 20, 2013 at 7:37 AM, Jerry je...@seibercom.net wrote: I have been charged with investigation alternate software packages for use in our community. The one shown at this URL: http://www.granvillecounty.zpuser.com/ is an example of what I am referring to. This is the home URL for that software: http://zoneprosoftware.com/support/index.htm I work for a town in the county shown above. We are investigating the possibility of setting up something like this on the town's web site to assist our citizens in searching for information. This project has a one year lead-in time, so it is not particularly time sensitive at this moment. We are still in the preliminary stage. The system will undoubtedly be using Microsoft 2013 servers, although I could always get a FreeBSD server integrated into the system if I could find a viable piece of software to handle the job that the ZonePro software does. I have not been able to locate an open-source application that works in a similar manner. Perhaps someone might be familiar with one or has heard of one. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ 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 -- James Gosnell, ACP ___ 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: Commercial Licensing
I'm not a lawyer, but you need to read the BSD license. You can pretty much do anything you want with something that is licensed by it. On Fri, Aug 9, 2013 at 8:41 PM, Someth San s...@indesyne.com wrote: Hello, I'm interested in installing FreeBSD into a small form factor PC for commercial use and was wondering whether there is a EULA in place for that purpose. I would like to avoid the open source requirement of disclosing my codes to a public community. If you can provide some information/direction in this regard, I would greatly appreciate it. Thank you. Regards, Someth San Indesyne Inc. ___ 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 -- James Gosnell, ACP ___ 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: Commercial Licensing
GPL'ed software in the base system: https://wiki.freebsd.org/GPLinBase On Fri, Aug 9, 2013 at 9:58 PM, kpn...@pobox.com wrote: On Fri, Aug 09, 2013 at 08:41:04PM -0500, Someth San wrote: Hello, I'm interested in installing FreeBSD into a small form factor PC for commercial use and was wondering whether there is a EULA in place for that purpose. I would like to avoid the open source requirement of disclosing my codes to a public community. This requirement of disclosure isn't so much an open source thing, it's required by some popular licenses (like the GPL). The rather large group of people in software has groups that prefer restrictive licenses like the GPL, and other groups who prefer licenses with fewer restrictions. Be aware that FreeBSD isn't covered by a single license. Rather, it is made up of a large number of pieces of software that came from various sources over a lot of years. In general FreeBSD tries to avoid using those kinds of license that you are saying you want to avoid. But in the set of all software that make up FreeBSD there is still code left covered by it. With a little care you can avoid getting bitten by this. Which leads to my next point... If you can provide some information/direction in this regard, I would greatly appreciate it. I want to second the advice of talking to a lawyer who specializes in copyright. The lawyer should be working for you and paid by you (or your business, etc). Any time real money is involved you should hire a lawyer. Any time real money is involved you should hire a lawyer. Any time the outcome matters you should hire a lawyer. Seriously, your use of the term EULA shows you need to talk to a lawyer. Give your lawyer the FreeBSD source code and your lawyer can look at it and advise you. But don't let this scare you. With a little care you will probably be just fine. -- A method for inducing cats to exercise consists of directing a beam of invisible light produced by a hand-held laser apparatus onto the floor ... in the vicinity of the cat, then moving the laser ... in an irregular way fascinating to cats,... -- US patent 5443036, Method of exercising a cat ___ 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 -- James Gosnell, ACP ___ 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: Terrible disk performance with LSI / FreeBSD 9.2-RC1
Maybe one of your drives is bad, so it's constantly doing error correction? On Tue, Aug 6, 2013 at 9:48 PM, J David j.david.li...@gmail.com wrote: We have a machine running 9.2-RC1 that's getting terrible disk I/O performance. Its performance has always been pretty bad, but it didn't really become clear how bad until we did a zpool replace on one of the drives and realized it was going to take 3 weeks to rebuild a 1TB drive. The hardware specs are: - 2 x Xeon L5420 - 32 GiB RAM - LSI Logic SAS 1068E - 2 x 32GB SSD's - 6 x 1TB Western Digital RE3 7200RPM SATA The LSI controller has the most recent firmware I'm aware of (6.36.00.00 / 1.33.00.00 dated 2011.08.24), is in IT mode, and appears to be working fine: mpt0 Adapter: Board Name: USASLP-L8i Board Assembly: USASLP-L8i Chip Name: C1068E Chip Revision: B3 RAID Levels: none mpt0 Configuration: 0 volumes, 8 drives drive da0 (30G) ONLINE FTM32GL25H 10 SATA drive da1 (29G) ONLINE SSDSA2SH032G1GN 8860 SATA drive da2 (931G) ONLINE WDC WD1002FBYS-0 0C05 SATA drive da3 (931G) ONLINE WDC WD1002FBYS-0 0C05 SATA drive da4 (931G) ONLINE WDC WD1002FBYS-0 0C05 SATA drive da5 (931G) ONLINE WDC WD1002FBYS-0 0C05 SATA drive da6 (931G) ONLINE WDC WD1002FBYS-0 0C05 SATA drive da7 (931G) ONLINE WDC WD1002FBYS-0 0C05 SATA The eight drives are configured as ZIL, L2ARC on SSD and a six drive raidz2 on the spinning disks. We did a ZFS replace on the last drive in the line, and the resilver is proceeding at less than 800k/sec. extended device statistics device r/s w/skr/skw/s qlen svc_t %b da00.0 0.0 0.0 0.10 0.9 0 da10.0 8.2 0.019.90 0.1 0 da2 125.6 23.0 768.240.54 33.0 88 da3 126.6 23.1 769.041.34 32.3 89 da4 126.0 24.0 768.542.74 32.1 88 da5 125.9 22.0 768.240.14 31.6 87 da6 124.0 22.0 766.639.95 31.4 84 da70.0 136.9 0.0 801.30 0.6 4 The system has plenty of free RAM, is 99.7% idle, has nothing else going on, and runs like a one-legged dog. There are no error messages or any sign of a problem anywhere, other than the really terrible performance. (When not rebuilding, it does light NFS duty. That performance is similarly bad, but has never really mattered.) Similar systems running Solaris put out 10x these numbers claiming 30% busy instead of 90% busy. Does anyone have any suggestions for how I could troubleshoot this further? At this point, I'm kind of at a loss as to where to go from here. My goal is to try to phase out the Solaris machines, but this is kind of a roadblock. Thanks for any advice! ___ 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 -- James Gosnell, ACP ___ 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: learn
I learned FreeBSD by reading the Handbook from start to finish. It's great documentation for an OS. It's grown since then as well. On Thu, Aug 1, 2013 at 7:29 AM, herbert langhans w...@langhans.com.pl wrote: The handbook is a monster, even technically interested people get lost there. You know that, corebug. I usually recommend the owl: http://shop.oreilly.com/product/9780596002619.do Cheers herb langhans Message: 19 Date: Thu, 1 Aug 2013 14:41:07 +0300 From: ??? ??? core...@corebug.net To: Teymur.Rahimzade teymur.rahimz...@gmail.com Cc: questi...@freebsd.org Subject: Re: learn Message-ID: CAKB6gVj2MHkEhcAv27uZ= 2-esfwzjzvw4h49v32lrbgrugz...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ This should help a lot for sure :) 2013/8/1 Teymur.Rahimzade teymur.rahimz...@gmail.com Hi. Please help me to learn freebsd unix. Many thanks. -- sprachtraining langhans herbert langhans, warschau office [at]langhans.com.pl http://www.langhans.com.pl +0048 603 341 441 | jabber:herbert.raimund | yahoo_im:herbert.raimund | icq:414500866 ___ 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 -- James Gosnell, ACP ___ 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 9.1 won't boot after install
Hi, I bought an HP Pavilion p7-1597c [1] system last week. It is Intel Core i5-3330, with a Seagate 1.5 TB SATA drive and 12 GB of memory, shipped with Windows 8. I have disabled Secure Boot and enabled Legacy device booting. I am able to complete the install of FreeBSD 9.1/amd64 from the CD without any problems. However, when I attempt to boot, it doesn't. Originally I was trying to dual boot with Win 8, but eventually I rendered Win8 unbootable. So, now I have given FreeBSD the whole disk. I have done the standard install. I found instructions to have the install use MBR (instead of GPT), but that also doesn't work. After an install, I get to the boot0 (the F1 boot menu thing) screen, but when it tries to boot, it prints # and doesn't boot. When trying to share the disk with Windows, mostly I'd get boot errors about not having a bootable device (ERROR: No boot disk has been detected or the disk has failed.). In the BIOS setting, I've tried both IDE and AHCI in Storage Options - SATA emulation. PC-BSD 9.1 has the same results. It installs fine, but resets after selecting something at the boot0 prompt. FreeBSD 8.4 wouldn't install because the installer didn't have device node for /dev/ad4s1b in /dev in order to create the filesystems. I haven't spent any time figuring out what's going on here. [Using the Standard Installer, accepted the message about geometry, told it to use the whole disk, use the standard boot manager, used the auto-default filesystems, told it to go...] Ubuntu Linux works. OpenBSD works. NetBSD works. Fedora Linux works. I've been a FreeBSD user for about 16 years, so I really want this to work. Does anyone have suggestions about what else I should try? Thanks, James [1] http://h2.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03704551lang=encc=ustaskId=101contentType=SupportFAQprodSeriesId=5330777 -- James E. Pace ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9.1 won't boot after install
Thanks for the reply. I appreciate your trying to help me. On Fri, Jul 5, 2013 at 3:25 PM, Warren Block wbl...@wonkity.com wrote: On Fri, 5 Jul 2013, James E. Pace wrote: I bought an HP Pavilion p7-1597c [1] system last week. It is Intel Core i5-3330, with a Seagate 1.5 TB SATA drive and 12 GB of memory, shipped with Windows 8. [...] I am able to complete the install of FreeBSD 9.1/amd64 from the CD without any problems. However, when I attempt to boot, it doesn't. [...] After an install, I get to the boot0 (the F1 boot menu thing) screen, but when it tries to boot, it prints # and doesn't boot. When trying to share the disk with Windows, mostly I'd get boot errors about not having a bootable device (ERROR: No boot disk has been detected or the disk has failed.). boot0 is the multi-boot loader. I'm reasonably sure it will not work on a GPT disk. GPT needs the PMBR loader. This should be correctable by using the Shell option of the install disk: # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0 The installer would write that by default on a blank disk. I don't know what it does when partitions are added to a GPT disk. For that matter, I'm not sure how you got boot0 on there. boot0 must have been installed when I did MBR partitioning, and/or PCBSD did it? If there is nothing on the disk to lose, I would start from scratch by going to the shell from the installer: # gpart destroy -F ada0 Return to the installer, and it should find the entire disk unpartitioned. I booted the 9.1 install CD, executed gpart destroy -F ada0, and installed. After completing the install, boot fails with: ERROR: No boot disk has been detected or the disk has failed. I booted the install CD again, and executed: # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0 and rebooted. I got the same error: ERROR: No boot disk has been detected or the disk has failed. If you really want to multi-boot, reinstall Windows 8. The Windows ship has sailed -- the system didn't come with media, and the install has been removed. So, I'm committed. :) Do you have any other suggestions? Thanks, James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9.1 won't boot after install
You, sir, are a wizard. You magical incantations worked, and I now have a bootable FreeBSD 9.1 system. Use 'gpart destroy' again, and set up an MBR partitioning scheme: http://forums.freebsd.org/showpost.php?p=149210postcount=13 I really, really appreciate your help. James ___ 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: Max top end computer for Freebsd to run on
Several modest servers applied well will take you further than one big iron—and for less cost. -- James. ___ 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: Home WiFi Router with pfSense or m0n0wall?
Hi Alejandro. I can't speak about Hacom, but I've had excellent results with Soekris hardware. It'll run all sorts of FreeBSD-based systems. They have kit suitable for both wired and wireless networks. -- James. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re:
I have a new computer with windows 8, which I hate with a passion. I don't play music and I don't do a lot of pictures. Basically I only search, some EBay and games. Can I replace win8 with BSD? [pc/free]bsd *can* be used as a desktop system, but it's really aimed more at servers... a lot of common desktopy things aren't covered well. Based on the wording of your question it sounds like you're new to non-windows systems. I'd suggest you look into some flavor of linux instead (eg; ubuntu or mint): they'll be geared more towards what you'd be looking for I think. ~~~ Why not PC-BSD? Easy to install and has a great looking and functional desktop. http://www.pcbsd.org/ Best regards, James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS - whole disk or partition or BSD slice?
On 28/01/2013 16:10, Paul Kraus wrote: I have been using ZFS with GPT partitions with no issues. I have NOT compared performance between whole disk and partitioned, which is where the difference in Solaris arises (ZFS makes better use of the physical drive's write cache). Well, it is the write cache manipulation and flushing that I'd like to have turned on. Anyone know what the score is with FreeBSD? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ZFS - whole disk or partition or BSD slice?
I have a 9.1 system with some SATA disks in RAIDZ, upgraded from 9.0. The disks are all the same type, and I formatted them for FreeBSD and put ZFS in a slice covering most of them. I have seen suggestions for OpenIndiana etc that it is better to let ZFS have the whole raw disk and that this can control the way it manages the disk writeback mode. Does this apply to FreeBSD and ZFS too? Presumably the disks are currently FreeBSD-specific. If I used raw disks instead of slices, could I read them from a Solaris system too? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How to boot alternate installation?
I have a system that boots 9.0+patches (claims to be 9.1-PRERELEASE but that's a stretch in this case) off an ssd on sata0 - I needed some mfi patches. Now that mfi is working, I have a raid1 pair on the mfi controller, and I've unpacked 9.1-RELEASE onto it using bsdinstall. Now, the crappy PERC5 and the AMI BIOS in my little AMD mobo don't really see eye to eye and I've had a lot of trouble coaxing it to boot from the RAID volume (the RAID card initialises late it seems). I'm happy to keep /boot on the SATA SSD for now. Is there a straightforward way to configure (the menus to) boot from 9.1? I'm happy enough to rename /boot on the SSD and copy over the contents from 9.1 (really the old 9.0+ system is there as insurance for the moment). Is the simplest mechanism to do that and override rootdev in loader.conf? It seems that there are a number of variables with /boot/... paths so its not so easy to switch between (say) /boot90 and /boot91. ___ 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
Autotools, libraries and man pages: oh my!
Hey everyone, So, I have a question. I have Makefile.am, configure.in and a file called dstring.pc.in (for a library of mine called dstring) for a project. It always built fine on Linux. My home is now FreeBSD. This is the first time I've tried to compile/install this library since moving away from Linux. I'm able to use autotools on FreeBSD to generate configure and Makefile.in, and can use gmake to compile and install it. Unfortunately, the man pages are installed to /usr/local/share/man instead of to /usr/local/man, which I thought the tools would've taken care of. Also, even though I see my library was successfully compiled and installed to /usr/local/lib, when I try to compile a program with gcc source.c -ldstring, I get: /usr/bin/ld: cannot find -ldstring Other open source projects I've seen have installed fine on FreeBSD just with the simple configure --prefix=/usr/local make make install. I'm not sure what's wrong with my own setup. Disclaimer: I have no idea what I'm doing :) Does anyone have a stab in the dark that might help me fix these things? I can send any of the three files above if you need to see them. Thanks so much everyone! James ___ 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: Autotools, libraries and man pages: oh my!
On 11/01/12 21:44, James Colannino wrote: [...]I'm able to use autotools on FreeBSD to generate configure and Makefile.in, and can use gmake to compile and install it. Unfortunately, the man pages are installed to /usr/local/share/man instead of to /usr/local/man, which I thought the tools would've taken care of. Also, even though I see my library was successfully compiled and installed to /usr/local/lib, when I try to compile a program with gcc source.c -ldstring, I get: /usr/bin/ld: cannot find -ldstring Update: I can compile against my dstring library by using the following line: gcc source.c -L/usr/local/lib -ldstring. I guess it didn't know to search /usr/local/lib. Still having trouble figuring out how to install the man pages properly, though :( James ___ 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
remote connections to xdm
Hello, I set up xdm on a server (FreeBSD 9)and I can connect to it from any machine on the same local network as the server, but not from computers on different network, for example networks connected via a tunnel. Is there something to be added in /etc/hosts.allow or in the xdm config files to allow connections from specific IP subnets? Thank you in advance. James ___ 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: CMI8788 audio card/chip support
kldload snd_driver only detected my USB Headset and loaded theusb audio driver. It did not detect my CMI8788 (ASUS Xonar DX PCIe)and snd_cmi does not support it. cat /dev/sndstat generated this: FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)Installed devices:pcm0: USB audio (play/rec) default Which is my Logitech USB headset, not my PCIe sound card. The boot generated a message stating Unsupported Sound Carddetected. Please contact li...@support.freebsd.org with soundcard make and model. Date: Mon, 27 Aug 2012 11:24:30 +0100 From: ja...@kode5.net To: freebsd-questions@freebsd.org Subject: Re: CMI8788 audio card/chip support [ Polytropon wrote on Mon 27.Aug'12 at 4:10:57 +0200 ] On Mon, 27 Aug 2012 02:01:34 +, James Powell wrote: Are any plans being made to start support for these audio cards? Currently I'm using one in a system I would like to use with FreeBSD but it has no support through the kernel and driver support from OSSv4 lands me with a system that either freezes or won't boot properly. Interesting. I've been using a CMI-based sound card with FreeBSD 4, 5 and 7 already. See man snd_cmi: HARDWARE The snd_cmi driver supports the following sound cards: · CMedia CMI8338A · CMedia CMI8338B · CMedia CMI8738 · CMedia CMI8738B It lists older CMI8788 as supported devices. Doesn't it provide sufficient compatibility? Have you tried loading the generic driver to see if your audio card is picked up: # kldload snd_driver then try # cat /dev/sndstat which will show more info about it? That's what's recommended in the handbook. ___ 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: CMI8788 audio card/chip support
This also was generated at startup: none3@pci0:5:4:0: class=0x040100 card=0x82751043 chip=0x878813f6 rev=0x00 hdr=0x00vendor = 'C-Media Electronics Inc'device = 'CMI8788 [Oxygen HD Audio]'class = multimediasubclass = audio From: james4...@hotmail.com To: freebsd-questions@freebsd.org Date: Wed, 29 Aug 2012 22:50:22 + Subject: RE: CMI8788 audio card/chip support kldload snd_driver only detected my USB Headset and loaded theusb audio driver. It did not detect my CMI8788 (ASUS Xonar DX PCIe)and snd_cmi does not support it. cat /dev/sndstat generated this: FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)Installed devices:pcm0: USB audio (play/rec) default Which is my Logitech USB headset, not my PCIe sound card. The boot generated a message stating Unsupported Sound Carddetected. Please contact li...@support.freebsd.org with soundcard make and model. Date: Mon, 27 Aug 2012 11:24:30 +0100 From: ja...@kode5.net To: freebsd-questions@freebsd.org Subject: Re: CMI8788 audio card/chip support [ Polytropon wrote on Mon 27.Aug'12 at 4:10:57 +0200 ] On Mon, 27 Aug 2012 02:01:34 +, James Powell wrote: Are any plans being made to start support for these audio cards? Currently I'm using one in a system I would like to use with FreeBSD but it has no support through the kernel and driver support from OSSv4 lands me with a system that either freezes or won't boot properly. Interesting. I've been using a CMI-based sound card with FreeBSD 4, 5 and 7 already. See man snd_cmi: HARDWARE The snd_cmi driver supports the following sound cards: · CMedia CMI8338A · CMedia CMI8338B · CMedia CMI8738 · CMedia CMI8738B It lists older CMI8788 as supported devices. Doesn't it provide sufficient compatibility? Have you tried loading the generic driver to see if your audio card is picked up: # kldload snd_driver then try # cat /dev/sndstat which will show more info about it? That's what's recommended in the handbook. ___ 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
CMI8788 audio card/chip support
Are any plans being made to start support for these audio cards? Currently I'm using one in a system I would like to use with FreeBSD but it has no support through the kernel and driver support from OSSv4 lands me with a system that either freezes or won't boot properly. Jim ___ 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 r-o access in jail
Want a nullfs filesystem to be read-only for tech people to search-only maillog files. host machine's files: /var/log/mx1/maillog* files the maillog files are all 644 and r bit is set all along the path using ezjail jail root is /var/jails jail name is fixit mkdir -p /var/jails/fixit/mx1 fixit/mx1 dir has 644 and r bit is set all along the path The directory permissions should have the execute bit set, it should be set to 755 instead of 644. mount_nullfs -o ro /var/log/mx1 /var/jails/fixit/mx1 ezjail-admin console fixit as fixit jail root user I add a user fixit:fixit ssh logon to fixit jail's ip as user fixit ll /mx1 gives nothing but: ls: maillog.45.bz2: Permission denied ls: maillog.46.bz2: Permission denied ls: maillog.47.bz2: Permission denied ls: maillog.48.bz2: Permission denied ls: maillog.49.bz2: Permission denied ls: maillog.5.bz2: Permission denied ls: maillog.50.bz2: Permission denied ls: maillog.51.bz2: Permission denied If your permissions are set to 644 on the directories, this is the result of 'ls'. After changing the directories permissions to 755, the 'Permission denied' errors will stop. ezjail-admin console fixit ...shows the /mx1/maillog* files all to be 644 If move the jail fixit user from group fixit to group wheel, user fixit has access to /mx1/maillog* files. suggestions? thanks, Len -- Regards, James Edwards ___ 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: Building a FreeBSD desktop.
I was looking to build a desktop to learn FreeBSD and was wondering if there is a list of parts to build one or to just look at the hardware comparability list? I just don't want to order wrong parts. If don't want to make the full commitment to building a desktop, a good way to learn about FreeBSD is to install within a virtual machine. Either VMWare or VirtualBox will serve you well. Best regards, James ___ 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: can't build Samba 35 on FreeBSD 9.0
On Wed, Aug 15, 2012 at 8:59 PM, James D. Parra jam...@musicreports.com wrote: Hello, I am trying to install Samba35 on FreeBSD 9.0 but I keep getting a build error. The text you gave us gives me the thought you are flailing in the dark. First off, use a port management tool eg portmaster. Learn how to use it fully including regularly reading /usr/ports/UPDATING The handbook has great information on managing ports, I suggest reading it closely if you want FreeBSD to be your friend. In this scenario, you would use portsnap fetch update(assuming you've once a portsnap extract once before) portmaster /usr/ports/net/samba35 The specific error in your message indicates some problem with ccache. What does your /etc/make.conf look like? -- Adam Vande More ~ Thanks all for your replies. I had copied the details from what I had done from, http://forums.freebsd.org/archive/index.php/t-21461.html. I knew what the OP meant so I had issued, portsnap fetch, then portsnap extract, on my system. I was able to get this to work on FreeBSD 8.2 and was hoping to also get this working on 9.0. Since I will be using Kerberos, I use, 'make KRB5_HOME=/usr/local install clean'. My /etc/make.conf file has the following; cat /etc/make.conf # Uncomment this if you want to do port builds with no interaction #BATCH=yes # Keep KDE4 in /usr/local, fixes sharing of icons / mime and others KDE4_PREFIX=/usr/local # added by use.perl 2012-06-28 21:39:00 PERL_VERSION=5.12.4 #To build Samba WITH_ADS=yes snip I do need ADS as I will be joining this server to our domain. For reference, here is the build error; libsmb/libsmb_setget.c: In function 'smbc_getOptionUseCCache': libsmb/libsmb_setget.c:427: error: 'SMB_CTX_FLAG_USE_CCACHE' undeclared (first use in this function) libsmb/libsmb_setget.c:427: error: (Each undeclared identifier is reported only once libsmb/libsmb_setget.c:427: error: for each function it appears in.) libsmb/libsmb_setget.c: In function 'smbc_setOptionUseCCache': libsmb/libsmb_setget.c:435: error: 'SMB_CTX_FLAG_USE_CCACHE' undeclared (first use in this function) The following command failed: cc -I/usr/local/include -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. -I/usr/ports/net/samba35/work/samba-3.5.15/source3 -I/usr/ports/net/samba35/work/samba-3.5.15/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/usr/local/include -DLDAP_DEPRECATED -I/usr/ports/net/samba35/work/samba-3.5.15/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/libsmb_setget.c -o libsmb/libsmb_setget.o gmake: *** [libsmb/libsmb_setget.o] Error 1 *** Error code 1 Stop in /usr/ports/net/samba35. *** Error code 1 Stop in /usr/ports/net/samba35. snip Thanks for your help. James ___ 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 build Samba 35 on FreeBSD 9.0
Hello, I am trying to install Samba35 on FreeBSD 9.0 but I keep getting a build error. portsnap extract portsnap fetch update cd /usr/ports/devel/libtool make deinstall make install clean cd /usr/ports/security/krb5 make deinstall make KRB5_HOME=/usr/local install clean and finally; cd /usr/ports/net/samba35 make KRB5_HOME=/usr/local install clean With my fingers crossed I hoped for the best and yet I received the following error during compiling; snip Compiling libsmb/libsmb_setget.c libsmb/libsmb_setget.c: In function 'smbc_getOptionUseCCache': libsmb/libsmb_setget.c:427: error: 'SMB_CTX_FLAG_USE_CCACHE' undeclared (first use in this function) libsmb/libsmb_setget.c:427: error: (Each undeclared identifier is reported only once libsmb/libsmb_setget.c:427: error: for each function it appears in.) libsmb/libsmb_setget.c: In function 'smbc_setOptionUseCCache': libsmb/libsmb_setget.c:435: error: 'SMB_CTX_FLAG_USE_CCACHE' undeclared (first use in this function) The following command failed: cc -I/usr/local/include -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. -I/usr/ports/net/samba35/work/samba-3.5.15/source3 -I/usr/ports/net/samba35/work/samba-3.5.15/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/usr/local/include -DLDAP_DEPRECATED -I/usr/ports/net/samba35/work/samba-3.5.15/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/libsmb_setget.c -o libsmb/libsmb_setget.o gmake: *** [libsmb/libsmb_setget.o] Error 1 *** Error code 1 Stop in /usr/ports/net/samba35. *** Error code 1 Stop in /usr/ports/net/samba35. snip Does anyone have any solutions on how I can get Samba installed and resolve the above error? Many thanks in advance. James ___ 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
Installing details
Hi, I am absolutely new to FreeBSD and would like a simple 'by the hand' explanation of how to install and use FreeBSD on a Pc. I tried to follow the info from its website but explanations seem too cryptic for me to understand properly. I'd like to try it on a empty partition of my hard drive, alternatively a memory stick/CD/DVD will also do. Appreciating any help. Regards James PS - I am a regular Windows user. ___ 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
building Samba on 8.2 fails
Hello, I had installed Samba35 and had it working with PAM and SSH, however after a reboot PAM broke. Kept getting the error; in openpam_load_module(): no /usr/local/lib/pam_winbind.so found The file was actually in that path. Never the less, I tried re-installing; portsnap extract portsnap fetch update cd /usr/ports/devel/libtool make deinstall make install clean cd /usr/ports/security/krb5 make deinstall make KRB5_HOME=/usr/local install clean and finally; cd /usr/ports/net/samba35 make KRB5_HOME=/usr/local install clean With my fingers crossed I hoped for the best and yet I received the following error during compiling; snip Compiling libsmb/libsmb_setget.c libsmb/libsmb_setget.c: In function 'smbc_getOptionUseCCache': libsmb/libsmb_setget.c:427: error: 'SMB_CTX_FLAG_USE_CCACHE' undeclared (first use in this function) libsmb/libsmb_setget.c:427: error: (Each undeclared identifier is reported only once libsmb/libsmb_setget.c:427: error: for each function it appears in.) libsmb/libsmb_setget.c: In function 'smbc_setOptionUseCCache': libsmb/libsmb_setget.c:435: error: 'SMB_CTX_FLAG_USE_CCACHE' undeclared (first use in this function) The following command failed: cc -I/usr/local/include -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. -I/usr/ports/net/samba35/work/samba-3.5.15/source3 -I/usr/ports/net/samba35/work/samba-3.5.15/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/usr/local/include -DLDAP_DEPRECATED -I/usr/ports/net/samba35/work/samba-3.5.15/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/libsmb_setget.c -o libsmb/libsmb_setget.o gmake: *** [libsmb/libsmb_setget.o] Error 1 *** Error code 1 Stop in /usr/ports/net/samba35. *** Error code 1 Stop in /usr/ports/net/samba35. snip Does anyone have any solutions on how I can get Samba installed and resolve the above error? Many thanks in advance. James ___ 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: Mouse stopped working in X
I'm running Gnome2 on a 9-stable system. On May 18, 2012, at 8:27 AM, Bernt Hansson wrote: 2012-05-18 13:49, J. W. Ballantine skrev: Hi, Before the update of x11 on 4/21/2012, X was working fine, but now when I startx, my usb and touchpad mouse are no longer found. The mouse works in terminal mode, and hald and dbus are started in /etc/rc.conf. I have exactly the same problem. What windowmanager are you using? I'm using xfce4, I have a workaround for that. 1. start X 2. when it comes up press alt+F2, the start program dialog comes up 3. type in xterm or your terminal of choice 4. in your terminal su to root then type /usr/local/etc/rc.d/dbus restart /usr/local/etc/rc.d/hald restart wait a few seconds and the mouse should work again. ___ 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: Mouse stopped working in X
I'll try after the current build finishes, and I'll let you know what happens. Thanks On May 18, 2012, at 8:56 AM, Bernt Hansson wrote: 2012-05-18 14:45, James Ballantine skrev: I'm running Gnome2 on a 9-stable system. Can you get a terminal running in gnome, without a mouse, then I guess my workaround should work for you to. On May 18, 2012, at 8:27 AM, Bernt Hansson wrote: I have exactly the same problem. What windowmanager are you using? I'm using xfce4, I have a workaround for that. 1. start X 2. when it comes up press alt+F2, the start program dialog comes up 3. type in xterm or your terminal of choice 4. in your terminal su to root then type /usr/local/etc/rc.d/dbus restart /usr/local/etc/rc.d/hald restart wait a few seconds and the mouse should work again. ___ 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: Mouse stopped working in X
Warren, I did as you suggested and I still have the same problem Jim On May 18, 2012, at 9:14 AM, Warren Block wrote: On Fri, 18 May 2012, J. W. Ballantine wrote: Before the update of x11 on 4/21/2012, X was working fine, but now when I startx, my usb and touchpad mouse are no longer found. The mouse works in terminal mode, and hald and dbus are started in /etc/rc.conf. I rebuilt x11, but that had no effect, any ideas on what I might do to get the mouse working again? (EE) xf86OpenSerial: Cannot open device /dev/psm0 Device busy. (EE) PS/2 Mouse: cannot open input device (II) UnloadModule: mouse (EE) PreInit returned NULL for PS/2 Mouse (EE) config/hal: NewInputDeviceRequest failed (8) (II) UnloadModule: kbd For a test, comment out the mouse InputDevice section and the entry in the ServerLayout section. X doesn't need them. ___ 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: Mouse stopped working in X
Bernt, I tried what you suggested, and after discovering that dbus was not installed correctly and rebuilding and reinstalling, your suggestion worked. So at least there is a work around until the real cause is found and fixed. Thanks Jim On May 18, 2012, at 8:27 AM, Bernt Hansson wrote: 2012-05-18 13:49, J. W. Ballantine skrev: Hi, Before the update of x11 on 4/21/2012, X was working fine, but now when I startx, my usb and touchpad mouse are no longer found. The mouse works in terminal mode, and hald and dbus are started in /etc/rc.conf. I have exactly the same problem. What windowmanager are you using? I'm using xfce4, I have a workaround for that. 1. start X 2. when it comes up press alt+F2, the start program dialog comes up 3. type in xterm or your terminal of choice 4. in your terminal su to root then type /usr/local/etc/rc.d/dbus restart /usr/local/etc/rc.d/hald restart wait a few seconds and the mouse should work again. ___ 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: (mutt +) msmtp problem?
I use mutt (1.5.21) with msmtp (1.4.28) as MDA. Usually, everything goes smoothly, but every once in a while I lose network connectivity when sending email (I don't recall whether there is a correlation between this problem and my trying to send not-so-big but yet around 1mb files). Basically, what happens in trying to send an email is: May 16 10:01:17 wpa_supplicant[662]: CTRL-EVENT-DISCONNECTED bssid=**:**:**:**:**:** reason=0 ... May 16 10:02:27 wpa_supplicant[662]: CTRL-EVENT-CONNECTED - Connection to **:**:**:**:**:** completed (reauth) [id=0 id_str=] ... Then I try again, and the same thing happens. All msmtp's log shows is: errormsg='cannot write to TLS connection: Pipe Broken' exitcode=EX_IOERR Any ideas? Best, Ramiro Based on above, mutt and msmpt *appear* to be fine, but this seems to be a problem with the wireless driver, card, or router - you are being disconnected from the network, which in turn is causing the 'broken pipe'. You could feasibly work around it by using a wired connection, or take a look at what is going on with your wireless. -- Regards, James Edwards ___ 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
Questions about Jail
Hi I think Jail on FreeBSD 8.2 can generate 2 jailed machine using the same version of FreeBSD, for example, on a 8.2 AMD64 Jailer, I can create 2 or more FreeBSD 8.2 amd64 Jailed machine. My question is: can I install other version of FreeBSD on the Jailed environment? If yes, which steps shall I do? Still using make world or other easier way? thanks James Y Chen IT Engineering Juniper Networks ___ 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: clang buildworld broken
Fixed now in stable/9. r233468 | marius | 2012-03-25 11:24:42 -0500 (Sun, 25 Mar 2012) | 6 lines MFC: r233105 Declare some variables static in order to reduce the object size and redo r232822 (MFC'ed to stable/9 in r232962) in a less hackish way. The latter now no longer breaks compiling the x86 boot2 with clang. r233467 | marius | 2012-03-25 11:20:01 -0500 (Sun, 25 Mar 2012) | 7 lines MFC: r232754 (remaining part) Make boot2 build with Clang again. Submitted by: dim (bsd.sys.mk) Reviewed by:dim, jhb -- James. ___ 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: clang buildworld broken
On Sat, Mar 24, 2012 at 10:17 AM, Dennis Glatting free...@pki2.com wrote: I csup RELENG_9 last night and compiled /usr/src and clang is erroring out: Hi Dennis. I get the same error and am testing a correction right now. The problem is related to improvements to boot2 in r233374 (MFC of r232570 and r232754). It has the side-effect of making the binary just a wee too large for the BTX link to succeed. r232754 contains a change not MFCd to stable/9: Index: bsd.sys.mk === --- bsd.sys.mk (revision 232753) +++ bsd.sys.mk (revision 232754) @@ -100,8 +100,10 @@ .if ${MK_CLANG_IS_CC} != no || ${CC:T:Mclang} == clang CLANG_NO_IAS = -no-integrated-as -CLANG_OPT_SMALL= -mllvm -stack-alignment=8 -mllvm -inline-threshold=3 \ - -mllvm -enable-load-pre=false +CLANG_OPT_SMALL= -mllvm -stack-alignment=8 \ + -mllvm -inline-threshold=3 \ + -mllvm -enable-load-pre=false \ + -mllvm -simplifycfg-dup-ret .endif .if ${MK_SSP} != no ${MACHINE_CPUARCH} != ia64 \ It's likely this with get it shrunk down enough. -- James. ___ 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: clang buildworld broken
Success! boot2 btx linked with 3 bytes available, rather than being 29 bytes too large. kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1 client: fmt=bin size=156d text=0 data=0 bss=0 entry=0 output: fmt=bin size=1dfd text=200 data=1bfd org=0 entry=0 3 bytes available -- James. ___ 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 build 9.0 from source?
I installed 9.0 without sources. Now I'd like to try building the kernel (or specifically the mfi driver), so I've tried to get the sources. The handbook says (in 9.55) to use sysinstall to get the source configuration - but that doesn't seem to work and what its trying to fetch seems more like an 8.x source set, I fetched src.txz and unpacked it and sorted out the /usr/src/sys link, and 'make' in the root of that builds the boot code ok. However, there is no /usr/src/UPDATING to check per 9.5, and 'cd /usr/src;make buildkernel' tells me: make: don't know how t make buildkerel. Stop. /usr/src was empty before I set up the 'sys' link (which in my case points to a zfs volume). It seems wrong to m - how can I get sources etc installed so I can build the kernel? (And userspace if necessary - but its the mfi driver I want to fiddle with) James ___ 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
Moving boot/root disk in 9.0
Now that I've moved to stable and mfi is working, I'd like to stop booting off my SATA SSD (and also move ZIL off it) to a RAID1 on the PERC. I've sliced up the disk etc, but is there a handy procedure I can use to move the relevant parts of / to /newboot (where I've currently mounted the new boot slice)? I'm thinking its not a straightforward tar in '/': /data is a ZFS root volume and contains a number of volumes for user home areas (mounted under /home) and also volumes mounted on /usr/src, /usr/obj and /usr/ports. And then there's /dev too. Once I've got everything moved I'll disable the ZIL and move over by fiddling the BIOS priorities. James ___ 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: Shared object libxcb-aux.so.0 not found, required by libxfsm-4.6.so.0 FreeBSD
Even after following said instruction in UPDATING, libxcb-aux.so.0 does not get installed by any of the XCB ports #pkg_info |grep -i xcb libxcb-1.7 The X protocol C-language Binding (XCB) library xcb-proto-1.6 The X protocol C-language Binding (XCB) protocol xcb-util-0.3.8,1A module with libxcb/libX11 extension/replacement libraries xcb-util-renderutil-0.3.8 Convenience functions for the Render extension [15:02:44] root@jimmiejaz 156 [1] /usr/ports#grep -iR aux /usr/ports/x11/libxcb/ [15:02:46] root@jimmiejaz 157 [1] /usr/ports# [15:02:46] root@jimmiejaz 157 [1] /usr/ports#grep -iR aux /usr/ports/x11/xcb-proto/ [15:02:57] root@jimmiejaz 158 [1] /usr/ports# [15:02:57] root@jimmiejaz 158 [1] /usr/ports#grep -iR aux /usr/ports/x11/xcb-util/ /usr/ports/x11/xcb-util/pkg-descr:aux: Convenient access to connection setup and some core requests. /usr/ports/x11/xcb-util/pkg-plist:libdata/pkgconfig/xcb-aux.pc /usr/ports/x11/xcb-util/pkg-plist:include/xcb/xcb_aux.h [15:03:21] root@jimmiejaz 160 [1] /usr/ports#grep -iR aux /usr/ports/x11/xcb-util-renderutil/ [15:03:25] root@jimmiejaz 161 [1] /usr/ports# [15:03:49] root@jimmiejaz 162 [0] /usr/ports#ls -ali /usr/local/lib/libxcb* 4365562 -rw-r--r-- 1 root wheel5954 Jan 17 11:15 /usr/local/lib/libxcb-composite.a 4358679 -rwxr-xr-x 1 root wheel1122 Jan 17 11:15 /usr/local/lib/libxcb-composite.la 4358554 lrwxr-xr-x 1 root wheel 21 Jan 17 11:15 /usr/local/lib/libxcb-composite.so - libxcb-composite.so.0 4358144 -rwxr-xr-x 1 root wheel 10243 Jan 17 11:15 /usr/local/lib/libxcb-composite.so.0 4365621 -rw-r--r-- 1 root wheel3726 Jan 17 11:15 /usr/local/lib/libxcb-damage.a 4359908 -rwxr-xr-x 1 root wheel1101 Jan 17 11:15 /usr/local/lib/libxcb-damage.la 4359055 lrwxr-xr-x 1 root wheel 18 Jan 17 11:15 /usr/local/lib/libxcb-damage.so - libxcb-damage.so.0 4358823 -rwxr-xr-x 1 root wheel8124 Jan 17 11:15 /usr/local/lib/libxcb-damage.so.0 4365705 -rw-r--r-- 1 root wheel4934 Jan 17 11:15 /usr/local/lib/libxcb-dpms.a 4360413 -rwxr-xr-x 1 root wheel1087 Jan 17 11:15 /usr/local/lib/libxcb-dpms.la 4360286 lrwxr-xr-x 1 root wheel 16 Jan 17 11:15 /usr/local/lib/libxcb-dpms.so - libxcb-dpms.so.0 4360076 -rwxr-xr-x 1 root wheel9308 Jan 17 11:15 /usr/local/lib/libxcb-dpms.so.0 4365728 -rw-r--r-- 1 root wheel7446 Jan 17 11:15 /usr/local/lib/libxcb-dri2.a 4361232 -rwxr-xr-x 1 root wheel1087 Jan 17 11:15 /usr/local/lib/libxcb-dri2.la 4361186 lrwxr-xr-x 1 root wheel 16 Jan 17 11:15 /usr/local/lib/libxcb-dri2.so - libxcb-dri2.so.0 4360540 -rwxr-xr-x 1 root wheel 12443 Jan 17 11:15 /usr/local/lib/libxcb-dri2.so.0 4365820 -rw-r--r-- 1 root wheel 76298 Jan 17 11:15 /usr/local/lib/libxcb-glx.a 4360123 -rwxr-xr-x 1 root wheel1080 Jan 17 11:15 /usr/local/lib/libxcb-glx.la 4358974 lrwxr-xr-x 1 root wheel 15 Jan 17 11:15 /usr/local/lib/libxcb-glx.so - libxcb-glx.so.0 4357984 -rwxr-xr-x 1 root wheel 93658 Jan 17 11:15 /usr/local/lib/libxcb-glx.so.0 4365965 -rw-r--r-- 1 root wheel 33046 Jan 17 11:15 /usr/local/lib/libxcb-randr.a 4361383 -rwxr-xr-x 1 root wheel1094 Jan 17 11:15 /usr/local/lib/libxcb-randr.la 4361299 lrwxr-xr-x 1 root wheel 17 Jan 17 11:15 /usr/local/lib/libxcb-randr.so - libxcb-randr.so.1 4360759 -rwxr-xr-x 1 root wheel 42343 Jan 17 11:15 /usr/local/lib/libxcb-randr.so.1 4365973 -rw-r--r-- 1 root wheel8334 Jan 17 11:15 /usr/local/lib/libxcb-record.a 4361729 -rwxr-xr-x 1 root wheel1101 Jan 17 11:15 /usr/local/lib/libxcb-record.la 4361558 lrwxr-xr-x 1 root wheel 18 Jan 17 11:15 /usr/local/lib/libxcb-record.so - libxcb-record.so.0 4361389 -rwxr-xr-x 1 root wheel 13354 Jan 17 11:15 /usr/local/lib/libxcb-record.so.0 4364285 -rw-r--r-- 1 root wheel9352 Jan 17 11:17 /usr/local/lib/libxcb-render-util.a 4363760 -rwxr-xr-x 1 root wheel1160 Jan 17 11:17 /usr/local/lib/libxcb-render-util.la 4363404 lrwxr-xr-x 1 root wheel 23 Jan 17 11:17 /usr/local/lib/libxcb-render-util.so - libxcb-render-util.so.0 4361280 -rwxr-xr-x 1 root wheel 14635 Jan 17 11:17 /usr/local/lib/libxcb-render-util.so.0 4365981 -rw-r--r-- 1 root wheel 26920 Jan 17 11:15 /usr/local/lib/libxcb-render.a 4362055 -rwxr-xr-x 1 root wheel1101 Jan 17 11:15 /usr/local/lib/libxcb-render.la 4361857 lrwxr-xr-x 1 root wheel 18 Jan 17 11:15 /usr/local/lib/libxcb-render.so - libxcb-render.so.0 4361765 -rwxr-xr-x 1 root wheel 34109 Jan 17 11:15 /usr/local/lib/libxcb-render.so.0 4366287 -rw-r--r-- 1 root wheel4526 Jan 17 11:15 /usr/local/lib/libxcb-res.a 4362171 -rwxr-xr-x 1 root wheel1080 Jan 17 11:15 /usr/local/lib/libxcb-res.la 4362161 lrwxr-xr-x 1 root wheel 15 Jan 17 11:15 /usr/local/lib/libxcb-res.so - libxcb-res.so.0 4362061 -rwxr-xr-x 1 root wheel8938 Jan 17 11:15 /usr/local/lib/libxcb-res.so.0 4366313 -rw-r--r-- 1 root wheel
Re: Shared object libxcb-aux.so.0 not found, required by libxfsm-4.6.so.0 FreeBSD
On 01/17/12 15:39, Michael Johnson wrote: On Tue, Jan 17, 2012 at 3:04 PM, Jimmie James jimmie...@gmail.com mailto:jimmie...@gmail.com wrote: Even after following said instruction in UPDATING, libxcb-aux.so.0 does not get installed by any of the XCB ports It was replaced with libxcb-util.so.0. So it's the xfce4-wm port that's broken now, since it's still looking for the old libs. When applications fail because they're looking for a library that's been removed, following UPDATING doesn't help. gmake[3]: Entering directory `/usr/ports/x11-wm/xfce4-wm/work/xfwm4-4.8.3/settings-dialogs' CC xfwm4_settings-xfwm4-settings.o CCLD xfwm4-settings CC xfwm4_tweaks_settings-tweaks-settings.o CCLD xfwm4-tweaks-settings CC xfwm4_workspace_settings-workspace-settings.o CCLD xfwm4-workspace-settings libtool: link: cannot find the library `/usr/local/lib/libxcb-aux.la' or unhandled argument `/usr/local/lib/libxcb-aux.la' ___ 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: Shared object libxcb-aux.so.0 not found, required by libxfsm-4.6.so.0 FreeBSD
On 01/17/12 16:50, Warren Block wrote: On Tue, 17 Jan 2012, Jimmie James wrote: On 01/17/12 15:39, Michael Johnson wrote: On Tue, Jan 17, 2012 at 3:04 PM, Jimmie James jimmie...@gmail.com mailto:jimmie...@gmail.com wrote: Even after following said instruction in UPDATING, libxcb-aux.so.0 does not get installed by any of the XCB ports It was replaced with libxcb-util.so.0. So it's the xfce4-wm port that's broken now, since it's still looking for the old libs. When applications fail because they're looking for a library that's been removed, following UPDATING doesn't help. Building xfce4-wm here just worked. It was rebuilt yesterday, too, as part of the portmaster xcb-util rebuild (which pretty much rebuilt everything). Did you do a 'make clean' before retrying? Done a make clean. Even done pkg_delete with all the XCB ports installed, and re-installed them, still hitting libtool: link: cannot find the library `/usr/local/lib/libxcb-aux.la' or unhandled argument `/usr/local/lib/libxcb-aux.la' For S*@ts'n'Giggles, I'm going to re-run the portmaster option mentioned in UPDATING (for the 2nd time, 1st time I used the portupgrade method) and see if there's any difference. ___ 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: Shared object libxcb-aux.so.0 not found, required by libxfsm-4.6.so.0 FreeBSD
On 01/17/12 16:50, Warren Block wrote: On Tue, 17 Jan 2012, Jimmie James wrote: On 01/17/12 15:39, Michael Johnson wrote: On Tue, Jan 17, 2012 at 3:04 PM, Jimmie James jimmie...@gmail.com mailto:jimmie...@gmail.com wrote: Even after following said instruction in UPDATING, libxcb-aux.so.0 does not get installed by any of the XCB ports It was replaced with libxcb-util.so.0. So it's the xfce4-wm port that's broken now, since it's still looking for the old libs. When applications fail because they're looking for a library that's been removed, following UPDATING doesn't help. Building xfce4-wm here just worked. It was rebuilt yesterday, too, as part of the portmaster xcb-util rebuild (which pretty much rebuilt everything). Did you do a 'make clean' before retrying? I am totally out of ideas now. After portupgrade -r xcb-util-0\* AND portmaster -R -r xcb-util-0 which rebuild pretty much everything, a pkg_libchk | grep -E xcb-.+.so | sort is still showing: libxfce4gui-4.8.1: /usr/local/lib/libglade/2.0/libxfce4.so misses libxcb-atom.so.1 libxfce4gui-4.8.1: /usr/local/lib/libglade/2.0/libxfce4.so misses libxcb-aux.so.0 libxfce4gui-4.8.1: /usr/local/lib/libglade/2.0/libxfce4.so misses libxcb-event.so.1 libxfce4gui-4.8.1: /usr/local/lib/libxfcegui4.so.7 misses libxcb-atom.so.1 libxfce4gui-4.8.1: /usr/local/lib/libxfcegui4.so.7 misses libxcb-aux.so.0 libxfce4gui-4.8.1: /usr/local/lib/libxfcegui4.so.7 misses libxcb-event.so.1 mousepad-0.2.16_8: /usr/local/bin/mousepad misses libxcb-atom.so.1 mousepad-0.2.16_8: /usr/local/bin/mousepad misses libxcb-aux.so.0 mousepad-0.2.16_8: /usr/local/bin/mousepad misses libxcb-event.so.1 squeeze-0.2.3_2: /usr/local/bin/squeeze misses libxcb-atom.so.1 squeeze-0.2.3_2: /usr/local/bin/squeeze misses libxcb-aux.so.0 squeeze-0.2.3_2: /usr/local/bin/squeeze misses libxcb-event.so.1 thunar-vfs-1.2.0_1: /usr/local/lib/libthunar-vfs-1.so.5 misses libxcb-atom.so.1 thunar-vfs-1.2.0_1: /usr/local/lib/libthunar-vfs-1.so.5 misses libxcb-aux.so.0 thunar-vfs-1.2.0_1: /usr/local/lib/libthunar-vfs-1.so.5 misses libxcb-event.so.1 xfburn-0.4.3_2: /usr/local/bin/xfburn misses libxcb-atom.so.1 xfburn-0.4.3_2: /usr/local/bin/xfburn misses libxcb-aux.so.0 xfburn-0.4.3_2: /usr/local/bin/xfburn misses libxcb-event.so.1 xfce4-desktop-4.8.3: /usr/local/bin/xfdesktop misses libxcb-atom.so.1 xfce4-desktop-4.8.3: /usr/local/bin/xfdesktop misses libxcb-aux.so.0 xfce4-desktop-4.8.3: /usr/local/bin/xfdesktop misses libxcb-event.so.1 xfce4-desktop-4.8.3: /usr/local/bin/xfdesktop-settings misses libxcb-atom.so.1 xfce4-desktop-4.8.3: /usr/local/bin/xfdesktop-settings misses libxcb-aux.so.0 xfce4-desktop-4.8.3: /usr/local/bin/xfdesktop-settings misses libxcb-event.so.1 xfce4-mailwatch-plugin-1.1.0_13: /usr/local/libexec/xfce4/panel-plugins/xfce4-mailwatch-plugin misses libxcb-atom.so.1 xfce4-mailwatch-plugin-1.1.0_13: /usr/local/libexec/xfce4/panel-plugins/xfce4-mailwatch-plugin misses libxcb-aux.so.0 xfce4-mailwatch-plugin-1.1.0_13: /usr/local/libexec/xfce4/panel-plugins/xfce4-mailwatch-plugin misses libxcb-event.so.1 xfce4-notes-plugin-1.7.7: /usr/local/bin/xfce4-notes-settings misses libxcb-atom.so.1 xfce4-notes-plugin-1.7.7: /usr/local/bin/xfce4-notes-settings misses libxcb-aux.so.0 xfce4-notes-plugin-1.7.7: /usr/local/bin/xfce4-notes-settings misses libxcb-event.so.1 xfce4-notifyd-0.2.2_1: /usr/local/bin/xfce4-notifyd-config misses libxcb-atom.so.1 xfce4-notifyd-0.2.2_1: /usr/local/bin/xfce4-notifyd-config misses libxcb-aux.so.0 xfce4-notifyd-0.2.2_1: /usr/local/bin/xfce4-notifyd-config misses libxcb-event.so.1 xfce4-notifyd-0.2.2_1: /usr/local/lib/xfce4/notifyd/xfce4-notifyd misses libxcb-atom.so.1 xfce4-notifyd-0.2.2_1: /usr/local/lib/xfce4/notifyd/xfce4-notifyd misses libxcb-aux.so.0 xfce4-notifyd-0.2.2_1: /usr/local/lib/xfce4/notifyd/xfce4-notifyd misses libxcb-event.so.1 xfce4-parole-0.2.0.6_3: /usr/local/bin/parole misses libxcb-atom.so.1 xfce4-parole-0.2.0.6_3: /usr/local/bin/parole misses libxcb-aux.so.0 xfce4-parole-0.2.0.6_3: /usr/local/bin/parole misses libxcb-event.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint-settings misses libxcb-atom.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint-settings misses libxcb-aux.so.0 xfce4-print-4.6.1_7: /usr/local/bin/xfprint-settings misses libxcb-event.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4 misses libxcb-atom.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4 misses libxcb-aux.so.0 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4 misses libxcb-event.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4-manager misses libxcb-atom.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4-manager misses libxcb-aux.so.0 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4-manager misses libxcb-event.so.1 xfce4-print-4.6.1_7: /usr/local/lib/libxfprint.so.0 misses libxcb-atom.so.1 xfce4-print-4.6.1_7: /usr/local/lib/libxfprint.so.0 misses libxcb-aux.so.0 xfce4-print-4.6.1_7: /usr/local/lib/libxfprint.so.0 misses libxcb-event.so.1
Re: Shared object libxcb-aux.so.0 not found, required by libxfsm-4.6.so.0 FreeBSD
On 01/17/12 16:50, Warren Block wrote: On Tue, 17 Jan 2012, Jimmie James wrote: On 01/17/12 15:39, Michael Johnson wrote: On Tue, Jan 17, 2012 at 3:04 PM, Jimmie James jimmie...@gmail.com mailto:jimmie...@gmail.com wrote: Even after following said instruction in UPDATING, libxcb-aux.so.0 does not get installed by any of the XCB ports It was replaced with libxcb-util.so.0. So it's the xfce4-wm port that's broken now, since it's still looking for the old libs. When applications fail because they're looking for a library that's been removed, following UPDATING doesn't help. Building xfce4-wm here just worked. It was rebuilt yesterday, too, as part of the portmaster xcb-util rebuild (which pretty much rebuilt everything). Did you do a 'make clean' before retrying? As a follow up to http://docs.freebsd.org/cgi/getmsg.cgi?fetch=592587+0+current/freebsd-questions After a few hours of rebuilding various xcb bits, I've gotten most to build, xfce4-wm builds and installs fine, the rest here, I'm not sure of. #pkg_libchk | grep -E xcb-.+.so | sort mousepad-0.2.16_8: /usr/local/bin/mousepad misses libxcb-atom.so.1 mousepad-0.2.16_8: /usr/local/bin/mousepad misses libxcb-aux.so.0 mousepad-0.2.16_8: /usr/local/bin/mousepad misses libxcb-event.so.1 xfburn-0.4.3_2: /usr/local/bin/xfburn misses libxcb-atom.so.1 xfburn-0.4.3_2: /usr/local/bin/xfburn misses libxcb-aux.so.0 xfburn-0.4.3_2: /usr/local/bin/xfburn misses libxcb-event.so.1 xfce4-mailwatch-plugin-1.1.0_13: /usr/local/libexec/xfce4/panel-plugins/xfce4-mailwatch-plugin misses libxcb-atom.so.1 xfce4-mailwatch-plugin-1.1.0_13: /usr/local/libexec/xfce4/panel-plugins/xfce4-mailwatch-plugin misses libxcb-aux.so.0 xfce4-mailwatch-plugin-1.1.0_13: /usr/local/libexec/xfce4/panel-plugins/xfce4-mailwatch-plugin misses libxcb-event.so.1 xfce4-notes-plugin-1.7.7: /usr/local/bin/xfce4-notes-settings misses libxcb-atom.so.1 xfce4-notes-plugin-1.7.7: /usr/local/bin/xfce4-notes-settings misses libxcb-aux.so.0 xfce4-notes-plugin-1.7.7: /usr/local/bin/xfce4-notes-settings misses libxcb-event.so.1 xfce4-parole-0.2.0.6_3: /usr/local/bin/parole misses libxcb-atom.so.1 xfce4-parole-0.2.0.6_3: /usr/local/bin/parole misses libxcb-aux.so.0 xfce4-parole-0.2.0.6_3: /usr/local/bin/parole misses libxcb-event.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint-settings misses libxcb-atom.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint-settings misses libxcb-aux.so.0 xfce4-print-4.6.1_7: /usr/local/bin/xfprint-settings misses libxcb-event.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4 misses libxcb-atom.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4 misses libxcb-aux.so.0 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4 misses libxcb-event.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4-manager misses libxcb-atom.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4-manager misses libxcb-aux.so.0 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4-manager misses libxcb-event.so.1 xfce4-print-4.6.1_7: /usr/local/lib/libxfprint.so.0 misses libxcb-atom.so.1 xfce4-print-4.6.1_7: /usr/local/lib/libxfprint.so.0 misses libxcb-aux.so.0 xfce4-print-4.6.1_7: /usr/local/lib/libxfprint.so.0 misses libxcb-event.so.1 xfce4-print-4.6.1_7: /usr/local/lib/xfce4/xfprint-plugins/bsdlpr_plugin.so misses libxcb-atom.so.1 xfce4-print-4.6.1_7: /usr/local/lib/xfce4/xfprint-plugins/bsdlpr_plugin.so misses libxcb-aux.so.0 xfce4-print-4.6.1_7: /usr/local/lib/xfce4/xfprint-plugins/bsdlpr_plugin.so misses libxcb-event.so.1 xfce4-weather-plugin-0.7.4_1: /usr/local/libexec/xfce4/panel-plugins/xfce4-weather-plugin misses libxcb-atom.so.1 xfce4-weather-plugin-0.7.4_1: /usr/local/libexec/xfce4/panel-plugins/xfce4-weather-plugin misses libxcb-aux.so.0 xfce4-weather-plugin-0.7.4_1: /usr/local/libexec/xfce4/panel-plugins/xfce4-weather-plugin misses libxcb-event.so.1 I do know the missing libs are living in /usr/local/lib/compat/pkg/ (though, I don't understand the dates listed) #ls -ali /usr/local/lib/compat/pkg/libxcb* 4404817 -rwxr-xr-x 1 root wheel 15146 Oct 20 2008 /usr/local/lib/compat/pkg/libxcb-atom.so.0 4405755 -rwxr-xr-x 1 root wheel 16291 Dec 20 01:29 /usr/local/lib/compat/pkg/libxcb-atom.so.1 4405756 -rwxr-xr-x 1 root wheel 12079 Dec 20 01:29 /usr/local/lib/compat/pkg/libxcb-aux.so.0 4404820 -rwxr-xr-x 1 root wheel6812 Oct 20 2008 /usr/local/lib/compat/pkg/libxcb-event.so.0 4405813 -rwxr-xr-x 1 root wheel 12878 Dec 20 01:29 /usr/local/lib/compat/pkg/libxcb-event.so.1 4404822 -rwxr-xr-x 1 root wheel 17302 Oct 20 2008 /usr/local/lib/compat/pkg/libxcb-icccm.so.0 4405815 -rwxr-xr-x 1 root wheel 1 Dec 20 01:29 /usr/local/lib/compat/pkg/libxcb-icccm.so.1 4405816 -rwxr-xr-x 1 root wheel 16678 Dec 20 01:30 /usr/local/lib/compat/pkg/libxcb-image.so.0 4404857 -rwxr-xr-x 1 root wheel8644 Feb 7 2009 /usr/local/lib/compat/pkg/libxcb-keysyms.so.0 4405817 -rwxr-xr-x 1 root wheel9126 Dec 20 01:30 /usr/local/lib/compat/pkg/libxcb
Re: Shared object libxcb-aux.so.0 not found, required by libxfsm-4.6.so.0 FreeBSD [SOLVED]
Sorry for top posting in this message, but one reboot and a ldconfig -R allows everything to be rebuilt. Not sure which was the key here, but for others, I'd try ldconfig -R first. Not sure why portupgrade and portmaster failed though. On 01/18/12 00:11, Jimmie James wrote: On 01/17/12 16:50, Warren Block wrote: On Tue, 17 Jan 2012, Jimmie James wrote: On 01/17/12 15:39, Michael Johnson wrote: On Tue, Jan 17, 2012 at 3:04 PM, Jimmie James jimmie...@gmail.com mailto:jimmie...@gmail.com wrote: Even after following said instruction in UPDATING, libxcb-aux.so.0 does not get installed by any of the XCB ports It was replaced with libxcb-util.so.0. So it's the xfce4-wm port that's broken now, since it's still looking for the old libs. When applications fail because they're looking for a library that's been removed, following UPDATING doesn't help. Building xfce4-wm here just worked. It was rebuilt yesterday, too, as part of the portmaster xcb-util rebuild (which pretty much rebuilt everything). Did you do a 'make clean' before retrying? As a follow up to http://docs.freebsd.org/cgi/getmsg.cgi?fetch=592587+0+current/freebsd-questions After a few hours of rebuilding various xcb bits, I've gotten most to build, xfce4-wm builds and installs fine, the rest here, I'm not sure of. #pkg_libchk | grep -E xcb-.+.so | sort mousepad-0.2.16_8: /usr/local/bin/mousepad misses libxcb-atom.so.1 mousepad-0.2.16_8: /usr/local/bin/mousepad misses libxcb-aux.so.0 mousepad-0.2.16_8: /usr/local/bin/mousepad misses libxcb-event.so.1 xfburn-0.4.3_2: /usr/local/bin/xfburn misses libxcb-atom.so.1 xfburn-0.4.3_2: /usr/local/bin/xfburn misses libxcb-aux.so.0 xfburn-0.4.3_2: /usr/local/bin/xfburn misses libxcb-event.so.1 xfce4-mailwatch-plugin-1.1.0_13: /usr/local/libexec/xfce4/panel-plugins/xfce4-mailwatch-plugin misses libxcb-atom.so.1 xfce4-mailwatch-plugin-1.1.0_13: /usr/local/libexec/xfce4/panel-plugins/xfce4-mailwatch-plugin misses libxcb-aux.so.0 xfce4-mailwatch-plugin-1.1.0_13: /usr/local/libexec/xfce4/panel-plugins/xfce4-mailwatch-plugin misses libxcb-event.so.1 xfce4-notes-plugin-1.7.7: /usr/local/bin/xfce4-notes-settings misses libxcb-atom.so.1 xfce4-notes-plugin-1.7.7: /usr/local/bin/xfce4-notes-settings misses libxcb-aux.so.0 xfce4-notes-plugin-1.7.7: /usr/local/bin/xfce4-notes-settings misses libxcb-event.so.1 xfce4-parole-0.2.0.6_3: /usr/local/bin/parole misses libxcb-atom.so.1 xfce4-parole-0.2.0.6_3: /usr/local/bin/parole misses libxcb-aux.so.0 xfce4-parole-0.2.0.6_3: /usr/local/bin/parole misses libxcb-event.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint-settings misses libxcb-atom.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint-settings misses libxcb-aux.so.0 xfce4-print-4.6.1_7: /usr/local/bin/xfprint-settings misses libxcb-event.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4 misses libxcb-atom.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4 misses libxcb-aux.so.0 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4 misses libxcb-event.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4-manager misses libxcb-atom.so.1 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4-manager misses libxcb-aux.so.0 xfce4-print-4.6.1_7: /usr/local/bin/xfprint4-manager misses libxcb-event.so.1 xfce4-print-4.6.1_7: /usr/local/lib/libxfprint.so.0 misses libxcb-atom.so.1 xfce4-print-4.6.1_7: /usr/local/lib/libxfprint.so.0 misses libxcb-aux.so.0 xfce4-print-4.6.1_7: /usr/local/lib/libxfprint.so.0 misses libxcb-event.so.1 xfce4-print-4.6.1_7: /usr/local/lib/xfce4/xfprint-plugins/bsdlpr_plugin.so misses libxcb-atom.so.1 xfce4-print-4.6.1_7: /usr/local/lib/xfce4/xfprint-plugins/bsdlpr_plugin.so misses libxcb-aux.so.0 xfce4-print-4.6.1_7: /usr/local/lib/xfce4/xfprint-plugins/bsdlpr_plugin.so misses libxcb-event.so.1 xfce4-weather-plugin-0.7.4_1: /usr/local/libexec/xfce4/panel-plugins/xfce4-weather-plugin misses libxcb-atom.so.1 xfce4-weather-plugin-0.7.4_1: /usr/local/libexec/xfce4/panel-plugins/xfce4-weather-plugin misses libxcb-aux.so.0 xfce4-weather-plugin-0.7.4_1: /usr/local/libexec/xfce4/panel-plugins/xfce4-weather-plugin misses libxcb-event.so.1 I do know the missing libs are living in /usr/local/lib/compat/pkg/ (though, I don't understand the dates listed) #ls -ali /usr/local/lib/compat/pkg/libxcb* 4404817 -rwxr-xr-x 1 root wheel 15146 Oct 20 2008 /usr/local/lib/compat/pkg/libxcb-atom.so.0 4405755 -rwxr-xr-x 1 root wheel 16291 Dec 20 01:29 /usr/local/lib/compat/pkg/libxcb-atom.so.1 4405756 -rwxr-xr-x 1 root wheel 12079 Dec 20 01:29 /usr/local/lib/compat/pkg/libxcb-aux.so.0 4404820 -rwxr-xr-x 1 root wheel 6812 Oct 20 2008 /usr/local/lib/compat/pkg/libxcb-event.so.0 4405813 -rwxr-xr-x 1 root wheel 12878 Dec 20 01:29 /usr/local/lib/compat/pkg/libxcb-event.so.1 4404822 -rwxr-xr-x 1 root wheel 17302 Oct 20 2008 /usr/local/lib/compat/pkg/libxcb-icccm.so.0 4405815 -rwxr-xr-x 1 root wheel 1 Dec 20 01:29 /usr/local/lib/compat/pkg/libxcb-icccm.so.1 4405816 -rwxr-xr-x 1 root wheel 16678 Dec 20 01:30 /usr/local/lib/compat/pkg/libxcb
Problem with mfi driver, 9.0-RELEASE
I transferred a PERC5/i controller to my NAS system, which is using a Sapphire mini-ITX board with an AMD M350 CPU. It seems the card is detected but driver initialisation fails: mfi0: Dell PERC 5/i mem 0xd000-0xd000,0xfea0-0xfea1 irq 96 at device 14.0 on pci2 mfi0: Megaraid SAS driver Ver 3.00 mfi0: 10970 (379716350s/0x0020/info) - Hibernate command received from host mfi0: 10971 (boot + 0s/0x0020/info) - Firmware initialization started (PCI ID 0015/1028/1f02/1028) mfi0: 10972 (boot + 0s/0x0020/info) - Firmware version 1.03.40-0232 mfi0: 10973 (boot + 0s/0x0020/info) - Firmware initialization started (PCI ID 0015/1028/1f02/1028) ... mfi0: 11056 (boot + 29s/0x0002/info) - Inserted: PD 00(e0/s0) Info: enclPd=, scsiType=0, portMap=01, sasAddr=5000c546b6d5, mfi0: 11057 (boot + 29s/0x0002/info) - Inserted: PD 01(e0/s1) mfi0: 11058 (boot + 29s/0x0002/info) - Inserted: PD 01(e0/s1) Info: enclPd=, scsiType=0, portMap=02, sasAddr=5000c546b8cd, mfi0: Cannot allocate interrupt device_attach: mfi0 attach returned 22 This would seem to be similar to discussions in November which eventually led to JHB committing change in r227580 (and perhaps earlier). I have downloaded the sources for 9.0-RELEASE and it looks like this commit did not get back-ported to the release branch. I'm a bit of a noob with FreeBSD. The instructions for tracking FreeBSD-STABLE seem a bit scary. Is that the only way that I would get the necessary fixes for the mfi driver? (Indeed, would I get those on FreeBSD stable?) James ___ 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 much of the manual needs adjustment for 9.0?
I originally installed without selecting sources. The manual says to run sysinstall and do the configuration step to add source distribution and I did that, but it then failed to download the 'sbase' source. I admit I gave up 'fairly quickly' and just downloaded src.txz, but its not clear to me how many of the functions of sysinstall are still supposed to work with a 9.0 release. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 8.2 fails to boot after install on Sun
On Tue, January 3, 2012 15:33, Miller, Leonard wrote: Hi, I have tried installing 8.2 Sparc on a Sun system multiple times, using different options, and each time I do, it takes me back to the initial options screen, where I have to exit the install, forcing it to halt. I am never prompted to install a boot manager or anything else. I always get through the install process, installing packages, adding users, network settings, etc. Your install experience sounds normal and successful. When you are finished and exit the installer, it should take you to the openboot prompt. All you *should* need to do is type in 'boot', the system will reboot and boot to disk. You don't need to worry about a boot manager as multibooting isn't supported on this platform. When I power cycle the machine and change the boot settings back to defaults, it fails to boot. If it fails to boot, I'm assuming it is stopping at the OpenBoot prompt? Can you elaborate further? What happens when you type 'boot disk' at the openboot prompt? If it boots, auto-boot may not be set correctly, which can be rectified by 'setenv auto-boot? true' at the openboot prompt. If that does not work, what is the output of 'printenv' - specifically what is 'boot-device' set to? Also, some further reading on installing FreeBSD on sparc64: http://www.freebsdwiki.net/index.php/Sparc_-_Installing_FreeBSD -and for more detail- http://www.freebsdwiki.net/index.php/Installation_on_Ultra_5 Hope this helps, James ___ 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: Static IP on a Bridge
Hey everyone, Sorry for the late response. Got sidetracked during the New Year. Below is my response: Quoting Benjamin Lee b...@b1c1l1.com: On 12/29/2011 09:21 AM, ja...@colannino.org wrote: Quoting Matthew Seaman m.sea...@infracaninophile.co.uk: What's the error message you see when you fail to ping out? ping: cannot resolve google.com: Host name lookup failure It seems that you are currently receiving your resolver from DHCP as well, you should statically configure that in /etc/resolv.conf: nameserver 192.168.1.1 I already have nameservers in /etc/resolv.conf. Everything was fine before I setup the bridge. What does the routing table (netstat -r) look like before and after DHCP? Before DHCP: Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire localhost link#11UH 00lo0 [...] What happens if you run 'route add default 192.168.1.1' instead of DHCP? What is the output of '/etc/rc.d/routing restart'? [root@frodo ~]# route add default 192.168.1.1 route: writing to routing socket: Network is unreachable add net default: gateway 192.168.1.1: Network is unreachable [root@frodo ~]# /etc/rc.d/routing restart route: writing to routing socket: No such process delete net default: gateway 192.168.1.1: not in table delete net :::0.0.0.0: gateway ::1 delete net ::0.0.0.0: gateway ::1 delete net fe80::: gateway ::1 delete net ff02::: gateway ::1 ifconfig: interface auto does not exist route: writing to routing socket: Network is unreachable add net default: gateway 192.168.1.1: Network is unreachable add net :::0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 add net fe80::: gateway ::1 add net ff02::: gateway ::1 James ___ 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
Static IP on a Bridge
Hey everyone. I've successfully setup a network bridge in /etc/rc.conf. However, I am only able to access the network if I dhcp on bridge0 *after* the bridge is configured. If I try to set a static IP on the bridge, things don't work. Here's my /etc/rc.conf: cloned_interfaces=bridge0 tap0 tap1 ifconfig_bridge0=addm re0 addm tap0 addm tap1 up inet 192.168.1.6 netmask 255.255.255.0 ifconfig_re0=up ifconfig_tap0=up ifconfig_tap1=up defaultrouter=192.168.1.1 bridge0 is configured with the IP 192.168.1.6, but I can't ping out. However, once I run dhclient in bridge0, things magically work. Does anyone know why the above won't work? Thanks! James ___ 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: Static IP on a Bridge
Quoting Brian Seklecki (Mobile) r...@probikesllc.com: Also, what MAC address does the DHCPREQUEST packet appear to be sourced from (from the view of your DHCP server, or on the wire somewhere between the two (SPAN PORT)) ~BAS How do I do that? :) James ___ 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: Static IP on a Bridge
Quoting Matthew Seaman m.sea...@infracaninophile.co.uk: What's the error message you see when you fail to ping out? ping: cannot resolve google.com: Host name lookup failure What does the routing table (netstat -r) look like before and after DHCP? Before DHCP: Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire localhost link#11UH 00lo0 Internet6: DestinationGatewayFlags Netif Expire :: localhost UGRSlo0 localhost localhost UH lo0 :::0.0.0.0 localhost UGRSlo0 fe80:: localhost UGRSlo0 fe80::%re0 link#5 U re0 fe80::6ef0:49ff:fe link#5 UHS lo0 fe80::%lo0 link#11U lo0 fe80::1%lo0link#11UHS lo0 fe80::%tap0link#13U tap0 fe80::2bd:8aff:fe3 link#13UHS lo0 fe80::%tap1link#14U tap1 fe80::2bd:8dff:fe3 link#14UHS lo0 ff01::%re0 fe80::6ef0:49ff:fe U re0 ff01::%lo0 localhost U lo0 ff01::%tap0fe80::2bd:8aff:fe3 U tap0 ff01::%tap1fe80::2bd:8dff:fe3 U tap1 ff02:: localhost UGRSlo0 ff02::%re0 fe80::6ef0:49ff:fe U re0 ff02::%lo0 localhost U lo0 ff02::%tap0fe80::2bd:8aff:fe3 U tap0 ff02::%tap1fe80::2bd:8dff:fe3 U tap1 After DHCP: Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default192.168.1.1UGS 00 bridge localhost link#11UH 00lo0 192.168.1.0link#12U 01 bridge 192.168.1.103 link#12UHS 00lo0 Internet6: DestinationGatewayFlags Netif Expire :: localhost UGRSlo0 localhost localhost UH lo0 :::0.0.0.0 localhost UGRSlo0 fe80:: localhost UGRSlo0 fe80::%re0 link#5 U re0 fe80::6ef0:49ff:fe link#5 UHS lo0 fe80::%lo0 link#11U lo0 fe80::1%lo0link#11UHS lo0 fe80::%tap0link#13U tap0 fe80::2bd:8aff:fe3 link#13UHS lo0 fe80::%tap1link#14U tap1 fe80::2bd:8dff:fe3 link#14UHS lo0 ff01::%re0 fe80::6ef0:49ff:fe U re0 ff01::%lo0 localhost U lo0 ff01::%tap0fe80::2bd:8aff:fe3 U tap0 ff01::%tap1fe80::2bd:8dff:fe3 U tap1 ff02:: localhost UGRSlo0 ff02::%re0 fe80::6ef0:49ff:fe U re0 ff02::%lo0 localhost U lo0 ff02::%tap0fe80::2bd:8aff:fe3 U tap0 ff02::%tap1fe80::2bd:8dff:fe3 U tap1 What does your arp table look like (arp -a) before and after DHCP? Before DHCP: (nothing was printed to the screen) After DHCP: ? (192.168.1.1) at 4c:e6:76:50:86:f6 on bridge0 expires in 1190 seconds [bridge] ? (192.168.1.103) at 02:62:11:f0:35:00 on bridge0 permanent [bridge] I can see that something is definitely not right. Not sure how to fix /etc/rc.conf so that it will be setup correctly, though. Thank you for the help! James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS upgrade path
On Wed, December 28, 2011 12:18, James Edwards wrote: There are four disks, all in a single storage pool - tank. Here is the naming convention I planned on following after 9.0 is released: tank/9.0 tank/9.0/usr tank/9.0/var tank/9.0/tmp and so on This way, in theory at least, when 9.1 (or 10.0) is released, I can simply create tank/9.1 and the associated data sets, make my changes to /etc and /boot, change the zfs bootfs, reboot, and finally upgrade the ZFS pools. Is this feasible to do, or are there any caveats/gotchas I'm overlooking? It took some time to do, but I was able to demonstrate within VirtualBox that this can be done. I found it important when creating tank/8.2/usr and tank/8.2/var to specify 'canmount=off', this way the datasets below it inherit the correct mountpoints. After installing 8.2, I created tank/9.0-RC3, associated datasets and then installed 9.0-RC3 to it. From there, I had to create a loader.conf and rc.conf, copy the zpool.cache to the dataset, change the bootfs ('zpool set bootfs=tank/9.0 tank'), change the zfs mountpoints and reboot. After I rebooted, I was able to upgrade the zpool to v28. While this was done from a minimal clean install, it *should* work from a system that is using the user-land (as long as the daemons are stopped). ___ 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: Static IP on a Bridge
Quoting Devin Teske devin.te...@fisglobal.com: Add the following line (exactly as it appears) to /etc/rc.conf: defaultrouter=192.168.1.1 That line's been there the whole time. Hasn't helped :( James ___ 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: Static IP on a Bridge
Quoting Devin Teske devin.te...@fisglobal.com: Add the following line (exactly as it appears) to /etc/rc.conf: defaultrouter=192.168.1.1 I should probably re-port my original configuration: cloned_interfaces=bridge0 tap0 tap1 ifconfig_bridge0=addm re0 addm tap0 addm tap1 up inet 192.168.1.6 netmask 255.255.255.0 ifconfig_re0=up ifconfig_tap0=up ifconfig_tap1=up defaultrouter=192.168.1.1 James ___ 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
ZFS upgrade path
Hello all, I currently have a FreeBSD server colocated and it isn't always physically accessible. I was trying to develop an upgrade path for my server, in hopes to mainly save a trip to the colo center. There are four disks, all in a single storage pool - tank. Here is the naming convention I planned on following after 9.0 is released: tank/9.0 tank/9.0/usr tank/9.0/var tank/9.0/tmp and so on This way, in theory at least, when 9.1 (or 10.0) is released, I can simply create tank/9.1 and the associated data sets, make my changes to /etc and /boot, change the zfs bootfs, reboot, and finally upgrade the ZFS pools. Is this feasible to do, or are there any caveats/gotchas I'm overlooking? 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: BIND 9.8.1-P1 with OpenSSL 1.0.0 issues..
On Wed, November 23, 2011 08:18, Matthew Seaman wrote: I've been using the attached patch with the dns/bind98 port and openssl-1.0.x from ports for months. This disables using the GOST cipher plugins -- which is no big deal as far as I'm concerned. GOST ciphers are only supplied as plugin modules unlike all other ciphers in openssl, which is a new thing with version 1.0.0 in ports. It's that libgost.so plugin shlib not playing well with chroot that apparently causes named to crash. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW You, sir, are correct about the chroot. Bind 9.8.1 and OpenSSL 1.0.0 don't play nicely in a chroot environment. This also isn't limited to FreeBSD, as I experienced the problem on Solaris 10. James ___ 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
Consistent ATI lockups [mi] EQ overflowing.
Symptoms: total lockup of X, Xorg pegged at 100% CPU time, LEDs don't work, keyboard is usless. SSH in allows a clean shutdown, about 50% of the time. FreeBSD jimmiejaz.org 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Jun 26 08:42:45 EDT 2011 jim...@jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO i386 vgapci0: VGA-compatible display port 0xb800-0xb8ff mem 0xd000-0xdfff,0xff52-0xff52 irq 19 at device 3.0 on pci6 drm0: ATI Radeon LW RV200 Mobility 7500 M7 on vgapci0 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 vgapci0@pci0:6:3:0: class=0x03 card=0x51571002 chip=0x4c571002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'Mobility Radeon 7500 (M7 [LW])' class = display subclass = VGA xf86-video-ati-6.14.2 X.Org ati display driver About 50% of the time, this is last line printed in Xorg.0.log [mi] EQ overflowing. The server is probably stuck in an infinite loop http://pastebin.com/eXJC0qPB contains full dmesg, xorg.conf, Xorg.0.log, pkg_info of X/GL/Mesa bits and kernel config. Similar issues here. http://forums.freebsd.org/showthread.php?t=25540 Triggers: Opening Libreoffice, moving an image from firefox to pidgin, gimp or similar, using GQview, or similar. Opening Libreoffice results 100% lockup, instantly. Hardware acceleration is off in both firefox and Libreoffice. This has been going on since at least August and no one's been able to figure anything out either on the forums, or IRC. Maybe someone on the lists here might have an idea. ___ 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
Serial console with incorrect terminal set
Hi All, I have two servers currently colocated, one running FreeBSD 8.2/amd64 , and the other is a Sun Netra T1 that I am attempting to install FreeBSD 8.2 on, over serial. When the system booted up, I was presented with a list of console options and I chose the first option, I believe to be ANSI (I have a knack for never picking the right one). The keyboard mapping was a bit screwed up, but somehow I managed to get to the Fixit shell. In order to test that I had my secondary NIC setup correctly, I just ran 'ping 10.0.0.2' and now it wont stop. If I hit 'Ctrl+C', it keeps going. I tried 'Ctrl+Z' in order to attempt to suspend it so I can kill the process, but that brings up the 'Abort, Restart, Continue' screen, but it gets interrupted by ping. I tried sending a break command using '~#', but I can't get to the OpenFirmware to restart in attempt to pick the correct terminal settings. IIRC, the break is not supported without a kernel that supports it. It could be easier to call my ISP and have someone power down the machine for me, as the Netra has LOM. In a worse case scenario, I can swing by and do it myself after work. My question is, is there another way to either 1) Stop ping or 2) Get to the openfirmware console? Thanks, James ___ 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: Serial console with incorrect terminal set
On Wed, November 16, 2011 14:52, J65nko wrote: You can stop ping with : $ pkill -TERM ping From the ping man page: -c count Stop after sending (and receiving) count ECHO_RESPONSE packets. If this option is not specified, ping will operate until inter- rupted. So with something like ping -c4 10.0.0.2 , it would stop after 4 pings. Good luck ;) Adriaan Hello Adriaan, Thanks for the response, but unfortunately, that's not really what I was looking for, as it was not feasible - I was unable to open another terminal in order to kill the ping process. I probably should have elaborated more, but I was running this from a fixit live cd, but do you know if it is possible to open more than one terminal over serial? I ended up having it powered off earlier today, and when I powered it back on, I made sure to have the correct console keyboard layout, and CTRL + C was working correctly. Thanks, James ___ 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
No color on CUPS
Hey everyone, I hope this is FreeBSD-specific enough for this list... Ever since moving to FreeBSD, I haven't been able to use color on my color laserjet. I've tried selecting just about every color laserjet model from the web interface to CUPS that I can think of, and the only color models available are grayscale and inverted grayscale. I was always able to get color no problem on my Linux box. I know there's something stupid that I'm missing, but I'm not really knowledgeable about CUPS, much less CUPS on FreeBSD. Has anyone else had this problem, and if so, how did you fix it? Thanks so much! James ___ 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
Checking for broken packages (as in linking)
No, I don't mean checking for broken ports :-P In fact, when I Google around for the answer to my question, that's all I can find, which is why I bring my question to the mailing list instead :) Maybe broken ports or broken packages isn't the right term (what should I be searching for instead?) What I want to know is, are there tools that will check the ports I've installed and tell me if any of my packages are linked against libraries that are no longer there? I'm paranoid that at some point, while I'm building and installing updates, I'm going to break something. I've been using FreeBSD for a little while now, but I'm still learning... :) Thanks in advance! James ___ 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: Checking for broken packages (as in linking)
On 11/04/11 23:53, Conrad J. Sabatier wrote: On Fri, 04 Nov 2011 23:27:54 -0700 James Colanninoja...@colannino.org wrote: What I want to know is, are there tools that will check the ports I've installed and tell me if any of my packages are linked against libraries that are no longer there? I'm paranoid that at some point, while I'm building and installing updates, I'm going to break something. The port sysutils/bsdadminscripts includes a tool called pkg_libchk, which does exactly what you're looking for. Perfect. Thanks! I've been using FreeBSD for a little while now, but I'm still learning... :) Thanks in advance! Hey, we're all (even us so-called old-timers) still learning. :-) :) James ___ 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: Checking for broken packages (as in linking)
On 11/05/11 12:43, C. P. Ghost wrote: I'm using the following script (attached). Thanks for the script. By any chance, are you a Gentoo user (or were you at one point)? revdep-rebuild, a part of the gentoolkit, is the first thing I think of when I think about fixing broken packages :) James ___ 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: Why some flash sites don't work?
Periodically I run into the problem that some sites don't work, for example: http://www.reuters.com/video/2011/11/01/greek-referendum-disappoints-markets?videoId=224096981videoChannel=2602 http://belapan.by/archive/2009/07/10/media_yakubovich -- these don't work in both FF and chrome. I complained to maintainers about this before, but got no response. Is it known what might be a problem in such cases? linux-f10-flashplugin-10.3r183.10 nspluginwrapper-1.4.4 8.2-STABLE amd64 Yuri I'm running on i386, with flashblock/adblock in my firefox, and both videos play fine for me in FF7, opera and midroi. The first video is (direct link to the SWF), can you try playing it directly? (sorry for such an ugly URL) http://www.reuters.com/resources_v2/flash/loader.swf?playerURL=/resources_v2/flash/player.swfconfigURL=/resources_v2/flash/config_default.xmledition=BETAUSvideoId=224096981videoChannel=2602videoChannelName=Most%20PopularvideoRT=01:55videoHeadline=Greek%20referendum%20disappoints%20marketsvideoURL=http://cds1.yospace.com/access/d/u/0/1/web/type=video,fmt=any,minq=0,maxq=1,mins=1x1,maxs=640x608,minr=5,maxr=100,/27828175?f=100212513820videoStartPos=0videoVolume=1videoLength=115clickTagTV=/news/videoLCLevel1=mostpopularLCLevel2=Generalvideoedition=BETAUSadFriendly=falsepos=0allowEmbed=1nextVideoTitle=Your%20tax%20dollars%20at%20work%2C%20unconstitutionallynextVideoDuration=01:32nextVideoThumbnail=http://yospace-cds1.reuters.com/u/resize~ad1~120x120/0/f/~image_jpeg~-1/1/m/i/0/b/8/l9cd/reuters04?videoId=27806447 Sorry I can't help out, maybe as suggested try flash11. However, it maybe a 64bit bug, I've heard of other people having problems when using amd64 and flash. linux-f10-flashplugin-10.3r183.10 Adobe Flash Player NPAPI Plugin firefox-7.0.1_3,1 Web browser based on the browser portion of Mozilla nspluginwrapper-1.4.4 A compatibility plugin for Mozilla NPAPI plugins opera-11.52 Blazingly fast, full-featured, standards-compliant browser opera-linuxplugins-11.52 Linux plugin support for the native Opera browser midori-0.4.1Lightweight web browser using WebKit browser engine FreeBSD jimmiejaz.org 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Jun 26 08:42:45 EDT 2011 jim...@jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO i386 -- By reading this e-mail you hereby forfeit all of your fortune, properties and claims to the sender, who shall be the sole and universal beneficiary. However, your debts and bills shall remain yours. ___ 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
limit number of ssh connections
Does anyone know a good way of limiting the number of ssh attempts from a single IP address? I found the following website, which describes a variety of approaches: http://www.freebsdwiki.net/index.php/Block_repeated_illegal_or_failed_SSH_logins But I am honestly not really happy with any of them. Continuously polling log files for regex hits seems...well crude. Just to give you an idea of what I mean, here were some of the issues I had. The sshd-scan.sh script allows IPs to be reinstated, but the timing is dependent on how frequently you rotate logs. sshguard has a pretty website, but I can't actually find much useful documentation on how to configure it. fail2ban looks like it might work with sufficient work, but the defaults are terrible. By default, every time an IP is reinstated, all IPs are reinstated. Not to mention, at present I can't seem to get it to trigger any hits. I suppose I could keep shopping, but the truth is I just think polling log files is the wrong way to solve the problem. Anything based on this approach is going to have a long latency and be highly dependent on the unspecified and unstable formatting of log files (see http://www.fail2ban.org/wiki/index.php/HOWTO_Mac_OS_X_Server_(10.4) and the troubles an exclamation point can cause). I would much much rather do something like this: http://kevin.vanzonneveld.net/techblog/article/block_brute_force_attacks_with_iptables/ Does anyone know a way to do something similar with ipfw? Thanks in advance, Jim ___ 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: limit number of ssh connections
Wow, I'm glad I asked. This has been very helpful. @Григорьев Александр Thanks for the tip on inetd, that looks like it might just do the trick. @Paul Macdonald My main reason for looking into this was glancing through the logs on a server I just put online and seeing large numbers of unauthorized login attempts. Everything so far is highly unsophisticated, but it did make me start to really think about the issue. I might put ssh onto a different port, that would at least stop the sort of fishing I am currently seeing. It's not clear if that would be good enough. @Damien Fleuriot Have you had success with sshguard? Installed it from ports, but then I couldn't quite figure out how to configure it. To be honest, I didn't give it much of a chance before I moved on to the next thing, so if you've had good luck then I should probably give it another shot. I did flip through sshd_config, but as far as I can tell it is only possible to limit the number of concurrent connections. It might take a little longer, but I'm concerned it would still allow a malicious individual to sequentially brute-force a password. Thanks for all the responses. ___ 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: Can't log in as toor since package update
On 9/9/2011 8:52 AM, Paul Keusemann wrote: I use the toor login on my FreeBSD systems to log in with the korn shell. Since August 22, When I try to log in as toor or even when I try to su - toor, I get logged in as root. For example: ushers# ssh -l toor woodstock Password: Last login: Fri Sep 9 06:30:23 2011 from 172.16.175.216 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 8.2-RELEASE-p1 (WOODSTOCK) #1: Mon Jul 11 09:05:07 CDT 2011 woodstock# who am i root 0Sep 9 07:46 woodstock# su - toor woodstock# who am i root 0Sep 9 07:47 Unfortunately, I haven't tried to log in since a package update I did around August 22, so I didn't notice this problem until now. Does anybody have any idea what might be causing this? That seems to be the normal behavior, because toor has the id of root. I'm running 8.2-RELEASE, and that seems to be normal behavior. On one of my systems: [root@mail01]~# who am i root 1Sep 9 09:26 [root@mail01]~# su - toor [toor@mail01]~# who am i root 1Sep 9 09:26 [toor@mail01]~# ___ 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
libnotify notification-daemon oddness
libnotify-0.7.3_1 notification-daemon-0.7.1 FreeBSD jimmiejaz.org 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Jun 26 08:42:45 EDT 2011 jim...@jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO i386 After following the portupgrade steps to update libnotify and libproxy (notification-daemon got rebuild as well), I've lost pop-up notifications in XFCE4. Thunderbird, transmission were rebuilt as well. Before, thunderbird, transmission would show a box with information when they wanted attention, now they don't. All I'm seeing is libnotify-WARNING **: Failed to connect to proxy when the event is supposed to happen. The only thing I can really see is: /usr/local/share/dbus-1/services/org.freedesktop.Notifications.service is no longer installed. From the notification-daemon Makefile is it's not using GTK3. Is anyone else seeing this, have an idea how to restore the expected behavior? ___ 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
ATI libreoffice lock up Xorg
I just noticed this, but I'm pretty sure it's a result of the last ATI driver update, FreeBSD 8.2-STABLE #0: Sun Jun 26 08:42:45 EDT 2011 xf86-video-ati-6.14.2 + libreoffice-3.3.3_2 + xorg-7.5.1 = hard lockup, keyboard LEDs work for a bit, can't change to a console, kill X. ssh'ing in, running top shows Xorg at 100% CPU time. Nothing gets printed to the Xorg.0.log xf86-video-vesa-2.3.0_1 + libreoffice-3.3.3_2 + xorg-7.5.1 = works fine. vgapci0@pci0:6:3:0: class=0x03 card=0x51571002 chip=0x4c571002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'Mobility Radeon 7500 (M7 [LW])' class = display subclass = VGA vgapci0: VGA-compatible display port 0xb800-0xb8ff mem 0xd000-0xdfff,0xff52-0xff52 irq 19 at device 3.0 on pci6 drm0: ATI Radeon LW RV200 Mobility 7500 M7 on vgapci0 ___ 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: ATI libreoffice lock up Xorg
On 08/15/11 21:06, Warren Block wrote: On Mon, 15 Aug 2011, Jimmie James wrote: I just noticed this, but I'm pretty sure it's a result of the last ATI driver update, FreeBSD 8.2-STABLE #0: Sun Jun 26 08:42:45 EDT 2011 xf86-video-ati-6.14.2 + libreoffice-3.3.3_2 + xorg-7.5.1 = hard lockup, keyboard LEDs work for a bit, can't change to a console, kill X. ssh'ing in, running top shows Xorg at 100% CPU time. Nothing gets printed to the Xorg.0.log xf86-video-vesa-2.3.0_1 + libreoffice-3.3.3_2 + xorg-7.5.1 = works fine. vgapci0@pci0:6:3:0: class=0x03 card=0x51571002 chip=0x4c571002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'Mobility Radeon 7500 (M7 [LW])' class = display subclass = VGA vgapci0: VGA-compatible display port 0xb800-0xb8ff mem 0xd000-0xdfff,0xff52-0xff52 irq 19 at device 3.0 on pci6 drm0: ATI Radeon LW RV200 Mobility 7500 M7 on vgapci0 We've been talking about ATI lockups on the forums: http://forums.freebsd.org/showthread.php?t=25540 It's mystifying to me, since I haven't seen the lockups at all. Thanks for the heads up, replied to the thread there, and will here too. Switching to XAA fixes this lock up for me. However, changing a window size, opening a new app causing flickering of said window. Changing desktops is laggy, and windows from desktop 1 appear for about 5-10 seconds on desktop 2. ___ 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 won't install after Fixit
Hey everyone, I have the FreeBSD DVD (amd64) and, during an install, used the Fixit option (while choosing to mount the DVD as the live filesystem) to load a kernel module. After exiting the fixit shell and attempting a standard install, when it came time to install packages, I got the following error: Error mounting /dev/acd0 on /dist: Input/output error (5) I also noticed that once I've chosen the CDROM/DVD option under Fixit once, I can't do it again, and get the same error when I try. It appears that /dev/acd0 can only be mounted once by the installer. Is this a known issue, and if so, is there a way to work around this so that I can load kernel modules before continuing on with the installation? I could remain within the fixit environment and do the entire install manually, but I'd really rather not do that... Thanks! James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD won't install after Fixit [solved]
On 08/09/11 13:08, James Colannino wrote: Hey everyone, I have the FreeBSD DVD (amd64) and, during an install, used the Fixit option (while choosing to mount the DVD as the live filesystem) to load a kernel module. After exiting the fixit shell and attempting a standard install, when it came time to install packages, I got the following error: Error mounting /dev/acd0 on /dist: Input/output error (5) [...] Ok, so it turns out that the reason for this was that I was using a VM. I tested this on an ordinary system, and when you exit the Fixit prompt, it ejects the disk. This was happening in the VM, only I didn't realize it because the CD-ROM was being emulated. When it came time to mount the disk a second time, the disk wasn't there, and so that's why it was complaining. James ___ 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
FBSD 8.2 and USB Floppies
Hey everyone, I have a FBSD 8.2 install. I've been trying to mount DOS formatted floppy disks via a USB floppy drive, and have been getting the following error every time: cannot mount /dev/da0: invalid argument I was curious to see what would happen if I created a UFS filesystem on the floppy and tried to mount it. So, I issued the following command: newfs /dev/da0 It was successful. I then tried to mount the new filesystem (mount /dev/da0 /mnt), and got the same error: invalid argument. Does FBSD have a problem mounting USB floppy disks? It's not a big deal, as my other USB storage devices seem to work, and as I have an ordinary floppy drive I can try, but that curious part of me wants to know why this isn't working. I can provide dmesg output, if necessary. Thanks! James ___ 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: FBSD 8.2 and USB Floppies
On 07/18/11 11:57, Pegasus Mc Cleaft wrote: On Monday 18 July 2011 19:45:27 James Colannino wrote: newfs /dev/da0 It was successful. I then tried to mount the new filesystem (mount /dev/da0 /mnt), and got the same error: invalid argument. Does FBSD have a problem mounting USB floppy disks? It's not a big deal, as my other USB storage devices seem to work, and as I have an ordinary floppy drive I can try, but that curious part of me wants to know why this isn't working. Have you tried: mount_msdosfs /dev/da0 /mnt Not sure if this would work with a UFS filesystem :) I did try this when the disk was formatted with a DOS filesystem, however, and I still got the same error. James ___ 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
CUPS and Windows Printers
Hey everyone, I've been Googling around, trying to figure out how to see Windows printers via CUPS on FreeBSD, but so far, all I've found are links describing how to share FreeBSD printers with Windows boxes. Can anyone tell me how I can connect to Windows printers via CUPS + Samba so that I can start getting some work done at the office? :) Thanks so much! James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS and Windows Printers
On 07/13/11 20:59, Polytropon wrote: Obtained by a google search. :-) I can't give better advice as I'm not a Windows person, and I avoid using CUPS whenever possible (usually by using a network printer that doesn't need all this stuff), and due to lack of experience with MICROS~1 stuff I can't be fully sure that this is what you're searching for. That looks like it might help. Thanks for the link. The only thing that comes to my mind is that this seems to be a command line approach - so in relation of CUPS configuration mainly done through a web interface today, maybe you could also ask this question in a CUPS web forum? That would probably be a good idea as well... :) James ___ 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
negative sbsize
After the last firefox update and flash, I've been getting thousands and thousands of kernel: negative sbsize for uid = 1001 in my logs, and google appears to show a bug from 2001, http://www.freebsd.org/cgi/query-pr.cgi?pr=27275 with no solution. Flash sites now crawl, hang firefox, midori and opera . I even updated sources and rebuilt world and kernel, and still getting the error/issues. firefox-5.0,1 linux-f10-flashplugin-10.3r181.26 nspluginwrapper-1.4.2 midori-0.3.6 opera-11.11 opera-linuxplugins-11.11 FreeBSD jimmiejaz.org 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Jun 26 08:42:45 EDT 2011 jim...@jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO i386 Anyone have an idea what's going on or seeing this as well, and how to fix it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
what to do with multimedia/xvid4conf
pkgdb -Ff --- Checking the package registry database Stale origin: 'multimedia/xvid4conf': perhaps moved or obsoleted. - The port 'multimedia/xvid4conf' was removed on 2011-05-02 because: Has expired: Upstream has disapear and distfile is no more available - Hint: xvid4conf-1.12_5 is required by the following package(s): subtitleripper-0.3.4_5 dvdrip-0.98.11_3 transcode-1.1.5_15 tovid-0.30_9 - Hint: checking for overwritten files... - No files installed by xvid4conf-1.12_5 have been overwritten by other packages. Deinstall xvid4conf-1.12_5 ? [no] Since it's required by other ports, removing it will break them, so I have to be harassed by this message every time I update my ports? Is there a way to hide this? -- I am currently away on leave, traveling through time and will be returning last week. Life is tough, but it's tougher when you're stupid. ___ 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: audacious-2.5.0 broken for anyone else?
On 04/29/11 16:37, Roland Smith wrote: On Fri, Apr 29, 2011 at 12:37:11AM -0400, Jimmie James wrote: Removing audio/xmp fixes the xmp-audacious.so is not compatible with this version of Audacious Removing the icecast (libshout2) leaves Failed to load plugin (/usr/local/lib/audacious/Output/icecast.so): Shared object libshout.so.5 not found, required by icecast.so Audacious works fine here. But I don't have an icecast.so file in /usr/local/lib/audacious/Output/. I think it is a remainder of an older version that was not removed? There is no icecast.so plugin in the pkg-plist of the current audacious-plugins port. In my experience building Audacious tends to fail or produce incorrect results when you are building it with a previous version installed. Therefore I tend to remove Audacious and its plugins before installing the new version. Maybe that helps? Roland Well, it's working now, following Oliver's advice so it's all good. The thing was, I'd never had an issue updating it before while it was installed, so it threw me for a loop. I have a note in my system tricks'n'tips file now about it. Thanks all. I am currently away on leave, traveling through time and will be returning last week. Life is tough, but it's tougher when you're stupid. ___ 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
audacious-2.5.0 broken for anyone else?
Removing audio/xmp fixes the xmp-audacious.so is not compatible with this version of Audacious Removing the icecast (libshout2) leaves Failed to load plugin (/usr/local/lib/audacious/Output/icecast.so): Shared object libshout.so.5 not found, required by icecast.so Audacious will not load up no matter what. ~audacious Failed to load plugin (/usr/local/lib/audacious/Input/ffaudio.so): /usr/local/lib/libavutil.so.1: version LIBAVUTIL_49 required by /usr/local/lib/audacious/Input/ffaudio.so not found *** ERROR: /usr/local/lib/audacious/Input/xmp-audacious.so is not compatible with this version of Audacious. *** ERROR: /usr/local/lib/audacious/Output/icecast.so is not compatible with this version of Audacious. pkg_info |grep -i audaci audacious-2.5.0 A media player based on BMP and XMMS audacious-plugins-2.5.0 Plugins needed for audacious uname -a FreeBSD jimmiejaz.org 8.2-STABLE FreeBSD 8.2-STABLE #1: Thu Apr 21 16:54:15 EDT 2011 jim...@jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO i386 ___ 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: Missing plugin for Firefox
It's a youtube video, so it's flash. How to: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html Steven, wrote: Missing plugin for Firefox, but I don't know which one. I tried to view this music video, but I have no idea how to discover what format it is. http://popnewswire.tv/play-the-belle-brigade-the-belle-brigade/10481 I'm running the latest port of Firefox 4.0 -- I am currently away on leave, traveling through time and will be returning last week. Life is tough, but it's tougher when you're stupid. ___ 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
vlc, webcam streaming
Camera works fine with skype, emesene work wonderfully, mplayer gives me an image, but it flashes between green screen and the actual images. Full vlc -vv output is here, http://pastebin.com/MaEP6f6R (highlights below) Anyone have a suggestion/hint/tip? VLC is unable to open the MRL 'v4l://'. Check the log for details. # [0x2899954c] qt4 interface debug: Initialization of Capture device panel # [0x2899954c] qt4 interface warning: Input option: input-slave=alsa:// # [0x2899954c] qt4 interface warning: Input option: v4l-norm=0 # [0x2899954c] qt4 interface warning: Input option: v4l-frequency=0 # [0x2899954c] qt4 interface warning: Input option: file-caching=300 # [0x288056bc] main playlist debug: adding item `v4l:///dev/video0' ( v4l:///dev/video0 ) # [0x2899954c] qt4 interface debug: Adding a new MRL to recent ones: v4l:///dev/video0 # [0x288056bc] main playlist debug: rebuilding array of current - root Playlist # [0x288056bc] main playlist debug: rebuild done - 1 items, index -1 # [0x288056bc] main playlist debug: processing request item v4l:///dev/video0 node null skip 0 # [0x288056bc] main playlist debug: resyncing on v4l:///dev/video0 # [0x288056bc] main playlist debug: v4l:///dev/video0 is at 0 # [0x288056bc] main playlist debug: starting new item # [0x288056bc] main playlist debug: creating new input thread # [0x2d820fdc] main input debug: Creating an input for 'v4l:///dev/video0' # [0x2d820fdc] main input debug: thread (input) created at priority 10 (input/input.c:214) # [0x2d820fdc] main input debug: thread started # [0x2d820fdc] main input debug: using timeshift granularity of 50 MiB # [0x2d820fdc] main input debug: using timeshift path '/tmp' # [0x2d820fdc] main input debug: `v4l:///dev/video0' gives access `v4l' demux `' path `/dev/video0' # [0x2d820fdc] main input debug: creating demux: access='v4l' demux='' path='/dev/video0' # [0x2e423f7c] main demux debug: looking for access_demux module: 1 candidate # [0x2e423f7c] v4l demux debug: opening device '/dev/video0' # [0x2899954c] qt4 interface debug: IM: Setting an input # [0x2e423f7c] v4l demux debug: V4L device Logitech QuickCam Pro 4000 1 channels 0 audios 160 w 640 120 h 480 # [0x2e423f7c] v4l demux debug: invalid width 0 # [0x2e423f7c] v4l demux debug: invalid height 0 # [0x2e423f7c] v4l demux debug: setting channel usb(0) 0 tuners flags=0x0 type=0x2 norm=0x0 # [0x2e423f7c] v4l demux error: cannot set channel (Invalid argument) # [0x2e423f7c] main demux debug: no access_demux module matching v4l could be loaded -- I am currently away on leave, traveling through time and will be returning last week. Life is tough, but it's tougher when you're stupid. ___ 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
Fwd: Re: vlc, webcam streaming
(sorry, dropped the list off this) On 03/22/11 10:55, Hans Petter Selasky wrote: On Tuesday 22 March 2011 15:16:56 Jimmie James wrote: Camera works fine with skype, emesene work wonderfully, mplayer gives me an image, but it flashes between green screen and the actual images. Full vlc -vv output is here, http://pastebin.com/MaEP6f6R (highlights below) Anyone have a suggestion/hint/tip? VLC is unable to open the MRL 'v4l://'. Check the log for details. Hi, I think VLC removed support for Webcams. Only video streaming devices and DVB- X devices are supported. Flickering pictures might be due to lack of buffering in webcamd. Could you dump the config descriptor with usbconfig for your device? Which version of webcamd are you using? --HPS That's interesting with VLC, googling around seems to suggest it works with V4L2 usbconfig -u 2 -a 2 dump_curr_config_desc is at the end of this message. webcamd-0.1.20_1 gstreamer-plugins-v4l2-0.10.27,3 Gstreamer Video 4 Linux 2 source plugin libv4l-0.8.1Video4Linux library v4l_compat-1.0.20101027_1 Video4Linux IOCTL header files As for mplayer, I'm going to assuME it's more user error/command line options after playing a bit more with it. Mplayer called like mplayer tv:// -tv driver=v4l:device=/dev/video0 is clear. Playing tv://. TV file format detected. Selected driver: v4l name: Video 4 Linux input author: Alex Beregszaszi comment: under development = WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!! As the V4L1 compatibility layer is broken, this may not work. If you encounter any problems, use driver=v4l2 instead. Bugreports on driver=v4l with v4l2 drivers will be ignored. = Selected device: Logitech QuickCam Pro 4000 Capabilities: capture teletext overlay clipping frameram mjpeg-encoder Device type: 1917853805 Supported sizes: 160x120 = 640x480 Inputs: 1 0: usb: (tuner:0, norm:pal) Called like tv:// -tv driver=v4l2:device=/dev/video0 is all flickery. MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team Playing tv://. TV file format detected. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski olschew...@zpr.uni-koeln.de comment: first try, more to come ;-) Selected device: Logitech QuickCam Pro 4000 Capabilities: video capture read/write streaming supported norms: 0 = webcam; inputs: 0 = usb; Current input: 0 Current format: YUV420 tv.c: norm_from_string(pal): Bogus norm parameter, setting default. Selected input hasn't got a tuner! v4l2: Cannot get fps v4l2: ioctl set mute failed: Invalid argument v4l2: ioctl query control failed: Invalid argument == Opening video decoder: [raw] RAW Uncompressed Video Movie-Aspect is undefined - no prescaling applied. VO: [x11] 640x480 = 640x480 Planar YV12 [swscaler @ 0x2aa3f010] using unscaled yuv420p - bgra special converter Selected video codec: [rawyv12] vfm: raw (RAW YV12) ugen2.2: product 0x08b2 vendor 0x046d at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x01fd bNumInterfaces = 0x0003 bConfigurationValue = 0x0001 iConfiguration = 0x no string bmAttributes = 0x00a0 bMaxPower = 0x00fa Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x bAlternateSetting = 0x bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x iInterface = 0x no string Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 IN bmAttributes = 0x0003 INTERRUPT wMaxPacketSize = 0x0001 bInterval = 0x0064 bRefresh = 0x bSynchAddress = 0x Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 IN bmAttributes = 0x0001 ISOCHRONOUS wMaxPacketSize = 0x bInterval = 0x0001 bRefresh = 0x bSynchAddress = 0x Interface 0 Alt 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x bAlternateSetting = 0x0001 bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x iInterface = 0x no string Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 IN bmAttributes = 0x0003 INTERRUPT wMaxPacketSize = 0x0001 bInterval = 0x0064 bRefresh = 0x bSynchAddress = 0x Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 IN bmAttributes
webcamd startup problems
Hope someone can see what I missed here, as the topic says, webcamd doesn't start at boot. Logitec USB cameram product 0x08b2 vendor 0x046d, is plugged in, works wonderfully in skype-2.0.0.72,1, emesene-1.6.3, pwcview, etc.. grep webc /etc/rc.conf webcamd_enable=YES -r-xr-xr-x 1 root wheel 775 Mar 8 19:35 /usr/local/etc/rc.d/webcamd grep cuse /boot/loader.conf cuse4bsd_load=YES The camera doesn't show up when I boot the system, webcamd doesn't start. I have to run webcamd to start it, and it happily prints out, Attached ugen2.2[0] to cuse unit 0 Creating /dev/video0 So, my question is, why isn't this starting at boot? -- I am currently away on leave, traveling through time and will be returning last week. Life is tough, but it's tougher when you're stupid. ___ 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
multimedia/py-gstreamer build failure
Anyone have an idea on this? It's blocking dozens of apps that need updating. --- Installing 'py27-gstreamer-0.10.21' from a port (multimedia/py-gstreamer) --- Building '/usr/ports/multimedia/py-gstreamer' === Cleaning for py27-gstreamer-0.10.21 === License LGPL21 accepted by the user === Extracting for py27-gstreamer-0.10.21 = SHA256 Checksum OK for gst-python-0.10.21.tar.bz2. === Patching for py27-gstreamer-0.10.21 === py27-gstreamer-0.10.21 depends on file: /usr/local/lib/python2.7/site-packages/libxml2mod.so - found === py27-gstreamer-0.10.21 depends on file: /usr/local/bin/python2.7 - found === py27-gstreamer-0.10.21 depends on executable: gmake - found === py27-gstreamer-0.10.21 depends on package: gstreamer-plugins=0.10.0 - found === py27-gstreamer-0.10.21 depends on executable: pkg-config - found === py27-gstreamer-0.10.21 depends on executable: pygobject-codegen-2.0 - found === py27-gstreamer-0.10.21 depends on shared library: glib-2.0.0 - found === Configuring for py27-gstreamer-0.10.21 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p checking for gawk... gawk checking whether gmake sets $(MAKE)... yes checking nano version... 0 (release) checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i386-portbld-freebsd8.2 checking host system type... i386-portbld-freebsd8.2 checking how to print strings... printf checking for style of include used by gmake... GNU checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands +=... no checking how to convert i386-portbld-freebsd8.2 file names to i386-portbld-freebsd8.2 format... func_convert_file_noop checking how to convert i386-portbld-freebsd8.2 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... cpp checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd8.2 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking dependency style of cc... (cached) gcc3 checking for cc option to accept ISO C99... -std=gnu99 checking for cc
Fwd: multimedia/py-gstreamer build failure [SOLVED]
It would appear there was some python 2.6 cruft left floating around, rebuilding gstreamer and related ports fixed this. Sorry about the noise. `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst' CC _gst_la-gst-argtypes.lo CC _gst_la-gstmodule.lo CC _gst_la-pygstiterator.lo CC _gst_la-pygstminiobject.lo CC _gst_la-pygstvalue.lo CC _gst_la-pygstexception.lo GENgst.c Traceback (most recent call last): File ../codegen/codegen.py, line 1575, in module sys.exit(main(sys.argv)) File ../codegen/codegen.py, line 1532, in main o = override.Overrides(arg, path=extendpath) File /usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py, line 49, in __init__ self.handle_file(filename) File /usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py, line 92, in handle_file self.__parse_override(buf, startline, filename) File /usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py, line 174, in __parse_override self.handle_file(filename) File /usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py, line 92, in handle_file self.__parse_override(buf, startline, filename) File /usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py, line 174, in __parse_override self.handle_file(filename) File /usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py, line 92, in handle_file self.__parse_override(buf, startline, filename) File /usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py, line 104, in __parse_override command = words[0] IndexError: list index out of range gmake[3]: *** [gst.c] Error 1 gmake[3]: Leaving directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21' gmake: *** [all] Error 2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re:Best Laptop to buy for Freebsd Without OS?
Date: Sun, 20 Feb 2011 04:23:03 +0100 From: Polytropon free...@edvax.de Subject: Re: Best Laptop to buy for Freebsd Without OS? To: Brian Callahan kors...@gmail.com Cc: freebsd-questions@freebsd.org Message-ID: 20110220042303.0f730c6b.free...@edvax.de Content-Type: text/plain; charset=US-ASCII On Thu, 17 Feb 2011 18:32:59 -0500, Brian Callahan kors...@gmail.com wrote: and By using the Software, you accept these terms. If you do not accept them, do not use the software. Instead, contact the manufacturer or installer to determine its return policy. You must comply with that policy, which might limit your rights or require you to return the entire system on which the software is installed. The major OEMs will say OK, then you must return the computer, and you have no option but to comply. This is true for the USA. Erm... and this is NOT a joke? Don't get me wrong, I had a good laugh about this... agreement... but nothing is too absurd to be true. In this specific context, does booting a FreeBSD and removing the Windows from the disk is equivalent to using the soft- ware? If I understand it correctly, using relates to the software, not the hardware. Unfortunately, it is *not* a joke unless it is some kind of elaborite prank. I don't know why people let computer (and peripheral) vendors get away with it. I briefly describe the inserts and stickers included with a computing console my sister bought here: http://forums.xkcd.com/viewtopic.php?f=7t=55819start=120#p2001085 quote Anyway, as you may know, the End-user does not agree to the Microsoft version of the EULA directly. Rather, each manufacturer uses their own modified EULA that in turn, references the Microsoft EULA. The important thing is that they have changed the language from by clicking agree... to by using the (computer)... you agree to the license. /quote There is also a seal on the bag holding the computer to that effect. Just yesterday, made a post complaining about how you can't just buy a General Purpose computer anymore: http://gbxforums.gearboxsoftware.com/showthread.php?p=2227317#post2227317 In it I mention how I tried to buy a GNU/Liunx and BSD compatible printer, only to be confronted with: quote Please read before opening. Opening this package or using the patented cartridge included with this product confirms your acceptance of the following license agreement. The patented Return Program cartridge sold with this product is provided subject to the restriction that it be used only once. Following this initial use, you agree to return the empty cartridge only to Lexmark for remanufacturing and recycling. Lexmark provides a prepaid return label in every replacement cartridge package. If you don't accept these terms, return this unopened package to your point of purchase./quote Patent law is stronger than copyright law. Lexmark may be able to argue you are manufacturing printed documents and are subject to the Patent license. INAL either. After deciding I could not really buy a computer locally, I ordered my latest machine from Freedom Included, Inc from in the US. http://freedomincluded.com/product/lemote-yeeloong/ It is a MIPS-based subnotebook shipping with gNewSense (Linux distro). I don't think it is what the OP was looking for since it won't even run Windows without qemu (3hour+ compile for all targets). It is also a relatively small machine (netbook size). I am also not sure if the wireless would be supported in freeBSD. freedomincluded@freedomincluded:~$ lsusb Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 003: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 802.11g 54Mbps Network Adapter Bus 004 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub (Camera not listed) Regards, James Phillips ___ 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
GNU/Linux NIS tweaks was: FreeBSD Decision
--- On Sat, 1/15/11, FRLinux frli...@gmail.com wrote: Hello, I'd be curious to hear about any particular tweaking you need applying on NFS FreeBSD servers. I have used them for the past 8 years starting with 4.x at the time and now with a mix of 6.x 7x and 8.x and had not to tweak anything. SNIP! Cheers, Steph It may have to do with what you are doing. At the NFS protocol level, they are compatible as far as I can tell. However, in my testing (trying to set up a file server in a heterogeneous environment) I had problems configuring NIS without editing Makefiles. GNU/Linux uses 'shadow' to store password and FreeBSD used master.passwd. The number of fields between the two differ as well. From my notes, the options are: 1. Modify makefile to generate a shadow file to keep Linux happy 2. use UNSECURE=true option in /var/yp/Makefile and disable shadow passwords in Linux. I decided to go with the second option because NFS uses host-based authentication: somebody with root access to a client machine can get both files anyway. Because NFS passes ownership and group information by number, I decided I needed I need to use NIS to set send user and group information to keep the network sane. For example, james may be user 1001 on one machine and user 1002 on another. The problem is that the FreeBSD special groups are not compatible with the GNU/Linux special groups (less than 1000). I resolved this (after an hint from IRC) by editing /var/yp/Makefile to only send user groups in a certain window to the client machines. From my notes: -both group.byname and group.bygid have the same filter to decide which groups to include:[ @$(AWK) -F: '{ if ($$1 != $$1 !~^#.* $$1 !=+) \ ] Decodes as: Use 'awk' with a field separator of ':' Include a line if: -it is not blank -if it is not a commented line, denoted by '#' -if it is not a line importing groups from NIS, denoted by '+' in the first field. filter can be modified to include only gid's within a certain range: [ @$(AWK) -F: '{ if ($$1 != $$1 !~^#.* $$1 !=+ $$3 = 1001 $$3 =2000) \ ] /notes Regards, James Phillips I actually was able to log in from a test installation of Debian using that hack (files appeared on server as expected). It took some trial and error though. PS: perhaps my difficulty is I don't really want to do programming until the fileserver is up, but BSD administrators are expected to do basic scripting. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD Decision
Message: 14 Date: Fri, 14 Jan 2011 19:46:20 +0100 From: Alessandro Baggi alessandro.ba...@gmail.com Subject: FreeBSD Decision To: freebsd-questions@freebsd.org Message-ID: 4d3099fc.10...@gmail.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi list, I don't want make a flame post but I would ask an objective opinion, then not a camp opinion, about using FreeBSD or Debian Linux in a production environment for solution as such as cluster of some Mail Server (qmail), raid software, security support and hardware support. I prefer Debian and lurk on the list because I want to use FreeBSD for my fileserver (which has been a multi-year project, still not in production). I originally chose BSD for security, but have decided to stick with it to benefit from learning a slightly different way of doing things. The main flame-worthy difference between the two is licensing: Linux uses the GPL, FreeBSD uses a simplified BSD license. You can probably find flame-wars about it on the Internet yourself :) The culture between the two groups is also a little different. Debian actually has an IRC channel where users are encouraged to ask questions (#debian on irc.freenode.net). Here, they prefer you use this mailing list. The difference may be that Debian has a larger community that can support an IRC channel. The way packages get installed is different as well. Under Debian you are asked a series a questions (with user-settable verbosity), and many services are set up as automatically as is possible given your answers. Under BSD, services are installed disabled by default. This is annoying, but good for security. In theory you shouldn't be able to get it working unless you know what you are doing. One thing to keep in mind is that BSD speaks a different POSIX dialect than most Linux distros (though that is likely true between Linux distros as well). This means things like NFS/NIS won't work without tweaking. One thing I also ran into is that md5sum (Debian) ~= md5 (BSD). I suppose you are supposed to use SHA2 these days anyway :P Regards, James Phillips ___ 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: CURRENT: Issue with ZFS and 2TB WD HDD (WDC WD20EURS-63Z9B1 80.00A80)
On 12/1/2010 5:36 PM, O. Hartmann wrote: There is no valuable dmesg/message output, due to the simple fact, that after yesterday's make world and another import try the BACKUP00 pool was imported. The only thing to report is, that while importing the BACKUP00 pool, which is on devise ada3, I got an message on console like: Nov 29 21:13:36 0.2 thor kernel: ZFS WARNING: Unable to attach to ada1. Unfortunately until the problem reproduces there's no way to dig into it further. boot-verbose will show what ZFS finds when it scans ada3p1 both for the pool and for the vdev (by GUID). ZFS can't claim ada1 since that's GPT-partitioned. ___ 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: CURRENT: Issue with ZFS and 2TB WD HDD (WDC WD20EURS-63Z9B1 80.00A80)
O. Hartmann wrote: Attached to the system are three WD harddrives with ZFS as filesystem on GPT partitioning scheme. Please send the output of camcontrol devlist and zpool status on FreeBSD-8.1. Then export the pool in FreeBSD-8.1, boot FreeBSD-9 with verbose booting and send the output of camcontrol devlist, zpool import BACKUP and the part of /var/log/messages that shows FreeeBSD searching for the pool during the import. It might be useful to know what disk controller is being used. =34 3907029101 ada3 GPT (1.8T) 344062- free - (2.0M) 4096 3907025039 1 freebsd-zfs (1.8T) It is not related to your problem, but how did that unused space wind up before partition 1? ___ 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
gvfs-1.6.6' build failure
FreeBSD jimmiejaz.org 8.1-STABLE FreeBSD 8.1-STABLE #0: Mon Nov 15 17:52:21 EST 2010 root@:/usr/obj/usr/src/sys/FORTYTWO i386 Hit this in the middle of the Gnome 2.32, I hit this error, any suggestions? [13:44:20] jim...@jimmiejaz 115 [0] /usr/ports/devel/gvfs#make clean ; rehash ; portupgrade -f devel/gvfs === Cleaning for gvfs-1.6.6 --- Upgrading 'gvfs-1.6.3_1' to 'gvfs-1.6.6' (devel/gvfs) --- Building '/usr/ports/devel/gvfs' === Cleaning for gvfs-1.6.6 === License check disabled, port has not defined LICENSE === Found saved configuration for gvfs-0.2.3_2 === Extracting for gvfs-1.6.6 = SHA256 Checksum OK for gnome2/gvfs-1.6.6.tar.bz2. === Patching for gvfs-1.6.6 === Applying FreeBSD patches for gvfs-1.6.6 === gvfs-1.6.6 depends on executable: gmake - found === gvfs-1.6.6 depends on file: /usr/local/bin/intltool-extract - found === gvfs-1.6.6 depends on executable: pkg-config - found === gvfs-1.6.6 depends on shared library: dbus-1.3 - found === gvfs-1.6.6 depends on shared library: hal.1 - found === gvfs-1.6.6 depends on shared library: soup-gnome-2.4.1 - found === gvfs-1.6.6 depends on shared library: gnome-keyring - found === gvfs-1.6.6 depends on shared library: avahi-client.3 - found === gvfs-1.6.6 depends on shared library: intl - found === gvfs-1.6.6 depends on shared library: atk-1.0.0 - found === gvfs-1.6.6 depends on shared library: gconf-2.4 - found === gvfs-1.6.6 depends on shared library: glib-2.0.0 - found === gvfs-1.6.6 depends on shared library: gtk-x11-2.0.0 - found === gvfs-1.6.6 depends on shared library: IDL-2.0 - found === gvfs-1.6.6 depends on shared library: xml2.5 - found === gvfs-1.6.6 depends on shared library: ORBit-2.0 - found === gvfs-1.6.6 depends on shared library: pango-1.0.0 - found === Configuring for gvfs-1.6.6 configure: WARNING: unrecognized options: --with-gconf-source checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p checking for gawk... gawk checking whether gmake sets $(MAKE)... yes checking whether build environment is sane... yes checking for style of include used by gmake... GNU checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking for an ANSI C-conforming const... yes checking for library containing strerror... none required checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking dependency style of cc... (cached) gcc3 checking how to run the C preprocessor... cpp checking whether ln -s works... yes checking whether gmake sets $(MAKE)... (cached) yes checking build system type... i386-portbld-freebsd8.1 checking host system type... i386-portbld-freebsd8.1 checking how to print strings... print: not found printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands +=... no checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker
Re: gvfs-1.6.6' build failure
Deleting xz-5.0.0 and installing lzma-9.12 fixed this problem. Sorry for the noise, but a heads up if anyone else hits this issue. On 11/24/10 13:54, Jimmie James wrote: FreeBSD jimmiejaz.org 8.1-STABLE FreeBSD 8.1-STABLE #0: Mon Nov 15 17:52:21 EST 2010 root@:/usr/obj/usr/src/sys/FORTYTWO i386 Hit this in the middle of the Gnome 2.32, I hit this error, any suggestions? /usr/lib/libarchive.so: undefined reference to `lzma_stream_enco...@xz_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_alone_deco...@xz_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_memus...@xz_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_stream_deco...@xz_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_c...@xz_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_...@xz_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_lzma_pre...@xz_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_alone_enco...@xz_5.0' gmake[4]: *** [gvfsd-archive] Error 1 Stop in /usr/ports/devel/gvfs. *** Error code 1 Stop in /usr/ports/devel/gvfs. ___ 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
portsclean -CDD oddness
After doing a portupgrade, I've always run portsclean -CDD [for reference] -C Clean out all the working directories of the ports tree. (cf. WRKDIRPREFIX) -D Clean out all the distfiles that are not referenced by any port in the ports tree. Specified twice (i.e. -DD), clean out all the distfiles that are not referenced by any port that is currently installed. (cf. DISTDIR) This time, fresh csup and a few ports updated, it wiped out EVERY distfile for reasons I don't understand. Anyone have a clue as to why, or what the frak is going on? Now I know it's not a huge deal, unless there's a bug somewhere, nothing's changed in my /etc/make.conf or my pkgtools.conf in... about 6 months. FreeBSD jimmiejaz.org 7.3-STABLE FreeBSD 7.3-STABLE #0: Tue Jun 1 23:22:54 EDT 2010 jim...@jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO i386 pkg_info |grep -i portupgrade portupgrade-2.4.6_4,2 FreeBSD ports/packages administration and management tool -r-xr-xr-x 1 root wheel 15978 Mar 15 2010 /usr/local/sbin/portsclean ls -al /usr/ports/distfiles/* ls: No match. pkg_info |wc -l 1217 ls /var/db/pkg/ |wc -l 1220 ls -R /var/db/ports | wc -l 1268 pkgdb -Ff --- Checking the package registry database /usr/ports/INDEX-7.bz2100% of 1425 kB 189 kBps done [Updating the portsdb format:bdb_hash in /usr/ports ... - 22279 port entries found .1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000.17000.18000.19000.2.21000.22000.. . done] evilvte libsndfile p5-Class-MOP p5-IO-Socket-SSL p5-Moose p5-Package-Stash portmaster xf86-input-citron auditfile.tbz 100% of 63 kB 31 kBps ___ 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: ssh under attack - sessions in accepted state hogging CPU
Hi Matt, I know there's not much I can do about the brute force attacks, but will upgrading openssh avoid these stuck connections? 1. switch over to using solely RSA keys 2. switch to a non-standard port 3. what version of openssh are you currently using? Best James___ 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: /boot is full after running make installkernel on FreeBSD 8.0
Try rm -r /boot/kernel.old I bet that's the problem. -- James Bailie http://www.mammothcheese.ca -Original Message- From: Ed Flecko edfle...@gmail.com Sender: owner-freebsd-questi...@freebsd.org Date: Thu, 1 Jul 2010 11:24:46 To: freebsd-questions@freebsd.org Subject: /boot is full after running make installkernel on FreeBSD 8.0 Hi folks, I'm running FreeBSD 8.0, and I'm trying to simple stay current with all security patches. It's a clean install of FreeBSD 8.0 on a 50G drive, and I let sysinstall select the default partition configuration when I did the install. I've taken the following steps: # csup -4 /etc/stable-supfile # cd /usr/src # make buildworld # make buildkernel # make installkernel After the make installkernel command, the / partition shows 106% capacity (and it started as 500M). Here's my before and after running make installkernel Before: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a496M253M203M55%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1e496M 12K456M 0%/tmp /dev/da0s1f 44G3.0G 37G 8%/usr /dev/da0s1d1.9G 10M1.8G 1%/var After: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a496M485M-29M 106%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1e496M 12K456M 0%/tmp /dev/da0s1f 44G3.0G 37G 8%/usr /dev/da0s1d1.9G 10M1.8G 1%/var # cd / # du -h -d2 | grep M 2.0K./tmp/.XIM-unix 33M./usr/bin 18M./usr/include 37M./usr/lib 20M./usr/libexec 267M ./usr/local 20M./usr/sbin 37M./usr/share 511M ./usr/src 450M ./usr/ports 10M./var/db 10M./var 1.7M./etc 1.1M./bin 233M ./boot/kernel 233M ./boot/kernel.old 466M ./boot 7.4M./lib 4.3M./rescue 4.4M./sbin It looks like the both kernels are eating up the entire / Right? What am I doing wrong? The isn't normal, is it? Thank you, Ed ___ 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: office apps
Date: Tue, 8 Jun 2010 18:44:17 -0600 From: Chad Perrin per...@apotheon.com Subject: Re: office apps To: FreeBSD Questions freebsd-questions@freebsd.org Message-ID: 20100609004417.gc37...@guilt.hydra Content-Type: text/plain; charset=us-ascii I don't really like Oo.org either. It is a little better than MS-Office, be seems to follow the same general design philosophy. I wish I'd find a foolproof, simple, transparent way for me to see and edit well-formatted plain text no matter what nonsense bloated featuritis infected office suite anyone else wanted to use. Well, I heard RTF is useful for interoperability between MS word versions, but I am not sure how well interoperability between different vendors works in practice. The Wikipedia page says RTF is a proprietary standard: http://en.wikipedia.org/wiki/Rich_Text_Format You may also want to use an SGML variant like HTML or XML, but those can be tedious to manually edit. For quick messages, Plain ASCII text is much better unless you need a different character set. In that case, Unicode text will probably work. Regards, James Phillips -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.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: Media streaming
Date: Fri, 28 May 2010 00:14:09 +0100 From: Graeme Dargie a...@tangerine-army.co.uk Subject: RE: Media streaming To: freebsd-questions@freebsd.org Message-ID: 01fb8f39bad0bd49a6d0da8f7897392904f...@mercury.galaxy.lan.lcl Content-Type: text/plain; charset=us-ascii In your first message you said that The Sony TV was DTLA compliant. Because you specifically mentioned it, I assumed you knew what that meant. Your streaming server *will not* be DTLA compliant unless you are running Windows media center edition or something. I did not want to bring it up, because there was no evidence that your problem was DRM related. SNIP! Okies well so far I have tried mediatomb, the TV sees the server but gives the same message as with ushare this server does not support be useful if it said what it didn't support but there we go. I will look at The server does not support Digital Transmission Content Protection: http://www.dtcp.com/ Overview presentation: http://www.dtcp.com/documents/dtcp/DTCP_Overview.pdf In essence, you are supposed to encrypt the video stream lest you copy it. I am a little surprised the TV would refuse to work with an unencrypted stream, which is why I did not respond to your first post. Regards, James Phillips ___ 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: Media streaming
Date: Fri, 28 May 2010 18:40:14 +0100 From: Graeme Dargie a...@tangerine-army.co.uk Subject: RE: Media streaming To: freebsd-questions@freebsd.org Message-ID: 01fb8f39bad0bd49a6d0da8f7897392904f...@mercury.galaxy.lan.lcl Content-Type: text/plain; charset=iso-8859-1 -Original Message- From: James Phillips [mailto:anti_spam...@yahoo.ca] Sent: 28 May 2010 18:23 To: freebsd-questions@freebsd.org Subject: RE: Media streaming Date: Fri, 28 May 2010 00:14:09 +0100 From: Graeme Dargie a...@tangerine-army.co.uk Subject: RE: Media streaming To: freebsd-questions@freebsd.org Message-ID: 01fb8f39bad0bd49a6d0da8f7897392904f...@mercury.galaxy.lan.lcl Content-Type: text/plain; charset=us-ascii Sorry, DRM is an alphabet soup of Standards and industry consortia. I was unaware of DLNA and read it as: DTLA. However, if you look at the Overview and Vision White Paper, you will see that DTCP/IP (administered by DTLA) is required for the link layer of DLNA: http://www.dlna.org/about_us/roadmap/DLNA_Whitepaper.pdf - page 4, Table 1 The Wikipedia page lists some software that may or may not work: http://en.wikipedia.org/wiki/Digital_Living_Network_Alliance SNIP! The server does not support Digital Transmission Content Protection: http://www.dtcp.com/ Overview presentation: http://www.dtcp.com/documents/dtcp/DTCP_Overview.pdf In essence, you are supposed to encrypt the video stream lest you copy it. I am a little surprised the TV would refuse to work with an unencrypted stream, which is why I did not respond to your first post. Regards, James Phillips Hi James I said the TV was DLNA compliant, those links at the brief look I had appears to be the sort of encryption you would see on a HD signal via HDMI that would prevent you say recording HD content to your PVR device and then playing it back to a blu-ray recorder and recording it to disc. I had I get the impression that DTCP is an umbrella DRM standard that that allows the other DRM standards to inter-operate. DTCP is administered by the Digital Transmission Licensing Administrator: a consortium of five companies including Hitachi, Intel, Panasonic, Sony, and Toshiba. HDMI uses another scheme called High-bandwidth Digital Content Protection (HDCP) for encrypting the video. http://www.digital-cp.com/ http://en.wikipedia.org/wiki/High-bandwidth_Digital_Content_Protection DTCP will likely intervene in the step where you move the video from the PVR to the Blu-ray recorder. When it comes time to record the information on the disk, a third scheme comes into play: Advanced Access Content System (AACS) http://www.aacsla.com/home http://en.wikipedia.org/wiki/Advanced_Access_Content_System The Wikipedia page appears to be more readable. done a fair bit of googling on this before posting to the list, it seems Sonys' implementation of DLNA is a bit loose shall we say, I have seen a lot of people having issues with DLNA complaint NAS devices not working with Sony TV`s. As I have stated in a previous post it does work with wmp12, but it is not elegant or the solution I want for the reasons I stated earlier. I would expect wmp12 to work because Windows Vista and 7 implement DTCP, and Microsoft is listed as one of the sponsors of DLNA. Regards, James Phillips PS: my brain hurts reading that too :( Regards Graeme ___ 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