chrooted ssh user and /dev/tty permission denied
Hi, I have a problem with making remote ssh connection in chroot env. I configured chroot in sshd_config on FreeBSD 8.1 like following. Match user myuser ChrootDirectory /opt/root/myuser X11Forwarding no AllowTcpForwarding no RSAAuthentication yes PubkeyAuthentication yes and configured fstab like following. devfs /opt/root/myuser/dev devfs rw 0 0 and rc.conf devfs_set_rulesets=/opt/root/myuser/dev=devfsrules_jail I copied all binaries and libs (such as ssh,ls,pwd,ftp,scp) also. I can make ssh connection with this user to chroot enviorment successfully. When I tried to make a ssh/scp/sftp connection to remote box in chroot. I got cannot open /dev/tty: permission denied message. The permission of /dev/tty is following on chroot's /dev directory crw--w 1 root tty0, 88 Jan 20 11:02 /dev/tty I tired to change permission as root from out of the chroot by chmod, the permission never change. What should I do to make a remo ssh conn inside of the chroot env? 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: chrooted ssh user and /dev/tty permission denied
On 20 January 2011 09:06, Ibrahim Harrani ibrahim.harr...@gmail.com wrote: Hi, I have a problem with making remote ssh connection in chroot env. I configured chroot in sshd_config on FreeBSD 8.1 like following. Match user myuser ChrootDirectory /opt/root/myuser X11Forwarding no AllowTcpForwarding no RSAAuthentication yes PubkeyAuthentication yes and configured fstab like following. devfs /opt/root/myuser/dev devfs rw 0 0 and rc.conf devfs_set_rulesets=/opt/root/myuser/dev=devfsrules_jail I copied all binaries and libs (such as ssh,ls,pwd,ftp,scp) also. I can make ssh connection with this user to chroot enviorment successfully. When I tried to make a ssh/scp/sftp connection to remote box in chroot. I got cannot open /dev/tty: permission denied message. The permission of /dev/tty is following on chroot's /dev directory crw--w 1 root tty 0, 88 Jan 20 11:02 /dev/tty I tired to change permission as root from out of the chroot by chmod, the permission never change. What should I do to make a remo ssh conn inside of the chroot env? 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 Just of a matter of interest, why are you using ssh chroot rather than a full jail? You might have more success with a real jail. If there are ip limitations bind it to a loopback address then forward on the ssh connections from a non standard port on the public interface eg port ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
l2tp - l2tp/ipsec vpn road warrior
Hi guys- been a while: caught up in some bad weather recently... (if anyone's been following AU news) I've been attacking this problem for a while now, but I haven't been able to make some real gains on it. I'm trying use a vpn on the android 2.1 system, but I haven't been able to find out what its running for vpn. I've discovered this much: From what I can tell IKEv2 isn't available until (maybe) at least 2.3. I don't know if its a linux kernel module or world thing, or something 3rd party. Cisco is incompatible. And obviously I cannot tell what IP it is on the 3g network. I want a non root solution if possible, and simple as possible- auto connect in other words. Ergo, the native solution as much as possible. Seeing as android == linux, the possibilities seem to be limited. No raccoon. Maybe have to build from source. Maybe openl2tp? Anybody had any experience with this? Advice? Please? :) Cheers ___ freebsd-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: Which network driver for RTL8211 or 8201 NIC's?
On Thursday 20 January 2011, Pyun YongHyeon wrote: On Wed, Jan 19, 2011 at 11:54:54PM +, b. f. wrote: Mike Clarke wrote: I need to replace a failing motherboard. I'm aiming to keep the existing Athlon CPU so I'm tied down to to a socket AM2(+) board and the majority of those available seem to have nForce 630a chipsets and RTL8211CL or 8201EL NIC's which aren't explicitly mentioned in the release notes http://www.freebsd.org/releases/8.1R/hardware.html#ETHERNET. I see that the strings RTL8211C(L) and RTL8201L (but not EL) appear in /usr/src/sys/dev/rgephy.c and rlphy.c but the man page for the rl driver only mentions RealTek 8129/8139 and I'm not sure which driver is built from rgephy.c. Am I going to have problems if I get a motherboard with one of these NIC's? It's a bit confusing, because there are product numbers associated with NICs, and with different individual component chipsets, and some Correct. Identifying exact model number is the one of hardest thing in Realtek controllers. I think RTL8211CL or 8201EL are not MAC controller but the PHY model name. These PHY are supported by rlphy(4) since they are not gigabit PHY(e.g. Fast Ethernet). I recently found someone with a motherboard with the same chipset in a Windows PC and was able to experiment with it by booting off a FreeBSD install CD to confirm that the RTL8211CL was recognised. So I went ahead and bought my new motherboard (Gigabyte GA-M68M-S2P) and things are working fine. According to the specs the RTL8211CL is Fast Ethernet, claiming 10/100/1000 Mb/sec. I'm only using 100Mb/sec so can't confirm the 1000Mb capability. In case the information is of use to anyone, here's an extract from dmesg: nfe0: NVIDIA nForce MCP61 Networking Adapter port 0xec00-0xec07 mem 0xfe02d000-0xfe02dfff irq 20 at device 7.0 on pci0 miibus0: MII bus on nfe0 rgephy0: RTL8169S/8110S/8211B media interface PHY 3 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto nfe0: Ethernet address: 6c:f0:49:9e:88:97 nfe0: [FILTER] ... and pciconf -lv nfe0@pci0:0:7:0:class=0x068000 card=0xe0001458 chip=0x03ef10de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'Nvidia Networking Card (nForce 405)' class = bridge -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to adjust man page line length [SOLVED]
On Wed, 19 Jan 2011 22:51:45 -0600, David J. Weller-Fahy dave-lists-freebsd-questi...@weller-fahy.com wrote: * Giorgos Keramidas keram...@ceid.upatras.gr [2011-01-19 02:57 -0500]: On Tue, 18 Jan 2011 12:29:18 -0600, David Kelly dke...@hiwaay.net wrote: On Tue, Jan 18, 2011 at 06:11:13PM +0100, Giorgos Keramidas wrote: Set the 'columns' attribute of your tty: stty columns 60 man xxx *Should*? You posted without trying it? (I tried, did not work). 'Should' as in I tried it here and it worked. I'm running a recent CURRENT snapshot, but I don't think this affects the results. What does 'stty -a' show in your terminal? What is your shell's environment (e.g. the value of COLUMNS)? What is your PAGER? etc. Well... that was an interesting night of experimentation. Thanks for the idea about stty (which I didn't know about), because otherwise I might have gone mad (apparently COLUMNS isn't set in the environment of a shell script... which makes sense when one thinks about it). Regardless, I ended up finding two solutions. Nice! I'll check with our groff maintainer(s) to see if they have plans to MFC the latest man/groff stuff. pgpxKqg0Mxboi.pgp Description: PGP signature
rescue cd with networkign and ssh!
Hi, can any recommend a live cd (any distro) that will mount ufs and has networking+sshd. I've tried pc bsie (2.1, 2.0, 1.1) which doesn't even seem to work on a test machine here , won;t mount the /dev/cd image ( folder is 0 bytes in iso) . Ubuntu live will boot the box and sshd can be installed but it won;t mount the disks (apparently it needs a custom kernel). the live cd image needs to work in a datacenter. thanks Paul. -- - Paul Macdonald IFDNRG Ltd Web and video hosting - t: 0131 5548070 m: 07534206249 e: p...@ifdnrg.com w: http://www.ifdnrg.com - IFDNRG 40 Maritime Street Edinburgh EH6 6SA - ___ freebsd-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: Keyboard repeat issues with Dell Optiplex 980s
On 01/19/11 09:35, Jan Henrik Sylvester wrote: On 01/-10/-28163 20:59, Steve Polyack wrote: On 1/18/2011 5:56 PM, Jeremy Chadwick wrote: On Tue, Jan 18, 2011 at 04:40:13PM -0500, Steve Polyack wrote: We've recently upgraded a few desktop workstations from Dell Optiplex 960s to Optiplex 980s. We were running FreeBSD 8.1-RELEASE. The migration was performed by simply swapping the drives into the new systems. Immediately after switching people over, they all began to report bizarre keyboard issues - things like infinite key repeats (letters, numbers, enter) for keys they did not hold down. The key repeats continue indefinitely until another key is pressed. Occasionally, even mouse input will trigger similar infinite keyboard input repetition. In addition to the repeat issue, sometimes physical key-presses are not registered by FreeBSD, leading to typos and angry developers. We've tried doing fresh installs of FreeBSD 8.2-RC2 on two of these systems, and the issue persists. Because of the observed behavior, I'm thinking that this is due to new hardware in the 980s which isn't timing or handling interrupts correctly under the FreeBSD kernel. Looking at a 'pciconf -lvb' from each system, I noticed that the 980 has two USB controllers which probe under ehci(4), while the 960 (which does not exhibit this problem), enumerates six uhci(4) controllers and two ehci(4) controllers. To cut to the chase here, the 960 users' keyboards probe under a USB1.0 uhci(4), while the 980s only have ehci(4) devices to attach to. So, I guess what I'm asking is - has anyone else seen any keyboard repeat or other USB craziness with ehci(4) ports or otherwise Intel PCH controllers? Any fellow Optiplex 980 users? I'd be more than happy to provide pciconf or other output if requested. Try adding the following to /boot/loader.conf then reboot and see if the excessive repeat behaviour changes: hint.kbdmux.0.disabled=1 It would also help if you would state exactly what brand/model of keyboard is used. Yes, believe it or not, it matters. dmesg output would be helpful in this case. The keyboard is also a Dell model - model KB1421, or listed as Dell QuiteKey Keyboard under dmesg. The same keyboard does not exhibit the strange behavior when used with the older model of tower (Optiplex 960). I'll reboot today with the loader.conf hint you provided. I'll let you guys know if it helps. Thanks! I have 8.1-RELEASE running on an Optiplex 980 with no keyboard problems, but not with a Dell keyboard as we ordered Cherry keyboards with our Dells (the person evaluating the Dells thought the keyboard was way too light and fragile). Since I usually have the keyboard plugged into the hub in the display, I just tried it directly in the (rear) usb ports with no difference. Trying the Fujitsu and Sun keyboards from the other machines in my office does not immediately lead to problems, either. (Or how much would I have to type to reproduce the problem?) Maybe it is just the keyboards? Or a bios setting? (I cannot currently reboot to check if there are any keyboard related bios settings I changed.) Based on this post, I switched my keyboard so that it runs through the hub in my monitor. It seems to have fixed the problem, as I haven't seen the keyboard repeat in almost a day. I'm still curious as to what the actual problem is. Maybe the fact that running it through a hub first will help to narrow down the issue. Thanks, Steve ___ freebsd-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: rescue cd with networkign and ssh! [SORTED]
On 20/01/2011 13:53, Paul Macdonald wrote: Hi, can any recommend a live cd (any distro) that will mount ufs and has networking+sshd. I've tried pc bsie (2.1, 2.0, 1.1) which doesn't even seem to work on a test machine here , won;t mount the /dev/cd image ( folder is 0 bytes in iso) . Ubuntu live will boot the box and sshd can be installed but it won;t mount the disks (apparently it needs a custom kernel). the live cd image needs to work in a datacenter. thanks Paul. For info the PCSBIE disk *will* do all this, just none of them booted properly in the test machine, seems fine on a test server and looks perfect for rescue needs. -- - Paul Macdonald IFDNRG Ltd Web and video hosting - t: 0131 5548070 m: 07534206249 e: p...@ifdnrg.com w: http://www.ifdnrg.com - IFDNRG 40 Maritime Street Edinburgh EH6 6SA - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to adjust man page line length [SOLVED]
On Wed 19 Jan 2011 at 21:36:19 PST David Kelly wrote: On Jan 19, 2011, at 10:51 PM, David J. Weller-Fahy wrote: [...] That did the job, but made `man -k`, which my fingers find familiar, unusable. I remembered you were running a CURRENT snapshot, so figured I'd check the difference between man in HEAD and 8.1-RELEASE... WOW! The man in HEAD is now a shell script. In ancient times man was originally a shell script. What is old is new again. Is this a consequence of the move to mdocml instead of groff? ___ freebsd-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: rescue cd with networkign and ssh!
On Thu, 2011-01-20 at 13:53 +, Paul Macdonald wrote: Hi, can any recommend a live cd (any distro) that will mount ufs and has networking+sshd. How about DruidBSD? http://druidbsd.sf.net/ Bullet Points: - ISO is 24MB - Contains over 150 standard (and some non-standard) BSD utilities - Runs entirely from memory - Is based on FreeBSD-8.1 - Includes the tmpfs kernel module (should you need to allocate more disk space from RAM) - Works from optical media (CD/DVD) and USB flash drives - Utilizes crunchgen to maintain tiny footprint - Designed to be a fully-operational FreeBSD distribution for embedded devices but doubles as an amazing rescue-disc - Graphical boot-loader Full Disclosure: I'm the author. Quick-steps: 1. Download either DruidBSD-X.Y.iso (24MB) or Druid-X.Y.iso (same as former, but adds valuable diagnostic utilities such as windiag, memtest, seatools, dban, and killdisk; 32MB). 2. Burn to optical media _or_ use dd(1) to write directly to thumb drive _or_ load it directly into a VMware virtual machine's virtual-CDROM. 3. Boot. That's it. NOTE: If http://druidbsd.sf.net/ doesn't load for you, try instead http://druidbsd.sourceforge.net/ (the former produces a 302-redirect to the latter which may not be followed by all HTTP clients). I've tried pc bsie (2.1, 2.0, 1.1) which doesn't even seem to work on a test machine here , won;t mount the /dev/cd image ( folder is 0 bytes in iso) . Ubuntu live will boot the box and sshd can be installed but it won;t mount the disks (apparently it needs a custom kernel). the live cd image needs to work in a datacenter. thanks Paul. -- Cheers, Devin Teske - CONTACT INFORMATION - Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.te...@fisglobal.com - LEGAL DISCLAIMER - This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. - FUN STUFF - -BEGIN GEEK CODE BLOCK- Version 3.1 GAT/CS d(+) s: a- C++() UB$ P++() L++() !E--- W++ N? o? K- w O M+ V- PS+ PE Y+ PGP- t(+) 5? X+(++) R++ tv(+) b+(++) DI+(++) D(+) G+++ e+ h r++ y+ --END GEEK CODE BLOCK-- http://www.geekcode.com/ - END TRANSMISSION - ___ freebsd-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: rescue cd with networkign and ssh!
On Thu, Jan 20, 2011 at 2:24 PM, Devin Teske dte...@vicor.com wrote: How about DruidBSD? http://druidbsd.sf.net/ Bullet Points: - ISO is 24MB - Contains over 150 standard (and some non-standard) BSD utilities - Runs entirely from memory - Is based on FreeBSD-8.1 - Includes the tmpfs kernel module (should you need to allocate more disk space from RAM) - Works from optical media (CD/DVD) and USB flash drives - Utilizes crunchgen to maintain tiny footprint - Designed to be a fully-operational FreeBSD distribution for embedded devices but doubles as an amazing rescue-disc - Graphical boot-loader Full Disclosure: I'm the author. Quick-steps: 1. Download either DruidBSD-X.Y.iso (24MB) or Druid-X.Y.iso (same as former, but adds valuable diagnostic utilities such as windiag, memtest, seatools, dban, and killdisk; 32MB). 2. Burn to optical media _or_ use dd(1) to write directly to thumb drive _or_ load it directly into a VMware virtual machine's virtual-CDROM. 3. Boot. That's it. NOTE: If http://druidbsd.sf.net/ doesn't load for you, try instead http://druidbsd.sourceforge.net/ (the former produces a 302-redirect to the latter which may not be followed by all HTTP clients). -- Cheers, Devin Teske This is awesome ... I've been looking for something like thisfor several months and could have even used it last months and early this month. I've also got a few friends who would find this immensely useful as well. C- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to adjust man page line length [SOLVED]
On Thu, 20 Jan 2011 10:02:56 -0800, Charlie Kester corky1...@comcast.net wrote: In ancient times man was originally a shell script. What is old is new again. Is this a consequence of the move to mdocml instead of groff? No, we are still using groff's groff_mdoc(7) package for authoring manpage content. ___ freebsd-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: problems mounting android htc
A few things: 1. Yes it is required the reason I put it in the first place is ant refused to build without it. (note 1) 2. How do I check the version on the phone? 3. What kind of modifications would be needed to make it work on eclair? Notes: 1. I eventually (once I get the standard ant style development working) to customize our existing build system (based around aegis [http//sf.aegis.net] and cook [http://miller.emu.id.au/pmiller/software/cook/]) so the fact that ant complains may not be an issue On Thu, Jan 20, 2011 at 4:06 PM, Ilias-Dimitrios Vrachnis vrac...@gmail.com wrote: On Thu, Jan 20, 2011 at 10:39 PM, Aryeh Friedman aryeh.fried...@gmail.com wrote: % ant debug ... /shared/home/aryeh/HelloAndroid/build.xml:78: For 'AOSP' SDK Preview, attribute minSdkVersion in AndroidManifest.xml must be 'AOSP' Hmmm. Interesting. I am looking at the applications I developed under FreeBSD, and I did not set the minSdkVersion at all in the Manifest. Try that. If it doesn't work, i'm afraid there are not much more that can be done. The AOSP version is froyo (2.2). That means that if omitting the version in the manifest fails, you need the eclair sdk. I'm afraid that that is not available for freebsd though. You could target for 2.2 devices only, but if your phone does not run 2.2... Well, you get the 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
Re: a few Last qstns on the wordpress installation....
On Tue, Jan 18, 2011 at 10:34:40PM +0100, C. P. Ghost wrote: On Fri, Jan 14, 2011 at 10:20 PM, Gary Kline kl...@thought.org wrote: I've been trying my level best to keep the sharks'teeth of reality from knocking me too far ever since last Sunday when the murders in Tuscon invaded the news and other parts of life. Then, last night, I learned that a girl on my daughter's cherrleading team had killed herself. Practice is M/W/F at 06:00, so nobody at the high school knew anything until the students were told late yesterday. My daughter wasn't in a good mood last night so we are all waiting for more news. Phew, that's horrible news. I hope your daughter is well and coping with the shock. Thanks. I think she is doing even better than I am. This hit all of us closer than anybody wants to admit. It's one thing when somebody is beat up by fate in his 40s and takes his life; quite another when it is a 14-year-old. I've learned that the girl kept all her pain in her diary; that nobody else knew anything. There are differences between murders and a suicide, but both are tragic events. ESp'ly when they involve the live s of somebody young. anyway, since Monday I've been thinking of the title: Miles to go Before I sleep. Ah, the one and only Robert Frost! I know too well how you feel. Frost is one of my favorites since I am actually old enough to remember when he wasstill alive! The entire Sr class had to remember that poem. To lighten up your mood, here's a little variation sometimes used on answering machines. Last heard on one some 12 years ago, unless memory fails me: These words are lovely dark and deep, But I've got promises to keep And miles to go before I sleep, So leave a message at the beep. Now I lay me down to sleep; Leave a message at the beep. And if I die before I wake, Remember to erase the tape. Very sharp. Reminds me of a take off on The Twelve Days of Christmas that I was reading off USENET. I almost split a gut laughing. gary PS: hope this gets out; been having troubles with my server when portupgrade installed bind97. {I think.} -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.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
no apache22, php5 cores
Guys, As of about an hour ago things are back. I cannot get apache22 to launch of my server. I rebuilt php5 then did a # php -v and got an immediate core dump. Note that I was using portmanager -u -f but without the --resume switch and was 88% done upgrading when I accidently killed the xterm [[ctwm]. I've made a clean start, this time with the -u -f and --resume flags. Up to about 20%. Could the php5 troubles be why I can't get apache to launch? [I also rebuilt php5-extensions. Anything else I should consider? thanks much. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.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: no apache22, php5 cores
On Thu, Jan 20, 2011 at 4:49 PM, Gary Kline kl...@thought.org wrote: [..] switch and was 88% done upgrading when I accidently killed the xterm [[ctwm]. [..] screen/tmux are your friends Gary! Both have saved my ass more then once when a terminal/server/connection decides to take a long walk off a short pier. C- ___ freebsd-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: devel/libsoup-2.32.2 Compile error _md5 problem
On 1/19/11 12:04 PM, David Southwell wrote: Thanks in advance for help with this one: File /usr/local/bin/g-ir-scanner, line 43, in module from giscanner.scannermain import scanner_main [...] File /usr/local/lib/python2.6/hashlib.py, line 136, in module md5 = __get_builtin_constructor('md5') File /usr/local/lib/python2.6/hashlib.py, line 63, in __get_builtin_constructor import _md5 ImportError: No module named _md5 gmake[3]: *** [Soup-2.4.gir] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/libsoup/work/libsoup-2.32.2/libsoup' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/devel/libsoup/work/libsoup-2.32.2/libsoup' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/libsoup/work/libsoup-2.32.2' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/devel/libsoup. *** Error code 1 David Hi David, Is devel/gobject-introspection up to date? Do you get this same error if you install devel/libsoup into a box without any ports installed on it. You can easily set up a testbed by using a jail to do that. If nothing else depends on gobject-introspection, you could always pkg_delete it and then restart the libsoup build. It would be interesting to know if that eliminates the error or not. Regards, Greg deleted gobject-introspection Got the similar error messages-- Traceback (most recent call last): File ../tools/g-ir-scanner, line 43, in module from giscanner.scannermain import scanner_main File /usr/ports/devel/gobject-introspection/work/gobject- introspection-0.9.12/giscanner/scannermain.py, line 34, in module from giscanner.dumper import compile_introspection_binary File /usr/ports/devel/gobject-introspection/work/gobject- introspection-0.9.12/giscanner/dumper.py, line 26, in module from .gdumpparser import IntrospectionBinary File /usr/ports/devel/gobject-introspection/work/gobject- introspection-0.9.12/giscanner/gdumpparser.py, line 30, in module from .transformer import TransformerException File /usr/ports/devel/gobject-introspection/work/gobject- introspection-0.9.12/giscanner/transformer.py, line 26, in module from .cachestore import CacheStore File /usr/ports/devel/gobject-introspection/work/gobject- introspection-0.9.12/giscanner/cachestore.py, line 24, in module import hashlib File /usr/local/lib/python2.6/hashlib.py, line 136, in module md5 = __get_builtin_constructor('md5') File /usr/local/lib/python2.6/hashlib.py, line 63, in __get_builtin_constructor import _md5 ImportError: No module named _md5 gmake[2]: *** [GLib-2.0.gir] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/gobject- introspection/work/gobject-introspection-0.9.12/gir' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/gobject- introspection/work/gobject-introspection-0.9.12' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/devel/gobject-introspection. *** Error code 1 Stop in /usr/ports/devel/libsoup. Photographic Artist Permanent Installations Design Creative Imagery and Advanced Digital Techniques High Dynamic Range Photography Official Portraiture Combined darkroom digital creations Systems Adminstrator for the vizion2000.net network ___ freebsd-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: no apache22, php5 cores
On Thu, Jan 20, 2011 at 04:54:52PM -0500, Chris Brennan wrote: On Thu, Jan 20, 2011 at 4:49 PM, Gary Kline kl...@thought.org wrote: [..] switch and was 88% done upgrading when I accidently killed the xterm [[ctwm]. [..] screen/tmux are your friends Gary! Both have saved my ass more then once when a terminal/server/connection decides to take a long walk off a short pier. C- Won't help me now. Anyway, anybody else have a clue with php5-5.35 cores all of a sudden? Chris, I checked my /etc/resolv.conf awhile ago. It was missing what I added, the ns 8.8.8.8, so i readded it. Has anybody else has trouble streaming stuff from Bostoo? wbur.org; and WAMU? There is an ``On Point'' stream I catch a few times/week and it has been hanging. It just stops dead. One idea I have is to half the bitrate; that would double the number of slots ... and without much loss of audio quality? The WAMU stream fails completely. Any of you network guys know what might be going on? I run an iftop on my desktop and see that a bunch of site jump in when I reload, but they drop off ... [??] FWIW, I'm a member gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.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: no apache22, php5 cores
On Thu, Jan 20, 2011 at 6:03 PM, Gary Kline kl...@thought.org wrote: Won't help me now. Anyway, anybody else have a clue with php5-5.35 cores all of a sudden? Chris, I checked my /etc/resolv.conf awhile ago. It was missing what I added, the ns 8.8.8.8, so i readded it. Has anybody else has trouble streaming stuff from Bostoo? wbur.org; and WAMU? There is an ``On Point'' stream I catch a few times/week and it has been hanging. It just stops dead. One idea I have is to half the bitrate; that would double the number of slots ... and without much loss of audio quality? The WAMU stream fails completely. Any of you network guys know what might be going on? I run an iftop on my desktop and see that a bunch of site jump in when I reload, but they drop off ... [??] FWIW, I'm a member I use half and a quarter of your dns 4.2.2.2 as it's less then 40mi from me. As for your stream, not sure but off the top of my head I would have to say the route from you to the wbur server may have changed for any number of reasons. try tracepath'ing it and see where/if it breaks. I don't stream anything from them so I dunno but if you continue to have issues then I will see if I have problems watching something. C- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Should I use the standard-supfile or stable-supfile?
Hi everyone, I've installed Production Release 8.1 on a production server and I want to just track the errata branch, so should I use the standard-supfile or stable-supfile? Also, I want my supfile to read: tag=RELENG_8_1 right? 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
Re: Should I use the standard-supfile or stable-supfile?
Hi everyone, I've installed Production Release 8.1 on a production server and I want to just track the errata branch, so should I use the standard-supfile or stable-supfile? Also, I want my supfile to read: tag=RELENG_8_1 right? You want standard-supfile for the security fixes for your release. For example on my 8.0 system: *default release=cvs tag=RELENG_8_0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: rescue cd with networkign and ssh!
On Thu, 2011-01-20 at 11:24 -0800, Devin Teske wrote: On Thu, 2011-01-20 at 13:53 +, Paul Macdonald wrote: Hi, can any recommend a live cd (any distro) that will mount ufs and has networking+sshd. How about DruidBSD? http://druidbsd.sf.net/ Bullet Points: - ISO is 24MB - Contains over 150 standard (and some non-standard) BSD utilities - Runs entirely from memory - Is based on FreeBSD-8.1 - Includes the tmpfs kernel module (should you need to allocate more disk space from RAM) - Works from optical media (CD/DVD) and USB flash drives I think I need to clarify on the above point. When you download any of the DruidBSD ISO's, you really do have something special in your hands. It's not a CD/DVD image. It's not a USB memstick image. It's not a hard disk image. It's not a pxeboot image. ... (pause for dramatics) ... It's all of the above. Simultaenously. Without modification. In Parallel. There are manuals that can be followed online that will guide you through the process of creating a USB-memstick out of the FreeBSD ``boot-only'' disc(s). However, that's not what this is. Rather, what we have here is an ordinary ISO9660 file created and then post-processed with H. Peter Anvin's extraordinary `isohybrid' utility (from syslinux.zytor.com). See http://syslinux.zytor.com/wiki/index.php/Doc/isolinux (and search-ahead for `isohybrid'). This tool wraps the ISO9660 filesystem within a Hard Disk emulation layer. When written to a CD/DVD, the emulation layer is ignored and the BIOS boots directly from the ISO9660 layer. Meanwhile, when written to a disk-like media (such as thumb drive, CF card, hard disk, zip disk, etc.) the Hard Disk emulation layer bridges the gap by handing execution off to the ISO9660 layer. Though, Professor Anvin could propably describe better the annals of ``hybrid mode'' processing. I feel that this makes DruidBSD unique in that I only have to master one ISO and you similarly only have to download one ISO, yet you can freely use whatever medium you like. I'm still evaluating the Hybrid Mode ISO's as generated by this utility, and would love feedback on your experiences. To the best of my knowledge, I'm the first (and only) person to get FreeBSD working in this way, and I feel that it's working quite well. I can't say that I'm able to boot every single machine with this ISO. Some older hardware (read: circa 1998-2001 or older) with USB slots has shown difficulty in booting from my USB memstick, however I don't chalk that up to anything related to the ISO, but rather related to memstick booting in-general. The same exact ISO burned to CD/DVD works on the same hardware which refuses to boot from USB memstick. BIOS upgrades usually fix those older machines if available. -- Devin (full sig at bottom) - Utilizes crunchgen to maintain tiny footprint - Designed to be a fully-operational FreeBSD distribution for embedded devices but doubles as an amazing rescue-disc - Graphical boot-loader Full Disclosure: I'm the author. Quick-steps: 1. Download either DruidBSD-X.Y.iso (24MB) or Druid-X.Y.iso (same as former, but adds valuable diagnostic utilities such as windiag, memtest, seatools, dban, and killdisk; 32MB). 2. Burn to optical media _or_ use dd(1) to write directly to thumb drive _or_ load it directly into a VMware virtual machine's virtual-CDROM. 3. Boot. That's it. NOTE: If http://druidbsd.sf.net/ doesn't load for you, try instead http://druidbsd.sourceforge.net/ (the former produces a 302-redirect to the latter which may not be followed by all HTTP clients). I've tried pc bsie (2.1, 2.0, 1.1) which doesn't even seem to work on a test machine here , won;t mount the /dev/cd image ( folder is 0 bytes in iso) . Ubuntu live will boot the box and sshd can be installed but it won;t mount the disks (apparently it needs a custom kernel). the live cd image needs to work in a datacenter. thanks Paul. -- Cheers, Devin Teske - CONTACT INFORMATION - Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.te...@fisglobal.com - LEGAL DISCLAIMER - This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. - FUN STUFF - -BEGIN GEEK CODE BLOCK- Version 3.1 GAT/CS d(+) s: a- C++() UB$ P++() L++() !E--- W++ N? o? K- w O M+ V- PS+ PE Y+ PGP- t(+) 5? X+(++) R++ tv(+) b+(++) DI+(++) D(+) G+++ e+ h r++ y+ --END GEEK CODE BLOCK-- http://www.geekcode.com/ - END TRANSMISSION - ___ freebsd-questions@freebsd.org mailing list
Re: Should I use the standard-supfile or stable-supfile?
Thank you Nerius! Would it be smart to run this daily via cron? 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
Can't open serial line /dev/cuaa0: no such file or direcotry (2)
To whom it may concern: I'm using a programme called tempcontrol from Greg Lehey on a Dell pentium running BSD 6. When I run the programme, I get the above error. ls /dev shows that there is no cuaa0, only cuad0. I see that this was changed to standardize naming conventions. I've tried sh makedev cuaa0, but get the errorCan't open makedev: no such file or directory. I should be most grateful if someone can get me over this problem Thanks in anticipation, Michael Adams___ freebsd-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: use of menus crashes Firefox?
Doing a bt would have been helpful right about there, but I think I've got enough info to suggest rebuilding your kernel with the following option: options P1003_1B_SEMAPHORES thanks again, Chuck. I can easily get the bt if needed, but I looked into rebuilding the kernel. It looks like I need to first update the source tree. I think I can see how to do that with cvsup, but if I do that, am I going to be trying to build an 8.3 kernel to run in a 7.2 environment? I suspect that would not have the desired end result of a running computer... Or should I just build the kernel with what's currently in /usr/src? Keith ___ freebsd-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: use of menus crashes Firefox?
On Jan 20, 2011, at 4:43 PM, Keith Seyffarth wrote: Doing a bt would have been helpful right about there, but I think I've got enough info to suggest rebuilding your kernel with the following option: options P1003_1B_SEMAPHORES thanks again, Chuck. I can easily get the bt if needed, but I looked into rebuilding the kernel. It looks like I need to first update the source tree. I think I can see how to do that with cvsup, but if I do that, am I going to be trying to build an 8.3 kernel to run in a 7.2 environment? Nope, not if you cvsup or use csup (which comes with the system already, most likely) to RELENG_7_2 or RELENG_7, the latter of which would give you 7-STABLE, which is approaching 7.4 nowadays. I suspect that would not have the desired end result of a running computer... Actually, you can run a 7.x userland under a 8.x kernel. That's how a major version update of FreeBSD from source is supposed to work. :-) Or should I just build the kernel with what's currently in /usr/src? That should also work. But it's beneficial to update your sources for the version you wish to run, since you will gain security changes which have been made since Regards, -- -Chuck ___ freebsd-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: use of menus crashes Firefox?
On Thu, Jan 20, 2011 at 16:43, Keith Seyffarth w...@weif.net wrote: Doing a bt would have been helpful right about there, but I think I've got enough info to suggest rebuilding your kernel with the following option: options P1003_1B_SEMAPHORES thanks again, Chuck. I can easily get the bt if needed, but I looked into rebuilding the kernel. It looks like I need to first update the source tree. I think I can see how to do that with cvsup, but if I do that, am I going to be trying to build an 8.3 kernel to run in a 7.2 environment? I suspect that would not have the desired end result of a running computer... Or should I just build the kernel with what's currently in /usr/src? So have you tried this? == Firefox 3.6 and HTML5 Certain functions used to display HTML5 elements need the sem module. If your Firefox crashes with the following message while viewing a HTML5 page: Bad system call (core dumped) you need to load the sem module (kldload sem). To load sem on every boot put the following into your /boot/loader.conf: sem_load=YES == -- Rob Farmer ___ freebsd-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: Should I use the standard-supfile or stable-supfile?
On Thu, Jan 20, 2011 at 15:42, Ed Flecko edfle...@gmail.com wrote: Thank you Nerius! Would it be smart to run this daily via cron? 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 No, the errata branches are only updated once every couple months (on average) - that's overkill. Just subscribe to the announce list - there will be a message whenever an update is issued: http://lists.freebsd.org/mailman/listinfo/freebsd-announce -- Rob Farmer ___ freebsd-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: no apache22, php5 cores
On Thu, Jan 20, 2011 at 06:11:35PM -0500, Chris Brennan wrote: On Thu, Jan 20, 2011 at 6:03 PM, Gary Kline kl...@thought.org wrote: Won't help me now. Anyway, anybody else have a clue with php5-5.35 cores all of a sudden? Chris, I checked my /etc/resolv.conf awhile ago. It was missing what I added, the ns 8.8.8.8, so i readded it. Has anybody else has trouble streaming stuff from Bostoo? wbur.org; and WAMU? There is an ``On Point'' stream I catch a few times/week and it has been hanging. It just stops dead. One idea I have is to half the bitrate; that would double the number of slots ... and without much loss of audio quality? The WAMU stream fails completely. Any of you network guys know what might be going on? I run an iftop on my desktop and see that a bunch of site jump in when I reload, but they drop off ... [??] FWIW, I'm a member I use half and a quarter of your dns 4.2.2.2 as it's less then 40mi from me. As for your stream, not sure but off the top of my head I would have to say the route from you to the wbur server may have changed for any number of reasons. try tracepath'ing it and see where/if it breaks. I don't stream anything from them so I dunno but if you continue to have issues then I will see if I have problems watching something. C- Ouch:: I think the reason for the dropped streams is that I'm rebuilding ports on my server. I'll try again in a day or so when my upgrades have finished. --I only have 1Mb down. Can't do everything at once. rats! -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.97a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ethic ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to adjust man page line length [SOLVED]
* Giorgos Keramidas keram...@ceid.upatras.gr [2011-01-20 06:03 -0500]: On Wed, 19 Jan 2011 22:51:45 -0600, David J. Weller-Fahy dave-lists-freebsd-questi...@weller-fahy.com wrote: Regardless, I ended up finding two solutions. Nice! I'll check with our groff maintainer(s) to see if they have plans to MFC the latest man/groff stuff. That would be excellent, thank you! Regards, -- dave [ please don't CC me ] pgpJuNrcD0Jyz.pgp Description: PGP signature
Re: use of menus crashes Firefox?
So have you tried this? == Firefox 3.6 and HTML5 Certain functions used to display HTML5 elements need the sem module. If your Firefox crashes with the following message while viewing a HTML5 page: Bad system call (core dumped) you need to load the sem module (kldload sem). To load sem on every boot put the following into your /boot/loader.conf: sem_load=YES == I hadn't, but the issues I'm seeing don't seem to be related to HTML 5. It also persists to Firefox 3.5 in addition to 3.6. I would expect that if clicking on a menu in Firefox 3.6 required this. I did make that change to see if it helps at some point in the future... Right now I'm updating /usr/src to try a new kernel. Keith ___ freebsd-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: problems mounting android htc
I decided to build the sdk from sources and wondering why it reported Donut when I told repo -init to checkout Eclair? -- Forwarded message -- From: Ilias-Dimitrios Vrachnis vrac...@gmail.com Date: Thu, Jan 20, 2011 at 4:24 PM Subject: Re: problems mounting android htc To: Aryeh Friedman aryeh.fried...@gmail.com On Thu, Jan 20, 2011 at 11:18 PM, Aryeh Friedman aryeh.fried...@gmail.com wrote: A few things: 1. Yes it is required the reason I put it in the first place is ant refused to build without it. (note 1) 2. How do I check the version on the phone? 3. What kind of modifications would be needed to make it work on eclair? Notes: 1. I eventually (once I get the standard ant style development working) to customize our existing build system (based around aegis [http//sf.aegis.net] and cook [http://miller.emu.id.au/pmiller/software/cook/]) so the fact that ant complains may not be an issue one of my manifests is this: ?xml version=1.0 encoding=UTF-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=org.me.androidapplication1 application activity android:name=.MainActivity android:label=MainActivity intent-filter action android:name=android.intent.action.MAIN/ category android:name=android.intent.category.LAUNCHER/ /intent-filter /activity /application /manifest and it ran without a hitch on my phone. You can check your android version on a phone by going to settings-about phone look for the android version for eclair to work... you'd either have to ask bsdroid's mentainer. or.. :/ ___ freebsd-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: devel/libsoup-2.32.2 Compile error _md5 problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/20/11 5:39 PM, David Southwell wrote: [...] deleted gobject-introspection Got the similar error messages-- Traceback (most recent call last): File ../tools/g-ir-scanner, line 43, in module from giscanner.scannermain import scanner_main File /usr/ports/devel/gobject-introspection/work/gobject- introspection-0.9.12/giscanner/scannermain.py, line 34, in module from giscanner.dumper import compile_introspection_binary File /usr/ports/devel/gobject-introspection/work/gobject- introspection-0.9.12/giscanner/dumper.py, line 26, in module from .gdumpparser import IntrospectionBinary File /usr/ports/devel/gobject-introspection/work/gobject- introspection-0.9.12/giscanner/gdumpparser.py, line 30, in module from .transformer import TransformerException File /usr/ports/devel/gobject-introspection/work/gobject- introspection-0.9.12/giscanner/transformer.py, line 26, in module from .cachestore import CacheStore File /usr/ports/devel/gobject-introspection/work/gobject- introspection-0.9.12/giscanner/cachestore.py, line 24, in module import hashlib File /usr/local/lib/python2.6/hashlib.py, line 136, in module md5 = __get_builtin_constructor('md5') File /usr/local/lib/python2.6/hashlib.py, line 63, in __get_builtin_constructor import _md5 ImportError: No module named _md5 gmake[2]: *** [GLib-2.0.gir] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/gobject- introspection/work/gobject-introspection-0.9.12/gir' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/gobject- introspection/work/gobject-introspection-0.9.12' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/devel/gobject-introspection. *** Error code 1 Stop in /usr/ports/devel/libsoup. Hi David, What is the output of the command pkg_version -vL=? Can you build libsoup successfully in a clean jail (no ports installed) with an up-to-date ports tree? - From what I've seen by Googling the error message ImportError: No module named _md5, you likely have a broken Python 2.6 installation. Can you pkg_delete it and reinstall it as well, assuming you don't have a boatload of ports that depend on it? Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk048OEACgkQ0sRouByUApCN9wCfbGxNGFs7Nx033a14MtFTxs/u aMMAmwSAR9KeYxpZUQIkieiJjwxmWeIB =Czhr -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: use of menus crashes Firefox?
Chuck, Nope, not if you cvsup or use csup (which comes with the system already, most likely) to RELENG_7_2 or RELENG_7, the latter of which would give you 7-STABLE, which is approaching 7.4 nowadays. I suspect that would not have the desired end result of a running computer... Actually, you can run a 7.x userland under a 8.x kernel. That's how a major version update of FreeBSD from source is supposed to work. :-) Or should I just build the kernel with what's currently in /usr/src? That should also work. But it's beneficial to update your sources for the version you wish to run, since you will gain security changes which have been made since Thanks again. Got /usr/src updated. Got a new kernel built. FreeBSD janet.weif.net 7.4-PRERELEASE FreeBSD 7.4-PRERELEASE #0: Thu Jan 20 19:39:15 MST 2011 w...@janet.weif.net:/usr/obj/usr/src/sys/JANET i386 Kernel booted, x started, firefox started, firefox closed without crashing. now to uninstall FF3.5 and install FF3.6 Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Implications of missing this step?
Good Day; Running PC-BSD 8.1 with a custom kernel and new world. I just finished another custom kernel and rebuilt world according to the FreeBSD handbook. While reading the docs again to find an answer to a question about how upgraded ports are handled, I came across the following in 24.2.3; If a custom kernel is in use, the upgrade process is slightly more involved. A copy of the GENERIC kernel is needed, and it should be placed in /boot/GENERIC. If the GENERIC kernel is not already present in the system, it may be obtained using one of the following methods: I am in the process of doing #portupgrade -af with a new custom kernel and stock (rebuilt) world i.e. buildkernel KERNCONF=KERNEL_011911, and buildworld... (after upgrading src and ports with csup). Things seem to be going ok but the statements about 'old object files and libraries' being out of date for third party applications, make me feel as if I have done something wrong. I blew away the GENERIC kernel several iterations of kernel builds ago. I always start a build with #make clean. What can go wrong by not following the above step? Is a GENERIC kernel always needed? Thank You, Michael ___ freebsd-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: Implications of missing this step?
Good Day; Running PC-BSD 8.1 with a custom kernel and new world. I just finished another custom kernel and rebuilt world according to the FreeBSD handbook. While reading the docs again to find an answer to a question about how upgraded ports are handled, I came across the following in 24.2.3; If a custom kernel is in use, the upgrade process is slightly more involved. A copy of the GENERIC kernel is needed, and it should be placed in /boot/GENERIC. If the GENERIC kernel is not already present in the system, it may be obtained using one of the following methods: I am in the process of doing #portupgrade -af with a new custom kernel and stock (rebuilt) world i.e. buildkernel KERNCONF=KERNEL_011911, and buildworld... (after upgrading src and ports with csup). Things seem to be going ok but the statements about 'old object files and libraries' being out of date for third party applications, make me feel as if I have done something wrong. I blew away the GENERIC kernel several iterations of kernel builds ago. I always start a build with #make clean. What can go wrong by not following the above step? Is a GENERIC kernel always needed? No. The handbook is a bit misleading here. First it starts to mention that, after updating your base system, you will probably need to update any ports and/or packages, too. Then, without any warning, it jumps abruptly into a discussion of how to update the base system with the 'freebsd-update' method. That method seemingly requires a GENERIC kernel to be present, which is what the paragraph you quoted mentions. But you're already past that point -- you've already updated your base system, and it seems that you built from source, so that paragraph isn't relevant, anyway. Just proceed with updating your ports. (And bear in mind that PC-BSD has some issues with using both FreeBSD ports and the PC-BSD packaging system, so you may want to consult their documentation as well as that of the FreeBSD project, if you plan to use PBIs, too.) b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: use of menus crashes Firefox? (resolved, I think)
And menus work in Firefox 3.6. I'll have to actually work with it for a day tomorrow to see how it holds up, but I've tried a variety of things and it seems to be playing nicely. It looks like the solution was to rebuild the kernel with semaphore support through P1003_1B_SEMAPHORES. Thanks. Keith ___ freebsd-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: Implications of missing this step?
On Thu, 20 Jan 2011 21:41:52 -0600, Michael D. Norwick mnorw...@centurytel.net wrote: Good Day; Running PC-BSD 8.1 with a custom kernel and new world. I just finished another custom kernel and rebuilt world according to the FreeBSD handbook. While reading the docs again to find an answer to a question about how upgraded ports are handled, I came across the following in 24.2.3; If a custom kernel is in use, the upgrade process is slightly more involved. A copy of the GENERIC kernel is needed, and it should be placed in /boot/GENERIC. If the GENERIC kernel is not already present in the system, it may be obtained using one of the following methods: I am in the process of doing #portupgrade -af with a new custom kernel and stock (rebuilt) world i.e. buildkernel KERNCONF=KERNEL_011911, and buildworld... (after upgrading src and ports with csup). Things seem to be going ok but the statements about 'old object files and libraries' being out of date for third party applications, make me feel as if I have done something wrong. I blew away the GENERIC kernel several iterations of kernel builds ago. I always start a build with #make clean. What can go wrong by not following the above step? See /usr/src/Makefile with those instructions: 1. `cd /usr/src' (or to the directory containing your source tree). 2. `make buildworld' 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). [steps 3. 4. can be combined by using the kernel target] 5. `reboot'(in single user mode: boot -s from the loader prompt). 6. `mergemaster -p' 7. `make installworld' 8. `make delete-old' 9. `mergemaster' (you may wish to use -U or -ai). 10. `reboot' 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) This is the recommended road map AFTER you've successfully updated your sorces. Rebuilding of ports MAY be needed after this step - when the new environment has been installed and you're running the new kernel and world. Is a GENERIC kernel always needed? The GENERIC kernel is a fail-safe mechanism. If your kernel won't boot, you can request booting GENERIC from the loader, because GENERIC *should* always boot. If your custom kernel runs fine, there's no need for the GENERIC kernel to be additionally built. You can make a copy of the initial (stock) GENERIC kernel as kernel.GENERIC. This should be a -RELEASE kernel of the release you're currently using (8.0, 8.1, 8.1), but can be any GENERIC kernel of a -STABLE version, too. The system will also automatically save the last kernal as kernel.old. Before installing world, this old kernel will match version with the installed world. But as I said, it's only a security mechanism to boot the system when the new kernel is not booting / running properly. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: no apache22, php5 cores
On Thu, Jan 20, 2011 at 8:24 PM, Gary Kline kl...@thought.org wrote: Ouch:: I think the reason for the dropped streams is that I'm rebuilding ports on my server. I'll try again in a day or so when my upgrades have finished. --I only have 1Mb down. Can't do everything at once. rats! Gary, A logical conclusion, your stream plus ports pulling packages as needed would cause a bottleneck. I missed the e-mail about your DNS, are you running a full DNS setup locally? If you are, I'll share my configs off-list for you to look at and see if there might be any improvements. (I'm actually running a full nameserver locally, dnsing 192.168.0.0 just so I could learn, works quite well for that and it acts as my local cache-server. Let me know C- ___ freebsd-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: devel/libsoup-2.32.2 Compile error _md5 problem
On Thu, Jan 20, 2011 at 9:35 PM, Greg Larkin glar...@freebsd.org wrote: Hi David, What is the output of the command pkg_version -vL=? Can you build libsoup successfully in a clean jail (no ports installed) with an up-to-date ports tree? - From what I've seen by Googling the error message ImportError: No module named _md5, you likely have a broken Python 2.6 installation. Can you pkg_delete it and reinstall it as well, assuming you don't have a boatload of ports that depend on it? Regards, Greg Don't meant to hijkack this thread but my issue is slightly related. I.e. broken Python :( I've built and rebuild Python26 and migrated everything I can think of that depended on Py25 - Py26 and stuff still goes boom. Horrible booms too! Most notably it's gobject-introspection and py-dbus and so much depends on these that I'm about to throw the switch on this box and start over again. When it does it claims it can't find the py26 headers tho what gives? ___ freebsd-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
Hello, I ma doing project in FreeBsd.but i m new about FreeeBsd I don't know anything about this operating system.my project is porting NCTUns 6.0 on freeBsd...so will you give me idea that how to start this project.?? ___ freebsd-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
On Fri, 21 Jan 2011 10:23:56 +0530 (IST), rohit sharma rohitcse_...@yahoo.co.in wrote: Hello, I ma doing project in FreeBsd.but i m new about FreeeBsd I don't know anything about this operating system.my project is porting NCTUns 6.0 on freeBsd...so will you give me idea that how to start this project.?? To become familiar with FreeBSD, you should USE it. There is great documentation on the FreeBSD website. When you want to port something, you should read the FreeBSD Porter's Handbook, also available from the main web site. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
php still dumping core.
Guys, I've rebuilt everything that I can; still anytime I use php, it dumps core. Ideas? I have, of course, run gdb again the binary and found that it segv's in the hash table lookup. Means almost zero to me: PRE Starting program: /usr/local/bin/php PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626-debug/xmlreader.so' - /usr/local/lib/php/20090626-debug/xmlreader.so: Undefined symbol dom_node_class_entry in Unknown on line 0 Program received signal SIGSEGV, Segmentation fault. 0x28db0006 in hash_lookup (hashtab=0x29563790, key=0xbfbfe450 ᅵᅵ\024)ᅵᅵ\b)\2207V)Tz\030)ᅵP\200() at misc.c:349 349 misc.c: No such file or directory. in misc.c (gdb) /PRE -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.97a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ethic ___ freebsd-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: Implications of missing this step?
On 01/20/2011 22:57, b. f. wrote: Good Day; Running PC-BSD 8.1 with a custom kernel and new world. I just finished another custom kernel and rebuilt world according to the FreeBSD handbook. While reading the docs again to find an answer to a question about how upgraded ports are handled, I came across the following in 24.2.3; If a custom kernel is in use, the upgrade process is slightly more involved. A copy of the GENERIC kernel is needed, and it should be placed in /boot/GENERIC. If the GENERIC kernel is not already present in the system, it may be obtained using one of the following methods: I am in the process of doing #portupgrade -af with a new custom kernel and stock (rebuilt) world i.e. buildkernel KERNCONF=KERNEL_011911, and buildworld... (after upgrading src and ports with csup). Things seem to be going ok but the statements about 'old object files and libraries' being out of date for third party applications, make me feel as if I have done something wrong. I blew away the GENERIC kernel several iterations of kernel builds ago. I always start a build with #make clean. What can go wrong by not following the above step? Is a GENERIC kernel always needed? No. The handbook is a bit misleading here. First it starts to mention that, after updating your base system, you will probably need to update any ports and/or packages, too. Then, without any warning, it jumps abruptly into a discussion of how to update the base system with the 'freebsd-update' method. That method seemingly requires a GENERIC kernel to be present, which is what the paragraph you quoted mentions. But you're already past that point -- you've already updated your base system, and it seems that you built from source, so that paragraph isn't relevant, anyway. Just proceed with updating your ports. (And bear in mind that PC-BSD has some issues with using both FreeBSD ports and the PC-BSD packaging system, so you may want to consult their documentation as well as that of the FreeBSD project, if you plan to use PBIs, too.) b. Thank You, All still appears to be going well with portupgrade. KDE4 and friends and Virtualbox-OSE haven't upgraded yet. I do not use binary packages on the BSD systems I run, if I can avoid it, for philosophical reasons. But, I'll check their (PC-BSD's) docs also. Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
HP LaserJet P1102 on FreeBSD 8.1
Hello, I have a HP LaserJet P1102 printer and I want to use it with FreeBSD 8.1. --- |mail# uname -a |FreeBSD mail.testsystem.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 |02:36:49 UTC 2010 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 |mail# --- I have installed HPLIP from the ports collection: --- |HP Linux Imaging and Printing System (ver. 3.10.9) |Printer/Fax Setup Utility ver. 9.0 --- But it does not recognize my printer at all. Have you experienced the same problem? Has anyone managed to get HP LaserJet 1102 working on FreeBSD 8.1? 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: php still dumping core.
On Fri, Jan 21, 2011 at 7:24 AM, Gary Kline kl...@thought.org wrote: Guys, I've rebuilt everything that I can; still anytime I use php, it dumps core. Ideas? I have, of course, run gdb again the binary and found that it segv's in the hash table lookup. Means almost zero to me: PRE Starting program: /usr/local/bin/php PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626-debug/xmlreader.so' - /usr/local/lib/php/20090626-debug/xmlreader.so: Undefined symbol dom_node_class_entry in Unknown on line 0 Program received signal SIGSEGV, Segmentation fault. 0x28db0006 in hash_lookup (hashtab=0x29563790, key=0xbfbfe450 ᅵᅵ\024)ᅵᅵ\b)\2207V)Tz\030)ᅵP\200() at misc.c:349 349 misc.c: No such file or directory. in misc.c (gdb) /PRE Try ldd -v usr/local/lib/php/20090626-debug/xmlreader.so and see if something is a miss.I would try to rebuild everything that xml-reader.so depends on. -- chs, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org