Re: Why Clang
On Thu, Jun 21, 2012 at 11:27 PM, Chad Perrin wrote: > I disagree with the assessment by others that FreeBSD is in some way > effectively a subsidiary of its corporate users, but it does have > corporate users, as well as non-corporate users. Just as it must > reasonably see to the needs of the individuals who use it, so must it > also reasonably see to the needs of those corporate users, especially > when some of those corporate users' employees are key developers for the > base system (to the significant benefit of the rest of us). Thus, saying > that a particular set of conditions having an impact on commercial > sponsors of FreeBSD has "zero bearing on FreeBSD itself" is just . . . > incorrect. And I would like to stress on this point that, when I referred to corporate sponsorship in an earlier post, I was thinking specifically about the sponsorship of employing developers that keep the system moving forward, not necessarily monetary donations. The foundation does need money, but the software is doomed if no one is gainfully employed to maintain and enhance it. I think there is an altruistic fiction that many people subscribe to that free software is merely the result of the generosity of developers producing code of their own volition and on their own spare time and "giving it away," and from that viewpoint the act of considering concerns of a sponsoring entity amounts to "selling out." The reality is much different and much more complex, as you well know. ___ freebsd-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 Clang
On Wed, Jun 20, 2012 at 7:17 AM, Wojciech Puchar wrote: >>> Nothing wrong with productive flaming for me, >>> but it's just not typical code of conduct in FreeBSD >>> mailing list at all. >> >> Actually I can't remember any flame-war about system compilers - this is >> the first one. > > > because such situation like now never happened - changing C compiler to much > worse because of political reasons. > I think you misspelled "licensing and sponsorship". It's a fairly indisputable fact that without sponsoring users FreeBSD cannot move forward, and those sponsoring users do not get a warm fuzzy from the base system being built with a) An unmaintained GPLv2 licensed gcc or b) A maintained and current GPLv3 gcc with GPLv3 licensed libc. So between the options of 1) continuing to use an out of date compiler 2) alienating sponsors and losing their financial and developer support and 3) switching to a BSD licensed compiler/libc ... it's fairly obvious to me that options 1) and 2) lead to irrelevance and death of the project. clang being better than or on par with gcc in every conceivable category right this instant is far less important than continued existence and relevancy to sponsoring users, IMO. ___ freebsd-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: Enabling FTP and Telnet access for root and users
On Thu, Dec 15, 2011 at 8:35 AM, Reid Linnemann wrote: > On Thu, Dec 15, 2011 at 6:26 AM, Daniel Lewis > wrote: >> How do I enable Telnet and ftp access for root and users? >> I turned on ftp and telnet in inetd but when at telenet or ftp prompt >> access is denied. >> >> Im using free bsd 8.2 >> >> >> >> Thanks, >> Daniel lewis >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > > Disclaimer: > Why in God's name would you want to enable root access through > insecure means such as telnet and ftp? Do you have a specific > requirement for these two protocols? For many years now ssh/sftp/scp > have been able to securely provide analogous services, and I would > recommend you take advantage of them before opening yourself up to the > woes of root access on ftp and telnet. > > That being said, > > Are you not able to authenticate any users or just root? > > Are your ftpd and telnetd services being wrapped by inetd? Can you > show inetd.conf? > > /etc/ftpusers contains a list of usernames that will be denied access > through ftp, root and its alias toor are both in there by default Also, telnetd will never authenticate root unless your ttyp* terminals are set secure in /etc/ttys, which is also not recommended. ___ freebsd-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: Enabling FTP and Telnet access for root and users
On Thu, Dec 15, 2011 at 6:26 AM, Daniel Lewis wrote: > How do I enable Telnet and ftp access for root and users? > I turned on ftp and telnet in inetd but when at telenet or ftp prompt > access is denied. > > Im using free bsd 8.2 > > > > Thanks, > Daniel lewis > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" Disclaimer: Why in God's name would you want to enable root access through insecure means such as telnet and ftp? Do you have a specific requirement for these two protocols? For many years now ssh/sftp/scp have been able to securely provide analogous services, and I would recommend you take advantage of them before opening yourself up to the woes of root access on ftp and telnet. That being said, Are you not able to authenticate any users or just root? Are your ftpd and telnetd services being wrapped by inetd? Can you show inetd.conf? /etc/ftpusers contains a list of usernames that will be denied access through ftp, root and its alias toor are both in there by default ___ freebsd-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: pkg_add vs portmaster
On Sun, Dec 11, 2011 at 10:09 PM, Mage wrote: > Hello, > > why is that > > "pkg_add -r x11/kde4" could not install kde4 (404 not found) but "portmaster > -P x11/kde4" did, however > "portmaster -P xorg" didn't install xorg (it just reinstalled some modules) > then "pkg_add -r xorg" installed it. > > I am a bit confused with these. > > I was reading this: > http://freebsd.kde.org/ > and this: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html > > First I installed kde4 then xorg. My ports are up to date. > > Mage > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" I think what you're running into here is a difference in semantics between the pkg_* tools and the ports tools. When using pkg_add -r, you do not need to specify the category. pkg_add will determine the proper objformat and release to fetch from ftp, so in this case "pkg_add -r xorg" will work just fine. When you use portmaster, it's the opposite. You do need to tell it 'x11/xorg' so it knows you want a specific port in /usr/ports instead of a glob pattern of an existing port in /var/db/pkg - see this in the SYNOPSIS section of the man page portmaster(8) ... portmaster [Common Flags] full name of port directory in /var/db/pkg portmaster [Common Flags] full path to /usr/ports/foo/bar portmaster [Common Flags] glob pattern of directories from /var/db/pkg ... Does that make more sense? ___ freebsd-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: PAM confusion
On Thu, Dec 8, 2011 at 10:45 AM, Michael W. Lucas wrote: > Hi, > > I'm attempting to hook security/pam_ssh_agent_auth into sudo, and have > learned that PAM doesn't work the way I thought it did. > > I'm running FreeBSD-9/i386, with sudo 1.7.2.6. > > My goal is that sudo pass all auth requests back to the users' SSH > agent. Sudo should never use passwords for authentication. If the > user doesn't have an SSH agent, or if the SSH agent breaks somehow, > the sudo request is denied. > > With my current config, sudo requests are accepted without a password > even if the users' environment has no $SSH_AUTH_SOCK. I'm obviously > doing something wrong. > > Here's my pam.d/sudo. I removed password settings and required the > pam_ssh_agent_auth library. > > --- > #auth include system > auth required /usr/local/lib/pam_ssh_agent_auth.so > file=~/.ssh/authorized\ > _keys > > # account > account include system > > # session > # XXX: pam_lastlog (used in system) causes users to appear as though > # they are no longer logged in in system logs. > session required pam_permit.so > > # password > #password include system > --- > > Any suggestions what I'm doing wrong? > > Thanks, > ==ml > > -- > Michael W. Lucas > http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ > Latest book: Network Flow Analysis http://www.networkflowanalysis.com/ > mwlu...@blackhelicopters.org, Twitter @mwlauthor Make sure your sudoers file has Defaults env_keep += "SSH_AUTH_SOCK" Also, make sure your matching rule for your user doesn't have NOPASSWD set. It seems that since you've already authenticated to the system, sudo still knows the user and/or group credentials without the pam module's help - all it does is authenticate the public and private keys. If you have NOPASSWD, sudo doesn't even think it needs to refer to the authentication mechanism because according to sudoers it needs no password for the user issuing the request. ___ freebsd-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: AHCI timeout
On Tue, Dec 6, 2011 at 12:25 PM, C. P. Ghost wrote: > On Tue, Dec 6, 2011 at 4:41 PM, Julien Cigar wrote: >> Hello, >> >> I'm running 9.0-RC3 on a HP Proliant Microserver (N40L). A disk died in my >> graid3 array and I replaced it with a new one, and now have tons of: >> >> ahcich3: Timeout on slot 5 port 0 >> ahcich3: is cs ss 3f60 rs 3f60 tfd 40 serr >> cmd ed17 > > Check the connectors, both on disk and on the controller. They're > usually the culprit. Sometimes it is also a firmware problem, but > I'll try to replace the cables first. > >> (...) >> >> Those are Seagate disks: >> >> jcigar@backup conf % sudo camcontrol devlist >> at scbus0 target 0 lun 0 (pass0,ada0) >> at scbus1 target 0 lun 0 (pass1,ada1) >> at scbus2 target 0 lun 0 (pass2,ada2) >> at scbus3 target 0 lun 0 (pass3,ada3) >> >> The controller is: >> >> ahci0@pci0:0:17:0: class=0x010601 card=0x1609103c chip=0x43911002 >> rev=0x40 hdr=0x00 >> vendor = 'ATI Technologies Inc' >> device = 'SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]' >> class = mass storage >> subclass = SATA >> >> jcigar@backup conf % vmstat -i >> interrupt total rate >> irq17: ehci0 ehci1+ 2 0 >> irq18: ohci0 ohci1+ 30 0 >> irq256: bge0 31354 4 >> irq257: ahci0 19012658 2477 >> irq258: hpet0:t0 4926229 641 >> irq259: hpet0:t1 4635261 603 >> Total 28605534 3727 >> >> >> Any idea what could be the cause of this ... ? >> >> >> Thanks, >> Julien > > -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" I've had similar problems with a failing power supply when I used to run a gmirror on 7-STABLE. I was not running with AHCI, so I did not get the same messages; but I did get repeated WRITE_DMA timeouts on my da disks that eventually resulted in one disk being detached from the mirror. Cold booting was an arduous process because 9 boots of 10 the system would start sputtering out on DMA timeouts almost immediately after mounting the filesystems, and take well over 30 minutes just to get through rc. I changed cables, swapped the disks around, checked smartctl over and over to no avail. Eventually I bought a new rig and hooked it up to the original power supply - the problems persisted. I swapped in the new power supply and hey presto! the problems went away. You mentioned hardware failure in the original disk, so it might not be too far of a stretch to consider the power supply might also have suffered a failure. ___ freebsd-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: 7.2 to 8.2 buildkernel fails (Suspect ignorance...)
On Thu, Nov 10, 2011 at 1:02 PM, Gene wrote: > Hi All: > I attempting to build an 8.2 kernel on a 7.2 machine. I suspect that > something need to be ipdated first, but don't no exactly what. It says > "inline functions are not supported; using GNU89". I get the following: > > = > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict- > prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual - > Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/ > usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include > opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 -- > param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack- > boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding - > fstack-protector -Werror /usr/src/sys/netinet/tcp_input.c > cc1: warnings being treated as errors > /usr/src/sys/netinet/tcp_input.c:385: warning: C99 inline functions are not > supported; using GNU89 > /usr/src/sys/netinet/tcp_input.c:385: warning: to disable this warning use - > fgnu89-inline or the gnu_inline function attribute > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GENERIC. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > = > > Any Ideas? > > Thanx, > Gene > To get the basics out of the way, did you make buildworld first? ___ freebsd-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: 2020: Will BSD and Linux be relevant anymore?
On Thu, Jul 21, 2011 at 4:18 PM, Chad Perrin wrote: > On Thu, Jul 21, 2011 at 02:06:04PM -0400, Daniel Staal wrote: >> On Thu, July 21, 2011 1:11 pm, Chad Perrin wrote: >> > >> > If all they want is a toy with a Web browser and an email client, I guess >> > that works for them. I don't know if they really count for purposes of >> > discussing the possible replacement of desktops and laptops, though, >> > because what they really need is not a general-purpose personal computer >> > at all. >> >> One of the people I know uses this as his work laptop, running Excel, >> Powerpoint, Outlook, Word, etc. (Of course, he's not running Android at >> that point...) The 'laptop' is a tablet in a case with a bluetooth >> keyboard. He uses this _at his desk in the office, next to a desktop >> computer._ (Because he can then take the work home with him, or bring it >> to a meeting.) > > Frankly, I'm of the opinion that an office suite is just more toy > software. It just happens to be toy software with ungodly resource > requirements and a veneer of "professionalism". Until I get the kind of > development environment I have on my FreeBSD systems, ability to run test > environments (Web servers, for instance), and so on, I don't call it a > full-power OS. > > If all you're doing with it is email, making slides for another pointless > presentation, and updating your resume, you're still using a toy, or > maybe an appliance. > > I suppose others might disagree. > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] > I for one wholeheartedly agree. "Office" tasks and games are the realm of the appliance, the plug-in-and-go black box for the user that wants no interaction with the underlying architecture, which traditionally has never been the target audience for FreeBSD (and nor should it be, IMO). FreeBSD's strength is in its kernel, especially in its advanced features and early adoption of powerful tech like ZFS, and its liberal licensing that lends itself to embedded systems. It's third party software pool is exactly that of Linux, including Xorg, so from a user perspective FreeBSD has nothing to offer that the existing umpteen trillion linux distros can't in the desktop realm. It's really quite pointless to jump in that ring, unless FreeBSD miraculously got wholehearted vendor support overnight from all wireless and 3d vendors, and Microsoft gave up the fight to dominate office document standards. No, the server and the embedded system will continue to be important and that's where FreeBSD shines. Of course, I'm a nobody, but I really appreciate the unique properties of FreeBSD that make it not Linux, OS X, or Windows; though I use all four routinely. ___ freebsd-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: Critical issues with WD green drives
On Thu, Jun 2, 2011 at 9:54 AM, Bruce Cran wrote: > On Thu, 02 Jun 2011 14:16:01 +0200 > Andrea Venturoli wrote: > >> In a server of mine (7.3p4/i386) I replaced a 1TB Hitachi SATA drive >> (which worked perfectly), with two brand new Western Digital 2TB >> disks. Now I'm having critical problems, ranging from the disks >> getting stuck, to the box rebooting. >> Those are not the main disks in the box, so they are currently >> unmounted; I wasn't even able to run newfs on them, since every >> process that tries to use these disk will hang after a while (and >> can't be killed either). > > I'd guess this is probably due to their overly-aggressive power > management. If you can, run wdidle3.exe from a Windows environment to > turn off the default idle timer. > > -- > Bruce Cran > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > I've gotten similar errors before with a failing power supply. After an electrical storm I started getting HD errors all over the place. I replaced drives, futzed with SATA cables, booted, rebooted, and when the machine got stable finally I just tried to leave it alone. Finally I bought a new atom board, thinking that some component on the mainboard had been killed by the storm. Problems persisted until my mini-itx case came in with a fresh (less powerful) power supply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: BSD logo
On final analysis, I think the OP should abandon any desire for FreeBSD in favor of this: http://pudge.net/jesux/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: BSD logo
Suffice it to say, though there are many intuitive comments I think that ultimately we are beating a dead horse with another dead horse while standing on a dead horse. The corpses are starting to reek. ___ freebsd-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: Virtualbox installation failed at Cmake on 8.0 Stable
On Sun, May 23, 2010 at 9:35 PM, Xihong Yin wrote: > There's the culprit right there. Have you tried executing java -version to >> see if you have a problem with your java runtime? >> > > You are right. The 'java -version' returns an error. I installed the > diablo-jdk1.6 for Freebsd 7x. So which java shall I install for 8 > Stable? > > > > > Please don't top-post. You should probably reinstall diablo-jdk16. java should not return an error when given -version flag. here's my output: rl...@freebie ~> java -version java version "1.6.0_07" Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) Diablo Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing) ___ freebsd-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: Virtualbox installation failed at Cmake on 8.0 Stable
On Sat, May 22, 2010 at 11:47 PM, Xihong Yin wrote: > I am trying to install Virutalbox on my Freebsd 8.0 Stable #2. However, > the installation failed at cmake-2.8.1. Here is the error message I got. > Could you help? > > c++ -O2 -fno-strict-aliasing -pipe -march=prescott > -I/usr/ports/devel/cmake/work/cmake-2.8.1/Bootstrap.cmk > -I/usr/ports/devel/cmake/work/cmake-2.8.1/Source > -I/usr/ports/devel/cmake/work/cmake-2.8.1/Bootstrap.cmk cmake.o > cmakemain.o cmakewizard.o cmCommandArgumentLexer.o > cmCommandArgumentParser.o cmCommandArgumentParserHelper.o > cmDefinitions.o cmDepends.o cmDependsC.o cmDocumentationFormatter.o > cmDocumentationFormatterText.o cmPolicies.o cmProperty.o cmPropertyMap.o > cmPropertyDefinition.o cmPropertyDefinitionMap.o cmMakeDepend.o > cmMakefile.o cmExportFileGenerator.o cmExportInstallFileGenerator.o > cmInstallDirectoryGenerator.o cmGeneratedFileStream.o > cmGeneratorExpression.o cmGlobalGenerator.o cmLocalGenerator.o > cmInstallGenerator.o cmInstallExportGenerator.o > cmInstallFilesGenerator.o cmInstallScriptGenerator.o > cmInstallTargetGenerator.o cmScriptGenerator.o cmSourceFile.o > cmSourceFileLocation.o cmSystemTools.o cmTestGenerator.o cmVersion.o > cmFileTimeComparison.o cmGlobalUnixMakefileGenerator3.o > cmLocalUnixMakefileGenerator3.o cmMakefileExecutableTargetGenerator.o > cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator.o > cmMakefileUtilityTargetGenerator.o cmBootstrapCommands.o cmCommands.o > cmTarget.o cmTest.o cmCustomCommand.o cmDocumentVariables.o > cmCacheManager.o cmListFileCache.o cmComputeLinkDepends.o > cmComputeLinkInformation.o cmOrderDirectories.o cmComputeTargetDepends.o > cmComputeComponentGraph.o cmExprLexer.o cmExprParser.o > cmExprParserHelper.o cmListFileLexer.o Directory.o Glob.o > RegularExpression.o SystemTools.o ProcessUNIX.o String.o System.o -o > cmake > loading initial cache file > > /usr/ports/devel/cmake/work/cmake-2.8.1/Bootstrap.cmk/InitialCacheFlags.cmake > CMake Error at Modules/FindJava.cmake:85 (MESSAGE): > Error executing java -version > ^ There's the culprit right there. Have you tried executing java -version to see if you have a problem with your java runtime? ___ freebsd-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: ISP questions
Written by Steve Bertrand on 06/05/09 08:43>> >> Despite frustrations try to remember, it's not the tech support >> people's fault. They're just there 8-5 trying to make rent and pay for >> their kids dental. If you want to blame somebody, blame management. > > The tech support people do what they are told to do. If you've ever had > a job in which every single incoming call is someone who is frustrated, > angry and is going to take it out on *you*, it might be understandable > why the tech support call centre business is like an employee revolving > door, and they can't keep anyone longer than a few months. > I did the support gig for the better part of two years when I started school. It was difficult, especially when the people that were frustrated, angry, and determined to take it out on me had broken or ancient hardware and lived out in the boondocks where audible crackling could be heard over the same phone line they were using to dial in with. I even had a guy call in once who got irate with me because I wouldn't help him troubleshoot why his video card was displaying only 256 colors. He just wanted someone to be mad at, and I was it. > I've been in the industry quite a while, and I would hazard a guess that > about 85% of tech support calls incoming would be user error. > > Unless it's a relatively small ISP, you can't expect the tech support > people to be able to answer questions relating to the engineering of > their network (how many hops to the core), what software they run on > their servers etc. > This is very true. When the ISP I worked at was smaller and had a support staff of around 10 people, and the network engineers where in the next room, everyone knew what servers ran what services, what type of machines they were, what versions of what operating systems were one them, how to edit the zone files, etc. When that ISP was acquired by a larger one, and operations expanded and the different departments separated, things started getting dumb. Rapidly. > Perhaps if people were to call into their tech support helpdesk every > once in a while when they *aren't* having any issues just to tell them > that their doing a heck of a job, and to have a nice day, you might find > the staff willing to stay around a bit longer and become a little more > knowledgeable for the next time one calls. > IMO, I think it's more laudable to take a minute to calm down when you have an issue, take a deep breath, consider the position of the guy/girl on the other end, and then make your tech support call with the intention of making it productive for the poor dude/lady who is likely getting bitched at not only from other users, but from his/her own management as well for having an average call time over 5 minutes or for taking a 16 minute break when only 15 minutes are allowed. Recognize that every time that rep's phone rings, he/she feels a wave of horror and anxiety for what might be on the other end - some problem they can't solve, and irate user, a fed up user calling to cancel (but management won't allow them to comply without trying to dissuade the user or put them through a lengthy exit poll), or maybe the first call to mark the beginning of an outage, sure to be followed by nothing but irate callers for the next several hours. ___ freebsd-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: ISP questions
Written by Mark Hartkemeyer on 06/04/09 11:23>> > I'm pretty new to FreeBSD and was reading part of Greg Lehey's The > Complete FreeBSD 4th Edition. I found the section on ISPs in chapter > 18 really interesting. I put some of his recommended questions to my > ISP, Cincinnati Bell's Zoomtown. I think I talked to three or four > people before I even got some of them answered. > > Here are some of the questions and answers: > > 1. What speed connections do you offer? > 5MBps upload/5MBps download (she said bytes, but should it be bits?) > 768kBps > > 2. Can you supply a static IP address? At what cost? > Yes, $49.95/month for the whole Internet package > > 3. How many hops are there to the backbone? > "It depends on the site you're trying to reach." (I think they > misunderstood what I meant by "backbone"?) > > 4. What kind of hardware and software are you running? > "Can't provide this, due to security reasons." > > 5. Can you supply primary or secondary DNS for me? > "You need a static IP." > > 6. Can you provide name registration? At what cost? > "Talk to residential services." > > 7. Do you give complete access to the Internet, or do you block some ports? > "Cannot provide this info, due to security reasons." After > asking, I was told that I would be able to run a mail server and http > server on my connection. > > 8. Do you have complete reverse DNS? > (They didn't know.) > > I assume this is a pretty typical response from ISPs. Has anyone > asked their ISP questions like these? If so, what kind of response > did you get? Does anyone know of a really good ISP, or a good > resource for finding a good ISP around Cincinnati, OH? > > Thanks, > Mark Hartkemeyer These responses don't surprise me. I'm actually impressed your rep knew the numbers for the up/down bandwidth, even though their metric was wrong. There was a point in time when a technical support representative for an ISP was knowledgeable and courteous, but those days are forever gone and those reps have been replaced with poorly trained monkeys that are forbidden to divert from The Script. You could not get any intelligible information about the ISP's services any more than you could expect to get intelligible information about a Dell computer's north bridge controller from a Walmart Associate. This is attributable to the explosion in popularity of personal internet access, resulting in a greater need for servicing a high volume of low complexity technical support requests (e.g., "my internet don't work"). The reps are paid far to little to be technically competent and the ISP doesn't get a return for training them to be proficient when they can just ist them in front of a knowledge database they've already invested cash into and tell them to read what it says. You have to meander your way at least up to tier II or III support to get to anyone who might possibly be invested enough in the service to know the meaning of your questions and the answers. ___ freebsd-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: An adage for gmirror users
Written by Wojciech Puchar on 06/03/09 15:58>> >> My mirror gm0 consists of two SATA disks, ad4 and ad6. Now, I have a >> finicky controller that sporadically spits out READ_DMA and READ_DMA48 > > or bad cables. > I'll have to try different cables sometime, you may very well be correct. >> timeouts inexplicably. So at some point in time immemorial after >> installing the last kernel, ad4 suffered a number of READ_DMA48 errors >> and dropped out without being removed from the mirror's provider list . >> So when I installed my new flashy kernel with all my filesystems >> mounted, it was put into /boot/kernel on the mirror, which at that point >> consisted of only ad6. On boot, the loader grabbed the kernel from > > i simply have in crontab a script running once per hour: > > #!/bin/sh > /sbin/gmirror status|grep -q DEGRADED && \\ > mail -s "gmirror failure" myphonenum...@mygsmoperator.pl > > anyway - what a sense of using gmirror without regularly checking of > failures at all? Touché! I set up my mirror after my last disk started dying and I realized I needed at least some minimal fault protection. Mirroring seemed expedient. My ideal situation would be additionally backing up things I can't bear to lose on optical or tape media, but as this is my hobby machine and I have many adult responsibilities that fall before it, some things just have to wait. ___ freebsd-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: Flamewar ( was: Sponsoring FreeBSD)
Written by Wojciech Puchar on 06/02/09 18:01>> >>> Some people may want both, but well you can't have everything. It's not >>> possible to everyone will agree with everyone on mailing list, and with >>> every potential new user. >> >> I know that disagreeing is inevitable. My position is that a pleasant >> tone would be nice. > > Mine too. What i really don't like here sometimes are lack of > discussion, just agressive answers from some people. > I'm literally rolling on the floor laughing at your hypocritical observation here. The whole reason this tangled mess of threads even exists is because you were aggressive in your own response to the potential donor. That's all I have to say. The sooner this thread and its godforsaken stepchildren die, the better. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
An adage for gmirror users
I was recently updating my 7-STABLE system from a 7.1-PRERELEASE era tree, and after having quite an unexpected headache doing so I have a few words of wisdom. When updating FreeBSD, treat it like a car and ALWAYS CHECK YOUR MIRRORS! My mirror gm0 consists of two SATA disks, ad4 and ad6. Now, I have a finicky controller that sporadically spits out READ_DMA and READ_DMA48 timeouts inexplicably. So at some point in time immemorial after installing the last kernel, ad4 suffered a number of READ_DMA48 errors and dropped out without being removed from the mirror's provider list . So when I installed my new flashy kernel with all my filesystems mounted, it was put into /boot/kernel on the mirror, which at that point consisted of only ad6. On boot, the loader grabbed the kernel from ad4s1a by default, since that's the first probed disk, and that kernel is not the one I installed to the mirror! It took a little while for that to sink in as I built and rebuilt and re-re-built the kernel, perplexed that not only did my version in uname never changed from 7.1-PRERELEASE, but also that the build number in uname output never changed and I could see the recently written kernel in an ls of /boot/kernel (when all filesystems were mounted). I gmirror forget'ed gm0 and rebuilt ad4, and all was right in the world again. So there you have it, learn from my oblivious mistake and remember to check your mirrors! ___ freebsd-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: Flamewar ( was: Sponsoring FreeBSD)
Written by Wojciech Puchar on 06/03/09 15:15>> >> >> I'm literally rolling on the floor laughing at your hypocritical >> observation here. The whole reason this tangled mess of threads even >> exists is because you were aggressive in your own response to the >> potential donor. >> >> That's all I have to say. The sooner this thread and its godforsaken >> stepchildren die, the better. >> >> > so stop posting and shut up about "being aggressive" to "potential > donor"==real spammer. I don't see why I should accept that order. You have no supporters of your rude and outlandish behavior, and you get worse with each criticism. You do not represent FreeBSD, the FreeBSD foundation, or the freebsd-questions mailing list. You can have whatever ridiculous opinions you want, and I and others can rebut them to our heart's content, but do not presume that you have some right or privilege to tell anyone on this list to "shut up" and "stop posting". Thank you. ___ freebsd-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: SATA READ_DMA timeouts - SOLVED?
Jeremy Chadwick wrote: (I'm not subscribed to freebsd-questions, so please CC me on replies. I'm also not sure how I ended up getting this mail in the first place; it looks like someone BCC'd my [EMAIL PROTECTED] address). Yes, I BCC'd you since you are maintaining a page on the wiki documenting SATA DMA problems. Furthermore, one of the most common reports on the FreeBSD lists is the exact opposite -- users complaining that "their disks are SATA300 but only operate at SATA150" (caused by that jumper). Users are told to remove the jumper, and are reminded that the reason the jumper is enabled by default is said chipset incompatibilities. That said, your mail confuses me for one reason: Were you receiving DMA errors with the jumper REMOVED (e.g. SATA300 operation), or with the jumper ENABLED (SATA150 operation)? Your below description does not state what exactly you did with the jumper to make your drives work reliably, only "that the jumper capability on your disks was available". I should have been more clear. My disks came with no cap on the SATA150 jumper, although FreeBSD reported that they were in SATA150 mode. The system would be unusable from READ_DMA timeouts if the system was ever powered off and brought back up. I had to do some voodoo of booting in single user mode with ACPI turned off to repair filesystems and rebuild my gmirror, then load ACPI and drop back into multi-user mode. I even had to do this if the system was powered off gracefully. So far, since I capped the jumpers this has not been the case. I still get them periodically if I do something like rebuild a gmirror component, so I can no longer say my problem is completely resolved. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SATA READ_DMA timeouts - SOLVED?
I've seen a number of people having DMA troubles with SATA disks on FreeBSD6 and FreeBSD7, and I'm in the same boat. A while back I posted looking for help but none could really be found. Today I finally got to the bottom of things (at least so far). Hardware incompatibility. According to http://en.wikipedia.org/wiki/SATA#SATA_1.5_Gbit.2Fs_and_SATA_3_Gbit.2Fs there is an upward compatibility problem between a number of VIA and SiS chipsets and SATA300 disks. I happen to have one of those controllers (SiS964) and a pair of WD1600AAJS disks, which are SATA300 disks. I ripped apart my machine, and sure enough I had a jumper on each disk labelled 'OPT1', which is documented to force SATA150 operation. I've since cold booted, warm booted, and booted after a power interruption with no READ_DMA timeouts on these disks. I think this solved the problem in my case. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ports dependency question
Written by Andrew Gould on 07/22/08 10:26>> > I tried to install freemind from ports (ports/deskutils/freemind). The > installation failed because I am missing jdk 1.5*. The Makefile requires > java > 1.4. diablo-jre-1.5.0.07.01_10 is installed. Installing the latest > binary via "pkg_add -r freemind" has the same results, so I don't think it's > a question of needing to compile the java code. > > Does diablo not meet the java requirement? > > Should I need to install a java sdk? > > At what point would it be appropriate to contact the maintainer of freemind > for help? > > Thanks, > > Andrew Gould > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" JRE != JDK. The diablo jre is a java virtual machine, the jdk is the developer kit that provides the java compiler, modules, and other jazz needed for building and interpreting java source. Freemind is written in Java, hence it must be compiled by the java compiler, which is provided by the jdk. You can find the jdk ports at /usr/ports/java. There are a few choices, such as the sun jdk releases and the diablo jdk. I'm not sure what the difference is between the two, hopefully a FreeBSD Java sage can chime in. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: why is this script failing?
Written by Gary Kline on 07/14/08 15:12>> > people, > > for reasons i don't understand completely, i wind up with > *wav* files in my /tmp/kde-kline/* directory. plus othr misc junk > files. > > why is this script not finding them? > > > wav=/tmp/kde-kline/\*wav\* > > if [ -s $wav ] > then > echo "Wav files found"; > ls -l $wav; > > /bin/rm ${wav}; > else > echo "No wav files in /tmp/kde-kline"; > exit 0; > > fi > > do i have to cd to /tmp/kde-kline and examine every file in a > loop? > > tia, > > gary > > Could you give a listing of files you expect to be found and deleted by this script? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Printer Installation
Written by Rem P Roberti on 07/11/08 14:45>> > This has been an ongoing problem for me because of my lack of knowledge > about the processes involved. I have a postscript printer which was > installed using CUPS via the KDE printer wizard. The printer works fine > when printing from X apps, but I am unable to print from the command > line. My main concern is to be able to print from Mutt, but when I try > to do that I get an error message from Mutt telling me,"lpr: lp: unknown > printer." I would appreciate being pointed in the right direction here. > > Rem > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" The FreeBSD base system comes with lpr/lpd, so you have an lpr binary at /usr/bin/lpr. Cups installs its lpr to /usr/local/bin/lpr. You can move your /usr/bin/lp* binaries aside and replace them with symbolic links to the cups binaries in /usr/local/bin if you wish, or if you have a way to tell mutt which lpr binary to use you can do that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: .htaccess or OS related?
Written by Jerry McAllister on 07/07/08 10:26>> > On Mon, Jul 07, 2008 at 02:18:49PM +0200, Jos Chrispijn wrote: > >> I ran into a problem last night that I was able to solve, but generated a >> question: >> >> I have this hosting provider (uses Debian OS) on which I can't use htpasswd >> to generate user and password to protect a single file. > > Probably was not in your path. You may have to find out where it > is and add that directory to your path or use the full pathname when > invoking it. > > >> To have this done I solved it as follows: did a htpasswd on my own server >> (FreeBSD 7) and simply copied the file with the user:password (scrambled) to >> my home directory I have with this hosting provider and referred in the >> .htaccess to it. And now comes the fun stuff: it worked without probs. >> >> >> So the algorithm that is used on FreeBSD to scramble a user password is the >> same as it is used by Debian? Isn't that a security gap? > > That is something done by Apache and is common to all implementations > unless you change it. I never looked, but I think it uses one of > the commonly use encryption algorithms, maybe even the same one > used for regular passwords. > > > jerry > > In fact it's either an Apache adaptation of MD5, SHA, plaintext, or the system's crypt(). The encryption mechanism can be specified per-user with the m,d,s, and p flags. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Too Much Context Switching?
Written by [EMAIL PROTECTED] on 06/30/08 12:58>> In 6.x. the default thread library is quite inefficient although it can make use of multiple CPUs (again, providing the application is giving them work to do). For multi-threaded performance you will be better off switching to the libthr library (see libmap.conf(5)) or updating to 7.0 (where it is the default). This isn't likely to be the underlying issue if you are trying to debug a loss of performance relative to the same configuration in the past though. >>> >>> Indeed Plone is written in python, and python has a "Big Giant Lock" >>> inside which insures that only one thread can execute, in order to >>> protect the python structures. This lock is only released under special >>> circumstances, such as doing IO. Hence it is necessary to run several >>> instances of python programs and do synchronization work, if one wants >>> to make use of several CPUs, or use python threads, and immediately >>> make some IOs, or similar techniques. It may be that using Jython, if >>> possible, yields better threading behavior. When doing some work >>> according to these ideas, i had found quite severe contention, and this >>> was not cured when switching native threading libraries (libksd, libthr, >>> etc.). The problem is really inside python. >> >> Yep, it could be that -- what confuses me though is that it is claimed >> that performance suddenly regressed. If so then this cannot be the >> underlying cause. >> > > It's actually been a long, slow, steady degradation of performance as > best I can tell, that's recently just reached proportions that are so > ridiculous that it's gone from "this sucks but I can deal" to "this is > completely unusable." The system has been slow from the start, just not > this slow. I guess I'll need to investigate this...and while I know that > Python is somewhat off-topic, if anyone here has any suggestions on > where to start, they'd be much appreciated. :-) > > Alex As far as degradations-over-time are concerned, don't overlook your ZODB. If you don't pack it regularly and it grows to some ridiculous size you can be in for a world of hurt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sysctl enabled but HAL non-existant
Desmond Chapman wrote: The media shows up in konqueror as a normal user but I cannot mount it. there is no reference to hal with an apropos search except for ath_hal. What am I doing wrong? What else do I add to make the cd easily mountable? _ The i’m Talkathon starts 6/24/08. For now, give amongst yourselves. http://www.imtalkathon.com?source=TXT_EML_WLH_LearnMore_GiveAmongst___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Perhaps you're looking for /usr/ports/sysutils/hal. HAL is not part of the FreeBSD base system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: k3b not detecting my burner
Written by Warren Liddell on 06/25/08 08:02>> >> Also, see if you can see it from k3b running as root or not. If you can >> as root but not on a normal user, you'll have to give your normal user >> permission to access the burner's device. >> >> Dave // bridd > > k3b wont run as root > > > # k3b > Xlib: connection to ":0.0" refused by server > Xlib: No protocol specified > > kdeinit: Can't connect to the X Server. > kdeinit: Might not terminate at end of session. > Xlib: connection to ":0.0" refused by server > Xlib: No protocol specified > > kded: cannot connect to X server :0.0 > kded: ERROR: Communication problem with kded, it probably crashed. > Xlib: connection to ":0.0" refused by server > Xlib: No protocol specified > > k3b: cannot connect to X server :0.0 > ERROR: KUniqueApplication: Registering failed! > ERROR: Communication problem with k3b, it probably crashed. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" That's because root doesn't have the magic cookie to authenticate to the display initiated by your user. Try sudo. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remind me which filesystems exactly can be background fscked?
Written by Pietro Cerutti on 06/10/08 16:52>> > Martin Cracauer wrote: > | I'll have to repartition my 6.3 notebook anyway. Can you remind me > | which filesystems I can have background fsck on? My current single > | filesystem install checks it in foreground. > | > | If I have a separate /boot, would / be background fscked? > | > | Or is the root filesystem always foreground checked? > > AFAIK, UFS supports background checks as long as the fstab entries don't > include the async option. > fsck_ffs(8): To be eligible for background cleaning it must have been running with soft updates, not have been marked as needing a foreground check, and be mounted and writable when the background check is to be done. If these conditions are met, then fsck_ffs exits with a zero exit status. Otherwise it exits with a non-zero exit status. If the file system is clean, it will exit with a non- zero exit status so that the clean status of the file system can be verified and reported during the foreground checks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gmirror and resizing partitions..
Written by B. Cook on 06/09/08 10:23>> > Hello all, > > I have a FreeBSD 7 machine that I am running gmirror on (ad4 and ad6). > > there is an /exports and /home that need to be resized. > > (right now they each are about 55G and /home needed to have been 100G > and exports 10G) > > what do I need to do to fix this. > > I am assuming break the mirror, fdisk the /exports and /home then remake > them, and then rebuild the mirror.. > > right? > > What do I need to do with as little impact on the running server as > possible.. as many services are already configured on this box and it's > running :P > > (of course.. ) > > Thanks in advance, > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" What I would do is break the mirror, then resize the partitions and newfs them on one disk. Then dump|restore the data from the other disk to your new partitions, and recreate the mirror with the newly resized disk and insert the other disk into that mirror. That disk should then rebuild with the new partitioning. Of course, you can only do this while the mirror is unused. So you're going to have to have some degree of downtime on those filesystems. You can minimize the downtime by killing the mirror and remounting the filesystems direct from one disk while you work on repartitioning the other. You may want to mount read-only, however, as the dump|restore may take a significant amount of time and you wouldn't want to lose any data that may be written to the other disk while you're busy copying from it. When you've built the new mirror with the repartitioned disk and dump|restored to it (don't forget the -L option on dump), remount the partitions from the new mirror and then insert the second disk. That's what I'd do, anyhow. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: error mounting USB disk: Invalid argument
Written by Colin Brace on 05/31/08 05:17>> > On Sat, 31 May 2008 11:42:21 +0200, Roland Smith <[EMAIL PROTECTED]> wrote: > >> After partitioning and labeling the disk, did you make filesystems on >> the partitions with newfs? > > Ah, no. According to Absolute FreeBSD, 2nd ed, which I have in front of me, > newfs invoked by sysinstall, which I used to create the slice and partition > it (p 241). > > Anyway, I now try running newfs in terminal, but it throws up some errrors: > > # newfs /dev/da0s1c > /dev/da0s1c: 194474.3MB (398283416 sectors) block size 16384, fragment size > 2048 > using 1059 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > newfs: wtfs: 65536 bytes at sector 160: Invalid argument > > # newfs /dev/da0s1c > /dev/da0s1c: 194474.3MB (398283416 sectors) block size 16384, fragment size > 2048 > using 1059 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976, > 3387328, 3763680, 4140032,newfs: wtfs: 65536 bytes at sector 4516384: > Invalid argument You obviously did not really partition the slice with bsdlabel. The c partition is invalid for a filesystem. If you look at the label I'm sure you'll see that the FSTYPE field is 'unused', with a comment that reads ``"raw" part, don't edit``. You should add a partition with bsdlabel, perhaps partition 'a', with fstype 4.2BSD. You can then newfs this partition. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: help with options BRIDGE in freebsd 7.0
Written by cp on 05/28/08 17:28>> > I'd really appreciate if someone can shed some light on this for me. I'm > attempting to build a layer2 sniffer using dummynet and ipfw but I'm > having some problems building the new kernel with "options BRIDGE". It > errors out with the message below. Any suggestions? > > -cp > > lois# /usr/sbin/config LOIS > LOIS: unknown option "BRIDGE" > freebsd version = 7.0 > > lois# more LOIS | grep IP > options IPSEC > options IPSEC_FILTERTUNNEL > options IPSEC_DEBUG > options IPFIREWALL > options IPFIREWALL_VERBOSE > options IPFIREWALL_VERBOSE_LIMIT=100 > options IPFIREWALL_DEFAULT_TO_ACCEPT > options IPFIREWALL_FORWARD > options IPDIVERT > options IPFILTER > options IPFILTER_LOG > lois# more LOIS | grep BR > options NETGRAPH_BRIDGE > options BRIDGE > > lois# more LOIS | grep DUM > options DUMMYNET > lois# > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" That's because the BRIDGE kernel option is deprecated in FreeBSD 7. Look at if_bridge(4). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SVN Advice
Written by [EMAIL PROTECTED] on 05/19/08 06:05>> > Hello all, > > I'm seeking to set up an SVN repository on my home machine. I've come > across the following two guides: > > http://www.bsdguides.org/guides/freebsd/misc/subversion.php > > http://www.onlamp.com/pub/a/bsd/2007/09/27/subversion-for-bsd-with-all-the-bells-and-whistles.html > > The second one is certainly overkill for what I need (I just want to use > it to manage my personal projects, since I work remotely a lot). I'd > definitely like a password protected web interface though. My issue is > the following. In both guides (and in all the other ones I've come > across) Apache is compiled with options that I did not select when I > installed Apache a while ago. I'd rather not have to redo everything I've > set up with my web server. Is there any way I get include those modules > (namely WITH_BERKELEYDB) without having to recompile? Also, any advice > relating to setting up Subversion on FreeBSD in general. > > Appreciate the help, > > montag > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" For the repo, I usually use exclusively svn+ssh protocol and DSA keys for authentication. It's a lot simpler to just let ssh do authentication than it is to futz with wrapping subversion up in apache, you don't have to mess with a separate auth database, and you get security and authorization (which users can use what repositories) as a side effect. I usually make my repo owned by group svn, change permissions so the group has write access to the db, and invite my svn users to that group. Since svn+ssh is basically local access through an ssh tunnel, there's no service to configure, and I can immediate connect remotely. For a web interface, trac's repository browser is very nice. You can front it through fastcgi on apache or lighttpd. Trac has a nice wiki link feature that lets you link in to the repository browser. For example, [123] on any wiki page will be rendered as a link to the browser that shows information for changeset 123. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Configuring Bash
Written by Gerard on 05/15/08 10:03>> > On Thu, 15 May 2008 09:46:27 -0500 > Reid Linnemann <[EMAIL PROTECTED]> wrote: > >> Written by Montag on 05/14/08 19:20>> >>> This should be a fairly simple process, I don't really know what I >>> am missing. >>> >>> I've got the following in the .bash_profile of a basic user account: >>> >>> # set prompt [EMAIL PROTECTED]/dir] $ (# for root) >>> PS1 = ' [EMAIL PROTECTED] ' >>> case `id -u` in >>> 0) PS1='${PS1} # ';; # root >>> *) PS1='${PS1} $ ';; # everyone else >>> >>> When I log in, I am greeted with: >>> ${PS1} $ $ >>> >>> However, if I su to root, I get: >>> [EMAIL PROTECTED] /home/user]# >>> >>> That is what I wanted, but for some reason it is not working for a >>> normal user. I thought perhaps the problem could be >>> that .bash_profile is only loaded when a non-login shell is >>> spawned, but a quick consultation of man bash revealed that bash >>> reads ~/.bash_profile when it is invoked as a login shell. >>> >>> My next thought was that it was a permissions issue, but: >>> su >>> chmod 777 .bash_profile >>> exit >>> logout >>> login >>> >>> That did not change the results, the output was still the same as >>> above. This is all being done at the console, by the way. >>> >>> Appreciate any advice, >>> >>> montag >>> -- >>> "Give the people contests they win by remembering the words to more >>> popular songs or the names of state capitals or how much corn Iowa >>> grew last year. Cram them full of non-combustible data, chock them >>> so damned full of 'facts' they feel stuffed, but absolutely >>> 'brilliant' with information. Then they'll feel they're thinking, >>> they'll get a sense of motion without moving." >> There are a few problems with what you are attempting here. >> >> Your ~/.bash_profile is executed once, only when you log in. When you >> su to root, a shell is started for root (according to root's shell >> set in /etc/passwd) and that shell will do whatever it wants to do as >> far as dotfile processing is concerned. Your ordinary >> user's .bash_profile is ignored. >> >> Since the ordinary user's .bash_profile is only executed once, when >> the user's shell starts, the *) condition is always met in the case >> statement, so that expression is executed: >> >> PS1='${PS1} $ ';; >> >> This will always result in PS1 being the literal '${PS1} $ ' for that >> user. Why? Because if you read your bash manual you'll see that >> variable expansion does not happen in single quoted strings. >> >> PS1="${PS1} \$ ";; >> >> The above string will do what you intend, it will set PS1 to whatever >> ${PS1} is expanded to, plus the extra ' $ ' (you have to escape a >> literal $ in a double quoted string). >> >> As has been mentioned before, what you really want is to use the '\$' >> literal to clue in the sh/bash to use a # for root and $ for all other >> users. >> >> PS1="${PS1} \\$ ";; >> >> That is the PS1 that will do it. >> >> But again, because su invokes a new shell, if root's shell is not a sh >> variant that uses $PS1, like the default csh, your prompt will not >> carry over. csh will uses its own internal prompt variable and ignore >> sh's PS1 environment variable. > > I placed the following in my ~/.bash_profile file. > > # This is the .bash_profile file > # Read on bash login and similar to .profile > # This file passes control to the '.bashrc' file if it is present > > if [ -f ~/.bashrc ]; then > . ~/.bashrc > fi > > Then in my ~/.bashrc file, I created an alias: > > alias su='su -m' > > Now, whenever I go to root, the environment is not modified and I still > have bash as my shell. I don't know if this will work for you or not. > It should not hurt to try it. > > > Nice, I missed that flag for su. I'll take advantage of that for certain. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Configuring Bash
Written by Montag on 05/14/08 19:20>> > This should be a fairly simple process, I don't really know what I am > missing. > > I've got the following in the .bash_profile of a basic user account: > > # set prompt [EMAIL PROTECTED]/dir] $ (# for root) > PS1 = ' [EMAIL PROTECTED] ' > case `id -u` in > 0) PS1='${PS1} # ';; # root > *) PS1='${PS1} $ ';; # everyone else > > When I log in, I am greeted with: > ${PS1} $ $ > > However, if I su to root, I get: > [EMAIL PROTECTED] /home/user]# > > That is what I wanted, but for some reason it is not working for a > normal user. I thought perhaps the problem could be that .bash_profile > is only loaded when a non-login shell is spawned, but a quick > consultation of man bash revealed that bash reads ~/.bash_profile when > it is invoked as a login shell. > > My next thought was that it was a permissions issue, but: > su > chmod 777 .bash_profile > exit > logout > login > > That did not change the results, the output was still the same as above. > This is all being done at the console, by the way. > > Appreciate any advice, > > montag > -- > "Give the people contests they win by remembering the words to more popular > songs or the names of state capitals or how much corn Iowa grew last year. > Cram them full of non-combustible data, chock them so damned full of 'facts' > they feel stuffed, but absolutely 'brilliant' with information. Then they'll > feel they're thinking, they'll get a sense of motion without moving." There are a few problems with what you are attempting here. Your ~/.bash_profile is executed once, only when you log in. When you su to root, a shell is started for root (according to root's shell set in /etc/passwd) and that shell will do whatever it wants to do as far as dotfile processing is concerned. Your ordinary user's .bash_profile is ignored. Since the ordinary user's .bash_profile is only executed once, when the user's shell starts, the *) condition is always met in the case statement, so that expression is executed: PS1='${PS1} $ ';; This will always result in PS1 being the literal '${PS1} $ ' for that user. Why? Because if you read your bash manual you'll see that variable expansion does not happen in single quoted strings. PS1="${PS1} \$ ";; The above string will do what you intend, it will set PS1 to whatever ${PS1} is expanded to, plus the extra ' $ ' (you have to escape a literal $ in a double quoted string). As has been mentioned before, what you really want is to use the '\$' literal to clue in the sh/bash to use a # for root and $ for all other users. PS1="${PS1} \\$ ";; That is the PS1 that will do it. But again, because su invokes a new shell, if root's shell is not a sh variant that uses $PS1, like the default csh, your prompt will not carry over. csh will uses its own internal prompt variable and ignore sh's PS1 environment variable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Change gateway
Written by Reid Linnemann on 04/24/08 11:50>> > Written by Aguiar Magalhaes on 04/24/08 11:42>> >> Hi list, >> >> I'm trying to set the gateway 10.0.253.1 to the host 10.0.253.161/27 but >> i've received the answer: >> >> # route flush >> # route add default 10.0.253.1 >> >> route: writing to routing socket: Network is unreachable >> >> The gateway and the host are connected in the same switch >> >> How can I do it ? >> >> Aguiar > > your mask on 10.0.253.161 specifies the interfaces network spans > addresses 10.0.253.160 - 10.0.253.167. 10.0.253.1 is not in that range. oops. the network spans 10.0.253.160 - 10.0.253.191, 32 - 27 is 5 bits, not 3 =) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Change gateway
Written by Aguiar Magalhaes on 04/24/08 11:42>> > Hi list, > > I'm trying to set the gateway 10.0.253.1 to the host 10.0.253.161/27 but i've > received the answer: > > # route flush > # route add default 10.0.253.1 > > route: writing to routing socket: Network is unreachable > > The gateway and the host are connected in the same switch > > How can I do it ? > > Aguiar your mask on 10.0.253.161 specifies the interfaces network spans addresses 10.0.253.160 - 10.0.253.167. 10.0.253.1 is not in that range. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: glxinfo missing after upgrade to 7.0-RELEASE
Written by Novembre on 04/22/08 10:59>> > Hi all, > > I've upgraded my machine from 6.2-RELEASE to 7.0-RELEASE some time ago, and > I just realized that glxinfo is missing! I do remember that I had it before, > but now it has vanished! I did rebuild all my ports after upgrading as > well... > Any ideas what might have happened to it or how I can install it again? > > Thanks... > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" pkg_info -W /usr/local/bin/glxinfo /usr/local/bin/glxinfo was installed by package mesa-demos-7.0.2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Having trouble getting cups working
Written by Andrew Falanga on 04/22/08 09:40>> > HI, > > I've never actually tried to install cups before and last night decided to > give it a try because I was not having much success getting my printer > working using the handbook directions. (I got it all setup correctly, > obviously something is incorrect but stay with me, and although I could get > stuff to print when I did 'cat > /dev/lp0' I couldn't get anything > to print when I submitted to lpd.) > > So, I installed cups from ports, and setup my HP LaserJet 4+. All seemed to > go well. At first I had a problem with an error, something like "unknown > application/postscript." Anyway, some digging on the internet revealed that > I needed ESP Ghostscript installed. So, I got that and that error went away. > > Now, however, I still cannot get it to print. > > When I try to submit the printer test page from the web management interface, > it says, "network host 'sniper' busy: will retry in X seconds." The URI I'm > using for my printer is, lpd://sniper/lj4. The printer is connected to my > parallel port and I think this is what I want because the other options are > whatever it is that cups calls JetDirect and then IPP and something else. > > Anyway, if someone could please point me in the correct direction I'd > appreciate it greatly. > > Thanks, > Andy > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" Your device URI should not be an lpd URI, especially since you can't print with lpd. Use a 'parallel' URI in your case; parallel:/dev/lpt0 works for me. When you want to refer to the printer from an external system, use ipp://hostname/printers/printername ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to install a wireless broadcom card
Written by Gaëtan Podevijn on 04/13/08 08:14>> > Hello, > > I'm trying to configure my Acer Aspire 5024wmli wireless card (pciconf > -lv told me device: BCM43XX Broadcom 802.11b/g) but without any success. > > I use ndis with windows drivers and it is correctly loaded: > > kldstat > > Id Refs AddressSize Name > 1 24 0xc040 906518 kernel > 22 0xc0d07000 e750 if_ndis.ko > 33 0xc0d16000 1aa10ndis.ko > 51 0xc0d94000 1bdc wlan_xauth.ko > 61 0xc0d96000 2ec0 wlan_acl.ko > 71 0xc0d99000 6a32cacpi.ko > 81 0xc44f4000 22000linux.ko > 91 0xc4699000 62000bcmwl5_sys.ko > 101 0xc47c9000 21000radeon.ko > 111 0xc47ea000 f000 drm.ko > > and I have a ndis0 interface but when I use this command line: ifconfig > ndis0 up scan it returns me anything! > > Here is my /etc/wpa_supplicant.conf: > > ctrl_interface=/var/run/wpa_supplicant > ctrl_interface_group=wheel > > network={ > ssid="wireless" > scan_ssid=1 > key_mgmt=NONE > wep_key0=XXX > } > > and my /etc/rc.conf: > # -- sysinstall generated deltas -- # Sat Apr 12 18:32:05 2008 > # Created: Sat Apr 12 18:32:05 2008 > # Enable network daemons for user convenience. > # Please make all changes to this file, not to /etc/defaults/rc.conf. > # This file now contains just the overrides from /etc/defaults/rc.conf. > hostname="herlock-bsd" > keymap="be.iso" > linux_enable="YES" > nfs_server_enable="YES" > rpcbind_enable="YES" > sshd_enable="YES" > # -- sysinstall generated deltas -- # Sat Apr 12 17:07:34 2008 > #ifconfig_re0="DHCP" > hostname="herlock-bsd" > ifconfig_ndis0="WPA DHCP" > gnome_enabled="YES" > > And it doesn't work... > > Can anyone tells me how is it possible to make this card works on > freebsd ? > > Thank you. > > Gaëtan. Make sure the radio is actually turned on for the device. I've had ndis bite me in the ass before on laptops with Fn-key radio switches; when I put FreeBSD on, the radio was disabled and the Fn-key apparently required OS support to work. I beat my head against the wall trying to get it to associate with an AP to no avail. I've never been sure if there is a way on these systems to turn the radio on in FreeBSD, I've always thrown Windows on a spare partition and used it to turn the radio on. Maybe someone else can be more enlightening on this subject. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: my brother is making me learn FreeBSD...
Written by Edward Capriolo on 03/20/08 13:56>> > For a kick, tell you brother that free BSD is no good. Install linux > on the server and start your own consulting company! > > I mean seriously! 14 replies to a thread about nothing. Let it die everyone! > > On Thu, Mar 20, 2008 at 3:32 AM, Donald Laniohan <[EMAIL PROTECTED]> wrote: >> My task is to build a BSD server and do something with it. That is all the >> information he gave me, that, and any questions I have to make Google my >> best friend, which I have. i remember building my first whitebox, it was a >> 386 with windows 3.1. I remember when I built my 486 and stole a copy of >> windows 95. I thought I was a savage. BSD, however, has showed me how >> juvenile I have been. If I do not master BSD my brother is going to keep me >> as a desktop support for his windows clients and I want to progress past >> this. So he's giving me a 1u, and said to put BSD on it and make it do >> something, im just so stuck in my windows comfort zone I can't think of what >> I would need a unix server to that I couldn't make windows do for me. I know >> this is trivial but if somebody could offer any suggestion or resource I, >> and my career, would greatly appreciate it >> >> >> >> Donald Laniohan >> >> MLAN Consulting >> >> San Diego, CA >> >> [EMAIL PROTECTED] >> >> >> For an even better kick, don't top-post and allow the adults to have a conversation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: my brother is making me learn FreeBSD...
Written by Zbigniew Szalbot on 03/20/08 12:29>> > Hello, > > 2008/3/20, Nerius Landys <[EMAIL PROTECTED]>: >> You could make it a video game server. That's why I set up a FreeBSD >> server. I run games/iourbanterror, but there are other games you could run. > > And could FreeBSD be used to become a streaming internet radio > station? Has anyone been doing something like that? I am very > interested to hear and hopefully it is still within the topic here... > > Thanks! > Why not? There are open source streaming audio services that are available as FreeBSD ports. I run and icecast server on my box at home with ices stream providers to listen to my music remotely. I'm sure there are other streaming audio services that are just as neat too. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Gcc and make not producing executable
Written by Eduardo Cerejo on 03/19/08 15:23>> >> gmake does the trick. > > Indeed it did. Can you tell me what the main differences is between make and > gmake in terms of "making"? I can see that gmake is gnu's version of make, > is FreeBSD's gmake the same as linux's make? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" On Linux systems, there is no base system 'make', so GNU make is installed as 'make'. On FreeBSD systems, there is a base system make that is maintained by the FreeBSD project, so GNU make is installed as 'gmake'. The main differences in making with them is that GNU make and FreeBSD make accept different arguments, and their makefile syntaxes have discrepancies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DRI on radeon 9500 using too wide memory bus?
Written by Tijl Coosemans on 03/14/08 06:59>> > On Thursday 13 March 2008 22:45:35 Reid Linnemann wrote: >> Written by Reid Linnemann on 03/13/08 00:58>> >>> I've had DRI running on a radeon 9500 for a while now, and at some >>> point in time tracking 6-STABLE and continuing now on 7-STABLE I've >>> started seeing rendering artifacts in gl in the form of a >>> cross-hatch pattern of pixels that don't get filled. At first I >>> figured the card was failing, but I remembered a fact about the 9500 >>> that made me doublethink that. >>> >>> The radeon 9500 is an r300 chipset, and differs from the 9700 only >>> in the width of the memory bus (128 bit vs 256 bit) and possibly >>> clock speed. If memory serves, the chip itself had the capacity to >>> address 256 bits, but most 9500s just went out the door with 128 bit >>> memory. I remember at one point in time trying out a hack to the >>> 9500 driver that enabled the 256 bit bus to see if I had a rebadged >>> 9700, and had similar artifacts. >>> >>> So I decided to peruse my X logs, and sure enough I see: >>> (--) RADEON(0): Mapped VideoRAM: 131072 kByte (256 bit DDR SDRAM) >>> >>> Is it possible that the radeon driver is using the 256 bus? Is there >>> a way to force it to use a 128 bit bus? Has anyone else seen this? >> On further investigation, I tried forcing the driver to switch to a >> 128 bit bus by setting the R300_MEM_NUM_CHANNELS_MASK bits on >> RADEON_MEM_CNTL to 0x1, but the problem did not go away. >> >> I'll try describing it a little better.. only with gl acceleration, >> the entire gl context appears to have criss-crossing lines 4 pixels >> wide that are randomly filled correctly or black, so that they form >> roughly a chain link fence pattern of trash on the gl context. Anyone >> have an idea? > > I can't help you with this, but I'm thinking you'll have a higher > chance getting an answer on some DRI/DRM mailinglist. You could also > ask the port maintainers (x11@). Some of them are also active > developers on DRI, and the r300 driver, or at least used to be in the > past. I did turn to the dri-users list, and I found I remembered the 9500 quirks wrong. Some of the 9500's were shipped with full r300 chips that just had half functional pixel pipelines, and the driver disabled the other half. Since that time, ATI has replaced the 9500 line with the 9600 (based on the rv350 chip), and wiped the 9500 from the historical record. The actual problem I was experiencing was in tiling for rasterization, because the developer documentation (and hence the r300 driver) specifies that 1 pipe should be enabled for the rv3xx series and 2 pipes should be enabled for the r3xx series, ignoring the 9500 anomaly. I couldn't even find mention of the 9500 on ati.amd.com in its discontinued cards; only the 9500 pro is mentioned and it had a fully functioning r300 chip, though with a narrower 128 bit memory bus. Anyway, I fixed the problem with a simple patch I've attached. This is only a bandaid patch though, there is apparently code in the assembly line for the r300 dri that more intelligently decides how many pipes to enable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DRI on radeon 9500 using too wide memory bus?
Written by Reid Linnemann on 03/13/08 00:58>> > I've had DRI running on a radeon 9500 for a while now, and at some point > in time tracking 6-STABLE and continuing now on 7-STABLE I've started > seeing rendering artifacts in gl in the form of a cross-hatch pattern of > pixels that don't get filled. At first I figured the card was failing, > but I remembered a fact about the 9500 that made me doublethink that. > > The radeon 9500 is an r300 chipset, and differs from the 9700 only in > the width of the memory bus (128 bit vs 256 bit) and possibly clock > speed. If memory serves, the chip itself had the capacity to address 256 > bits, but most 9500s just went out the door with 128 bit memory. I > remember at one point in time trying out a hack to the 9500 driver that > enabled the 256 bit bus to see if I had a rebadged 9700, and had similar > artifacts. > > So I decided to peruse my X logs, and sure enough I see: > (--) RADEON(0): Mapped VideoRAM: 131072 kByte (256 bit DDR SDRAM) > > Is it possible that the radeon driver is using the 256 bus? Is there a > way to force it to use a 128 bit bus? Has anyone else seen this? > > Thanks, > Reid On further investigation, I tried forcing the driver to switch to a 128 bit bus by setting the R300_MEM_NUM_CHANNELS_MASK bits on RADEON_MEM_CNTL to 0x1, but the problem did not go away. I'll try describing it a little better.. only with gl acceleration, the entire gl context appears to have criss-crossing lines 4 pixels wide that are randomly filled correctly or black, so that they form roughly a chain link fence pattern of trash on the gl context. Anyone have an idea? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
DRI on radeon 9500 using too wide memory bus?
I've had DRI running on a radeon 9500 for a while now, and at some point in time tracking 6-STABLE and continuing now on 7-STABLE I've started seeing rendering artifacts in gl in the form of a cross-hatch pattern of pixels that don't get filled. At first I figured the card was failing, but I remembered a fact about the 9500 that made me doublethink that. The radeon 9500 is an r300 chipset, and differs from the 9700 only in the width of the memory bus (128 bit vs 256 bit) and possibly clock speed. If memory serves, the chip itself had the capacity to address 256 bits, but most 9500s just went out the door with 128 bit memory. I remember at one point in time trying out a hack to the 9500 driver that enabled the 256 bit bus to see if I had a rebadged 9700, and had similar artifacts. So I decided to peruse my X logs, and sure enough I see: (--) RADEON(0): Mapped VideoRAM: 131072 kByte (256 bit DDR SDRAM) Is it possible that the radeon driver is using the 256 bus? Is there a way to force it to use a 128 bit bus? Has anyone else seen this? Thanks, Reid ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!
Written by Steve Franks on 02/11/08 13:56>> > So my problem is that things are expecting libs in > /usr/compat/linux/lib instead of /usr/compat/linux/usr/lib, and when > they don't find it in linux/lib they go straight to the FreeBSD > version? > > So should I be fixing my path, or linking linux/usr/lib to linux/lib, or what? > > Steve > Please don't top-post. The crux of the problem, as I understand it, is that if the linuxulator tries to load /compat/linux/x/y/libz.so and can't find it, it then tries to load /x/y/libz.so, I'm not certain why. Ideally, your linux binaries would be linked correctly to their support libs. In lieu of that, symlinking missing libs can suffice. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what happened to linuxflashplugin?
Written by Wojciech Puchar on 02/11/08 13:02>> >>> Jonathan >> >> The information I posted appears to be irrelevant now; from >> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/96374 the license issue >> appears to be resolved, but FreeBSD is still not permitted to >> "distribute" linux-flashplugin, that right being reserved by >> "authorized" operating systems and thus requiring the restricted flag. >> But they don't prohibit individual user from grabbing flash for FreeBSD >> on their own. > > this is excellent licence. this will make users smart enough to use ports > subsystem - able to use it, while others (who installed FreeBSD because > they heard it's better than linux vista or whatever) - will not ;) heh - a darwinian user filter, yes? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!
Written by Michael Ross on 02/11/08 12:42>> > Am 11.02.2008, 19:26 Uhr, schrieb Reid Linnemann <[EMAIL PROTECTED]>: > > >> It is not finding the FreeBSD versions of libraries. There is no >> /usr/lib/librt.so.1 in FreeBSD, that is linux's real-time threading >> library. Try brandelf /usr/compat/linux/usr/lib/librt.so.1 to see if >> it's branded. > > > [EMAIL PROTECTED] ~]$ brandelf /usr/compat/linux/usr/lib/librt.so.1 > brandelf: error opening file /usr/compat/linux/usr/lib/librt.so.1: No > such file or directory > > [EMAIL PROTECTED] ~]$ brandelf /usr/compat/linux/lib/librt.so.1 > File '/usr/compat/linux/lib/librt.so.1' is of brand 'SVR4' (0). > > [EMAIL PROTECTED] ~]$ brandelf /usr/lib/librt.so.1 > File '/usr/lib/librt.so.1' is of brand 'FreeBSD' (9). > > > Michael Okay, I need to proofread. /usr/compat/linux/lib/librt.so.1 is the right path. I've never seen a librt in FreeBSD, but I guess I'm wrong. I've dug a little deeper and seen other people work around this by linking /usr/compat/linux/usr/lib/librt.so.1 to the actual lib at /usr/compat/linux/lib/librt.so.1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what happened to linuxflashplugin?
Written by Jonathan McKeown on 02/11/08 12:36>> > On Monday 11 February 2008 16:40, Heiko Wundram (Beenic) wrote: >> Am Montag, 11. Februar 2008 15:32:26 schrieb Erich Dollansky: >>> Hi, >>> >>> Reid Linnemann wrote: >>> >>>> These ports have been removed because the End User License Agreement >>>> explicitly forbids to run the Flash Player on FreeBSD. >>>> For more details, see >>>> http://www.macromedia.com/shockwave/download/license/desktop/. >>> I could not find the word FreeBSD in the license agreement. >>> >>> BSD also does not appear there. >> Read this (in the license agreement): >> >> """... >> For the avoidance of doubt, no embedded or device versions of the above >> operating systems, or any other operating systems, are included as >> Authorized Operating Systems. >> ... >> 2.1You may install and use the Software on a single desktop or laptop >> computer that runs an Authorized Operating System. A license for the >> Software may not be shared, installed or used concurrently on different >> computers. """ > > OK, I followed the link above and was redirected to > <http://www.adobe.com/products/eulas/players>. I followed the link to Flash > and found: > > 2.1 General Use. You may install and Use a copy of the Software on your > compatible Computer, up to the Permitted Number of computers. The Software > may not be shared, installed or used concurrently on different computers. See > Section 3 for important restrictions on the Use of Adobe Reader and Web > Players. > > and the restriction under section 3: > > 3.1 Web Player Prohibited Devices. You may not Use any Web Player on any > non-PC device or with any embedded or device version of any operating system. > > I didn't wade through every word of the agreement, but as far as I can see, > the licence everyone is talking about appears not to exist - and this, > apparently the replacement, seems to be dated 20060607. > > Are we sure the licence still bans FreeBSD? > > Jonathan The information I posted appears to be irrelevant now; from http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/96374 the license issue appears to be resolved, but FreeBSD is still not permitted to "distribute" linux-flashplugin, that right being reserved by "authorized" operating systems and thus requiring the restricted flag. But they don't prohibit individual user from grabbing flash for FreeBSD on their own. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!
Written by Steve Franks on 02/11/08 12:11>> > I think my problem lies elsewhere: linux & abi started, but no > difference! I have the linux .so files right in compat/linux/usr/lib, > but it always finds the freeBSD versions first! > > Steve > > sh-3.00$ kldstat > Id Refs AddressSize Name > 1 19 0xc040 926ed4 kernel > 21 0xc0d27000 5a74 snd_t4dwave.ko > 32 0xc0d2d000 4a5acsound.ko > 41 0xc0d78000 22c98radeon.ko > 52 0xc0d9b000 10e98drm.ko > 61 0xc0dac000 6a1c4acpi.ko > 71 0xc304a000 7000 linprocfs.ko > 81 0xc3051000 22000linux.ko > sh-3.00$ sudo /etc/rc.d/abi start > Additional ABI support: linux. > sh-3.00$ ls > ls: error while loading shared libraries: /usr/lib/librt.so.1: ELF > file OS ABI invalid It is not finding the FreeBSD versions of libraries. There is no /usr/lib/librt.so.1 in FreeBSD, that is linux's real-time threading library. Try brandelf /usr/compat/linux/usr/lib/librt.so.1 to see if it's branded. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what happened to linuxflashplugin?
Written by Heiko Wundram (Beenic) on 02/11/08 08:40>> > Am Montag, 11. Februar 2008 15:32:26 schrieb Erich Dollansky: >> Hi, >> >> Reid Linnemann wrote: >>> Written by James on 02/10/08 21:59>> >>> >>>> I just tried a portupgrade out and it failed on linux flashplugin. >>>> Apparently, none of the file exist in the ftp repositories anymore. Any >>>> idea what happened there? >>>> >>>> James >>> from /usr/ports/UPDATING: >>> >>> >>> 2006-04-08 >>> >>> Affects: users of www/linux-flashplugin* >>> >>> Author: [EMAIL PROTECTED] >>> >>> Reason: >>> These ports have been removed because the End User License Agreement >>> explicitly forbids to run the Flash Player on FreeBSD. >>> For more details, see >>> http://www.macromedia.com/shockwave/download/license/desktop/. >> I could not find the word FreeBSD in the license agreement. >> >> BSD also does not appear there. > > Read this (in the license agreement): > > """... > For the avoidance of doubt, no embedded or device versions of the above > operating systems, or any other operating systems, are included as Authorized > Operating Systems. > ... > 2.1You may install and use the Software on a single desktop or laptop > computer that runs an Authorized Operating System. A license for the Software > may not be shared, installed or used concurrently on different computers. > """ > > ...where "Authorized Operating Systems" is only Windows, Linux, Solaris and > Mac OS as defined before the initial sentence, and as such, there's no clause > that allows you to use the software on BSDs, and finally, that makes it > forbidden to use on BSDs. > > This is another reason why Flash is bad, bad, bad. Am I repeating myself? > There appears to be an echo in this room FWIW, should you accidentally comment out the "RESTRICTED" declaration in the port Makefile, and the plugin tarball mysteriously materialize in /usr/ports/distfiles, you could perhaps accidentally install the port and put yourself in violation of the license (you naughty boy you). I couldn't find the flashplugin-7 tarball anywhere, but the flashplugin-9 tarball is at http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz (so you can download it for your linux machines, duh ;) ) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what happened to linuxflashplugin?
Written by James on 02/10/08 21:59>> > I just tried a portupgrade out and it failed on linux flashplugin. > Apparently, none of the file exist in the ftp repositories anymore. Any > idea what happened there? > > James from /usr/ports/UPDATING: 2006-04-08 Affects: users of www/linux-flashplugin* Author: [EMAIL PROTECTED] Reason: These ports have been removed because the End User License Agreement explicitly forbids to run the Flash Player on FreeBSD. For more details, see http://www.macromedia.com/shockwave/download/license/desktop/. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network configuration in FreeBSD
Written by Bhuvaneswari Ramkumar on 01/30/08 13:02>> > ok the local LAN ping works now > FYI, the handbook is very helpful. (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: HOW-TO get Flash7 working!
Written by Rudy on 01/10/08 18:58>> > Aryeh M. Friedman wrote: > >>> rm /usr/ports/distfiles/flashplugin/fp7_archive.zip >>> >> >> An other way to fix it in some ways is to run a make makesum to update >> the distfile checksums > > The fp7_archive.zip was an odd case were I felt more comfortable > deleting it -- hadn't see that error before (and didn't save it to cut > and paste). I thought it was only my system, but apparently, others had > this same issue with the fp7_archive.zip file. Maybe a new one was > released with the same filename on adobe? > > Would "makesum" would blindly use what is in the /usr/ports/distfiles -- > corrupt, man-in-the-middled, or whatever was there? I've never used > makesum... I will RTFM. :) > > Rudy > I haven't been following this thread, but FWIW make sure you disable the Composite extension on your X server, or the plugin will not work correctly. I'm not sure why, but without disabling Composite I've only gotten gray windows where the player should be. In xorg.conf: Section "Extensions" Option "Composite" "Off" EndSection ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Getting DHCP to 'update' DNS records locally
Clint Olsen wrote: Apologies if this isn't the correct forum. I'd like to configure DNS on my home network but make it work simultaneously with DHCP. So, when hosts are plugged into the network and issued an IP, DNS is updated to reflect the hostnames. That way I can refer to all my machines by name in all databases and I can avoid hardcoding IP addresses. I know Windows allows name-based recognition even in the instance you're using DHCP, but I'd like it to work more generally with any type of machine on the network. The problem is, when I search for terms related to this, I get hits for DynDNS and all that stuff which is /not/ what I want. I'm not trying to update a remote DNS record. This is just a local thing. If there's a lightweight DNS server that comes with a DHCP daemon, that would be fine too. I just need to know where to start. Thanks, -Clint ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I've also got an example of how to do this with bind9 and isc dhcpd. You can find it at http://www.ctln.org/contactus/team/reid/freebsd/ddns ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: install
Written by Leonard Lilla on 11/08/07 10:09>> > Wow, > > > > Talk about a horrible install. Install this CD, now that now > this now that now this now that!!! It goes on and on. Please do think about > people that are trying your install and are less knowledgeable and install > using your 2 cd install. It is just horrible how many times I went from CD1 > to CD2 and forth and back and back and forth. Just a killer. If I needed > exercise I would have called my trainer. > > > > I hope that I will be able to say better things about the rest of the > install or the OS. Well, I can. Install sucks. If I click on something there > is no recourse. Just a next and no back. I did not have the right cd once > and that port did not install, period. no retry or skip. Just done with it. > There are simply no error handling or user fault anticipation in your > install. Not friendly. > > > > Leo I know this thread has had many responses already, but it would seem to me that you were installing packages from the CDs. Packages are installed in dependency order, not necessarily in alphabetical or "CD location" order. It is apparent to me that the CD distribution design has been done in such a way that as many of the most common packages that can be squeezed into the first CD have been, followed by CD2, CD3, and CD4. The more packages you want to install from CD, the more often you will be playing disc jockey as the dependency chains weave between discs ;) As others have said, if you want to avoid the CD changing dilemma, it's a good idea to install software using the ports collection, or through packages fetched over the network connection from a distribution mirror on the web. I've been using FreeBSD for about 8 years now, and I can give you one piece of advice that will help you avoid massive amounts of frustration, should you choose to stick with it: the community will not abide complainers. This is especially true when complaints are abusive, derogatory, or condescending in tone and even more so when such complaints are not accompanied by solutions. The installer has been a bikeshed for many years; everyone seems to know what color it should be, how many windows it should have, how many doors to install, what type of lighting it needs, how many penguins should be accommodated in the rafters, and what relative orientation it should have to the earth's magnetic field; yet the most vocal of these people naturally have no contributions to make towards the installer's actual codebase. In the grand scheme of things, you'll probably also find the attitude towards the installer is that "it works well enough for our needs". ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nspluginwrapper + linux-flashplugin7 broken?
Written by Reid Linnemann on 11/05/07 08:13>> > Written by Richard (Rick) Seay on 11/04/07 10:02>> >> After upgrading to xorg-7.3_1, linux-flashplugin-7.0r70 and >> nspluginwrapper-0.9.91.5 stopped working. I get a blank area on the >> screen where the flash content should be, and the following error >> messages: >> >> The program 'npviewer.bin' received an X Window System error. >> This probably reflects a bug in the program. >> The error was 'BadMatch (invalid parameter attributes)'. >> (Details: serial 84 error_code 8 request_code 147 minor_code 3) >> (Note to programmers: normally, X errors are reported asynchronously; >> that is, you will receive the error a while after causing it. >> To debug your program, run it with the --sync command line >> option to change this behavior. You can then get a meaningful >> backtrace from your debugger if you break on the gdk_x_error() function.) >> *** NSPlugin Wrapper *** ERROR: NPP_SetWindow() invoke: Connection closed >> *** NSPlugin Wrapper *** ERROR: NPP_SetWindow() invoke: Connection closed >> *** NSPlugin Wrapper *** ERROR: NPP_NewStream() invoke: Connection closed >> *** NSPlugin Wrapper *** ERROR: NPP_New() invoke: Connection closed >> ... >> >> Anyone else having this problem? > > Yes. What's extremely odd about this error that I've noticed is that if > I run the firefox client from a linux Xorg display flash works > perfectly. I am not sure what that means. I should clarify that - when I run the FreeBSD firefox with wrapped flashplayer, displaying on a linux Xorg server, I get no errors and flash works fine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nspluginwrapper + linux-flashplugin7 broken?
Written by Richard (Rick) Seay on 11/04/07 10:02>> > After upgrading to xorg-7.3_1, linux-flashplugin-7.0r70 and > nspluginwrapper-0.9.91.5 stopped working. I get a blank area on the > screen where the flash content should be, and the following error > messages: > > The program 'npviewer.bin' received an X Window System error. > This probably reflects a bug in the program. > The error was 'BadMatch (invalid parameter attributes)'. > (Details: serial 84 error_code 8 request_code 147 minor_code 3) > (Note to programmers: normally, X errors are reported asynchronously; > that is, you will receive the error a while after causing it. > To debug your program, run it with the --sync command line > option to change this behavior. You can then get a meaningful > backtrace from your debugger if you break on the gdk_x_error() function.) > *** NSPlugin Wrapper *** ERROR: NPP_SetWindow() invoke: Connection closed > *** NSPlugin Wrapper *** ERROR: NPP_SetWindow() invoke: Connection closed > *** NSPlugin Wrapper *** ERROR: NPP_NewStream() invoke: Connection closed > *** NSPlugin Wrapper *** ERROR: NPP_New() invoke: Connection closed > ... > > Anyone else having this problem? Yes. What's extremely odd about this error that I've noticed is that if I run the firefox client from a linux Xorg display flash works perfectly. I am not sure what that means. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Qemu: mouse doesn't work
Written by Michael Gerhards on 10/26/07 10:58>> > Hello! > > I installed Qemu 0.9.0 with kqemu 1.3.0.p11 on FreeBSD 6.2 in order to > get Kanotix running under FreeBSD. > > Kanotix boots well under qemu (I use the ISO-image) - but after the KDE > desktop appears, my mouse doesn't work properly any more. When I move > my mouse, the cursor sometimes moves a bit in the same direction, > sometimes it jumps to the other side of the Kanotix desktop - and every > few seconds the moving cursor disappears. But I can see some "old" > cursors that did not disappear as I moved my mouse. So I cannot work > with Kanotix under qemu at all because I don't really see where the > cursor is when I move my mouse. > > I already tried using "-usbdevice tablet", I tried setting > SDL_VIDEO_X11_DGAMOUSE=0 and I even tried to use Qemu via vnc - nothing > solves my problem. > > Any ideas how I could get Kanotix working under Qemu? What might cause > the trouble in my case? Is this problem caused by Qemu or is it caused > by FreeBSD? > > Many thanks in advance, > > Michael You might try unloading kqemu, some systems don't do too well with the kqemu accelerator. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ipod software
Written by Rem P Roberti on 10/14/07 19:05>> > Thanks for the suggestions. I am trying out gtkpod now, and it seems to > work fine, although I wish that there was a non/gui type program. > > BTW, is it possible to convert mp3 files that were purchased originally > from the Apple store via iTunes so that they could be used on non/iTunes > players? > > Rem > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" Not on FreeBSD. But you can go grab QTFairUse from somewhere on the net and, using it in conjunction with iTunes on a Windows machine, remove the DRM. From what I can tell, all it really does is control the iTunes player and make it output the audio stream to another file instead of decoding it to the sound system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to update?
Written by Payne on 09/14/07 04:38>> Hey, Maybe this is in the manual, but how can I do an update. On most linux system you can do an update, like with yast, yum, and apt-get. How can I do that FreeBSD? Chuck If you are using a release version of FreeBSD, such as 6.1-RELEASE, you can use the freebsd-update tool to get binary updates. freebsd-update has an informative man page that will help you learn to use it. You also have the option of building and installing a more recent version of FreeBSD with souce code gotten through cvs or ftp. If htis is something you wish to do, I'd highly recommend reading the section on keeping up-to-date in the handbook. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange port 80 access problem
Written by Beech Rintoul on 09/12/07 11:14>> It's very possible that your ISP is blocking port 80. It seems more and more of them are doing that with home subscribers. I know someone who has service with one of the large telcos and they not only block port 80, but mail and ftp as well. They told him if he wanted to run servers he would have to subscribe to business service at 5X the cost of residential. I've had a similar experience with COX Communications in the US midwest. They block http, https, alternate http ports like 8000 and 8080, smtp, and I think pop and imap/imaps. I'm sure part of the reason for this paranoid behavior is to protect their networks from saturation from bots and whatnot, but part of me thinks they just want to stick it to their customers whom they view as pesky annoyances rather than valuable consumers. I circumvent these hassles by boring ssh tunnels to the services I need access to on my home machines. This is a stopgap until I get time to fiddle with openvpn. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: modular Xorg: which driver?
Written by Nikos Vassiliadis on 09/12/07 07:42>> Hello, I am building Xorg, and I am about to choose drivers. My guess is I810. Would that be OK? [EMAIL PROTECTED]:2:0: class=0x03 card=0x12bc103c chip=0x25728086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G Integrated Graphics Device' class = display subclass = VGA Thanks Nikos You are correct. This device can be accelerated with dri as of 6-STABLE around February 2007. The correct drm module to load is i915. [EMAIL PROTECTED] ~> pciconf -lv | grep -A 4 agp [EMAIL PROTECTED]:2:0: class=0x03 card=0x01511028 chip=0x25728086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G Integrated Graphics Device' class = display subclass = VGA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: doubts about the freebsd devil
Written by Nélio Mesquita on 08/31/07 06:44>> On 8/30/07, Bill Moran <[EMAIL PROTECTED]> wrote: "Nélio Mesquita" <[EMAIL PROTECTED]> wrote: Hello to all! Just for curiosity, why the FreeBSD logo is a little devil? Is there a history around it? It's not a devil, it's a daemon, and there is plenty of history: http://en.wikipedia.org/wiki/Daemon_%28computer_software%29 -- Bill Moran http://www.potentialtech.com Omg! I forgot the Wikipedia! How an idiot am I! Oh guys! My apologies for my lazy! I don't do it again! Really thanks for the help! If by chance you feel that the daemon is contrary to your moral or religious beliefs, you could always take a look at "Jesux" ( http://www.geocities.com/ResearchTriangle/Node/4081/ ) =) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Cron Job to run (ifconfig em0 down; ifconfig em0 up)
Written by Hinkie on 08/29/07 08:03>> Hi I want to run a cron job in /etc/crontab that runs (ifconfig em0 down; ifconfig em0 up) if my cables static ip gateway can't be pinged but I can't figure it out. I can't get the syntax that runs in the command window, to then put intot the crontab Can anyone help me? I've tried all sorts such as: if (ping -c1 a.b.c.1 != 1) then ifconfig em0 down; ifconfig em0 up endif if ping -c1 a.b.c.1 != 1 then ping -c1 203.97.234.1 endif if ping -c1 a.b.c.1 (ifconfig em0 down; ifconfig em0 up) if ( ping -c1 a.b.c.1 != 1) ( ping -c1 203.97.234.182 ) if $command("=ping -c1 a.b.c.1 =0") echo sucess if ping -c 1 -w 1 a.b.c.1 >/dev/null echo sucess if [[ (ping -q -c 3 a.b.c.1) == @(*100% packet loss*) ]]; echo sucess if ! ping -c a.b.c.1 > /dev/null ; then echo sucess ; echo fail; fi Any help would be appreciated. Kind regards David Hingston I would recommend you make a shell script, place it in /root/bin or something else sensible, and have cron call that. I think it's generally frowned upon to have excessive scripting directly in the crontab. The following script should do what you want: #!/bin/sh if ! ping -c1 203.97.234.1821>/dev/null 2>/dev/null then ifconfig em0 down && ifconfig em0 up fi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: spammers harvesting emaill address from this list
Written by Gerard on 08/23/07 10:10>> On August 23, 2007 at 10:31AM Jonathan Shoemaker wrote: fbsd2> Why should the subscribed members have to deal with spam fbsd2> just for the connivance of people who are too lazy to fbsd2> subscribe? fbsd2> This list admin needs to get their priorities straight. fbsd2> Subscribed members protection comes before the lazy public. A lot of people who migrate to freebsd have never been confronted with anything more complex than windows, so it makes sense to make getting help as easy as possible. The experience of converting to a *nix system is a daunting one for a first-timer; it takes a whole new shift in thinking, and people adapt at different rates. Bear in mind, though, that these people may one day end up being the ones to contribute new improvements, ports, assistance, and so forth. Doesn't it make sense for a free, community supported operating system to provide that support in the easiest manner possible? I employed Windows for years before ever venturing to try FBSD. Doing that time I subscribed to numerous mailing list. I fail to see any correlation between migrating from a Windows based OS to a FBSD one has to do with subscribing to a list. Anyone, with the possible exception of an AOL'er and an occasional Googler could accomplish that feat. Compromising the fundamental security and privacy of the end user is more important than servicing those who lack the ability and or ambition to subscribe to a mail forum like this. First, your anonymity and privacy is not under the care of the FreeBSD foundation, nor any other public mailing list that you volunteer your information to. Second, email is not the back door to your world. An email address is a point of contact for some entity on the internet, that's all. If you don't want it known, don't submit it a public record. Your privacy and security are your own responsibility. Third, this is not a forum. It is a mailing list. Mailing lists disseminate messages to a list of subscribers. That's all they do. If you want to talk on a forum, where your inbox is not involved, I suggest you look in to www.bsdforums.org. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Regular expressions
Written by Reid Linnemann on 08/20/07 11:58>> Written by Christer Hermansson on 08/18/07 18:08>> Derek Ragona wrote: At 12:04 PM 8/18/2007, Christer Hermansson wrote: I also found some basic example at http://www.grymoire.com/Unix/Sh.html#uh-88 : 8<8<8<8<8< #!/bin/sh echo "Type in a number" read ans number=`expr "$ans" : "([0-9]*)"` if [ "$number" != "$ans" ]; then echo "Not a number" elif [ "$number" -eq 0 ]; then echo "Nothing was typed" else echo "$number is a fine number" fi 8<8<8<8<8< The above example doesn't work on my freebsd box. Maybe I need to update my system, sitting with 6.0R which never been updated. You have a syntax error using expr. Do a man on expr for more details but if you change that line from: number=`expr "$ans" : "([0-9]*)"` to: number=`expr "$ans" : "\([0-9]*\)"` You will get the desired results. Also when debugging scripts remember to add: set -x to your script on the second line, and see what the script lines are actually doing. -Derek Thanks Derek ! Now both the example and my own code works for me. I changed my code from "^[A-Za-z0-9_-]+$" to "\([A-Za-z0-9_-]*\)" It seems that FreeBSD's expr want some different syntax than the webbased test tool at http://regexlib.com/RETester.aspx No, your expression is double quoted, which means the shell will expand it before passing it to expr. Parens are expanded by shells, they manipulate the order of operations (i.e. 'echo 1 || echo 2 && echo 3' vs. '(echo 1 || echo 2) && echo 3'). As a result, you must escape the parens or the shell will gobble them up. Disregard that, I am a moron. :/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Regular expressions
Written by Christer Hermansson on 08/18/07 18:08>> Derek Ragona wrote: At 12:04 PM 8/18/2007, Christer Hermansson wrote: I also found some basic example at http://www.grymoire.com/Unix/Sh.html#uh-88 : 8<8<8<8<8< #!/bin/sh echo "Type in a number" read ans number=`expr "$ans" : "([0-9]*)"` if [ "$number" != "$ans" ]; then echo "Not a number" elif [ "$number" -eq 0 ]; then echo "Nothing was typed" else echo "$number is a fine number" fi 8<8<8<8<8< The above example doesn't work on my freebsd box. Maybe I need to update my system, sitting with 6.0R which never been updated. You have a syntax error using expr. Do a man on expr for more details but if you change that line from: number=`expr "$ans" : "([0-9]*)"` to: number=`expr "$ans" : "\([0-9]*\)"` You will get the desired results. Also when debugging scripts remember to add: set -x to your script on the second line, and see what the script lines are actually doing. -Derek Thanks Derek ! Now both the example and my own code works for me. I changed my code from "^[A-Za-z0-9_-]+$" to "\([A-Za-z0-9_-]*\)" It seems that FreeBSD's expr want some different syntax than the webbased test tool at http://regexlib.com/RETester.aspx No, your expression is double quoted, which means the shell will expand it before passing it to expr. Parens are expanded by shells, they manipulate the order of operations (i.e. 'echo 1 || echo 2 && echo 3' vs. '(echo 1 || echo 2) && echo 3'). As a result, you must escape the parens or the shell will gobble them up. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: beryl on freebsd
Written by Dan Sikorsky on 08/16/07 09:40>> Is this guide OK? even if i dont have an nvidia chipset? http://www.bsdforums.org/forums/archive/index.php/t-47986.html Well, you don't need to use git to fetch the xorg code, xorg 7.2 is now in ports. Since you won't be using the nvidia driver, you don't need compat_5x enabled. I didn't need to enable any options in the Screen section with my i845, but I did need options "composite" and "RENDER" enabled in the Extensions section. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Webserver
Written by Snoopy on 08/13/07 03:04>> Hello, I want to build a Freebsd based webserver and all the stuff works quiet well, I got ruby on rails installed (ports/www/rubygem-rails) and I'm able to start webrick (the integrated webserver) also I installed the hole mysql package (server, client , scripts all 5.0). But I still have some problems ! First I do not know how to configure the Ftp server. I disabled anonymous login (during the setup)and I killed the '#' in the inetd.conf in the line for ftp (ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l) and saved this file ! Now I want to login with a normal account (also user account) via ftp and it does not work! please help ! Also there is no open port! You have to restart inetd to get it to re-read inetd.conf. The way I'd suggest is to do '/etc/rc.d/inetd restart'. The other problem is about MYSQL It works for me (mysql version 5). But I can not connect as remote from an other computer ! I enabled it in the rc.conf and the mysql ports seems to be open ! (did a port scan from the remote). But I can not access the database as remote. Also I created a new user in mysql (user with all privileges) i can not connect to the server as remote, neither with the root nor with my new account (but the new account works from the inside as well). I had been told to change a file called my.conf but I do not find this file ! Can you pleasetell me where my mysql configuration is saved ! thx for help ! You don't need to edit my.conf, but you do have to add permissions on the database in question for your user from hosts other than localhost. The table mysql.db is the one you're looking for. If you want your user to have permissions from any host, use '%' for the Host column. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How do I make install clean a port in the background
Written by Sean Murphy on 08/09/07 15:15>> How do I make install clean a port in the background? I used cd /usr/ports/www/apache22 make install clean & it returns the pid but then compiles in the foreground What am I doing wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" You're just seeing the output in the foreground, since the stdio and stderr for that process are still directed to the terminal. If you are using bash, you could "make install clean &> /dev/null &" to have the process operate in the background and direct all output the the bitbucket. I don't know the analog for other shells. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Convince me, please!
Written by David Kelly on 08/09/07 12:56>> On Thu, Aug 09, 2007 at 12:33:20PM -0500, Reid Linnemann wrote: Written by David Kelly on 08/09/07 12:30>> On Thu, Aug 09, 2007 at 06:54:37PM +0200, Wojciech Puchar wrote: For the best user experience, and Unix too: MacOS X. a very little unix (few tools and kernel) + lots of bulky overhead ... Try it, you will find otherwise. The user interface works without hassle. MacOS X comes with more standard utilities than does FreeBSD, for instance procmail, fetchmail, sqlite3, Apache, php 4.4.7, ... Not that I'm against your argument that OS X is a good system, but since when are 3rd party services standard utilities? What "standard utility" in FreeBSD didn't start somewhere outside of BSD? I'm not talking about origins, I'm talking about maintainers. The software you've listed are maintained by third parties not affiliated with either operating system, so I don't see how you can consider them "standard utilities". ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Convince me, please!
Written by David Kelly on 08/09/07 12:30>> On Thu, Aug 09, 2007 at 06:54:37PM +0200, Wojciech Puchar wrote: For the best user experience, and Unix too: MacOS X. a very little unix (few tools and kernel) + lots of bulky overhead ... Try it, you will find otherwise. The user interface works without hassle. MacOS X comes with more standard utilities than does FreeBSD, for instance procmail, fetchmail, sqlite3, Apache, php 4.4.7, ... Not that I'm against your argument that OS X is a good system, but since when are 3rd party services standard utilities? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Convince me, please! - too much about "GUI"
Written by Wojciech Puchar on 08/09/07 12:04>> desktop system should be, so FreeBSD with GUI apps _is_ -- or can be if you want -- a "perfect desktop system". i don't use GUI. it takes a lot and gives nothing. i use both text and graphic (X) based apps and no gui. i use fvwm2 with my config, there are plenty of nice other wm's good for that. i need a productive system, no "graphical user interfaces" etc, that let me actually concentrate of what i have to do! Most of You needs the same, but after years of aggressive marketing/brainwashing think that "graphical user interfaces", "desktop environments" etc. are important. The most stupid but popular claim is that complexity is good. this make people work many TIMES slower, both 100% window$ users and 95-99% unix users. all of this is needed to convince people that every 1-2 year they need new "modern" computer and the old is worth nothing. and people believe in it. their problem, not mine :) My ten year old niece has been brainwashed by the GUI quagmire. She saw my FreeBSD 6-STABLE console on my amd64 3000+ and wanted to know why i was using such an "old" computer. She had the visual aspect of the user interface ingrained as a measure of the capabilities of the machine. Granted, it could be only because she's ten, but I think we'd find a lot of people think that something has to have more blinky lights and chrome to be better or faster. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: lagg(4) - configuration for /etc/rc.conf?
Written by Ewald Jenisch on 08/08/07 08:58>> Hi, Thanks to the hints posted here about "failover redundancy" I've successfully set up lagg(4) in order to have a machine with redundant failover connection to two switches. The only thing that's missing is the correct configuration in /etc/rc.conf. Here's what I've got so far in my rc.conf: defaultrouter="192.168.9.1" if_lagg_load="YES" ifconfig_bge0="UP" ifconfig_bge1="UP" ifconfig_lagg0="create" ifconfig_lagg0="laggproto failover laggport bge0 laggport bge1 192.168.9.5 netmask 255.255.255.0" The problem is that once the machine boots the "lagg0" interface doesn't get created/activated; a "ifconfig" done after booting shows that no lagg interface is there, but the physical interfaces (bge0, bge1) are UP. Only after I manually enable the lagg-interface it with "ifconfig lagg0 create" the interface is created but then it automagically gets the right IP-address and routing also works: # ifconfig bge0: flags=8843 mtu 1500 options=1b ether 00:08:02:47:0d:56 media: Ethernet autoselect (1000baseTX ) status: active lagg: laggdev lagg0 bge1: flags=8843 mtu 1500 options=1b ether 00:08:02:47:0d:56 media: Ethernet autoselect (100baseTX ) status: active lagg: laggdev lagg0 lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 lagg0: flags=8843 mtu 1500 options=1b inet 192.168.9.5 netmask 0xff00 broadcast 192.168.9.255 ether 00:08:02:47:0d:56 media: Ethernet autoselect status: active laggproto failover laggport: bge1 flags=4 laggport: bge0 flags=5 I've tried numerous variations of the "ifconfig_lagg0"-lines in /etc/rc.conf above - with or without create etc. - to no extent. Upon boot the lagg-interface remains down basically cutting of the box from the network until I enable the lagg-interface from the console :-(. Thanks much in advance for any clue, -ewald Remember that what you put in rc.conf are variables, not instructions. You first define ifconfig_lagg0 to be "create", but then you turn around and redefine it to be "laggproto failover laggport bge0 laggport bge1 192.168.9.5 netmask 255.255.255.0". So when /etc/rc.d/netif fires off to configure interfaces, this redefinition is used for configuring the lagg0 interface. If you define ifconfig_lagg0 to be "create laggproto failover laggport bge0 laggport bge1 192.168.9.5 netmask 255.255.255.0", I would expect it to do what you want. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing from USB Flash Drive
Written by fbsd2 on 08/06/07 09:08>> You are correct, there is no option for a USB flash drive for your installation media. However, it is not a show stopper - you have the "file system" media option. You should mount the flash disk and use this option. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Reid Linnemann Sent: Monday, August 06, 2007 8:54 AM To: [EMAIL PROTECTED] Cc: Ross Penner; User questions Subject: Re: Installing from USB Flash Drive When booting the USB flash drive which contains the install cd1 iso you go into sysinstall by default. There is no way to stay in the sysinstall pgm and issue a mount command for da0 that I can find. Exiting sysinstall just causes a reboot and you are right back at point you just left. Please explain how to mount USB flash drive when it's all ready used to boot from. As I recall, the system starts up a shell on ttyv3 and you also have the root menu option "Fixit" to enter a shell. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing from USB Flash Drive
Written by fbsd2 on 08/04/07 07:42>> I was really taken with the idea for using a USB flash stick disk drive to install FreeBSD from. I used the script from the mentioned URL below as the starting point. After some changes to the script I got it to work. I was able to boot off the USB flash stick disk drive, But then was faced with a show stopper. During the sysinstall process after it asks for hard drive fdisk and bsdlable info it asks you for where to get the install files from (IE: cdrom, remote ftp, floppy, dos partition, ECT) there is no option to tell the sysinstall program to use USB-dd as source location. So in summary, this idea is un-usable until the sysinstall program gets updated to include an option to use USB-dd as an install source. This brings to light another problem. That is using floppies to install FreeBSD from. PC manufactures are no longer building systems with floppies drives included. Combining the FreeBSD floppy images to a single USB-dd image would be away to continue to offer this method of installing FreeBSD. Included below is my working script to populate a 1GB USB flash stick disk with the FreeBSD cd1 iso file. #!/bin/sh #Purpose = Use to transfer the FreeBSD install cd1 to # a bootable 1GB USB flash drive so it can be used to install from. # First fetch the FreeBSD 6.2-RELEASE-i386-disc1.iso to your # hard drive /usr. Then execute this script from the command line # fbsd2usb /usr/6.2-RELEASE-i386-disc1.iso /usr/6.2-RELEASE-i386-disc1.img # Change system bios to boot from USB-dd and away you go. # NOTE: This script has to be run from root and your 1GB USB flash drive # has to be plugged in before running this script. # On the command line enter fbsd2usb iso-path img-path # You can set some variables here. Edit them to fit your needs. # Set serial variable to 0 if you don't want serial console at all, # 1 if you want comconsole and 2 if you want comconsole and vidconsole serial=0 set -u if [ $# -lt 2 ]; then echo "Usage: $0 source-iso-path output-img-path" exit 1 fi isoimage=$1; shift imgoutfile=$1; shift # Temp directory to be used later #export tmpdir=$(mktemp -d -t fbsdmount) export tmpdir=$(mktemp -d /usr/fbsdmount) export isodev=$(mdconfig -a -t vnode -f ${isoimage}) ISOSIZE=$(du -k ${isoimage} | awk '{print $1}') SECTS=$((($ISOSIZE + ($ISOSIZE/5))*4)) #SECTS=$((($ISOSIZE + ($ISOSIZE/5))*2)) echo " " echo "### Initializing image File started ###" echo "### This will take about 4 minutes ###" date dd if=/dev/zero of=${imgoutfile} count=${SECTS} echo "### Initializing image File completed ###" date echo " " ls -l ${imgoutfile} export imgdev=$(mdconfig -a -t vnode -f ${imgoutfile}) bsdlabel -w -B ${imgdev} newfs -O1 /dev/${imgdev}a mkdir -p ${tmpdir}/iso ${tmpdir}/img mount -t cd9660 /dev/${isodev} ${tmpdir}/iso mount /dev/${imgdev}a ${tmpdir}/img echo " " echo "### Started Copying files to the image now ###" echo "### This will take about 15 minutes ###" date ( cd ${tmpdir}/iso && find . -print -depth | cpio -dump ${tmpdir}/img ) echo "### Completed Copying files to the image ###" date if [ ${serial} -eq 2 ]; then echo "-D" > ${tmpdir}/img/boot.config echo 'console="comconsole, vidconsole"' >> ${tmpdir}/img/boot/loader.conf elif [ ${serial} -eq 1 ]; then echo "-h" > ${tmpdir}/img/boot.config echo 'console="comconsole"' >> ${tmpdir}/img/boot/loader.conf fi echo " " echo "### Started writing image to flash drive now ###" echo "### This will take about 30 minutes ###" date dd if=${imgoutfile} of=/dev/da0 bs=1m echo "### Completed writing image to flash drive at ###" date cleanup() { umount ${tmpdir}/iso mdconfig -d -u ${isodev} umount ${tmpdir}/img mdconfig -d -u ${imgdev} rm -rf ${tmpdir} } cleanup ls -lh ${imgoutfile} echo "### Script finished ###" -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ross Penner Sent: Wednesday, August 01, 2007 2:34 PM To: User questions Subject: Installing from USB Flash Drive Hi everybody, I'm trying to install a system on a machine that doesn't have an optical drive. I plan on using a USB flash drive to do the job and found a messages from [EMAIL PROTECTED] (http://www.mail-archive.com/[EMAIL PROTECTED]/msg55434.html) about just such a thing. The script provided converts the CD image into one suitable for a flashmemory stick. I used and coverted it without issue. The instructions say to use dd to prepare the flash drive so executed #dd if=flashbsd.iso of=/dev/da0 I'm not entirely confident that that was the correct procedure, as I'm quite unfamilar with dd. Unfortunetly, I can't seem to get the drive to boot. I can mount the filesystem so it seems that prepareing the drive was succesful. I'm using a via chipset and yes, the bios is set to boot from USB-FDD. I used the 6.2 boot only image. Thanks for any insight you can provide me. Ross -- sig
Re: Nano issue
Written by RW on 08/02/07 15:02>> On Thu, 02 Aug 2007 13:11:04 -0500 Reid Linnemann <[EMAIL PROTECTED]> wrote: Written by RW on 08/02/07 11:27>> On Thu, 02 Aug 2007 10:15:35 -0400 [EMAIL PROTECTED] wrote: At 07:25 AM 8/2/2007, Roberth Sjonøy wrote: Hello, Ive just installed my prefered text editor, nano, but when im going to run nano, this just appears: /libexec/ld-elf.so.1: Shared object "libncursesw.so.6" not found , required by "nano" I have nano 2.0.6 installed from packages (not ports) and it works fine on 6.2. I also have that library with the same date as my last buildworld: $ ls -l /lib/*curs* -r--r--r-- 1 root wheel 268108 Jan 14 2007 /lib/libncurses.so.6 but do you have libncursesw.so.6 - note the 'w' The most likely scenario is that he's trying to use a 6-stable package on 6.2. This something that people tend to get away with, but is not actually supported. Either build the port or install the correct package. I'm tracking 6-STABLE, and I only have /lib/libncurses.so.6. libcursesw.so.6 is listed as part of the compat6x port, perhaps Roberth has installed a 7-CURRENT package built with compat6x? I'm guessing your 6-STABLE wasn't synced all that recently. There's a test in the nano makefile that make it use the wide (multi-byte character) version of curses (ie libncursesw) if the 6-stable or 7-current version is sufficiently recent. The fact that an up-to-date compat6x has libncursesw.so.6 tends to confirm this. Yes, you are right. I hadn't synced since February.. my, how the time flies! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cpio -dump ...
Written by Matthias Apitz on 08/02/07 12:58>> El día Wednesday, August 01, 2007 a las 03:21:12PM -0600, Ross Penner escribió: On 8/1/07, Reid Linnemann < [EMAIL PROTECTED]> wrote: Written by Ross Penner on 08/01/07 13:34>> Hi everybody, I'm trying to install a system on a machine that doesn't have an optical drive. I plan on using a USB flash drive to do the job and found a messages from [EMAIL PROTECTED] (http://www.mail-archive.com/[EMAIL PROTECTED]/msg55434.html ) ... Hello, The above mentioned web page and script shows a usage of cpio(1) which I have never seen before: cpio -dump ${tmpdir}/img I was curious, looked into the man page of cpio(1) and even in the online manual at http://www.gnu.org/software/cpio/manual/cpio.html but did not saw anything about the option '-dump'; can someone bring a light to me? Thx matthias I think that should be read as a mnemonic combination of the -d -u -m and -p options (from 'info cpio'): `-d, --make-directories' Create leading directories where needed. `-u, --unconditional' Replace all files, without asking whether to replace existing newer files with older files. `-m, --preserve-modification-time' Retain previous file modification times when creating files. `-p, --pass-through' Run in copy-pass mode. *Note Copy-pass mode::. This seems to make sense to me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Nano issue
Written by RW on 08/02/07 11:27>> On Thu, 02 Aug 2007 10:15:35 -0400 [EMAIL PROTECTED] wrote: At 07:25 AM 8/2/2007, Roberth Sjonøy wrote: Hello, Ive just installed my prefered text editor, nano, but when im going to run nano, this just appears: /libexec/ld-elf.so.1: Shared object "libncursesw.so.6" not found , required by "nano" I have nano 2.0.6 installed from packages (not ports) and it works fine on 6.2. I also have that library with the same date as my last buildworld: $ ls -l /lib/*curs* -r--r--r-- 1 root wheel 268108 Jan 14 2007 /lib/libncurses.so.6 but do you have libncursesw.so.6 - note the 'w' The most likely scenario is that he's trying to use a 6-stable package on 6.2. This something that people tend to get away with, but is not actually supported. Either build the port or install the correct package. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I'm tracking 6-STABLE, and I only have /lib/libncurses.so.6. libcursesw.so.6 is listed as part of the compat6x port, perhaps Roberth has installed a 7-CURRENT package built with compat6x? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing from USB Flash Drive
Written by Ross Penner on 08/01/07 16:21>> On 8/1/07, *Reid Linnemann* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Written by Ross Penner on 08/01/07 13:34>> > Hi everybody, > > I'm trying to install a system on a machine that doesn't have an optical > drive. I plan on using a USB flash drive to do the job and found a > messages from [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > ( http://www.mail-archive.com/[EMAIL PROTECTED]/msg55434.html <http://www.mail-archive.com/[EMAIL PROTECTED]/msg55434.html>) > about just such a thing. The script provided converts the CD image into > one suitable for a flashmemory stick. I used and coverted it without > issue. The instructions say to use dd to prepare the flash drive so > executed > #dd if=flashbsd.iso of=/dev/da0 > I'm not entirely confident that that was the correct procedure, as I'm > quite unfamilar with dd. Unfortunetly, I can't seem to get the drive to > boot. I can mount the filesystem so it seems that prepareing the drive > was succesful. I'm using a via chipset and yes, the bios is set to boot > from USB-FDD. I used the 6.2 boot only image. > > Thanks for any insight you can provide me. > > Ross > That seems correct to me. You may want to 'bsdlabel -B /dev/da0' after writing the ufs image to it. The script you referenced does this to the image before you write it to the flash drive, so the boot code should already be there... but it appears to have gotten lost. Perhaps it never worked in the first place? rosbot# bsdlabel -B /dev/da0 bsdlabel: partition c doesn't cover the whole unit! bsdlabel: An incorrect partition c may cause problems for standard system utilities I didn't do anything to the drive before dd'ing to it. Should have it been prepared somehow? I assumed dd would take care of partitions. There is a da0a and a da0c in /dev/ . No, that's just a warning message and does not prevent the bootcode from being installed. Have you ever booted any other system from this flash disk on this machine? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing from USB Flash Drive
Written by Andrey Shuvikov on 08/01/07 14:17>> On 8/1/07, Ross Penner <[EMAIL PROTECTED]> wrote: Hi everybody, I'm trying to install a system on a machine that doesn't have an optical drive. I plan on using a USB flash drive to do the job and found a messages from [EMAIL PROTECTED] (http://www.mail-archive.com/[EMAIL PROTECTED]/msg55434.html) about just such a thing. The script provided converts the CD image into one suitable for a flashmemory stick. I used and coverted it without issue. The instructions say to use dd to prepare the flash drive so executed #dd if=flashbsd.iso of=/dev/da0 This will copy CD to USB sector-by-sector recreating CD filesystem (ISO-9660) on the stick. I don't think it's what system expects. I tried to do similar thing some time ago. I don't remember details but what I did was mounting CD-image and copying files from there to preformatted USB stick. The script he referenced built a disk image from the iso-9660 fs to create his flashbsd.iso image - the .iso extension at this point is misleading. The script makes a dedicated freebsd memory disk, puts bootcode and a UFS filesystem on it, and copies the contents of the install CD to the UFS filesystem. It's this image that he is then dd'ing to the flash drive. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing from USB Flash Drive
Written by Ross Penner on 08/01/07 13:34>> Hi everybody, I'm trying to install a system on a machine that doesn't have an optical drive. I plan on using a USB flash drive to do the job and found a messages from [EMAIL PROTECTED] (http://www.mail-archive.com/[EMAIL PROTECTED]/msg55434.html) about just such a thing. The script provided converts the CD image into one suitable for a flashmemory stick. I used and coverted it without issue. The instructions say to use dd to prepare the flash drive so executed #dd if=flashbsd.iso of=/dev/da0 I'm not entirely confident that that was the correct procedure, as I'm quite unfamilar with dd. Unfortunetly, I can't seem to get the drive to boot. I can mount the filesystem so it seems that prepareing the drive was succesful. I'm using a via chipset and yes, the bios is set to boot from USB-FDD. I used the 6.2 boot only image. Thanks for any insight you can provide me. Ross That seems correct to me. You may want to 'bsdlabel -B /dev/da0' after writing the ufs image to it. The script you referenced does this to the image before you write it to the flash drive, so the boot code should already be there... but it appears to have gotten lost. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is distribfold for [EMAIL PROTECTED]
Written by Chad Perrin on 08/01/07 11:08>> I see that there's both a distribfold and a linux-foldingathome in the ports. The contents of pkg-descr say that distribfold is for distributedfolding.org, but that doesn't seem accurate any longer, as that domain appears to currently belong to a domain squatter. Is distribfold a FreeBSD-native [EMAIL PROTECTED] client, or something else entirely? More details would be appreciated. It's something else entirely. If you notice, the latest release that is fetched by the port is 0.1.20040613 .. several years old, and the project is now defunct anyway. [EMAIL PROTECTED] has its origins at Stanford University at around 2001 and is maintained by a group called the "Pande Group". Distributedfolding, however, was started by professor (Christopher Hogue) at the University of Toronto in the same time period. He's not listed as a current or previous member of the Pande Group. You can see his announcement to the beowulf-announce list in their archives: http://www.beowulf.org/pipermail/beowulf-announce/2002-January/27.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cant uninstall nessus-gtk2-2.2.9_1
Written by Noah on 07/31/07 08:29>> Hi there, I am having a bit of trouble with the nessus installation at the moment. any clues how I can fully remove it and install it properly. access1# pkg_info | grep nessus pkg_info: show_file: can't open '+COMMENT' for reading nessus-gtk2-2.2.9_1 ??? nessus-libnasl-2.2.9 Nessus Attack Scripting Language nessus-libraries-2.2.9 Libraries for Nessus, the security scanner access1# pkg_delete -f nessus pkg_delete: package 'nessus-gtk2-2.2.9_1' doesn't have a prefix access1# Cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Looks like your pkg db for that package is hosed; for certain it is missing the +COMMENTS file, and I would also wager that +CONTENTS is missing or corrupted. I would recommend deleting the /var/db/pkg/nessus-gtk2-2.2.9_1 directory, then reinstall the package/port. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ELI passphrase on boot with USB keyboard
Written by Rolf G Nielsen on 07/27/07 16:37>> Reid Linnemann wrote: Written by Reid Linnemann on 07/27/07 15:49>> Written by Rolf G Nielsen on 07/27/07 15:21>> Hi, I recently purchased a new USB keyboard, since my old PS/2 one has seen its best days. This has caused me annoying problems with my ELI disks, though. I have four SATA harddrives, all of which are encrypted using ELI encryption. I've encrypted the raw disks, ad0, ad1, ad2 and ad3. The resulting devices ad0.eli, ad1.eli, ad2.eli and ad3.eli, I've concatenated into a large device, cc0, on which I have several partitions. To get this working, I of course need to boot from a separate device, and for that I use an SD card, which holds a boot directory. With my old PS/2 keyboard, this worked like a charm, but it seems to me, the ukbd driver isnt activated until after the ELI encryption, which means I'm unable to enter the passphrases for the disks, thus I can't get the computer passed the first passphrase prompt. Currently I have both the old keyboard and the new USB one connected. I use the PS/2 one to enter the passphrases, then I put it on the floor under my desk and use the USB keyboard. As you may very well understand, this is quite annoying. Is there a way to get the USB keyboard to work at the point where I enter the passphrases? I've tried to change the keys for the disks to not use a passphrase, but only keyfiles and load them from loader.conf, just as described in the GELI man page (yes I did set the -P option), but that simply will not work (and to be honest, it's not a solution I'd favour); if I set the -b option (ask for passphrase on boot), it still asks for the passphrase, though there is none, and if I set the -B option (don't ask for passphrase on boot), the computer ends up at the "mountroot>" prompt. I'd appreciate any help. Sincerly, Rolf Nielsen Try setting hints.atkbd0.disabled to 1 in the loader, or in the device.hints file. Your usb keyboard may work in early stages with that device hint. Erm, set the hint in the loader _first_, and then only put it in device.hints if it works! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Moreover, the usb keyboard works upto and including the boot menu (I guess the hardware is strictly under BIOS control then, and the kernel doesnt really know if the keboard is usb or ps/2). Then, as soon as the kernel starts probing devices, it stops working. It comes back when daemons have been started. Does usbd have to be running for a usb keyboard to work? If so, could it be worked around? That I don't know. It seems to me that the USB keyboard operates in one of two modes - through the bios or through a device driver. When the system is yet to come up, the PC BIOS is able to talk with the USB keyboard, else you wouldn't be able to type commands in the loader. At some point, I guess the OS aborts talking to the USB keyboard through the BIOS until a driver is loaded. However, I'm not a kernel hacker, so this is only a guess and someone more knowledgeable should respond to the thread at this point. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ISC bind9 with dynamic DNS update (chroot problem)
Written by Patrick Dung on 07/28/07 10:52>> Thanks for reply. Yes, your method works. But I wonder why /var/named/etc/named/master directory permission always reset to root at starting the daemon. Regards Patrick --- Reid Linnemann <[EMAIL PROTECTED]> wrote: Written by Patrick Dung on 07/27/07 08:19>> Hi I use FreeBSD 6.2 and the base bind9. For dynamic DNS update, bind9 automatically generate the journal file (end in .jnl). The default config is to use chroot and the running user as 'bind'. The problem is that after named is started (/etc/init.d/named start), the default chroot directory /var/named/etc/named permission will be reset to own by root. So the named daemon (run as user 'bind') cannot create the journal file and complain: Jul 27 21:06:54 fbsd62 named[2862]: general: localdomain.db.jnl: create: permission denied One temp fix is to use chroot and run as root, any suggestions? Regards Patrick When I did ddns, I had my dynamic zone files in a subdirectory off of the named chroot- i.e. /var/named/etc/namedb/dynamic - and chowned it to bind, allowing the bind user to read/write anything inside. I forgot to CC: questions@ on my original reply This is because /etc/rc.d/named auto-updates the chroot to an expected state defined by the mtree at /etc/mtree/BIND.chroot.dist P.S. Please do not top post, so the conversation order progresses from oldest to newest. -Reid ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ELI passphrase on boot with USB keyboard
Written by Reid Linnemann on 07/27/07 15:49>> Written by Rolf G Nielsen on 07/27/07 15:21>> Hi, I recently purchased a new USB keyboard, since my old PS/2 one has seen its best days. This has caused me annoying problems with my ELI disks, though. I have four SATA harddrives, all of which are encrypted using ELI encryption. I've encrypted the raw disks, ad0, ad1, ad2 and ad3. The resulting devices ad0.eli, ad1.eli, ad2.eli and ad3.eli, I've concatenated into a large device, cc0, on which I have several partitions. To get this working, I of course need to boot from a separate device, and for that I use an SD card, which holds a boot directory. With my old PS/2 keyboard, this worked like a charm, but it seems to me, the ukbd driver isnt activated until after the ELI encryption, which means I'm unable to enter the passphrases for the disks, thus I can't get the computer passed the first passphrase prompt. Currently I have both the old keyboard and the new USB one connected. I use the PS/2 one to enter the passphrases, then I put it on the floor under my desk and use the USB keyboard. As you may very well understand, this is quite annoying. Is there a way to get the USB keyboard to work at the point where I enter the passphrases? I've tried to change the keys for the disks to not use a passphrase, but only keyfiles and load them from loader.conf, just as described in the GELI man page (yes I did set the -P option), but that simply will not work (and to be honest, it's not a solution I'd favour); if I set the -b option (ask for passphrase on boot), it still asks for the passphrase, though there is none, and if I set the -B option (don't ask for passphrase on boot), the computer ends up at the "mountroot>" prompt. I'd appreciate any help. Sincerly, Rolf Nielsen Try setting hints.atkbd0.disabled to 1 in the loader, or in the device.hints file. Your usb keyboard may work in early stages with that device hint. Erm, set the hint in the loader _first_, and then only put it in device.hints if it works! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ELI passphrase on boot with USB keyboard
Written by Rolf G Nielsen on 07/27/07 15:21>> Hi, I recently purchased a new USB keyboard, since my old PS/2 one has seen its best days. This has caused me annoying problems with my ELI disks, though. I have four SATA harddrives, all of which are encrypted using ELI encryption. I've encrypted the raw disks, ad0, ad1, ad2 and ad3. The resulting devices ad0.eli, ad1.eli, ad2.eli and ad3.eli, I've concatenated into a large device, cc0, on which I have several partitions. To get this working, I of course need to boot from a separate device, and for that I use an SD card, which holds a boot directory. With my old PS/2 keyboard, this worked like a charm, but it seems to me, the ukbd driver isnt activated until after the ELI encryption, which means I'm unable to enter the passphrases for the disks, thus I can't get the computer passed the first passphrase prompt. Currently I have both the old keyboard and the new USB one connected. I use the PS/2 one to enter the passphrases, then I put it on the floor under my desk and use the USB keyboard. As you may very well understand, this is quite annoying. Is there a way to get the USB keyboard to work at the point where I enter the passphrases? I've tried to change the keys for the disks to not use a passphrase, but only keyfiles and load them from loader.conf, just as described in the GELI man page (yes I did set the -P option), but that simply will not work (and to be honest, it's not a solution I'd favour); if I set the -b option (ask for passphrase on boot), it still asks for the passphrase, though there is none, and if I set the -B option (don't ask for passphrase on boot), the computer ends up at the "mountroot>" prompt. I'd appreciate any help. Sincerly, Rolf Nielsen Try setting hints.atkbd0.disabled to 1 in the loader, or in the device.hints file. Your usb keyboard may work in early stages with that device hint. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: make and gmake on FreeBSD
Written by Dima Sorkin on 07/26/07 16:37>> Hi. Thank you very much. See below. Regards, Dima. On 7/27/07, Nikola Lecic wrote: No, make (BSD make) is a part of FreeBSD, gmake (GNU make) is a third-party application, available through devel/gmake port. They _are_ different. Yes, I forgot there was an alias. See at the bottom of the message. > and only with "gmake" I succeed to build serious projects. This is very interesting observation, could you expand on this? Well, I don't want to make claims without basis, as it is based only on my memories :). I so completely switched to gmake during the winter that I even forgot I have an alias. I didn't succeeded to compile projects from my univ studies, but I afraid I use all those gnu extensions. I _think_ I didn't succeeded to compile the DEAL.II lib without gmake. These are projects that don't use the "recursive make" paradigm, at least not in all places. They "-include" makefiles from lower hierarchies, but I afraid gnu extension sit there in every place. Not shure, though ... [EMAIL PROTECTED] /usr/home/dsorkin]$ /usr/bin/make --version make: illegal option -- - usage: make [-BPSXeiknqrstv] [-C directory] [-D variable] [-d flags] [-E variable] [-f makefile] [-I directory] [-j max_jobs] [-m directory] [-V variable] [variable=value] [target ...] [EMAIL PROTECTED] /usr/home/dsorkin]$ alias make alias make='gmake' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Lots of software sources are configured with GNU autotools, which is why a lot of third party software will only compile with GNU make. In the case of dealii, not only are its sources configured with autotools, but I looked at their docs and at http://www.dealii.org/developer/index.html you can plainly see that they "use GNU make, version 3.78 or later". I'm not sure where the confusion is ... but it seems like you think you have to invoke GNU make under the moniker 'make'. But you don't, it's just a Linux convention to have GNU make installed as 'make'. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Drive concatenation...Which tool to use?
Written by Roger Olofsson on 07/26/07 12:59>> John Nielsen skrev: On Wednesday 25 July 2007, Josh Tolbert wrote: I've got a friend that wants to use a FreeBSD box for a file server. He has a huge pile of drives of different sizes, but he wants them all as one big file system. What's the appropriate tool for this? gstripe doesn't seem like it'd be smart to use with differently-sized drives. Is gvinum up to snuff and stable enough to use? Is ccd still supported? What would be your tool of choice? gconcat, perhaps? JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Gconcat looks mighty cool, will it be able to concat two devices that already have existing filesystems on them and retain these? Say that ad0 has /usr and ad1 has /home will gconcat preserve these after concat:ing ad0 with ad1? No. The gmirror device will not have had a label written to describe where on the gmirror device those partitions exist. The data will still be there, but you'll have to do some magic on the gmirror label to describe where they are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB Keyboard / Dell Optiplex 745 / FreeBSD 6.2
Written by Nico -telmich- Schottelius on 07/20/07 09:45>> Hello! Just wanted to confirm that the usb-keyboard is not working in the installer with Dell Optiplex 745 and FreeBSD 6.2. Though it works in the boot loader, but stops working (num lock light is set to off) when usb support is enabled by FreeBSD. I also tried booting with verbose logging on, but did not see an error, only that FreeBSD detects atkbd0, although there is no ps/2 port (so bios ps/2 emulation). There are many postings about the whole optiplex series out there having that problem, but there seems no solution until today. Or does anyone else know more about that? Nico I've never know what causes this, but in single user mode some USB keyboards on some systems refuse to work. I myself work on an Optiplex GX270 that exhibits the same behavior. You can get around it easily enough though; at the loader, set hint.atkbd0.disabled=1 and then boot, the problem should go away. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: named and nfs mounts at boot time
Written by Tim Daneliuk on 07/13/07 17:29>> While we're on the subject of dns ... I have nfs mounts configured in /etc/fstab using the host *name*. When the system boots, it grumbles about the name resolution because named has not yet been started. It works fine because, by the time you have a fully booted system, named is running and nfs runs happily. 'Just wondering if there is a way to get the warnings during boot to be quiet without resorting to using IP addresses in the fstab nfs mount entries... If the filesystems are not needed until the system is up multiuser, you could specify the 'late' option on them in fstab, forcing them to be delayed until /etc/rc.d/mountlate is run after /etc/rc.d/DAEMON has completed. This will ensure that named is running prior to the mount, since DAEMON requires SERVERS, which starts named. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kdm/startkde problem after upgrade
Written by Andriy Babiy on 07/16/07 02:52>> Hi everyone! $ uname -a FreeBSD ABC.DEF.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jul 11 06:07:39 PDT 2007 root@:/usr/obj/usr/src/sys/AMD64 amd64 kdm is configured as a login manager in /etc/ttys. After upgrade to KDE 3.5.7 and X server 7.2 (that was time consuming, but no errors) I receive an error message on startup: Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[792]: X server "/usr/X11R6/bin/X" cannot be executed Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[789]: X server for display :0 can't be started, session disabled When I logged in, startkde brings another error message: xsetroot: unable to open display '' Warning: kbuildsycoca is unable to register with DCOP. kbuildsycoca running... kdeinit: Aborting. $DISPLAY is not set. There was an error setting up inter-process communications for KDE. The message returned by the system was: Could not read network connection list. /home/andrey/.DCOPserver_FreeBSD-amd64.kde.com_NODISPLAY Please check that the "dcopserver" program is running! Reusing existing ksycoca kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/x-tbz2' <...> A lot of messages of the same nature about undefined mimetype/servicetype. <...> xset: unable to open display "" xset: unable to open display "" xsetroot: unable to open display '' startkde: Starting up... ksplash: cannot connect to X server xprop: unable to open display '' kdeinit: Aborting. $DISPLAY is not set. Warning: connect() failed: : No such file or directory ksmserver: cannot connect to X server ERROR: Couldn't attach to DCOP server! startkde: Shutting down... Warning: connect() failed: : No such file or directory Error: Can't contact kdeinit! startkde: Running shutdown scripts... Interesting, when I issue startx, KDE is up and running. I ran X -configure, and then X -config /root/xorg.conf.new as root; X server starts properly, so I copied new config to /etc/X11. I assume my problem is KDE related. Errors are about DCOP server, as I can see. Could anyone help me fix this problem? Thank you in advance! Andriy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" # ls -lF /usr/X11R6 lrwxr-xr-x 1 root wheel 10 Jun 18 08:29 /usr/X11R6@ -> /usr/local If yours does not look like that, then you forgot to merge /usr/X11R6 into /usr/local, which by the looks of the first message (Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[792]: X server "/usr/X11R6/bin/X" cannot be executed) is exactly what has happened. As of Xorg 7, X11BASE is now /usr/local rather than /usr/X11R6, so the Xorg servers will not be at /usr/X11R6/bin. Read the Xorg 7.2 entry in /usr/ports/UPDATING. Specifically, there is a tool (mergebase.sh) included to make the merge step extremely easy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: flash
Written by Anton Galitch on 07/02/07 18:07>> and no, with flash7 It doesnt even load the application, just the grey square, thats the log from the console: %firefox *** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue() The program 'npviewer.bin' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 103 error_code 8 request_code 149 minor_code 3) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) I get similar results from both flash9 and flash7 plugins, none of the links in the follow-up posts have helped thus far. The program 'npviewer.bin' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 89 error_code 8 request_code 147 minor_code 3) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: editing the search path for '#include' preprocessor
Written by sameer gupta on 06/27/07 05:05>> hello, i want to add new search path's for including more directories for header files, for that i need to edit the makefile that my gcc compiler uses, however i cant figure out where to find that file, kindly help..i'm a newbie who has just started out regards, sameer If you're wanting to add system include paths permanently to gcc, AFAIK you'll have to edit /usr/src/contrib/gcc/cppdefaults.c and add the paths you want to the cpp_include_defaults array. However, cpp already has a non-invasive way of supplying extra include paths with the -I flag, or you can set the CPATH environemtn vairable to the paths you would like to search (its form is exactly like that of PATH). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.2-STABLE / Gnome / Beryl (recipe)
Written by Eduardo Viruena Silva on 06/22/07 19:05>> I have to thank to Reid Linnemann from the freebsd-questions list, for suggesting me compile 6.2-STABLE, and to Jose Luis Enriquez, for helping me to configure X. Hope it helps. Cheers, Eduardo. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Glad you got it working. I'm running Beryl on my workstation with an intel i865G. I've notice sometimes I run into shm starvation, either causing apps like firefox to fail to run or beryl to paint windows with empty textures. If you run in to this, try increasing the sysctl kern.ipc.shmall. I doubled the default value of 8192 (I think this is in bytes) to 16384 and I've not hit any more problems. I've noticed GLX performance on the intel to be fabulous, using NVIDIA I currently get atrocious frame rates (sub-frame-per-second) on glxgears. I haven't tested on an ATI chip yet. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: samba config problems
Written by Andrew Falanga on 06/14/07 11:51>> On 6/14/07, Reid Linnemann <[EMAIL PROTECTED]> wrote: Don't forget to cc: freebsd-questions@freebsd.org Once again I apologize to the forum. I keep forgetting to do this. The rc script at /usr/local/etc/rc.d/samba follows the FreeBSD rcng scheme, if the rcvar 'samba_enable' is not set to 'yes', then the script will not start or stop the samba process. Run the script without any commands to see usage. To check the status of rcvars that control the script's behavior, run the script with the 'rcvar' argument; e.g. ~/> /usr/local/etc/rc.d/samba rcvar # samba $samba_enable=YES # nmbd $nmbd_enable=YES # smbd $smbd_enable=YES # winbindd $winbindd_enable=NO Note that nothign is stopping you from running smbd and nmbd manually, the rc control script simply automates the control of the daemon for you. Ah, thank you. Very enlightening. I guess I'll have to read through that section of the Handbook to make sure I understand how all that works together. I finally did get it working by starting the smbd "manually." Thanks, Andy Hint: take a look at the rc(8) manpage. There's a good section on the behavior of the /etc/rc.d scripts, which is being adopted by the rc scripts for many ports. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"