Re: Start dhcpd on boot
Chris Hill wrote: I installed net/isc-dhcp3-server from ports, butI can't seem to persuade it to start when the machine boots. After boot I can do a # /usr/local/etc/rc.d/isc-dhcpd.sh start ...and the daemon runs and works, but I would like for it to start automatically on boot, with no manual intervention. Any thoughts on how to do this? In /etc/rc.conf I have dhcpd_enable=YES # Run the DHCP daemon... dhcpd_ifaces=rl1 # ...on this interface... dhcpd_flags=-q# ...in quiet mode. Remove -q, this has only effect on startup that it won't display any messages - and that may just be why you don't see the error message you need to solve the problem. Also, no need to specify interfaces, dhcpd will bind to the interfaces that match the network declarations in the config file. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LDAP Thunderbird and security (OFF)
Nagy László írta: Hello, I would like to create an LDAP server, for storing address book information for Thunderbird. E-mail clients will be connecting remotely with IMAPS (over the internet). Is there a secure way to do this? I know that samba can create an LDAP server but it is not secure, is it? I also know that I could create a VPN connection, but for my users, this is too difficult to setup. :-) Do you know a solution, definitely for FreeBSD, that is relatively easy to setup on the client side, and secure? I could setup openldap, and my thunderbird can connect to it. But I cannot add persons to that address book. I also asked this on the openldap mailing list, but I had no answer since two days. I read somewhere that Thunderbird requires a special schema to be present on the LDAP server. Anybody out there who could use openldap with thinderbird? Thanks, Laszlo p.s.: Sorry to be offtopic, nobody helped on the openldap list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Alt Gr key troubles in FreeBSD
Hi I'm sorry for the late reply but i thought i had sent you an e-mail when actually i had not. I tried all the things you mentioned and i discovered that the problem can easily be reproduced in any application. It's simply a matter of me not letting go of the shift key fast enough. I reproduce it by typing any number of characters in caps with the shift key down and then directly switching to pressing the alt gr key and hitting the 8 character for example in order to produce the [ character on Swedish keyboards. This is when the output becomes silent and nothing happens. I tried on a co-workers computer which runs Windows and it's the same on that system. It's been a while since i properly used the Windows system so i had forgotten that it was like that there to. No reply is required to this thread as i have found out that this is just the way the driver works on both FreeBSD and Windows systems. So i have my answers. Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Erik Nørgaard wrote: nocturnal wrote: Well i usually use vim and it's hard to know if it happens in other applications, because i use vim so much compared to the other applications and also because i mostly write those characters in vim. I do use FreeBSD at home to and i can't remember any problems from writing e-mails or chatting on irc. I use rxvt for all my terminal applications. Of course this could simply mean i don't use those characters much in those applications. I used to use nedit, before vim, and i am sure i had the same problem in nedit. Well, could you to narrow in on the problem try and test these things? 0th: Tell us your keyboard settings in XF86Config (model and layout) 1st: List the characters that you have problem with - obviously you need a computer that doesn't suffer this problem :) 2nd: Try to type all these characters with the correct key-combinations, - In the console - In xterm - In vi (not vim) - In xemacs/emacs - In firefox or thunderbird - any place you can type Then maybe someone can point you closer to the solution. Cheers, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.1-RELEASE-i386 man broken?
On 2006-07-14 (Fri) 06:55:28 [+], Matthew Seaman wrote: J wrote: ... FreeBSD, recently, as my transported Linux bash configs contained MANPATH=$MANPATH:/custom/manpath. What I never figured out was the rationale for this. Anyone mind me asking what's wrong with MANPATH or why manpath.config is exclusively favored? For instance, while I have a /usr/lib/man.conf on my Linux system and can set the default manpath there, man happily coexists with any MANPATH. How does one add a custom manpath without root privileges? Etc. Just curious; thanks. The manpath(1) program is designed to provide standard system-wide operation of the man(1) command. It covers all of the places the ports system will put manpages and all of the system manpages. That is generally sufficient for most sites. If you have a customised directory layout and start putting man pages in unusual places, then you've got two choices. If these oddly located man pages are for general consumption, then add the appropriate info to /etc/manpath.config -- by editing that one file you will make those manpages visible immediately to all users on the system. Otherwise if you have your own private stache of manpages you should set MANPATH in your shell initialization scripts. However, you should not assume that MANPATH is already set so that you can just append to it. To get the best of both worlds, set your local $MANPATH based on the output of manpath(1). For Bourne-type shells, something like: MANPATH=${MANPATH:-$(manpath)}:/foo/bar/man:/baz/quux/man export MANPATH Or to ignore any previous setting of MANPATH in the environment: MANPATH=$( unset MANPATH ; manpath ):/foo/bar/man:/baz/quux/man export MANPATH csh equivalents are left as an exercise for the student. Thanks for your time and reply. I'm afraid I'm still failing to see the special advantage in the 'MANPATH-produces-warning' method, but I suppose it's a 'when in Rome'. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Blank screen after existing X windows
I just installed FreeBSD 6.1 on my Thinkpad T23 (one of my first times using FreeBSD) and after wrestling my self through configuring X I'm having the following problem: X starts correctly and opens KDE but when I log it out it just shows a blank screen. I can blindly type shutdown -p now or startx (which starts X again normally. The only way for me to shutdown X without facing the blank screen appears to be by using CTRL-F1 and pressing CTRL+C Please let me know if you need any configuration files or logs etc. Thanks in advance, Martin Miedema. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Alt Gr key troubles in FreeBSD
nocturnal wrote: I tried all the things you mentioned and i discovered that the problem can easily be reproduced in any application. It's simply a matter of me not letting go of the shift key fast enough. I reproduce it by typing any number of characters in caps with the shift key down and then directly switching to pressing the alt gr key and hitting the 8 character for example in order to produce the [ character on Swedish keyboards. This is when the output becomes silent and nothing happens. I don't think this is a bug, but rather a feature: Some characters become available with the combination of Alt-Gr+shift, for example if you don't have a spanish keyboard, you can produce a '¿' with Alt-Gr+'?' but to get the '?' you may have to use shift as well. Same ting with '¡' and you will find that Alt-Gr+a produces a 'ª' while Alt-Gr+shift+a produces a 'º' ... IIRC. That output becomes silent is simply a result of no character being located at the Alt-Gr+shift position on that key. The only characters (I know) I haven't figured out how to type on my danish keyboard are ç (French, Portuguese ...) and · (Catalan). So if someone complains, then just say that it's because they have the Babelfish keyboard layout :) Anyway, I think that this behaviour may date back to old style keyboards where the Alt-Gr was a compose character and to avoid you having to press the fourth key with your nose, you could let go of the others. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blank screen after existing X windows
On 7/17/06, Martin Miedema [EMAIL PROTECTED] wrote: I just installed FreeBSD 6.1 on my Thinkpad T23 (one of my first times using FreeBSD) and after wrestling my self through configuring X I'm having the following problem: X starts correctly and opens KDE but when I log it out it just shows a blank screen. I can blindly type shutdown -p now or startx (which starts X again normally. The only way for me to shutdown X without facing the blank screen appears to be by using CTRL-F1 and pressing CTRL+C Please let me know if you need any configuration files or logs etc. Thanks in advance, Martin Miedema. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You might want to post the end of your xorg log file as of the error (go to a non-x console after logging out of X but before restarting it, grab the last full entry) I had this issue before, it was caused by not having X setup right (I think I loaded a module it didn't like or had the driver settings slightly off), either way, making the config file slightly more conservative with the driver fixed it. I can't remember what I did, but the xorg.conf file made the error pretty obvious. -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blank screen after existing X windows
Jim Stapleton wrote: On 7/17/06, Martin Miedema [EMAIL PROTECTED] wrote: I just installed FreeBSD 6.1 on my Thinkpad T23 (one of my first times using FreeBSD) and after wrestling my self through configuring X I'm having the following problem: X starts correctly and opens KDE but when I log it out it just shows a blank screen. I can blindly type shutdown -p now or startx (which starts X again normally. The only way for me to shutdown X without facing the blank screen appears to be by using CTRL-F1 and pressing CTRL+C Please let me know if you need any configuration files or logs etc. Thanks in advance, Martin Miedema. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You might want to post the end of your xorg log file as of the error (go to a non-x console after logging out of X but before restarting it, grab the last full entry) I had this issue before, it was caused by not having X setup right (I think I loaded a module it didn't like or had the driver settings slightly off), either way, making the config file slightly more conservative with the driver fixed it. I can't remember what I did, but the xorg.conf file made the error pretty obvious. -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have uploaded my Xorg.0.log / Xorg.0.log.old and xorg.conf in a zip file which is available at: http://cyberswordshideout.tk/bsdstuff.zip Thanks, Martin. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB and 6.1-RELEASE
Micah wrote: Rich Demanowski wrote: scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, umass, ums, ural, urio and uscanner are all enabled in the running kernel's /usr/src/sys/i386/conf config file. usbd is not running. When I try to start usbd I get the following: No USB host controllers found. There are no usb* devices listed in /dev. in dmesg I get the following with regard to ohci0 and ehci0: ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 at device 11.0 on pci0 pcib0: unable to route slot 11 INTA ohci0: Could not allocate irq device_attach: ohci0 attach returned 6 ehci0: EHCI (generic) USB 2.0 controller mem 0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0 pcib0: unable to route slot 11 INTB ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 When I plug the drive into any of the USB ports on the system, nothing happens in dmesg or /var/log/messages. camcontrol devlist lists no devices. I'm a bit confused as to why my USB keyboard and mouse function, but my thumb drive will not. It's likely that your BIOS has legacy support enabled in which case, as far as FreeBSD is concerned, you actually have a regular keyboard and mouse. That would explain why the mouse and keyboard work while other USB items do not. From the messages you gave, it's clear that FreeBSB is unable to connect to the USB controller. Disabling legacy support in the BIOS may help. Otherwise check your BIOS for other USB related settings and try changing those. Indeed, legacy support is enabled (actually auto was the setting in the BIOS). When I disable it, the keyboard and mouse cease functioning, as well. That was the only setting I could find in the BIOS related to USB. I suppose that means the on-board USB controller is one not supported by existing drivers? Or at least ones not listed in the GENERIC config on which I based my kernel (all I added was the ath drivers for my wireless)? I don't know which chipset it is, but my guess is, since the on-board video and LAN is an nVidia chipset, that the USB controller probably is, as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need help with getting transparent proxy working across WAN
I have a FreeBSD transparent proxy working on local lan. Where the workstation's NIC has its gateway set to the proxy server's internal ip address. Everything works fine. Problem is when I move my workstation from the local lan where the proxy server resides, on to the 10.4.0.0 network, this is across a WAN link, Transparent proxy stops working it appears no web traffic is getting to the proxy, and I'm not able to get to ant web site. I am able to ping the proxy server, and use the proxy if I utilize a pac file, and drop the IPFW rules. I should also note that I have transparent proxy running under Debian using iptables, across the WAN link, but want to move to FreeBSD. So I feel my routers are setup correctly. I suspect the problem is with my IPFW rules or NAT configuration but I'm not sure. FreeBSD 6.1 Kernel was recompiled with: options IPFIREWALL options IPFIREWALL_FORWARD options IPFIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT RC.CONF contains gateway_enable=YES ifconfig_xl0=inet x.x.x.x. netmask 255.255.255.0 ifconfig_xl1=inet x.x.x.x netmask 255.255.255.0 firewall_enable=YES firewall_type=OPEN natd_enable=YES natd_interface=xl1 natd_flags= CISCO router has the following configured access-list 199 permit tcp 10.4.0.0 0.0.255.255 any eq www access-list 199 deny ip any any route-map redirect-proxy permit 10 match ip address 199 set ip next-hop proxy server internal ip My IPFW rules: ipfw -q flush ipfw add divert natd all from not me to any via outside interface ipfw add fwd 127.0.0.1:8000 tcp from any to any 80 squid complied with SQUID_CONFIGURE_ARGS+=--enable-pf-transparent SQUID.CONF httpd_accel_host virtual httpd_accel_port 0 httpd_accel_with_proxy on httpd_accel_uses_host_header on header_access Via deny all header_access X-Forwarded-For deny all Thank you for taking the time to look. Any advice or troubleshooting tips are welcome. _ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
debug on booting
Hi, I would like to debug while booting freebsd. I tried couple of options but its not getting into gdb mode while booting. copied /boot/default/loader.conf to /boot/loader.conf in /boot/loader.conf, enabled boot_ddb=-d boot_gdb=-g If these are not the right options.. rather right way, kindly let me know how to go about it ? I basically want to check memory allocation behavior while booting. Thanks in advance Sudheer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: swiN: clock sio process taking 75% CPU
I wrote: About 6 minutes after booting (on two occasions; I don't guarantee that this doesn't vary), a process that appears in the output of ps as [swi4: clock sio] begins to use about 3/4 of the machine's CPU. I think it does so more or less instantaneously. It continues to do so indefinitely, so far as I can tell. [etc] No ideas? I'm willing to help track this down, and the machine in question is sufficiently little used that I can do so without gross inconvenience; but I don't have enough FreeBSD kernel expertise to feel like diving in blind. * A little more information, in case it's useful to anyone: | $ echo; sysctl debug | egrep to_ | debug.to_avg_mpcalls: 2890 | debug.to_avg_mtxcalls: 0 | debug.to_avg_gcalls: 768 | debug.to_avg_depth: 3815 That's with HZ = 100. Here are some numbers from a message in freebsd-ia64, from Marcel Moolenaar, in 2004-07, to someone seeing symptoms like mine. They're meant to be typical healthy numbers. Mine above look somewhat worse, but not insanely so; surely not enough to explain the difference between using 0.3% cpu and using 75%. Marcel also had HZ=100. | % sysctl debug | grep to_avg | debug.to_avg_depth: 2500 | debug.to_avg_gcalls: 1003 | debug.to_avg_mpcalls: 1255 * It would be a shame if the only conclusion to be drawn from this were sometimes a machine running FreeBSD is just 4x slower than it should be, and no one knows why. -- g ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SOLVED - Firefox + video.google.com (was Re: firefox with flash and java!)
On Thu, 25 May 2006 00:01:53 +1000 Norberto Meijome [EMAIL PROTECTED] wrote: From: Norberto Meijome [EMAIL PROTECTED] To: Marwan Sultan [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: Re: firefox with flash and java! Date: Thu, 25 May 2006 00:01:53 +1000 Sender: [EMAIL PROTECTED] X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd6.1) On Wed, 24 May 2006 13:33:33 + Marwan Sultan [EMAIL PROTECTED] wrote: Hello Beto, Thank you again, for the quick replay, the last step has been done as root, but the error presented. after searching freebsd list i found the follow to command insted. cd /usr/src patch rtld_dlsym_hack.diff cd libexec/rtld-elf/ make cleanmake objmake depend make make install and after reboot it was perfect. ha! yes, probably you had to do this to refresh the library if it was already in memory (init 1, enter, ctrl-d would have been faster though) I'v tested few sites and flash is working great, one of the sites, if you click on the flash ads that they have, it will open externel popup flash window for you to run a flash video clip on it, this one didnot work, I think it needs external flash player to run such thing is it correct? do you recommend any? dont click on the ads? ;) not sure - i never actually had the need for that an 'external popup flash window' would be, in most cases, a browser window , so you should be covered here. Maybe it's a video.google flash? (or something using the *same* tech so it also fails? I've found a few that die... but the ones @ flash.com all worked fine. For the archives: replacing www/firefox for www/linux-firefox package solved the video.google.com problem :) No idea why, it just works. B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Start dhcpd on boot
Chris Hill [EMAIL PROTECTED] writes: On Sun, 16 Jul 2006, Lowell Gilbert wrote: Chris Hill [EMAIL PROTECTED] writes: Again, the issue is *not* that dhcpd doesn't work - IT WORKS PERFECTLY. The issue is that the daemon doesn't start when the machine boots. Can you use the startup script to start it by hand? Yes. As I said in the original post, After boot I can do a # /usr/local/etc/rc.d/isc-dhcpd.sh start ...and the daemon runs and works Oops. Sorry I missed that. Well, it almost *has* to be something small and silly, then. What you have configured is almost exactly the same as what works for me. My settings come directly out of the pkg-message for the port, and are: # ### recommended settings for running isc-dhcpd dhcpd_enable=YES dhcpd_flags=-q# command option(s) dhcpd_conf=/usr/local/etc/dhcpd.conf # configuration file dhcpd_ifaces=vr0 # ethernet interface(s) dhcpd_withumask=022 # file creation mask Assuming that other scripts from that directory are starting properly, my next step would be to inject debugging output into the script and look at what actually gets printed to the console at boot. If you haven't looked at the existing console output already, that may have some messages that didn't go into any log files. Good luck, and sorry I can't be more helpful. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
defining dependencies for ports
Message: 5 Date: Sun, 16 Jul 2006 23:00:40 -0500 From: mike [EMAIL PROTECTED] Subject: defining dependencies for ports To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hello. I'm brand new to FreeBSD. I'm mostly enjoying it so far. I'm playing with installing the Eclipse IDE port right now. I say playing with because I started to install it and saw the list of dependencies and shuddered. I like to keep my system relatively clean and tend to start a new install of Linux (and now BSD) as bare bones and add only what I need. So I'm building Eclipse, and one of the things it wants to include is python . Seems odd for my java ide to need python, so I look it up on the web tool that shows all the dependencies for a port (which is a fantastic tool, by the way). And python is included because glade is included, and glade seems to be a top-level dependency. However, nowhere can I find in the Makefile any reference to Glade, nor to the many other top-level dependencies. How do I find out these things and once I find them, how do I change them so I don't include? (Mozilla is another example, but this one I actually see in the Makefile for the Eclipse port. However, make config and make configure don't ask me if I want mozilla -- I use firefox). This applies generally. I installed other ports too that had odd dependencies (like including perl because of some helper scripts that aren't even required to be run). Is there a command I'm missing that let's me configure these things? On a side note, is the name pretty-print-build-depends-list designed to keep me from running the command? ;-) And after typing all that, the output wasn't really even pretty. thanks for any tips. Sorry if this is a dumb question, I've been using FreeBSD only two days now. Currently I run slackware. mike Mike, Have a look at this link and see how your ports don't have to be difficult: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html Look for other stuff Dru's written about as well - good stuff. Install the port you want and all the dependancies will sort themselves out: e.g. # cd /usr/ports//www/firefox/ # make install clean Sorted! You are aware that there exists 1. ports = source = must be compiled = make install (as above) 2. packages = executable packages = precompiled = pkgadd -r . . . So unless you're running a custom kernel, there's no advantage of ports over packages. Good luck, Owen ___ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: swiN: clock sio process taking 75% CPU
Can I suggest that if you get no replies on questions@ that you try hackers@ (you may need to subscribe to post, not sure). What's going on here is not normal so even someone with tons of FreeBSD experience may never have seen something like this. I know I never have. Most posters here are not kernel hackers. It would be a shame if the only conclusion to be drawn from this were sometimes a machine running FreeBSD is just 4x slower than it should be, and no one knows why. Well, if you could only find one somewhat relevant topic with google, then sometimes would be almost never. I appreciate that you are frustrated because it *is* happening to you, but your problem is not a common one so may take more than a post on questions to resolve. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defining dependencies for ports
Owen G wrote: You are aware that there exists 1. ports = source = must be compiled = make install (as above) 2. packages = executable packages = precompiled = pkgadd -r . . . Whilst your description of ports and packages is correct... So unless you're running a custom kernel, there's no advantage of ports over packages. ...this is not. Ports are useful : 1) For any package with multiple compile-time options (e.g. apache) where *you* want to choose those options rather than be stuck with the ones the *package* was compiled with (c.f. Linux rpms) 2) If you want to be as up-to-date as possible - packages take time to pre-compile and can lag the ports tree a little 3) If require the source code (for maintaining local patches; because another port or some other local software needs it) I'm not aware that a custom kernel has any relevance whatsoever. Perhaps you meant unless you have used some cpu-specific compile flag in make.conf but I don't think even that would make a difference. Also, ports and packages are managed much more easily with a tool like portupgrade or portmanager. I prefer the former because it has never core-dumped on me, and feels more robust and well maintained. If you have multiple machines you keep in sync, then portupgrade -p or pkg_create -b can be used to create local packages with *your* compile-time options that other local machines can use. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: swiN: clock sio process taking 75% CPU
Can I suggest that if you get no replies on questions@ that you try hackers@ (you may need to subscribe to post, not sure). What's going on here is not normal so even someone with tons of FreeBSD experience may never have seen something like this. I know I never have. Most posters here are not kernel hackers. That's a fair comment. I tried -stable too; I'm fairly sure some people there *are* kernel hackers; but -hackers is probably not a bad place to look for deeper wizardry. It would be a shame if the only conclusion to be drawn from this were sometimes a machine running FreeBSD is just 4x slower than it should be, and no one knows why. Well, if you could only find one somewhat relevant topic with google, then sometimes would be almost never. I appreciate that you are frustrated because it *is* happening to you, but your problem is not a common one so may take more than a post on questions to resolve. I found quite a lot of relevant messages. In every case what happened was that someone posted saying I've got this weird thing where X% of my CPU time is being taken up by this clock sio thing and they got no responses other than from other people saying yup, that's strange. (Sometimes there was something else they were also concerned about, and they got responses to that bit.) A few examples found by googling for clock sio site:lists.freebsd.org follow; most appear to have been asked only on -stable, and it was because this seems to have been an unsuccessful strategy that I tried -questions too. :-) http://lists.freebsd.org/pipermail/freebsd-stable/2006-April/024793.html (16%; old system with modems attached, which were also giving problems; the latter was resolved, kinda, but it's not clear that the former was) http://lists.freebsd.org/pipermail/freebsd-stable/2006-July/026873.html (not clear how much CPU; his concern was something else that was triggered by this, and he had another kernel thread being silly too; no resolution) http://lists.freebsd.org/pipermail/freebsd-stable/2004-December/010673.html (not certain that this is the same problem, but it sure looks like it; no reply to his message) http://lists.freebsd.org/pipermail/freebsd-stable/2004-November/009489.html (24% on one machine, 8% on another; no reply) http://lists.freebsd.org/pipermail/freebsd-current/2005-March/047218.html (18% but drops when a real task begins; may not be the same problem; this is under MS Virtual Server; only suggestion was to reduce HZ, which didn't solve the problem; no further replies) However, I've not seen any sign that other people have had *as much* CPU wasted this way as I have. -- g ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[Fwd: Poster Promotion]
they're having this promotion where you can get an 18 x 24 poster printed from your own files at zero cost and you don't pay for shipping either. these are THE poster guys. you can get 50 color 18 x 24 posters for like $175. thought you might be interested :) its at http://www.xeikonprints.com -Jenny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LinkLib Issues In freebsd Lazarus
In [EMAIL PROTECTED], Bob [EMAIL PROTECTED] typed: I'd say this is a mistake. You should probably install the fpc port in /usr/ports/lang/fpc. There may be reasons to install your own version instead of a port, but you haven't presented any. As per the Lazarus docs/INSTALL, compiling Lazarus requires the FPC source tree, A binary install of FPC won't do. It's *really* unusual for a port to install a binary tarball if the source is available. Most ports that install binaries are for commercial products for which source isn't available. Again, you should probably have used the ports version, in editors/fpc-ide. That's the text-mode IDE, not the GUI one, called Lazarus. That port doesn't say very much about what it is, other than it's an fpc-ide. Sorry for the mistake. So, all that is needed is to apply the patches I mentioned in my OP, get the proper gdk-pixbuf installed from ports, and it is as good as gold. Now, how can I create a port for Lazarus, now that I have it compiled and running? You'll probably want to start by creating an fpc port that builds from source. A lazarus port could fetch the source files itself and use them, but if I were using them, I'd like to know that the fpc I was using was built from the sources the ide used. A port is basically a Makefile plus at least some text files. The ports tree includes a lot of make machinery to fetch/extract/patch/build/etc. based on that. See the porters handbook at URL: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html for details. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LDAP Thunderbird and security (OFF)
On 7/17/06, Nagy László Zsolt [EMAIL PROTECTED] wrote: Nagy László írta: Hello, I would like to create an LDAP server, for storing address book information for Thunderbird. ... Do you know a solution, definitely for FreeBSD, that is relatively easy to setup on the client side, and secure? I could setup openldap, and my thunderbird can connect to it. But I cannot add persons to that address book. I also asked this on the openldap mailing list, but I had no answer since two days. I read somewhere that Thunderbird requires a special schema to be present on the LDAP server. Anybody out there who could use openldap with thinderbird? First, OpenLDAP isn't easy to set up; but it's worth the trouble. You should probably move this to the openldap list, or the thunderbird list, since it really has nothing to do with FreeBSD. I have Thurderbird reading my directory, but I haven't worked on getting Thunderbird to write to an LDAP directory. You need to set up your LDAP with TLS and the proper ACLs; and depending on your situation you may want a seperate ou for the address book. Maybe even a seperate ou for each user (ouch). No special schema required, it should read the standard mail, phone, etc attributes. Check the LDAP RFCs for a complete list. -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defining dependencies for ports
Alex Zbyslaw wrote: Owen G wrote: You are aware that there exists 1. ports = source = must be compiled = make install (as above) 2. packages = executable packages = precompiled = pkgadd -r . . . Whilst your description of ports and packages is correct... So unless you're running a custom kernel, there's no advantage of ports over packages. ...this is not. Ports are useful : 1) For any package with multiple compile-time options (e.g. apache) where *you* want to choose those options rather than be stuck with the ones the *package* was compiled with (c.f. Linux rpms) 2) If you want to be as up-to-date as possible - packages take time to pre-compile and can lag the ports tree a little 3) If require the source code (for maintaining local patches; because another port or some other local software needs it) I'm not aware that a custom kernel has any relevance whatsoever. Perhaps you meant unless you have used some cpu-specific compile flag in make.conf but I don't think even that would make a difference. Also, ports and packages are managed much more easily with a tool like portupgrade or portmanager. I prefer the former because it has never core-dumped on me, and feels more robust and well maintained. If you have multiple machines you keep in sync, then portupgrade -p or pkg_create -b can be used to create local packages with *your* compile-time options that other local machines can use. --Alex Thanks for the responses. This is /exactly/ why I'm using ports instead of packages, because I want to have things compiled with my options. However, the reason for my original post was that I'm having a hard time customizing this, for java/Eclipse specifically. I try make config but it doesn't show anything. So how do I go about cutting out or changing some of the dependencies that I don't want if there are no OPTIONS defined? And I can't find where these dependencies are even defined in this case. I grep everything in /usr/ports/java/eclipse and don't see references to most of the dependencies. Where are they defined if not in the BUILD_DEPENDS, etc. variables of the Makefile? thanks again. I'm learning a lot in this process. mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defining dependencies for ports
mike wrote: Thanks for the responses. This is /exactly/ why I'm using ports instead of packages, because I want to have things compiled with my options. However, the reason for my original post was that I'm having a hard time customizing this, for java/Eclipse specifically. I try make config but it doesn't show anything. So how do I go about cutting out or changing some of the dependencies that I don't want if there are no OPTIONS defined? And I can't find where these dependencies are even defined in this case. I grep everything in /usr/ports/java/eclipse and don't see references to most of the dependencies. Where are they defined if not in the BUILD_DEPENDS, etc. variables of the Makefile? What options you get for any port do depend on what the maintainer chose to put in. If there is some option that eclipse itself has, but the port does not, then contacting the maintainer is where I might start. Looking thought the eclipse Makefile you see things like: .if defined(WITH_MOTIF) or .if !defined(WITHOUT_MOZILLA) which tell you what is going to be looked for when the port is compiled. Is that what you meant by dependencies? So if using plain make you say something like make WITH_MOTIF=1 or make WITHOUT_MOZILLA=1. Using portupgrade, you can add these to the MAKE_ARGS for java/eclipse in pkgtools.conf and have them used automatically every time you recompile. Or there is BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant \ zip:${PORTSDIR}/archivers/zip but usually they are not optional for a reason! What, specifically, were you trying to do? Not every port supports make config unfortunately. I haven't done enough port hacking to know how easy it is to add this to any port, but can't believe it's that hard - of course, hard depends on your experience! Comparing to a port which *does* support make config (mozilla, samba3, portupgrade) may help you do it for yourself; the Porters Handbook on the website may also have helpful info. hth, --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defining dependencies for ports
- Original Message From: Alex Zbyslaw [EMAIL PROTECTED] To: mike [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Monday, July 17, 2006 11:19:15 AM Subject: Re: defining dependencies for ports mike wrote: Thanks for the responses. This is /exactly/ why I'm using ports instead of packages, because I want to have things compiled with my options. However, the reason for my original post was that I'm having a hard time customizing this, for java/Eclipse specifically. I try make config but it doesn't show anything. So how do I go about cutting out or changing some of the dependencies that I don't want if there are no OPTIONS defined? And I can't find where these dependencies are even defined in this case. I grep everything in /usr/ports/java/eclipse and don't see references to most of the dependencies. Where are they defined if not in the BUILD_DEPENDS, etc. variables of the Makefile? What options you get for any port do depend on what the maintainer chose to put in. If there is some option that eclipse itself has, but the port does not, then contacting the maintainer is where I might start. Looking thought the eclipse Makefile you see things like: .if defined(WITH_MOTIF) or .if !defined(WITHOUT_MOZILLA) which tell you what is going to be looked for when the port is compiled. Is that what you meant by dependencies? So if using plain make you say something like make WITH_MOTIF=1 or make WITHOUT_MOZILLA=1. Using portupgrade, you can add these to the MAKE_ARGS for java/eclipse in pkgtools.conf and have them used automatically every time you recompile. Or there is BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant \ zip:${PORTSDIR}/archivers/zip but usually they are not optional for a reason! What, specifically, were you trying to do? Not every port supports make config unfortunately. I haven't done enough port hacking to know how easy it is to add this to any port, but can't believe it's that hard - of course, hard depends on your experience! Comparing to a port which *does* support make config (mozilla, samba3, portupgrade) may help you do it for yourself; the Porters Handbook on the website may also have helpful info. hth, --Alex Yes, that helps. I did find the zip and ant dependencies. When I had looked at the dependency tree on the web, there were a lot of others, such as glade which then requires python. I didn't want glade or python, so I was kind of curious where this dependency was listed if not explicit in the Makefile. I guess my question was more just in general than specifically for the Eclipse package. From what you said, it sounds like it all just depends on how the port was written by the owner, if things are considered an option you can change or not. Thanks for taking the time to actually go and look at the Makefile for this, that was above and beyond. mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defining dependencies for ports
mike wrote: Alex Zbyslaw wrote: Owen G wrote: You are aware that there exists 1. ports = source = must be compiled = make install (as above) 2. packages = executable packages = precompiled = pkgadd -r . . . Whilst your description of ports and packages is correct... So unless you're running a custom kernel, there's no advantage of ports over packages. ...this is not. Ports are useful : 1) For any package with multiple compile-time options (e.g. apache) where *you* want to choose those options rather than be stuck with the ones the *package* was compiled with (c.f. Linux rpms) 2) If you want to be as up-to-date as possible - packages take time to pre-compile and can lag the ports tree a little 3) If require the source code (for maintaining local patches; because another port or some other local software needs it) I'm not aware that a custom kernel has any relevance whatsoever. Perhaps you meant unless you have used some cpu-specific compile flag in make.conf but I don't think even that would make a difference. Also, ports and packages are managed much more easily with a tool like portupgrade or portmanager. I prefer the former because it has never core-dumped on me, and feels more robust and well maintained. If you have multiple machines you keep in sync, then portupgrade -p or pkg_create -b can be used to create local packages with *your* compile-time options that other local machines can use. --Alex Thanks for the responses. This is /exactly/ why I'm using ports instead of packages, because I want to have things compiled with my options. However, the reason for my original post was that I'm having a hard time customizing this, for java/Eclipse specifically. I try make config but it doesn't show anything. So how do I go about cutting out or changing some of the dependencies that I don't want if there are no OPTIONS defined? And I can't find where these dependencies are even defined in this case. I grep everything in /usr/ports/java/eclipse and don't see references to most of the dependencies. Where are they defined if not in the BUILD_DEPENDS, etc. variables of the Makefile? thanks again. I'm learning a lot in this process. Check out the java/eclipse Makefile. It has build options in it that are configurable. You can do that either by entering them on the command line, or by placing them in the /etc/make.conf file like this: # java/eclipse section .if $(.CURDIR:M*/java/eclipse) # Your options are placed here. # I usually place them one per line for easier reading .endif I like the /etc/make.conf option myself since I do not have to remember to enter the options if I update the port. Also, both portupgrade and portmanager will honor any instructions in the /etc/make.conf file. Unlike Mike, I prefer 'portmanager' since it seems to do a more through update of a ports dependencies, etc., but that is just my opinion. Ciao -- Gerard Seibert [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blank screen after existing X windows
On 7/17/06, Martin Miedema [EMAIL PROTECTED] wrote: Jim Stapleton wrote: On 7/17/06, Martin Miedema [EMAIL PROTECTED] wrote: I just installed FreeBSD 6.1 on my Thinkpad T23 (one of my first times using FreeBSD) and after wrestling my self through configuring X I'm having the following problem: X starts correctly and opens KDE but when I log it out it just shows a blank screen. I can blindly type shutdown -p now or startx (which starts X again normally. The only way for me to shutdown X without facing the blank screen appears to be by using CTRL-F1 and pressing CTRL+C Please let me know if you need any configuration files or logs etc. Thanks in advance, Martin Miedema. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You might want to post the end of your xorg log file as of the error (go to a non-x console after logging out of X but before restarting it, grab the last full entry) I had this issue before, it was caused by not having X setup right (I think I loaded a module it didn't like or had the driver settings slightly off), either way, making the config file slightly more conservative with the driver fixed it. I can't remember what I did, but the xorg.conf file made the error pretty obvious. -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have uploaded my Xorg.0.log / Xorg.0.log.old and xorg.conf in a zip file which is available at: http://cyberswordshideout.tk/bsdstuff.zip Thanks, Martin. Please put the file in the mail to the newsgroup, or if you really don't want to put it here, host the plain-text, and not in an archive. Thanks, -Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
User crontab file dosent run...?
Hi people. Im testing how to run scripts from cron using the crontab program, the handbook say tha each user need to have a crontab file if they want to run some process with the cron program: user-x$ crontab -e SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin MAILTO=root */1 * * * * user-x /bin/echo Testing went the user finish and save the file the system say: /tmp/crontab.JIh2pM4Ey5 5 lines, 120 characters crontab: installing new crontab Them i use the flag -l to see that user crontab file: root# crontab -l -u user-x SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin MAILTO=root */1 * * * * user-x /bin/echo Testing Them the handbook say that the root user must add the user crontab file: root#crontab /var/cron/tabs/user-x_crontab_file But here the crontab add the crontab to user root, ok no problem just what to see this think works, but still dosent see any mail to root, them i run again the command but using the flag -u user-x: root#crontab -u user-x /var/cron/tabs/user-x_crontab_file My cron program is running, i stop and restart the cron daemon but still dont see any answer. I read some mails from this list but my system still dont run my test job. I forget something...? Thanks for your time. Running FreeBSD_5.4-p16. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LDAP Thunderbird and security (OFF)
First, OpenLDAP isn't easy to set up; but it's worth the trouble. You should probably move this to the openldap list, or the thunderbird list, since it really has nothing to do with FreeBSD. Yes, this is (OFF), see the subject. Unfortunately, the openldap mailing list is not active. I could hardly subscribe, and then nobody answered. I have Thurderbird reading my directory, but I haven't worked on getting Thunderbird to write to an LDAP directory. You need to set up your LDAP with TLS and the proper ACLs; and depending on your situation you may want a seperate ou for the address book. Maybe even a seperate ou for each user (ouch). No special schema required, it should read the standard mail, phone, etc attributes. Check the LDAP RFCs for a complete list. Well, after a day messing with these, I tried to find other solutions. Here is what I found: http://www.gargan.org/extensions/synckolab.html It is not perfect, because you need to press a button to synchronize. But it is easy to install, and it uses the already existing IMAP server. Thank you Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: User crontab file dosent run...?
On 2006-07-17 10:17, perikillo [EMAIL PROTECTED] wrote: Hi people. Im testing how to run scripts from cron using the crontab program, the handbook say tha each user need to have a crontab file if they want to run some process with the cron program: user-x$ crontab -e SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin MAILTO=root */1 * * * * user-x /bin/echo Testing The /etc/crontab file is *NOT* the same as the user crontab files. It has an extra field, at column 6, which specifies which user this entry will run as. In user crontabs, the sixth field is the command-name, as below: | $ crontab -l | PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/home/giorgos/bin | | # Email me calendar entries at 00:00 every day | @daily /usr/bin/calendar | | # Save backup copies of my Mercurial repositories in /g/repos | 0,10,20,30,40,50 * * * */home/giorgos/cron.d/repos-gker | | # Save backup copies of my Mercurial repositories in /g/repos | #3,13,23,33,43,53 * * * * /home/giorgos/cron.d/repos-bmi | | # Rotate all log files under `/home/giorgos/log', according to the | # options specified in the `/home/giorgos/log/newsyslog.conf' file. | #8,18,28,38,48,58 * * * * /home/giorgos/cron.d/logrotate | $ So, your user crontab entry tries to run a command called `user-x', which does not exist of course... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: User crontab file dosent run...?
In the last episode (Jul 17), perikillo said: Hi people. Im testing how to run scripts from cron using the crontab program, the handbook say tha each user need to have a crontab file if they want to run some process with the cron program: user-x$ crontab -e SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin MAILTO=root */1 * * * * user-x /bin/echo Testing User crontabs don't have a username column. Remove user-x from the above line and it should work. You should still have gotten an error message emailed to root, something like user-x: not found. Maybe looking at /var/log/cron will help. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.1-RELEASE-i386 man broken?
On Monday 17 July 2006 03:49, J wrote: On 2006-07-14 (Fri) 06:55:28 [+], Matthew Seaman wrote: J wrote: ... FreeBSD, recently, as my transported Linux bash configs contained MANPATH=$MANPATH:/custom/manpath. What I never figured out was the rationale for this. Anyone mind me asking what's wrong with MANPATH or why manpath.config is exclusively favored? For instance, while I have a /usr/lib/man.conf on my Linux system and can set the default manpath there, man happily coexists with any MANPATH. How does one add a custom manpath without root privileges? Etc. Just curious; thanks. The manpath(1) program is designed to provide standard system-wide operation of the man(1) command. It covers all of the places the ports system will put manpages and all of the system manpages. That is generally sufficient for most sites. If you have a customised directory layout and start putting man pages in unusual places, then you've got two choices. If these oddly located man pages are for general consumption, then add the appropriate info to /etc/manpath.config -- by editing that one file you will make those manpages visible immediately to all users on the system. Otherwise if you have your own private stache of manpages you should set MANPATH in your shell initialization scripts. However, you should not assume that MANPATH is already set so that you can just append to it. To get the best of both worlds, set your local $MANPATH based on the output of manpath(1). For Bourne-type shells, something like: MANPATH=${MANPATH:-$(manpath)}:/foo/bar/man:/baz/quux/man export MANPATH Or to ignore any previous setting of MANPATH in the environment: MANPATH=$( unset MANPATH ; manpath ):/foo/bar/man:/baz/quux/man export MANPATH csh equivalents are left as an exercise for the student. Thanks for your time and reply. I'm afraid I'm still failing to see the special advantage in the 'MANPATH-produces-warning' method, but I suppose it's a 'when in Rome'. :) ___ this one has me totally stumped. i have read and re-read this thread so many times hopeing that i missed some important clue. i have 2 6.1 systems, one STABLE, and one RELENG (actually, i have i have about 6 RELENG systems, and just 1 STABLE). the STABLE is exhibiting the: [EMAIL PROTECTED] ~]$ man man No manual entry for man ...behavior, but ive been thru checking all the configs, and i cant find whats different. i have the same .bashrc file on each one (just 3 alias and 1 console colors line, thats it.. no paths or other variables are changed). all my RELENG boxes will do man pages just fine. here is a brief comparison of the things suggested in this thread, between my STABLE and one of my RELENG's: [EMAIL PROTECTED] ~]$ cat /etc/manpath.config | egrep -v '^#' MANDATORY_MANPATH /usr/share/man MANDATORY_MANPATH /usr/share/openssl/man OPTIONAL_MANPATH/usr/local/man OPTIONAL_MANPATH/usr/X11R6/man MANPATH_MAP /bin/usr/share/man MANPATH_MAP /usr/bin/usr/share/man MANPATH_MAP /usr/local/bin /usr/local/man MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man OPTIONAL_MANPATH/usr/local/lib/perl5/5.8.8/man OPTIONAL_MANPATH/usr/local/lib/perl5/5.8.8/perl/man [EMAIL PROTECTED] ~]$ manpath /usr/share/man:/usr/local/man:/usr/X11R6/man:/usr/share/openssl/man:/usr/local/lib/perl5/5.8.8/man:/usr/local/lib/perl5/5.8.8/perl/man [EMAIL PROTECTED] ~]$ cat /etc/manpath.config | egrep -v '^#' MANDATORY_MANPATH /usr/share/man MANDATORY_MANPATH /usr/share/openssl/man OPTIONAL_MANPATH/usr/local/man OPTIONAL_MANPATH/usr/X11R6/man MANPATH_MAP /bin/usr/share/man MANPATH_MAP /usr/bin/usr/share/man MANPATH_MAP /usr/local/bin /usr/local/man MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man OPTIONAL_MANPATH/usr/local/lib/perl5/5.8.8/man OPTIONAL_MANPATH/usr/local/lib/perl5/5.8.8/perl/man [EMAIL PROTECTED] ~]$ manpath Warning: couldn't stat file /usr/X11R6/man! /usr/share/man:/usr/local/man:/usr/share/openssl/man:/usr/local/lib/perl5/5.8.8/man:/usr/local/lib/perl5/5.8.8/perl/man the RELENG appears to not be happy about the mans for x11, but other than that, all the manuals work on all my RELENG boxes, and my STABLE is the only one that does not. i throw my hands in the air... completely stumped. of course, all my RELENGs are servers, and my 1 STABLE box is my workstation (with KDE, and i dont exactly recall at what point i noticed that man pages were no longer working). if anyone has any advice to offer me, i would greatly appreciate it. thanks, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any
is my materiel ok ?
Here is my question in english : I'm Newbie in BSD. I've bought a server DELL SC1420 Xeon 2.8GHz with a controller card RAID CERC SATA six canal I want to know if this material is compatible with FreeBsd 6.1. J've not seen this material in the list of materiel compatible so i'm not sure. Could you help me ? Thanks in advance. Sébastien. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Connection of adapter USB-COM for mobile Siemens C55
Hello! I'm traying to connect GPRS via adapter USB-COM for mobile Siemens C55. But i don't know how to send a command to the adapter. FreeBSD6.0-RELEASE Make kernel with: #USB support device uhci device ochi device echi device usb device ugen device uhid device ucom device uplcom device umodem When connecting the adapter: ucom0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 2 But there is no /dev/ - ucom0 in the list. How to go to the adapter? When disconnection: ucom0: at uhub0 port 1 (addr 2) disconnected All thread purged from cuaU0 All thread purged from ttyU0 ucom0: detached - Sergey. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
radeon option agpmode 4 hangs system
After a long search and no solution in sight, I have to ask here - many people have reported this problem, the xorg developers deliberately default to agpmode 1x because they know it hangs unpredictably otherwise. The problem has been around for a few years now. Am I stuck with agp mode 1x for good? I'm sorry I brought a radeon in the first place. Pay for mobike but ride a bullock-cart! Googlers! Don't buy radeon folks! You've been warned! Rgrds PS: please cc me as I'm not subscribed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB and 6.1-RELEASE
Rich Demanowski wrote: Micah wrote: Rich Demanowski wrote: scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, umass, ums, ural, urio and uscanner are all enabled in the running kernel's /usr/src/sys/i386/conf config file. usbd is not running. When I try to start usbd I get the following: No USB host controllers found. There are no usb* devices listed in /dev. in dmesg I get the following with regard to ohci0 and ehci0: ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 at device 11.0 on pci0 pcib0: unable to route slot 11 INTA ohci0: Could not allocate irq device_attach: ohci0 attach returned 6 ehci0: EHCI (generic) USB 2.0 controller mem 0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0 pcib0: unable to route slot 11 INTB ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 When I plug the drive into any of the USB ports on the system, nothing happens in dmesg or /var/log/messages. camcontrol devlist lists no devices. I'm a bit confused as to why my USB keyboard and mouse function, but my thumb drive will not. It's likely that your BIOS has legacy support enabled in which case, as far as FreeBSD is concerned, you actually have a regular keyboard and mouse. That would explain why the mouse and keyboard work while other USB items do not. From the messages you gave, it's clear that FreeBSB is unable to connect to the USB controller. Disabling legacy support in the BIOS may help. Otherwise check your BIOS for other USB related settings and try changing those. Indeed, legacy support is enabled (actually auto was the setting in the BIOS). When I disable it, the keyboard and mouse cease functioning, as well. That was the only setting I could find in the BIOS related to USB. I suppose that means the on-board USB controller is one not supported by existing drivers? Or at least ones not listed in the GENERIC config on which I based my kernel (all I added was the ath drivers for my wireless)? I don't know which chipset it is, but my guess is, since the on-board video and LAN is an nVidia chipset, that the USB controller probably is, as well. Based on the error messages I think it's still worth trying some different settings. FeeeBSD seems to recognize the controller but it is unable to allocate the right resources to it. Check your BIOS for a PnP OS setting and toggle it. Also, try booting with ACPI disabled (or enabled) from the FreeBSD boot menu. IIRC, ACPI can have a hand in routing resources. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: radeon option agpmode 4 hangs system
Do you have the agp kernel module not loaded? In 6.x there are known problems with the agp kernel module which is compiled in by default. If you haven't tried removing it, try that. -Derek At 02:15 PM 7/17/2006, Gobbledegeek wrote: After a long search and no solution in sight, I have to ask here - many people have reported this problem, the xorg developers deliberately default to agpmode 1x because they know it hangs unpredictably otherwise. The problem has been around for a few years now. Am I stuck with agp mode 1x for good? I'm sorry I brought a radeon in the first place. Pay for mobike but ride a bullock-cart! Googlers! Don't buy radeon folks! You've been warned! Rgrds PS: please cc me as I'm not subscribed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: is my materiel ok ?
On 7/18/06, Seb [EMAIL PROTECTED] wrote: Here is my question in english : I'm Newbie in BSD. I've bought a server DELL SC1420 Xeon 2.8GHz with a controller card RAID CERC SATA six canal I want to know if this material is compatible with FreeBsd 6.1. J've not seen this material in the list of materiel compatible so i'm not sure. Could you help me ? Thanks in advance. i have a hp proliant server with intel xeon 3ghz + SATA RAID, i have installed freebsd 6.1 and so far i have no problems. just boot your freebsd cd and see what happens, during sysintall you will know if it detected all your devices especially your hard drive. i recommend you read the handbook first, all the information you need regarding installation and configuration is very well documented. HTH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: top and multiple CPU's
On 7/14/06, Bob [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob Johnson wrote: I don't have a 6.1 SMP system to test it on. On a brand nwe 6,1 SMP system the first 2 lines of top -S PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPUCOMMAND 11 root1 171 52 0K 8K RUN1 36.8H 90.38% idle:cpu1 12 root1 171 52 0K 8K RUN0 36.1H 90.33% idle:cpu0 [...] 757 bob 1 960 26128K 12340K CPU0 0 27:30 2.05% Xorg 797 bob 1 960 28976K 8424K select 1 46:19 0.73% kdeinit i have 6.1 installed and this is the snippet of top -S PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 12 root 1 171 52 0K 8K CPU2 2 100.8H 99.02% idle: cpu2 11 root 1 171 52 0K 8K CPU3 0 0:00 99.02% idle: cpu3 13 root 1 171 52 0K 8K CPU1 0 0:00 99.02% idle: cpu1 14 root 1 171 52 0K 8K RUN0 100.0H 98.97% idle: cpu0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB and 6.1-RELEASE
Micah wrote: Rich Demanowski wrote: Micah wrote: Rich Demanowski wrote: scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, umass, ums, ural, urio and uscanner are all enabled in the running kernel's /usr/src/sys/i386/conf config file. usbd is not running. When I try to start usbd I get the following: No USB host controllers found. There are no usb* devices listed in /dev. in dmesg I get the following with regard to ohci0 and ehci0: ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 at device 11.0 on pci0 pcib0: unable to route slot 11 INTA ohci0: Could not allocate irq device_attach: ohci0 attach returned 6 ehci0: EHCI (generic) USB 2.0 controller mem 0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0 pcib0: unable to route slot 11 INTB ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 When I plug the drive into any of the USB ports on the system, nothing happens in dmesg or /var/log/messages. camcontrol devlist lists no devices. I'm a bit confused as to why my USB keyboard and mouse function, but my thumb drive will not. It's likely that your BIOS has legacy support enabled in which case, as far as FreeBSD is concerned, you actually have a regular keyboard and mouse. That would explain why the mouse and keyboard work while other USB items do not. From the messages you gave, it's clear that FreeBSB is unable to connect to the USB controller. Disabling legacy support in the BIOS may help. Otherwise check your BIOS for other USB related settings and try changing those. Indeed, legacy support is enabled (actually auto was the setting in the BIOS). When I disable it, the keyboard and mouse cease functioning, as well. That was the only setting I could find in the BIOS related to USB. I suppose that means the on-board USB controller is one not supported by existing drivers? Or at least ones not listed in the GENERIC config on which I based my kernel (all I added was the ath drivers for my wireless)? I don't know which chipset it is, but my guess is, since the on-board video and LAN is an nVidia chipset, that the USB controller probably is, as well. Based on the error messages I think it's still worth trying some different settings. FeeeBSD seems to recognize the controller but it is unable to allocate the right resources to it. Check your BIOS for a PnP OS setting and toggle it. Also, try booting with ACPI disabled (or enabled) from the FreeBSD boot menu. IIRC, ACPI can have a hand in routing resources. HTH, Micah ACPI is turned off. The install disc wouldn't even boot at all with it turned on. I'll try the Plug-and-play OS setting. It's currently on. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LinkLib Issues In freebsd Lazarus
Mike Meyer wrote: It's *really* unusual for a port to install a binary tarball if the source is available. Most ports that install binaries are for commercial products for which source isn't available. In this case, the unusual rules. Here are the contents of the ports binary.i386-freebsd.tar demo.tar.gz doc-pdf.tar.gz install.sh A port is basically a Makefile plus at least some text files. The ports tree includes a lot of make machinery to fetch/extract/patch/build/etc. based on that. See the porters handbook at URL: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html for details. Thanks Mike. I have been involved in a parallel discussion on the fpc-devel list, and have discovered a few facts which will impact the manufacture of a freepascal Lazarus port. In fact, what I have learned will impact the usability of FPC on freepascal itself. The problem which initiated this thread was the wrong naming of some libraries. Well, it turns out that this renaming was done mid-stream by the freebsd development team, and not by the freepascal folks. It seems that from freebsd 6.0 to freebsd 6.1 (the one I am using) library names were arbitrarily changed. The ones I ran into were libgdk, libgtk, and libglib. In all previous versions (prior to 6.1) of freebsd, the lib versions 1.2 were named libgdk12, libgtk12, and libglib12 they were changed in 6.1 to libgdk-12, libgtk-12, and libglib-12 respectively. I wonder how many more library names were changed? This is a real blow to any third party software developer, who's software will likely start to bomb on freebsd6.1, where it ran just fine on 6.0 BIG problem! If I compile a program on my 6.1 system, which makes any dynamic calls to these libraries (and possibly others as yet unknown), that executable will ONLY run on freebsd 6.1, and bomb on all prior versions. My fix of patching the freepascal 2.0.2, or your method of sym-linking, while fixing the local problem of compiling Lazarus, breaks all portability to previous freebsd installs. This is a bad thing the freebsd folks have done! There are some dirty work-arounds, and according to the fpc developers, they will be implementing some new tools to deal with this in fpc-2.0.4, who's rc2 has just been released. I can see making these kinds of changes from a 5.x version to a 6.x version, as bad as even that would be, but to make such a change from within the 6.x branch is pretty inconsiderate IMHO. Given the above, it would be senseless to create a port of lazarus, which would require a port of the patched fpc sources, (as a dependency), and then have a development system which was tied to a particular version of freebsd. Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB and 6.1-RELEASE
Rich Demanowski wrote: Micah wrote: Rich Demanowski wrote: Micah wrote: Rich Demanowski wrote: scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, umass, ums, ural, urio and uscanner are all enabled in the running kernel's /usr/src/sys/i386/conf config file. usbd is not running. When I try to start usbd I get the following: No USB host controllers found. There are no usb* devices listed in /dev. in dmesg I get the following with regard to ohci0 and ehci0: ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 at device 11.0 on pci0 pcib0: unable to route slot 11 INTA ohci0: Could not allocate irq device_attach: ohci0 attach returned 6 ehci0: EHCI (generic) USB 2.0 controller mem 0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0 pcib0: unable to route slot 11 INTB ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 When I plug the drive into any of the USB ports on the system, nothing happens in dmesg or /var/log/messages. camcontrol devlist lists no devices. I'm a bit confused as to why my USB keyboard and mouse function, but my thumb drive will not. It's likely that your BIOS has legacy support enabled in which case, as far as FreeBSD is concerned, you actually have a regular keyboard and mouse. That would explain why the mouse and keyboard work while other USB items do not. From the messages you gave, it's clear that FreeBSB is unable to connect to the USB controller. Disabling legacy support in the BIOS may help. Otherwise check your BIOS for other USB related settings and try changing those. Indeed, legacy support is enabled (actually auto was the setting in the BIOS). When I disable it, the keyboard and mouse cease functioning, as well. That was the only setting I could find in the BIOS related to USB. I suppose that means the on-board USB controller is one not supported by existing drivers? Or at least ones not listed in the GENERIC config on which I based my kernel (all I added was the ath drivers for my wireless)? I don't know which chipset it is, but my guess is, since the on-board video and LAN is an nVidia chipset, that the USB controller probably is, as well. Based on the error messages I think it's still worth trying some different settings. FeeeBSD seems to recognize the controller but it is unable to allocate the right resources to it. Check your BIOS for a PnP OS setting and toggle it. Also, try booting with ACPI disabled (or enabled) from the FreeBSD boot menu. IIRC, ACPI can have a hand in routing resources. HTH, Micah OK, disabling Plug-n-Play OS *and* USB legacy support now has the system recognizing the USB controllers. It also seems to have fixed the odd CAPSLOCK character duplication I was getting, and my mouse scroll wheel now works. Now I'm on to another issue. When I plug in the thumb drive, which is a 512MB USB 2.0 Mobile Swingdrive, containing an MS-DOS filesystem, I get the following: umass0: vendor 0x0930 USB Flash Memory, rev 2.00/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: USB Flash Memory 1.04 Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 489MB (1001472 512 byte sectors: 64H 32S/T 489C) umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 mount /dev/da0 /thumb yields the error: mount: /dev/da0 on /thumb: incorrect super block mount -t msdos
Re: USB and 6.1-RELEASE
Micah wrote: Rich Demanowski wrote: Micah wrote: Rich Demanowski wrote: Micah wrote: Rich Demanowski wrote: scbus, da, pass, ohci, uhci, ehci, usb, udbp, ugen, uhid, ukbd, ulpt, umass, ums, ural, urio and uscanner are all enabled in the running kernel's /usr/src/sys/i386/conf config file. usbd is not running. When I try to start usbd I get the following: No USB host controllers found. There are no usb* devices listed in /dev. in dmesg I get the following with regard to ohci0 and ehci0: ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 at device 11.0 on pci0 pcib0: unable to route slot 11 INTA ohci0: Could not allocate irq device_attach: ohci0 attach returned 6 ehci0: EHCI (generic) USB 2.0 controller mem 0xfe02e000-0xfe02e0ff at device 1 1.1 on pci0 pcib0: unable to route slot 11 INTB ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 When I plug the drive into any of the USB ports on the system, nothing happens in dmesg or /var/log/messages. camcontrol devlist lists no devices. I'm a bit confused as to why my USB keyboard and mouse function, but my thumb drive will not. It's likely that your BIOS has legacy support enabled in which case, as far as FreeBSD is concerned, you actually have a regular keyboard and mouse. That would explain why the mouse and keyboard work while other USB items do not. From the messages you gave, it's clear that FreeBSB is unable to connect to the USB controller. Disabling legacy support in the BIOS may help. Otherwise check your BIOS for other USB related settings and try changing those. Indeed, legacy support is enabled (actually auto was the setting in the BIOS). When I disable it, the keyboard and mouse cease functioning, as well. That was the only setting I could find in the BIOS related to USB. I suppose that means the on-board USB controller is one not supported by existing drivers? Or at least ones not listed in the GENERIC config on which I based my kernel (all I added was the ath drivers for my wireless)? I don't know which chipset it is, but my guess is, since the on-board video and LAN is an nVidia chipset, that the USB controller probably is, as well. Based on the error messages I think it's still worth trying some different settings. FeeeBSD seems to recognize the controller but it is unable to allocate the right resources to it. Check your BIOS for a PnP OS setting and toggle it. Also, try booting with ACPI disabled (or enabled) from the FreeBSD boot menu. IIRC, ACPI can have a hand in routing resources. HTH, Micah OK, disabling Plug-n-Play OS *and* USB legacy support now has the system recognizing the USB controllers. It also seems to have fixed the odd CAPSLOCK character duplication I was getting, and my mouse scroll wheel now works. Now I'm on to another issue. When I plug in the thumb drive, which is a 512MB USB 2.0 Mobile Swingdrive, containing an MS-DOS filesystem, I get the following: umass0: vendor 0x0930 USB Flash Memory, rev 2.00/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: USB Flash Memory 1.04 Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 489MB (1001472 512 byte sectors: 64H 32S/T 489C) umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 mount /dev/da0 /thumb yields the error: mount: /dev/da0 on /thumb: incorrect super block
Re: LinkLib Issues In freebsd Lazarus
In [EMAIL PROTECTED], Bob [EMAIL PROTECTED] typed: I have been involved in a parallel discussion on the fpc-devel list, and have discovered a few facts which will impact the manufacture of a freepascal Lazarus port. In fact, what I have learned will impact the usability of FPC on freepascal itself. The problem which initiated this thread was the wrong naming of some libraries. Well, it turns out that this renaming was done mid-stream by the freebsd development team, and not by the freepascal folks. It seems that from freebsd 6.0 to freebsd 6.1 (the one I am using) library names were arbitrarily changed. The ones I ran into were libgdk, libgtk, and libglib. In all previous versions (prior to 6.1) of freebsd, the lib versions 1.2 were named libgdk12, libgtk12, and libglib12 they were changed in 6.1 to libgdk-12, libgtk-12, and libglib-12 respectively. I wonder how many more library names were changed? This is a real blow to any third party software developer, who's software will likely start to bomb on freebsd6.1, where it ran just fine on 6.0 I can't help with this. I have no idea why it was done - it certainly wasn't discussed on -hackers. BIG problem! If I compile a program on my 6.1 system, which makes any dynamic calls to these libraries (and possibly others as yet unknown), that executable will ONLY run on freebsd 6.1, and bomb on all prior versions. My fix of patching the freepascal 2.0.2, or your method of sym-linking, while fixing the local problem of compiling Lazarus, breaks all portability to previous freebsd installs. This is a bad thing the freebsd folks have done! Well, one solution is to distribute sources - which works especially well if you provide a port. See below for more on that. If you want to distribute binaries, you could simply include the correct libraries in your tarball, and only install them if they aren't installed. There are some dirty work-arounds, and according to the fpc developers, they will be implementing some new tools to deal with this in fpc-2.0.4, who's rc2 has just been released. I can see making these kinds of changes from a 5.x version to a 6.x version, as bad as even that would be, but to make such a change from within the 6.x branch is pretty inconsiderate IMHO. Given the above, it would be senseless to create a port of lazarus, which would require a port of the patched fpc sources, (as a dependency), and then have a development system which was tied to a particular version of freebsd. No, it's not senseless. You can *ask* the various libraries what they need, by runnig gdk-pixbuf-config --libs, for example. However, you shouldn't need to do that. Adding something like USE_GNOME=gdkpixbuf to your port Makefile will cause the Makefile to add all the appropriate dependencies to CFLAGS. Except you may not use CFLAGS, and may have to go back to gdk-pixbuf-config to get the data you need. You may even need to tweak the output to make it accpetable to fpc. Basically, this change is only really painfull if you want to distribute binaries. In that case, you could, as mentioned above,distribute binaries of the libraries as well. Or you could not support anything prior to 6.1 (actually, that's not correct - my 5.5 system has the new library naming). Or - since this change is in the ports system, not FreeBSD proper, and the ports tree can be updated independently of the base system, require that 6.0 users update their ports tree and the libraries in question. Please note, I'm not trying to defend or justify this change - you pointing it out is the first I'd heard of it. I'm just trying to point out some ways you can deal with it. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LinkLib Issues In freebsd Lazarus
Mike Meyer wrote: Well, one solution is to distribute sources - which works especially well if you provide a port. See below for more on that. Yes, but the sources Makefile would have to be not only version aware, but also port-status aware as well, and then call ld with the proper args. Worse, if 6.5 comes out, and the libs are renamed to libgdk.1.2.0 for instance, then no one will know what to look for until something breaks. If you want to distribute binaries, you could simply include the correct libraries in your tarball, and only install them if they aren't installed. Actually, my first thought would be to check whether or not the old lib-name was there, and, if so simply ln -s old-lib new-lib via the install script; something I believe the development team should have done when they changed the names, simply to maintain backwards compatibility. However, I don't know what effect this would have on a port upgrade, (I am a newbie on day 10 of FreeBSD) if the upgrade finds the new-lib-name as a link? Barf-Time? FreeBSD is not limited to software available through the ports collection alone, nor should it be. I'm just trying to point out some ways you can deal with it. Yes, and thanks! I think I will ask what the lead time is on the FPC-2.0.4 release. If it will be soon, and if this issue is resolved, then I will simply start over at that point :-) Otherwise, I will have to rethink how to deal with this in the long run. Thanks for your many suggestions, and for your help! Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [bugs] SMP, KDE3 and OpenOffice
Hi Andrew, Thanks for your reply: Date: Mon, 17 Jul 2006 10:35:50 +1000 From: Andrew Reilly [EMAIL PROTECTED] ... On Sun, Jul 16, 2006 at 03:12:49PM +1000, Rob Hurle wrote: I'm trying to set up FreeBSD on my box, which has an Intel D945GNT motherboard, two 3.2GHz processors, 1GB memory. The system installs OK and I've been able to use cvsup to upgrade everything, remake the kernel (for SMP), build OpenOffice.org 2.0.2 KDE 3.5. Just to clarify, are those processors amd64/em64, or ia32? Are you running a 32-bit or 64-bit system on them? Aah. I see from your uname, below, that you're running i386 code. That should remove a few potential pitfalls. They are supposed to be ia32, but here is part of the dmesg output (I don't quite understand all of this): ... AMD Features=0x2010NX,LM Logical CPUs per core: 2 real memory = 1072087040 (1022 MB) avail memory = 1039990784 (991 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: INTEL D945GNT on motherboard acpi0: Power Button (fixed) ... 1. Only one processor seems to be used. The output from top -S is: PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 root 1 171 52 0K 8K CPU1 0 0:00 99.02% idle: cpu1 12 root 1 171 52 0K 8K RUN0 139:40 98.34% idle: cpu0 It seems to me that the FreeBSD scheduler is pretty keen on processor affinity, which is a good thing. My AMD-X2 dual core system has been up a good deal longer than yours, but the idle times are still fairly different: root 12 99.0 0.0 016 ?? RL8Jul06 9797:24.05 [idle: cpu0] root 11 98.5 0.0 016 ?? RL8Jul06 11206:02.27 [idle: cpu1] Hmm, yes. Maybe I don't have a problem. I haven't yet stretched it, although I noticed while building a new kernel - which I did the old way, before reading UPDATING :-( - that there was no activity on the other CPU. 3. OpenOffice.org does not like any of the files produced from anywhere else. I have stuff written in StarOffice 5.2 and in MS Word, but none of these will open. Even stuff written using OpenOffice.org 2 on a MS system is not acceptable. The error is always General I/O Error. OpenOffice will read files that it has written quite OK and permissions, ownership, etc all seem to be OK. I believe that most of the OOo file import functionality is provided by Java modules, and it will successfully build without this functionality if you don't have or don't want to run Java. Do you have a working native Java implementation? You might need to get Java going before building (or re-building) OOo. Yes, I was aware of this, and installed jdk1.4.2 and jdk1.5.0 before building OOo. I built 1.4.2 first, but I think jdk 1.5.0 is the native FreeBSD one? However, I noticed today that there is a src.zip file in the jdk1.5.0 directory. I unzipped this, and maybe I now need to rebuild OOo. I'll try this when I get some time. Thanks again for your help. Cheers, Rob Hurle - Rob Hurle Faculty of Asian Studies, ANU Home address and contacts: Tel: +61 2 6247 2397 PO Box 4013Fax: +61 2 6247 2397 AinslieCell phone: 0417 293 603 Australia e-mail: [EMAIL PROTECTED] - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to let USB WLAN adapters (AirVast) to work on FreeBSD
Hi, runing FreeBSD 5.4, but I can't acess Internet :(, because I failed to let my wireless (USB) Car to work on FreeBSD. I saw this information at 'dmesg': ugen0: AirVast Taiwan IEEE 802.11b USB, rev1.10/1.32 I read 'wi' support Intersil Prism-3, so I want to 'kldload if_wi', but it answered me 'pccard and pci's wi already exists'. I tired to use 'atuwi' which is 'A FreeBSD driver for Atmel based USB WLAN adapters' (links:http://vitsch.net/bsd/atuwi/) ,but don't compile success. ___ 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 let USB WLAN adapters (AirVast) to work on FreeBSD
On 7/18/06, nectar76 [EMAIL PROTECTED] wrote: Hi, runing FreeBSD 5.4, but I can't acess Internet :(, because I failed to let my wireless (USB) Car to work on FreeBSD. I saw this information at 'dmesg': ugen0: AirVast Taiwan IEEE 802.11b USB, rev1.10/1.32 I read 'wi' support Intersil Prism-3, so I want to 'kldload if_wi', but it answered me 'pccard and pci's wi already exists'. I tired to use 'atuwi' which is 'A FreeBSD driver for Atmel based USB WLAN adapters' (links:http://vitsch.net/bsd/atuwi/) ,but don't compile success. You may try ndis wrapper. शंतनु ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem in Starting KDE
I run FreeBSD 6.1-RELEASE. About a week ago, I made the egregious mistake of deleting the '/var/db/pkg' directory, so I had no choice but to portmanager everything back (I build from ports). This wasn't actually so bad since I didn't have CXXFLAGS configured the first time, so at least now I would get optimized binaries (as an aside, are '-O9 -march=athlon-xp -mfpmath=sse' the best options for a Duron(TM) ~1000MHz?). But now, I am having major problems starting KDE (3.5.3): 1) When I run 'startx' from the shell, the screen clicks into video mode, I see the X black-and-white wallpaper for an instant, then it turns black with the 'X'-mouse (it's responsive), and stays that way forever, until I kill X. I captured the tty output: == xauth: creating new authority file /root/.serverauth.7480 /usr/X11R6/bin/xauth: (argv):1: bad display name Compy:0 in list command /usr/X11R6/bin/xauth: (stdin):1: bad display name Compy:0 in add command X Window System Version 6.9.0 Release Date: 21 December 2005 X Protocol Version 11, Revision 0, Release 6.9 Build Operating System: FreeBSD 6.1 i386 [ELF] Current Operating System: FreeBSD Compy 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Tue Jul 4 20:39:59 PDT 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKERNEL i386 Build Date: 14 July 2006 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Mon Jul 17 19:20:23 2006 (==) Using config file: /etc/X11/xorg.conf Warning: kbuildsycoca is unable to register with DCOP. kbuildsycoca running... # N.B. this is where the screen switches. The following lines come # only after killing X. kdeinit: Shutting down running client. FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. /usr/X11R6/bin/xinit: connection to X server lost. Hangup GOT SIGHUP /usr/X11R6/bin/xauth: (argv):1: bad display name Compy:0 in remove command xset: unable to open display :0 startkde: Starting up... kdeinit: Shutting down running client. ICE default IO error handler doing an exit(), pid = 7531, errno = 22 Terminated startkde: Could not start kdeinit. Check your installation. Terminated startkde: Shutting down... Terminated unix_connect: can't connect to server (unix:/tmp/ksocket-root/Compy-114e5-44b7aac1) startkde: Running shutdown scripts... startkde: Done. == 2) I can start X with 'xinit', and this is fine. I can then issue 'kdeinit', which gives a ton of kbuildsycoca: WARNING: foo specifies undefined mimetype/servicetype bar lines. Then I can do 'kwrapper ksmserver', and that'll give me the familiar window frames, but not any aspect of the desktop. Does anyone have any advice? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connection of adapter USB-COM for mobile Siemens C55
On 7/17/06, Сергей [EMAIL PROTECTED] wrote: Hello! I'm traying to connect GPRS via adapter USB-COM for mobile Siemens C55. But i don't know how to send a command to the adapter. FreeBSD6.0-RELEASE Make kernel with: #USB support device uhci device ochi device echi device usb device ugen device uhid device ucom device uplcom device umodem When connecting the adapter: ucom0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 2 But there is no /dev/ - ucom0 in the list. How to go to the adapter? When disconnection: ucom0: at uhub0 port 1 (addr 2) disconnected All thread purged from == cuaU0 == All thread purged from == ttyU0 == ucom0: detached I guess if you don't have any other serial ports, you get cuaU0. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem in Starting KDE
Here is /etc/hosts. It's not very spectacular. # # This file should contain the addresses and aliases for local hosts that # share this file. Replace 'my.domain' below with the domainname of your # machine. # # In the presence of the domain name service or NIS, this file may # not be consulted at all; see /etc/nsswitch.conf for the resolution order. # # ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain # # Imaginary network. #10.0.0.2 myname.my.domain myname #10.0.0.3 myfriend.my.domain myfriend # # According to RFC 1918, you can use the following IP networks for # private nets which will never be connected to the Internet: # # 10.0.0.0- 10.255.255.255 # 172.16.0.0 - 172.31.255.255 # 192.168.0.0 - 192.168.255.255 # # In case you want to be able to connect to the Internet, you need # real official assigned numbers. Do not try to invent your own network # numbers but instead get one from your network provider (if any) or # from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriNIC.) # o.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]