Re: Status of java support in FreeBSD 5.x release?
Thanks for the tip! And, yes, the bad first line in the Currency?.java file is still there! Has anyone submitted a bug report to the port maintainer? I cvsup my port tree just 5 hours ago before starting compiling /usr/ports/jdk14. Can't believe the problem still hasn't been fixed. :-( one question though. I followed the suggestion in the pkg message that says: # kldload linprocfs and # mount -t linprocfs linprocfs /compat/linux/proc Is this just a one time procedure for compiling the jdk or do I have to do something permanent in the kernel configuration? rain --- Nikolas Britton <[EMAIL PROTECTED]> wrote: > rain cip wrote: > > >Hello, > > > >Does anyone know the status of java support in > FreeBSD > >5.x release? Their website says there is a binary > >compatibility issue in 5.x but doesn't give further > >detail on what the issue is. Has anyone had any > >success using linux port of java in the 5.3 > release? > > > >Thanks. > > > >rain > > > > > > > > > The native jdk14 works fine for FreeBSD 5.3, read my > notes before you > start, remember to mount linprocfs before you start: > > http://lists.freebsd.org/pipermail/freebsd-newbies/2004-October/002551.html > > Use this to test java: > http://weather.noaa.gov/radar/mosaic.loop/DS.p19r0/ar.us.conus.shtml, > > the link in my notes has a typo. > __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Status of java support in FreeBSD 5.x release?
On Wed, Dec 15, 2004 at 11:15:52PM -0800, rain cip wrote: > one question though. I followed the suggestion > in the pkg message that says: > > # kldload linprocfs > > and > > # mount -t linprocfs linprocfs /compat/linux/proc > > Is this just a one time procedure for compiling > the jdk or do I have to do something permanent > in the kernel configuration? Compiling. Kris pgpSvamBpfFkK.pgp Description: PGP signature
RE: Gnome without the stuff?
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Kevin D. Kinsey, DaleCo, S.P. > Sent: Thursday, December 16, 2004 12:29 AM > To: Robert William Vesterman > Cc: [EMAIL PROTECTED] > Subject: Re: Gnome without the stuff? > > Robert William Vesterman wrote: > > > I installed the Gnome2 port, and it installed a whole lot of stuff > > that I wasn't expecting, including stuff that I don't know > what it is, > > and also stuff that I never intend to use. > > > > Is there a way to install just a "basic" Gnome, without all > the stuff? > > That is, the default applications of various types? If I want > > Evolution, or Epiphany, or games, or blah blah blah, I > would like to > > just install that specific thing myself when I decide that > I want it. > > But if I want to use Firefox, I'm not interested in having > Epiphany installed. > > /usr/ports/www/firefox /usr/ports/www/epiphany /usr/ports/mail/evolution /usr/ports/games/gnome-music-quiz /usr/ports/games/gnomeattacks /usr/ports/games/gnomebreakout /usr/ports/games/gnomechess /usr/ports/games/gnomegames2 /usr/ports/games/gnomegames2-extra-data /usr/ports/games/gnomekiss /usr/ports/games/gnomememoryblocks /usr/ports/games/gnomermin Sure they have dependencies, you might need X Personally I want the moon on a stick. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
updating pkgdb results invalid argument
FreeBSD-4.9 any clues why this is happening? the update of the package DB ends off with invalid argument. --- snip # pkgdb -Fu ---> Updating the pkgdb Invalid argument snip --- cheers, Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ALT key on console25?
On Wed, 15 Dec 2004, John Conover wrote: Is it possible to make the ALT key work on console25? The console keyboard is easily mappable. Assuming you have a normal PC (and not some Sparc or Alpha thing about which I know nothing), your ALT key should work right out of the box. The problem, if you have a problem, is that it may not do quiet what you want. Now there are two different things that people may mean when they say they want ALT characters. Some people (and applications) want ALT- to mean an eight-bit character, which is simply the 7-bit character with the 8th bit set. Other people (and applications) want ALT- to send a string composed of the escape character followed by the 7-bit character. You can get either behavior (or if you have a spare key, like the Windoz key) you can get both. Another possible problem is with ALT-, which for the numbered F keys are usually used to switch consoles, but which can easily be adjust to do the norm ANSI keyboard thing that you expect with a PC. First, to get ALT- to send the eight-bit character, use the emacs keyboard. To get the -character behavior you must remap the ALT keys to "meta" (or use a spare key like Windoz as the "meta" key. To get the ALT-Fn keys to send the ANSI keys ( -[-w through -[-{ ) you just have to switch some key definitions around. I will now demonstrate how each of these things works: The keyboard maps reside in /usr/share/syscons/keymaps. The keymap you want to use is set in /etc/rc.conf with a line like this: keymap="us.emacs" To be effective, this line must be the last of similar lines in rc.conf. (Essentially, the defaults are in /etc/default - don't mess with them - and sysinstall and you use /etc/rc.conf to make changes, and the last changes in this file win.) Changes made in rc.conf will not be effective until or unless you reboot. You can use kbdcontrol to change keymaps in your current session. Simply changing to the emacs keyboard will get the behavoir of sending 8-bit characters for ALT- Here is a part of the us-iso keyboard you probably installed: # alt # scan cntrl altalt cntrl lock # code base shift cntrl shift altshift cntrl shift state # -- 000 nopnopnopnopnopnopnopnop O 001 escescescescescescdebug esc O 002 '1''!'nopnop'1''!'nopnop O 003 '2''@'nulnul'2''@'nulnul O See, ALT-1 simply sends 1, and ALT-! simply sends !, and that is not what you want. Here is the same part of the us-emacs keyboard: # alt # scan cntrl altalt cntrl lock # code base shift cntrl shift altshift cntrl shift state # -- 000 nopnopnopnopnopnopnopnop O 001 escescescescescescescesc O 002 '1''!'nopnop177161nopnop O 003 '2''@'nulnul178192128128 O Now see, 1 sends 1 which is character code 49, but ALT-1 sends 177, which is 49 + 128 - or in other words 1 with the 8th bit set. So if that is what you want (and it is probably what you expect on a PC), just switch to the emacs keyboard). But if you want ALT- to send -, what you want is called a meta key. One of the best ways to get a meta key is to map the Windoz keys to meta. 105 meta fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O 106 meta fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O 107 escfkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 O This maps the Windoz keys to meta (and makes the Menu key an extra esc key in case you are too lazy to reach all the way up there to hit the usual esc key. If you don't have Windoz keys get a new keyboard - they are cheap - or remap one or the other of the ALT keys. 056 lalt lalt lalt lalt lalt lalt lalt laltO 093 ralt ralt ralt ralt ralt ralt ralt raltO You can change whichever of the lalt or ralt keys to meta. Oh, yeah, make these change with a flat ascii edit, not a word processor, and probably you should save the distribution keyboard somewhere (like us.emacs.kbd.dist) before you edit). You probably do not want to make all the alt keys into meta. So that gets you 1) ALT- sends 8-bit character, and 2) META- sends -. Finally we come to the function keys known as F1, F2, ... F12. Again I am assuming an ordinary PC with a more or less PC compatible keyboard attached. Here's the pertenant part of the us.emacs keyboard (with a bunch of stuff skipped so you can easily see the headers): # alt # scan cntr
Free subscription to siliconindia Magazine
Hello, Congratulations!!! You have won a FREE one-year subscription to siliconindia Magazine that focuses on the business of technology. Read in-depth features on how technology is being applied to solve business problems and open new opportunities for business itself. INAUGURAL ISSUE January 2005 The boom. The bust. Now what? We talked to scores of players to learn what lies ahead. Here's a look at emerging technologies that just might have what it takes to succeed in the next few years. Our inaugural issue focuses on hot sectors to bet on in 2005. Industry experts will contribute to this special issue. A must read for IT professionals, entrepreneurs, investors, and managers of today and tomorrow. Do not miss out! All you need to do is click on the link below to fill up the form. http://in.siliconindia.com/Subscription/subscribe.asp Best Wishes siliconindia Team --- You are currently subscribed to siliconindia-indiaedition-blast as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: why must boot in single mode.
Supote Leelasupphakorn wrote: [ ... ] Could anyone clarify me why we have to (according to comment in /usr/src/Makefile) reboot in single mode ? Is it necessary ? It's a good idea, more than a necessity. If you feel that you have reason to believe that the kernel you just compiled actually does work, feel free to skip a step and do the installworld at the same time. However, if you guess was wrong and there is a problem with the new kernel, you are stuck with a big problem. Your new world won't match the old kernel image you still have as backup, which tends to make lots of programs like ps, ifconfig, firewall software, and the like unhappy and not work right. So if you do have a problem, don't expect to be able to fix it remotely. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: why must boot in single mode.
On Thu, Dec 16, 2004 at 11:36:11AM +0700, Supote Leelasupphakorn wrote: > Could anyone clarify me why we have to (according to comment in > /usr/src/Makefile) > reboot in single mode ? Is it necessary ? It's safest; if you try and do without it then applications running on the machine may crash during the installworld. If you're relying on such an application (e.g. sshd to log in remotely), then you'd be locked out, and the machine may be left in an incomplete and unusable state. Kris pgpDo6imWc9Di.pgp Description: PGP signature
why must boot in single mode.
Hi all I'm using FreeBSD 4.[89] for a few years. So far I upgraded my release to security branch by following the instructions in /usr/src/Makefile and after finished, my box is running fine. Only one thing that I ignored - rebooting in single mode but because I am not at the box's console. Could anyone clarify me why we have to (according to comment in /usr/src/Makefile) reboot in single mode ? Is it necessary ? TIA, pjn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
perl 5.8.5 portupgrade now openwebmail complains
Perl-5.8.5 SUIDPERL set openwebmail-2.41 FreeBSD-4.9 any clues why its complaining about this? and how to fix it? snip # /usr/local/www/cgi-bin/openwebmail/openwebmail.pl --init /usr/libexec/ld-elf.so.1: /usr/local/bin/speedy_backend: Undefined symbol "Perl_ malloc" speedy[24754]: Cannot spawn backend process --- snip --- cheers, Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Parallel Port Control Problems
I am writing a C++ program on a freebsd 5.2.1 system and compiling it with g++. I need to get control of the parallel port and send data to various pins. I am attempting to use the functions ioperm(), outb() and inb(). I found somewhere that the function was declared in perm.h, no joy. I found something that said it was declared in unistd.h, no joy. I also tried port.h with no success. The error I get while compiling is "ioperm undeclared". Can anyone help me? Lance Earl DallyPost, Inc. 208-548-2721 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why reccomend Bash shell?
On Wed, Dec 15, 2004, Nikolas Britton wrote: >Bill Campbell wrote: > >>On Wed, Dec 15, 2004, Adam wrote: >> >> >>>In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the >>>default shell for users to bash shell. -p. 94 >>> >>>What are the Pro's/Con's of using bash as opposed to the other shells? >>> >>> >> >>That's largely a religious issue. I used csh for my first 6 years or >>so of *nix use, switching to ksh around 1988. Personally I like ksh >>better than bash or csh/tcsh for interactive use, largely because I >>prefer using its ``r'' options to repeat previous commands to the csh >>and bash ``!''. >> >> >BTW last time I checked (about three weeks ago the ksh93 port was >broken, the old src tarballs have been removed from the servers listed >in the Makefile because they released newer version. Christian >Weisgerber (naddy at mips.inka.de) is listed as the maintainer. Most of the extra stuff I'm running on FreeBSD is built under the OpenPKG.org packaging system rather than from ports so I haven't seen those problems. I'm running pkdsh-5.2.14 rather than the official ksh, largely out of habit. The current OpenPKG version of ksh is ksh-20040229. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ When only cops have guns, it's called a ``police state''. -- Claire Wolfe, "101 Things To Do Until The Revolution" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Problem
On Wed, 15 Dec 2004, Chris Kelly wrote: FreeBSD www.piyeepress.com 4.8-RELEASE Pretty old... Server version: Apache/1.3.27 (Unix) Quite old for Apache, and with some known security vulnerabilities, I think. When accessed via a web browser, it will return pages for a few minutes. Eventually access is super super slow, as if some TCP state table is filling up. I reboot the server and it returns web pages as it should, but only for five or so minutes, when it won't return any more pages, or it returns pages but very slowly. It may not be a network problem. The output of netstat -ap tcp doesn't show too many open states. I swear that some tcp state table is filling up; otherwise I have no clues. Here's something too: if I use lynx to access the site, and I access the site from another server in the same rack, the page is returned instantly. Here's some more confusion: non-Windows machines seem to do better at getting pages from the server than do Windows machines. A router choking? Some kind of firewall problem? Either way, I'd still suggest updating to 4.10 and Apache 1.3.33 for a start. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why reccomend Bash shell?
Bill Campbell wrote: On Wed, Dec 15, 2004, Adam wrote: In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the default shell for users to bash shell. -p. 94 What are the Pro's/Con's of using bash as opposed to the other shells? That's largely a religious issue. I used csh for my first 6 years or so of *nix use, switching to ksh around 1988. Personally I like ksh better than bash or csh/tcsh for interactive use, largely because I prefer using its ``r'' options to repeat previous commands to the csh and bash ``!''. BTW last time I checked (about three weeks ago the ksh93 port was broken, the old src tarballs have been removed from the servers listed in the Makefile because they released newer version. Christian Weisgerber (naddy at mips.inka.de) is listed as the maintainer. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Systems, Inc. UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``If the government can take a man's money without his consent, there is no limit to the additional tyranny it may practise upon him; for, with his money, it can hire soldiers to stand over him, keep him in subjection, plunder him at discretion, and kill him if he resists.'' Lysander Spooner, 1852 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why reccomend Bash shell?
Adam wrote: In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the default shell for users to bash shell. -p. 94 What are the Pro's/Con's of using bash as opposed to the other shells? Thanks, Adam I like a .30-06 for deer, antelope, etc, .762[mm] for terrorists, and a .340 Weatherby magnum for big game (cape buffalo, elephant, etc, where legal). The Weatherby is also great for moose and elk with a Nosler 210 gg. partition bullet and a good high-velocity powder. :-D Now, seriously, are you trying to start a jihad? And didn't Grog explain himself --- curious, if not... Bash is an improvement on sh; tcsh is an improvement on csh, and there are others, generally spawned when someone wanted to add a feature or steal one from someone else. # man sh # man csh # man bash (if it's installed) # man tcsh #lynx http://www.google.com/ # echo "Don't start holy wars!" | mail -s "Just a little advice" [EMAIL PROTECTED] My $0.02, ;-) Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why reccomend Bash shell?
In the immortal words of "Adam" <[EMAIL PROTECTED]>... > In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the > default shell for users to bash shell. -p. 94 Because that is his shell of choice. I prefer to use TCSH for the same reason. > What are the Pro's/Con's of using bash as opposed to the other shells? It depends entirely on what you are used to, both are good at what they do, both are easily scriptable, both are well documented, and both are widely used. The only drawback I have found with tcsh is the fact that if you install new software in your $PATH, then you need to type 'rehash' to let tcsh see it. However this being said, I should point out that tcsh is part of the base system on FreeBSD whereas bash is a port and must be installed separately. In short, play with both and make up your own mind. Cheers Tim -- Tim Aslat <[EMAIL PROTECTED]> Spyderweb Consulting http://www.spyderweb.com.au Phone: +61 0401088479 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why reccomend Bash shell?
On Wed, Dec 15, 2004, Adam wrote: >In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the default >shell for users to bash shell. -p. 94 > >What are the Pro's/Con's of using bash as opposed to the other shells? That's largely a religious issue. I used csh for my first 6 years or so of *nix use, switching to ksh around 1988. Personally I like ksh better than bash or csh/tcsh for interactive use, largely because I prefer using its ``r'' options to repeat previous commands to the csh and bash ``!''. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Systems, Inc. UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``If the government can take a man's money without his consent, there is no limit to the additional tyranny it may practise upon him; for, with his money, it can hire soldiers to stand over him, keep him in subjection, plunder him at discretion, and kill him if he resists.'' Lysander Spooner, 1852 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Why reccomend Bash shell?
MY personal opinion is, the shell one uses depends a lot on the personal taste of the user. For example, although people had said lots of good (and probably bad?) things about bash, I feel it's a bit too linuxish. My personal preference is the zsh shell. Regards S. Indian Institute of Information Technology Subhro Sankha Kar Block AQ-13/1, Sector V Salt Lake City PIN 700091 India > -Original Message- > From: [EMAIL PROTECTED] [mailto:owner-freebsd- > [EMAIL PROTECTED] On Behalf Of Adam > Sent: Thursday, December 16, 2004 8:41 > To: [EMAIL PROTECTED] > Subject: Why reccomend Bash shell? > > In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the > default shell for users to bash shell. -p. 94 > > What are the Pro's/Con's of using bash as opposed to the other shells? > > Thanks, > Adam > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > [EMAIL PROTECTED]" smime.p7s Description: S/MIME cryptographic signature
Why reccomend Bash shell?
In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the default shell for users to bash shell. -p. 94 What are the Pro's/Con's of using bash as opposed to the other shells? Thanks, Adam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: handbook version
On Wed, Dec 15, 2004 at 09:25:07PM -0500, Steven Friedrich wrote: > On Wednesday 15 December 2004 09:18 pm, Kris Kennaway wrote: > > On Wed, Dec 15, 2004 at 09:08:12PM -0500, Steven Friedrich wrote: > > > > > > You can download a newer version from the FTP site, or install it > > > > > > using the installer from the relevant release. > > > > > > > > > > > > Kris > > > > > > > > > > I can't figure this out. I've set Options...release to "any" and to > > > > > "." to no avail. > > > > > > > > If you use e.g. the 4.10 installation media, you should not have to > > > > change any options to get the 4.10 docs. > > > > > > > > > And I logged in via ftp and perused the directory structure and > > > > > tried packages-4.10-release, still no joy. > > > > > > > > ftp://ftp.freebsd.org/pub/FreeBSD/doc > > > > > > > > Kris > > > > > > I don't have 4.10 media, I installed from 4.7 and have been tracking > > > -stable since then. > > > > Right, so you'd need to *get* 4.10 install media (e.g. boot floppies). > > > > > I'm currently running 4.11-prerelease. I followed the ftp link > > > in your last mail, but I see 18 files and I don't know which I need. > > > I've never heard of a .pdb... > > > > Did you read the README file in that directory? > > > > Kris > > I don't see a README, just 16 files beginning with book and 2 files with > handbook. I was using Konqueror, so I open a term and tried ftp. Still no > README. I did download the book.pdf and can read it. > fetch ftp://ftp.freebsd.org/pub/FreeBSD/doc/README fetch: ftp://ftp.freebsd.org/pub/FreeBSD/doc/README: size of remote file is not known README1624 B 8857 kBps It's there. Kris pgpP9RGueER2L.pgp Description: PGP signature
Re: rl0: watchdog timeout
> I have no first hand experience with this particular problem, but it's > almost common knowledge RealTek nics are great because they are cheap, > not because they are of good quality. The phrase "piece of crap" has > been uttered more than once in relation to these nics. > I have three of them, and have had no trouble at all so far, in a low-activity home network. I wouldn't buy them for servers at work, though. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: handbook version
On Wednesday 15 December 2004 09:18 pm, Kris Kennaway wrote: > On Wed, Dec 15, 2004 at 09:08:12PM -0500, Steven Friedrich wrote: > > > > > You can download a newer version from the FTP site, or install it > > > > > using the installer from the relevant release. > > > > > > > > > > Kris > > > > > > > > I can't figure this out. I've set Options...release to "any" and to > > > > "." to no avail. > > > > > > If you use e.g. the 4.10 installation media, you should not have to > > > change any options to get the 4.10 docs. > > > > > > > And I logged in via ftp and perused the directory structure and > > > > tried packages-4.10-release, still no joy. > > > > > > ftp://ftp.freebsd.org/pub/FreeBSD/doc > > > > > > Kris > > > > I don't have 4.10 media, I installed from 4.7 and have been tracking > > -stable since then. > > Right, so you'd need to *get* 4.10 install media (e.g. boot floppies). > > > I'm currently running 4.11-prerelease. I followed the ftp link > > in your last mail, but I see 18 files and I don't know which I need. > > I've never heard of a .pdb... > > Did you read the README file in that directory? > > Kris I don't see a README, just 16 files beginning with book and 2 files with handbook. I was using Konqueror, so I open a term and tried ftp. Still no README. I did download the book.pdf and can read it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: handbook version
On Wed, Dec 15, 2004 at 09:08:12PM -0500, Steven Friedrich wrote: > > > > You can download a newer version from the FTP site, or install it > > > > using the installer from the relevant release. > > > > > > > > Kris > > > > > > I can't figure this out. I've set Options...release to "any" and to "." > > > to no avail. > > > > If you use e.g. the 4.10 installation media, you should not have to > > change any options to get the 4.10 docs. > > > > > And I logged in via ftp and perused the directory structure and > > > tried packages-4.10-release, still no joy. > > > > ftp://ftp.freebsd.org/pub/FreeBSD/doc > > > > Kris > > I don't have 4.10 media, I installed from 4.7 and have been tracking -stable > since then. Right, so you'd need to *get* 4.10 install media (e.g. boot floppies). > I'm currently running 4.11-prerelease. I followed the ftp link > in your last mail, but I see 18 files and I don't know which I need. I've > never heard of a .pdb... Did you read the README file in that directory? Kris pgpH2LmmSjN25.pgp Description: PGP signature
Re: handbook version
On Wednesday 15 December 2004 08:49 pm, Kris Kennaway wrote: > On Wed, Dec 15, 2004 at 08:36:22PM -0500, Steven Friedrich wrote: > > On Wednesday 15 December 2004 07:21 pm, Kris Kennaway wrote: > > > On Wed, Dec 15, 2004 at 06:50:27PM -0500, Steven Friedrich wrote: > > > > I noticed that the local version of the handbook is from Release 4.7 > > > > and the version on the web site is 4.10. > > > > > > > > I'm not trying to be critical, I'm just wondering if I'm supposed to > > > > be performing some action to get the latest, or if 4.11 release > > > > (which I believe will be the last 4.x) will contain the latest > > > > version. > > > > > > You can download a newer version from the FTP site, or install it > > > using the installer from the relevant release. > > > > > > Kris > > > > I can't figure this out. I've set Options...release to "any" and to "." > > to no avail. > > If you use e.g. the 4.10 installation media, you should not have to > change any options to get the 4.10 docs. > > > And I logged in via ftp and perused the directory structure and > > tried packages-4.10-release, still no joy. > > ftp://ftp.freebsd.org/pub/FreeBSD/doc > > Kris I don't have 4.10 media, I installed from 4.7 and have been tracking -stable since then. I'm currently running 4.11-prerelease. I followed the ftp link in your last mail, but I see 18 files and I don't know which I need. I've never heard of a .pdb... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: handbook version
On Wed, Dec 15, 2004 at 08:36:22PM -0500, Steven Friedrich wrote: > On Wednesday 15 December 2004 07:21 pm, Kris Kennaway wrote: > > On Wed, Dec 15, 2004 at 06:50:27PM -0500, Steven Friedrich wrote: > > > I noticed that the local version of the handbook is from Release 4.7 and > > > the version on the web site is 4.10. > > > > > > I'm not trying to be critical, I'm just wondering if I'm supposed to be > > > performing some action to get the latest, or if 4.11 release (which I > > > believe will be the last 4.x) will contain the latest version. > > > > You can download a newer version from the FTP site, or install it > > using the installer from the relevant release. > > > > Kris > > I can't figure this out. I've set Options...release to "any" and to "." to > no > avail. If you use e.g. the 4.10 installation media, you should not have to change any options to get the 4.10 docs. > And I logged in via ftp and perused the directory structure and > tried packages-4.10-release, still no joy. ftp://ftp.freebsd.org/pub/FreeBSD/doc Kris pgpVcI1ZxlCdl.pgp Description: PGP signature
Re: Sendmail: host name lookup failure
Hi Robert, On Wed, Dec 15, 2004 at 08:27:40PM -0500, Robert Huff wrote: > I was totally confused ... until I did "ps -ax | grep named" and > found an unrequested "-t /var/named" at the end of the command line. > So what's that about? "-t" causes named to run chrooted, per entry > 20040928. That's not according to spec. My spec, anyway. Killed > named, restarted with only approved command line, restarted all > affected programs ... and life was good again. Thanks for the suggestion. The name server is running on a different machine on the LAN, though. It's not FreeBSD, and (AFAIK) no change since the upgrade to the problem machine. -- Paul. w http://logicsquad.net/ h http://paul.hoadley.name/ pgpHk9HFJCvsM.pgp Description: PGP signature
Re: handbook version
On Wednesday 15 December 2004 07:21 pm, Kris Kennaway wrote: > On Wed, Dec 15, 2004 at 06:50:27PM -0500, Steven Friedrich wrote: > > I noticed that the local version of the handbook is from Release 4.7 and > > the version on the web site is 4.10. > > > > I'm not trying to be critical, I'm just wondering if I'm supposed to be > > performing some action to get the latest, or if 4.11 release (which I > > believe will be the last 4.x) will contain the latest version. > > You can download a newer version from the FTP site, or install it > using the installer from the relevant release. > > Kris I can't figure this out. I've set Options...release to "any" and to "." to no avail. And I logged in via ftp and perused the directory structure and tried packages-4.10-release, still no joy. I'm guessing that you meant /stand/sysinstall and Docs, HTML docs... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ALT key on console25?
On 2004-12-15 23:55, John Conover <[EMAIL PROTECTED]> wrote: >Giorgos Keramidas writes: >> On 2004-12-15 21:47, John Conover <[EMAIL PROTECTED]> wrote: >> > Is it possible to make the ALT key work on console25? >> >> It highly depends on what "work" means. Can you elaborate a bit? > > Oh, ALT-k does the same thing as k. I think I picked the default > keymap during install, (which might be the UNIX keymap,) and wanted to > know how to change it to a PC-104 type of KBD. That's ok. You can remap ALT-k by writing your own custom keymap. The keymap(5) manpage and the existing keymaps in the directory `/usr/share/syscons/keymaps' can serve as help :-) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How can I make a program keep running even after I logout?
Rae Kim wrote: Thank you all guys.. I've tried daemon, nohup and Nicolas' csh method all works fine. My way isn't a csh way it's just that I use csh as my default shell and was just stating the fact that with csh background jobs do not die when you exit, so the "nohup" is optional (but recommend) with csh. The way I do it is a hybrid of my own method I thought up and Rubens method: # nohup foobar > foobar.log& "nohup" is to ingore the SIGUP signal, "foobar" is your command you want to run, ">" is to redirect output from stdout (the console) to a file, "foobar.log" is the file you're redirecting output to, "&" is to background the job. example: nohup cvsup -g -L 2 /root/ports-supfile > /root/ports-supfile.log& --- # tail -f foobar.log tail displays the end of a file (are log file), the "-f" flag "causes tail to not stop when end of file is reached, but rather to wait for additional data to be appended to the input", "foobar.log" this is are log file from are backgrounded job above. example: tail -f /root/ports-supfile.log So what tail -f essentially does is bring are background job back to the foreground by redirecting the output from the command back to stdout. This mean that if we're on a remote connection and the link die the program will stay running and we can just login again and start where we left off, or if we get back home/work/school/where we can still watch whats happening in realtime. I just had an idea... Is there a way to redirect stdin to a file or redirect stdin to a file and have are job use this file for stdin? if this is was possible we could interact with are background job from any remote or local terminal, this could be a security risk though because anyone could interact with it?. So anyways... The beauty of this is that we're using standard unix stuff so you can do this from any *nix box and from any shell. --- ###My (old) Way### $ ssh localhost Password: Last login: Mon Nov 22 06:13:59 2004 from localhost Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-RELEASE-p1 (SPECTRA) #0: Sat Nov 20 23:30:17 CST 2004 Welcome to FreeBSD! $ su Password: spectra# cvsup -g -L 2 /root/ports-supfile > /root/ports-supfile.log& [1] 71669 spectra# exit exit $ exit Connection to localhost closed. $ tail /root/ports-supfile.log Add delta 1.25 2004.11.21.22.03.48 marcus Edit ports/x11-toolkits/py-gnome2/Makefile Add delta 1.78 2004.11.20.17.18.17 kwm Edit ports/x11-toolkits/py-gnome2/distinfo Add delta 1.28 2004.11.20.17.18.17 kwm Edit ports/x11-toolkits/py-gnome2/pkg-plist Add delta 1.31 2004.11.20.17.18.17 kwm Updating collection ports-x11-wm/cvs Shutting down connection to server Finished successfully $ exit ###Rubens Way### From work: # nohup foobar >& foobar.log & Back home: # tail -f foobar.log Ruben Thanks # nohup foobar >& foobar.log & ^^^ Why'd you do it like that, how is it diffrent from this way?: # nohup foobar > foobar.log & - His example redirects both stdout and stderr to foobar.log, while yours only redirect stdout. (Note that ">&" is a csh-specific operator. The equivalent for a Bourne-shell derivative would be: nohup foobar > foobar.log 2>&1 & I.e. redirecting stdout to foobar.log and then redirecting file descriptor 2 (stderr) to wherever file descriptor 1 (stdout) goes to (foobar.log in this case.) When used with the nohup command I believe the redirection of stderr is unnecessary since the manpage for nohup(1) says "If standard error is a terminal, it is directed to the same place as the standard output." ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sendmail: host name lookup failure
Paul A. Hoadley writes: > There are numerous hits from Google on very similar issues, but > almost all the solutions point at DNS problems. If there is a > local DNS issue, I can't find it. Because it may not be what you think. Yesterday, I upgraded my -CURRENT system from mid-October. Afterward a number of major bits, starting with sendmail wouldn't start and showed classic signs of DNS problems. Now named had complained - though the message went by too fast for me to track, it was something about missing files - but loaded and there were no weird messages in the log. Also rndc didn't work. I was totally confused ... until I did "ps -ax | grep named" and found an unrequested "-t /var/named" at the end of the command line. So what's that about? "-t" causes named to run chrooted, per entry 20040928. That's not according to spec. My spec, anyway. Killed named, restarted with only approved command line, restarted all affected programs ... and life was good again. I have since tracked down the flag in /etc/defaults/rc.conf that caused this and made appropriate adjustments. Don't know if this is your problem but in case it helps. Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
On Thu, 16 Dec 2004 06:45, Noah wrote: > > I could be wrong about this, but I don't believe you need to > > reinstall those ports. Just force delete all old versions of mod- > > php4 and then install the new version of php4 or mod-php4 (whichever > > one you actually want). The other ports shouldn't need to be > > reinstalled, because the new version of php installs to the same > > location as the old version. Hence the ports that use it will just > > use the new version automatically. You may also want to clean up the > > duplicate gallery versions by using pkg_delete -f to remove both > > versions and then install just the latest version of gallery. > > > > To avoid this problem in the future, always use portupgrade to > > upgrade your ports. That way you won't get multiple versions installed! > > okay thank you, > > do you know of a command that can show me all the ports that are installed > on my machine? is there a nice tutorial that explains how to use the ports > efficiently and safetly? > cheers, > Noah > pkg_info will show you all the packages installed on your machine, portversion will do this too & show you wether they are up to date or not (assuming you have cvsuped your ports collection). portversion -vL= will show you which ones are not up to date. There is an excellent turorial on portupgrade from Dr. Dru Lavigne at http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html She has lot's of great articles in her FreeBSD basics series, the Big Scary Deamons articles are great too (also at http://www.onlamp.com) > also how do I upgrade and/or install php4? > > --- snip --- > > # portupgrade php4 > ** No such package 'php4' is installed. > # portinstall php4 > ** No such installed package nor such port called 'php4' is found. > > --- snip --- > That's where you need to use portupgrade -N php4-4.3.9_1 (-N means install a new port) or you can just cd to the php4 port directory and use make install clean to install it. Hope that helps. Cheers, -- Ian Moore GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc pgp4uJ65MQpfM.pgp Description: PGP signature
Re: handbook version
Steven Friedrich wrote: I noticed that the local version of the handbook is from Release 4.7 and the version on the web site is 4.10. I'm not trying to be critical, I'm just wondering if I'm supposed to be performing some action to get the latest, or if 4.11 release (which I believe will be the last 4.x) will contain the latest version. You can use cvsup to update the /usr/doc tree, and then you can use the tools included from the text/docproj port to rebuild HTML or other versions of the documentation for /usr/share/doc. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sendmail: host name lookup failure
Hello, I have just upgraded a machine from 5.2.1 to 5.3, and I think I _may_ have stomped on something in /etc/mail during mergemaster. The symptom is this: mail to other machines on the LAN worked yesterday, and is broken after the upgrade. Mail to the wider Internet continues to work. I have a series of mails in the queue, failing on delivery attempts like this: Dec 16 11:19:08 bert sendmail[1043]: iBF403Wb004664: to=<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>, ctladdr=<[EMAIL PROTECTED]> (1001/1001), delay=20:49:05, xdelay=00:00:00, mailer=esmtp, pri=4770661, relay=tsb.coremedicalsolutions.com., dsn=4.0.0, stat=Deferred: Name server: tsb.coremedicalsolutions.com.: host name lookup failure Running sendmail on the queue in verbose mode gives this: Running /var/spool/mqueue/iBG097Eq000666 (sequence 1 of 118) <[EMAIL PROTECTED]>... Connecting to tsb.coremedicalsolutions.com. via esmtp... [long pause] <[EMAIL PROTECTED]>... Deferred: Name server: tsb.coremedicalsolutions.com.: host name lookup failure Running /var/spool/mqueue/iBFNpkMQ052047 (sequence 2 of 118) <[EMAIL PROTECTED]>... Deferred: Name server: tsb.coremedicalsolutions.com.: host name lookup failure [...] There are numerous hits from Google on very similar issues, but almost all the solutions point at DNS problems. If there is a local DNS issue, I can't find it. > dig coremedicalsolutions.com. mx [...] coremedicalsolutions.com. 3600 IN MX 10 tsb.coremedicalsolutions.com. [...] tsb.coremedicalsolutions.com. 900 INA 192.168.10.69 > dig -x 192.168.10.69 [...] 69.10.168.192.in-addr.arpa. 900 IN PTR tsb.coremedicalsolutions.com. > dig bert.coremedicalsolutions.com. [...] bert.coremedicalsolutions.com. 900 IN A 192.168.10.78 > dig -x 192.168.10.78 [...] 78.10.168.192.in-addr.arpa. 900 IN PTR bert.coremedicalsolutions.com. That is, both the originating machine (bert) and the receiver (tsb) have forward and backward DNS entries. Can anyone suggest the next step in diagnosing this? -- Paul. w http://logicsquad.net/ h http://paul.hoadley.name/ pgpqiM3FS72gp.pgp Description: PGP signature
Re: cannot mount cdrom - not a newbie problem
ok i deleted the devices and ran sh MAKEDEV acd0 and still no joy i'll pre-empt the "it must be hardware" by assuming you it's not, it's does it on 2 different drives which work in other machines just fine. one is an lg dvdrw the other a cdrw my only possible thought now is it's something to do with dma Timothy Smith wrote: Peter Harmsen wrote: Giorgos Keramidas wrote: On 2004-12-15 09:43, Timothy Smith <[EMAIL PROTECTED]> wrote: titan# mount -t cd9660 /dev/cd0a /mount cd9660: /dev/cd0a: Invalid argument Try without *any* partition name: titan# mount -t cd9660 /dev/cd0 /mount Since /mount is a non-standard name, you _did_ check that /mount exists as a directory right? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Have you checked the acl rights of /dev/acd0 ? On my PC i just installed FreeBSD 5.3 Issuing chgrp "/dev/acd0" + chmod 770 "/dev/acd0" solved the problem. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" i'm su'd to root.. it's not a permission problem. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: handbook version
On Wed, Dec 15, 2004 at 06:50:27PM -0500, Steven Friedrich wrote: > I noticed that the local version of the handbook is from Release 4.7 and the > version on the web site is 4.10. > > I'm not trying to be critical, I'm just wondering if I'm supposed to be > performing some action to get the latest, or if 4.11 release (which I believe > will be the last 4.x) will contain the latest version. You can download a newer version from the FTP site, or install it using the installer from the relevant release. Kris pgpgX3CcoqJkq.pgp Description: PGP signature
Re: FreeBSD 5.3: panic page fault with nge driver
No one has replied to my posts. :( I hope I provided all the info that was needed. I tried 5.3-STABLE, but no success. OS still panics with same message below. 5.2.1-RELEASE works, but its not current anymore and I don't want to install an older OS. Besides, even with 5.2.1, I had to hardcode the media settings for the interface. OpenBSD 3.6 does not seem to have this problem and uses the same driver. So until I see that the problem is fixed, I have to move my IDS's over to OpenBSD. sp0ng3b0b wrote: I am getting a page fault with a new install of FreeBSD 5.3 Release. Something changed with the nge driver in FreeBSD 5.3. I did not have this problem with 5.2.1. I just performed a clean install on a box that had been running 5.2.1 RELEASE for a few months. The box is an Instrusion Detection System. I have fiber taps in place on the network and use the rx ports of the nic to monitor the traffic. In 5.2.1, i would do this to bond ports and monitor them: # ifconfig nge0 media 1000baseSX mediaopt full-duplex promisc -arp up # ifconfig nge1 media 1000baseSX mediaopt full-duplex promisc -arp up # ngctl mkpeer fec dummy fec # ngctl msg fec0: add_iface '"nge0"' # ngctl msg fec0: add_iface '"nge1"' # ngctl msg fec0: set_mode_inet # ifconfig fec0 promisc -arp up However, when i set the media options for nge0, the machine panics and dies. The panic message is hand typed below. FreeBSD 5.3 RELEASE. Intel Pentium 4 3.06GHz CPU 1GB RAM 80GB Maxtor HD (1x) Intel 82801DB (ICH4) Pro/100 Ethernet (6x) NetGear GA621 fiber 1GB NIC Fatal trap 12: page fault while in kernel mode fault virtual address= 0x8 fault code= supervisor read, page not present instruction pointer= 0x8:0xc055a002 stack pointer= 0x10:0xe32a2c9c frame pointer= 0x10:0xe32a2cac code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def 2 1, gran 1 processor eflags= interrupt enabled, resuep, IOPL = 0 current process= 27 (irq17: nge0) trap number= 12 panic: page fault ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ld-elf.so.1: Shared object"libintl.so.6" not found
On Thu, Dec 16, 2004 at 02:43:12AM +0300, Andrew P. wrote: > echo "Starting ppp as \"${ppp_user}\"" > echo "JUST BEFORE - ${ppp_command}" > su -m ${ppp_user} -c "exec ${ppp_command}" > echo "JUST AFTER" > Here I almost pressed the "Send" button in my Thunderbird, but > oops. Back to the shell :-) > > # man su > <...>A shell is then executed.<...> > > Yep, my default shell for root is bash. > > # ldd bash > bash: > libncurses.so.5 => /usr/lib/libncurses.so.5 (0x280e) > libintl.so.6 => /usr/local/lib/libintl.so.6 (0x28121000) > libc.so.4 => /usr/lib/libc.so.4 (0x2812a000) > libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x281c3000) > > So apparently I have probably changed the default shell from csh > to bash on both machines right after that portupgrade. I changed > back to sh now - and the error is gone. > > The only question I have now is how come I've never read about this? > I've read the Handbook and the Complete Freebsd and literally > thousands of other pages concerning FreeBSD management. I have > never seen a warning about changing the default shell for root. > Or am I just too blind?.. Aha! Well, it's good that we finally tracked this down. I'm not aware of anywhere that mentions this caveat and could not find it in a quick skim of the manpages and handbook, although it may still be there somewhere. It is certainly part of the UNIX lore that the root shell should be one that is self-contained in the root filesystem (typically this means /bin/sh or /bin/csh). The standard thing to do if you want to use another shell is to use the toor account, which is an alternate root account that is provided for this kind of thing. This leaves root available for emergency use (single-user mode), and (it turns out) for running scripts with 'su' during the early boot phase. What I recommend is that you open a doc PR requesting that this be documented somewhere, so that future generations don't run into this problem as well. Kris pgpxMUzkI4upg.pgp Description: PGP signature
Re: ALT key on console25?
Giorgos Keramidas writes: > On 2004-12-15 21:47, John Conover <[EMAIL PROTECTED]> wrote: > > Is it possible to make the ALT key work on console25? > > It highly depends on what "work" means. Can you elaborate a bit? > Oh, ALT-k does the same thing as k. I think I picked the default keymap during install, (which might be the UNIX keymap,) and wanted to know how to change it to a PC-104 type of KBD. Thanks, John -- John Conover, [EMAIL PROTECTED], http://www.johncon.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
handbook version
I noticed that the local version of the handbook is from Release 4.7 and the version on the web site is 4.10. I'm not trying to be critical, I'm just wondering if I'm supposed to be performing some action to get the latest, or if 4.11 release (which I believe will be the last 4.x) will contain the latest version. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 5.0
On Tue, Dec 14, 2004 at 01:53:51PM -0300, Rodrigo wrote: > Good Afternoon, > > My name is Rodrigo, I live in Brazil(my english is very bad, sorry) and I > would like to know where can I find the versions 5.0 (i386) and 5.1(i386) to > download? http://mirrorlist.freebsd.org, but it is not recommended that those versions be installed on new machines since they're old and full of bugs. Kris pgpy6xtCj4yvm.pgp Description: PGP signature
Re: ld-elf.so.1: Shared object"libintl.so.6" not found
Kris Kennaway wrote: Starting ppp as "root" /usr/libexec/ld-elf.so.1: Shared object "libintl.so.6" not found <...> OK, but that's not coming from executing /usr/sbin/ppp since you've shown us that it's not in fact linked to libintl, as expected (you could also verify this by executing ppp by hand). Can you show us your /etc/rc.conf? Perhaps it's not running /usr/sbin/ppp but some other binary. Indeed, I tried to "# ldconfig -elf /usr/lib /usr/lib/compat" (so that ld-elf cannot find libintl), but ppp loaded anyways. Attached is my kernconf and a few rc scripts. Eek, I only asked for rc.conf, not all that other junk :) I'm guessing that the error message is not in fact from loading ppp, but something else..one candidate would be sshd, which you may have replaced by a non-system version. Please run ldd /usr/sbin/sshd and check this. If not, then change the rc script to run with "#!/bin/sh -x" and take a closer look at what command is being run that returns the error. Well, I ran ldd /usr/sbin/sshd, ldd /usr/sbin/*, ldd /usr/bin/*, ldd /sbin/*, ldd /bin/*; looked through it, grepped for 'intl' without any instances found. Then I added two echo lines to the rc.network script: echo "Starting ppp as \"${ppp_user}\"" echo "JUST BEFORE - ${ppp_command}" su -m ${ppp_user} -c "exec ${ppp_command}" echo "JUST AFTER" And here's what I've got after reboot: # dmesg -a <...> Starting ppp as "root" JUST BEFORE - /usr/sbin/ppp -quiet -ddial default /usr/libexec/ld-elf.so.1: Shared object "libintl.so.6" not found JUST AFTER <...> # ldd /usr/bin/su /usr/bin/su: libutil.so.3 => /usr/lib/libutil.so.3 (0x28069000) libskey.so.2 => /usr/lib/libskey.so.2 (0x28072000) libmd.so.2 => /usr/lib/libmd.so.2 (0x28079000) libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28082000) libkrb.so.3 => /usr/lib/libkrb.so.3 (0x2809b000) libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x280b4000) libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x281ab000) libc.so.4 => /usr/lib/libc.so.4 (0x281ad000) Here I almost pressed the "Send" button in my Thunderbird, but oops. Back to the shell :-) # man su <...>A shell is then executed.<...> Yep, my default shell for root is bash. # ldd bash bash: libncurses.so.5 => /usr/lib/libncurses.so.5 (0x280e) libintl.so.6 => /usr/local/lib/libintl.so.6 (0x28121000) libc.so.4 => /usr/lib/libc.so.4 (0x2812a000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x281c3000) So apparently I have probably changed the default shell from csh to bash on both machines right after that portupgrade. I changed back to sh now - and the error is gone. The only question I have now is how come I've never read about this? I've read the Handbook and the Complete Freebsd and literally thousands of other pages concerning FreeBSD management. I have never seen a warning about changing the default shell for root. Or am I just too blind?.. Anyways, thank you Kris and Toomas for your kindest response! Thanx! Best wishes, Andrew P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Gnome without the stuff?
Robert William Vesterman wrote: I installed the Gnome2 port, and it installed a whole lot of stuff that I wasn't expecting, including stuff that I don't know what it is, and also stuff that I never intend to use. Is there a way to install just a "basic" Gnome, without all the stuff? That is, the default applications of various types? If I want Evolution, or Epiphany, or games, or blah blah blah, I would like to just install that specific thing myself when I decide that I want it. But if I want to use Firefox, I'm not interested in having Epiphany installed. Thanks, Bob Vesterman. There is a Gnome2-lite (/usr/ports/x11/Gnome2-lite) I'm not sure what it contains, might be worth looking into. I *think* that there are also switches for the build process to determine some of the "sub parts" of the build. It's possible that looking at the Makefile would shed some light. Don't forget that there is a good bit of resource at www.freebsd.org/gnome, including a FAQ (maybe you've already checked). I've often thought that Xfce4 might be a suitable replacement for the WM itself (without a "whole lot of stuff"), but that is just my opinion. HTH, Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade perl and openwebmail
If you have just gone from a < 5.8.1 version of Perl to the current 5.8.5, you are probably running into the following: (From the Openwebmail README file at http://www.openwebmail.org/openwebmail/doc/readme.txt ) > If you are using FreeBSD and your perl is compiled from port, > then please note that the SUID support is disabled by default > since the port for perl 5.8.1 or later > > You need to do 'make -DENABLE_SUIDPERL' in making port Lapo On Dec 15, 2004, at 2:50 PM, Noah Garrett Wallach wrote: FreeBSD-4.9 perl-5.8.5 openwebmail-2.41 just portupgraded perl now I am having difficulties reinitializing openwebmail.pl any clues on this? --- snip --- # /usr/local/www/cgi-bin/openwebmail/openwebmail-tool.pl --init Args must match #! line at /dev/fd/9 line 1. speedy_backend[44225]: perl_parse error speedy[44223]: Cannot spawn backend process --- snip - Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade perl and openwebmail
On Wed, 15 Dec 2004, Lapo Nustrini wrote: If you have just gone from a < 5.8.1 version of Perl to the current 5.8.5, you are probably running into the following: (From the Openwebmail README file at http://www.openwebmail.org/openwebmail/doc/readme.txt ) If you are using FreeBSD and your perl is compiled from port, then please note that the SUID support is disabled by default since the port for perl 5.8.1 or later You need to do 'make -DENABLE_SUIDPERL' in making port Lapo also is this make switch suppesed to be provided when building perl or when building openwebmail - which port please? cheers, Noah On Dec 15, 2004, at 2:50 PM, Noah Garrett Wallach wrote: FreeBSD-4.9 perl-5.8.5 openwebmail-2.41 just portupgraded perl now I am having difficulties reinitializing openwebmail.pl any clues on this? --- snip --- # /usr/local/www/cgi-bin/openwebmail/openwebmail-tool.pl --init Args must match #! line at /dev/fd/9 line 1. speedy_backend[44225]: perl_parse error speedy[44223]: Cannot spawn backend process --- snip - Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
att: Randall D. DuCharme (RadioAD5GB)
Hello, Why does this work this way? Thanks, Jo W. Try this... You need to read this and answer the question. It will take about 30 seconds but you just will not believe this!!! At the end of this, you are asked a question. Answer it immediately. Don't stop and think about it. Just say the first thing that pops into your mind. This is a fun "test"... AND kind of spooky at the same time! Give it a try, then e-mail it around (including back to me) and you'll see how many people you know fall into the same percentage as you. Be sure to put in the subject line if you are among the 98% or the 2%. You'll understand what that means after you finish taking the "test". Now... just follow the instructions as quickly as possible. Do not go to the next calculation before you have finished the previous one.. You do not ever need to write or remember the answers, just do it using your mind. You'll be surprised. Start: How much is: 15 + 6 3 + 56 89 + 2 12 + 53 75 + 26 25 + 52 63 + 32 I know! Calculations are hard work, but it's nearly over.. Come on, one more... 123 + 5 NOW QUICK! THINK OF A TOOL AND A COLOR! Scroll further to the bottom... A bit more... You just thought about a red hammer, didn't you? If this is not your answer, you are among 2% of people who have a different, if not abnormal, mind. 98% of those doing this exercise, think of a red hammer. -- Randall D. DuCharme (Radio AD5GB) Powered by FreeBSD! ( http://www.freebsd.org ) The Power to Serve! - Do you Yahoo!? Discover all thats new in My Yahoo! - Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. Yahoo! Groups Sponsor Get unlimited calls to U.S./Canada - Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/MyWisconsinFriends/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Loving You even More with Less of me. Hugs, Jo __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade perl and openwebmail
On Wed, 15 Dec 2004, Lapo Nustrini wrote: If you have just gone from a < 5.8.1 version of Perl to the current 5.8.5, you are probably running into the following: (From the Openwebmail README file at http://www.openwebmail.org/openwebmail/doc/readme.txt ) If you are using FreeBSD and your perl is compiled from port, then please note that the SUID support is disabled by default since the port for perl 5.8.1 or later You need to do 'make -DENABLE_SUIDPERL' in making port Lapo thanks - I am rebuilding perl now. is there something I can add to the /etc/make.conf file to make enabled SUID support everytime I rebuild perl? cheers, Noah On Dec 15, 2004, at 2:50 PM, Noah Garrett Wallach wrote: FreeBSD-4.9 perl-5.8.5 openwebmail-2.41 just portupgraded perl now I am having difficulties reinitializing openwebmail.pl any clues on this? --- snip --- # /usr/local/www/cgi-bin/openwebmail/openwebmail-tool.pl --init Args must match #! line at /dev/fd/9 line 1. speedy_backend[44225]: perl_parse error speedy[44223]: Cannot spawn backend process --- snip - Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cannot mount cdrom - not a newbie problem
On Wed, Dec 15, 2004 at 01:25:39PM +1000, Timothy Smith wrote: > > > yes, the hardware is perfect. You mention in your original post that you feel like somehow the "ata" just went bad in some way or another. Just to isolate this to a FreeBSD software issue have you tried booting to, say, a Knoppix live-cd and mounting the CD. Seems to me that if it works under one of the Linux live-cds that you can pretty much narrow it down to something with FreeBSD and/or it's interaction with your particular hardware. Nathan pgpkcVb2uE5aa.pgp Description: PGP signature
Gnome without the stuff?
I installed the Gnome2 port, and it installed a whole lot of stuff that I wasn't expecting, including stuff that I don't know what it is, and also stuff that I never intend to use. Is there a way to install just a "basic" Gnome, without all the stuff? That is, the default applications of various types? If I want Evolution, or Epiphany, or games, or blah blah blah, I would like to just install that specific thing myself when I decide that I want it. But if I want to use Firefox, I'm not interested in having Epiphany installed. Thanks, Bob Vesterman. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ALT key on console25?
On 2004-12-15 21:47, John Conover <[EMAIL PROTECTED]> wrote: > Is it possible to make the ALT key work on console25? It highly depends on what "work" means. Can you elaborate a bit? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
portupgrade perl and openwebmail
FreeBSD-4.9 perl-5.8.5 openwebmail-2.41 just portupgraded perl now I am having difficulties reinitializing openwebmail.pl any clues on this? --- snip --- # /usr/local/www/cgi-bin/openwebmail/openwebmail-tool.pl --init Args must match #! line at /dev/fd/9 line 1. speedy_backend[44225]: perl_parse error speedy[44223]: Cannot spawn backend process --- snip - Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: using two keyboards at the same time
On Wednesday, 15 December 2004 at 17:34:01 +0100, Norbert Koch wrote: > Hello. > > I know, the syscons driver does not allow to have > two keyboards attached at the same time. > > So my idea was to have a userland application which polls the > keyboard(s) currently _not_ attached to syscons using select(2) or > poll(2). From reading the source code under /sys/dev/kbd I thought > this should work. > > I made this simple test: I attached syscons to /dev/kbd1 and ran > "cat /dev/kbd0". As expected I saw characters coming from both > keyboards. Interesting. I can also confirm that it works with x2x (/usr/ports/x11/x2x) when connected to a remote machine. That actually works for me now, though I can't see any good use for it. > Then I wrote a program to do the selecting and switching. Well, it > does not work. Select never returns. Does anyone have an idea? Traditionally, select() doesn't work on all kinds of devices. I'd guess you've just found one that doesn't support select(). In any case, this is probably a question for [EMAIL PROTECTED] You may get more (accurate) results there. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgprlkvXMUnC9.pgp Description: PGP signature
Re: How can I make a program keep running even after I logout?
Thank you all guys.. I've tried daemon, nohup and Nicolas' csh method all works fine. On Wed, 15 Dec 2004 13:42:52 -0600, Nikolas Britton <[EMAIL PROTECTED]> wrote: > Hi Rae, I asked this very same question back in ("Job Control") back in > November, first thing to know is that the default for the csh shell is > not to hangup background jobs when you exit the shell. here is all the > meat from that tread: > > ###This is the way I thought up on my own Rae### > $ ssh localhost > Password: > Last login: Mon Nov 22 06:13:59 2004 from localhost > Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 >The Regents of the University of California. All rights reserved. > > FreeBSD 5.3-RELEASE-p1 (SPECTRA) #0: Sat Nov 20 23:30:17 CST 2004 > > Welcome to FreeBSD! > > $ su > Password: > spectra# cvsup -g -L 2 /root/ports-supfile > /root/ports-supfile.log& > [1] 71669 > spectra# exit > exit > $ exit > Connection to localhost closed. > $ tail /root/ports-supfile.log > Add delta 1.25 2004.11.21.22.03.48 marcus > Edit ports/x11-toolkits/py-gnome2/Makefile > Add delta 1.78 2004.11.20.17.18.17 kwm > Edit ports/x11-toolkits/py-gnome2/distinfo > Add delta 1.28 2004.11.20.17.18.17 kwm > Edit ports/x11-toolkits/py-gnome2/pkg-plist > Add delta 1.31 2004.11.20.17.18.17 kwm > Updating collection ports-x11-wm/cvs > Shutting down connection to server > Finished successfully > $ exit > -- > Presumably you've also nohup -ed the background job too:-) > > anyway have a look at 'screen' to give you virtual terminals that you > drop out of and back into when you want to. > --- > yes screen will do that, detach first before logout, then re-attach when > you want o get back to that session. Also no need to background the job, > as screen will just keep the job running after detach anyway.. > > -- > ###This was the one I liked the most Rae### > >From work: > # nohup foobar >& foobar.log & > > Back home: > # tail -f foobar.log > > Ruben > > If all you want to do is inspect the output from your command, then > simply use script(1) to save a transcript of the output. script(1) > comes with the system. Use it like this: > > % cd /usr/ports/x11/xorg > % script /tmp/make.out sudo make install > > And /tmp/make.out will contain a transcript of everything that appears > on your screen during the course of doing that job. > > Cheers, > > Matthew > --- > Thanks > > # nohup foobar >& foobar.log & > ^^^ > > Why'd you do it like that, how is it diffrent from this way?: > # nohup foobar > foobar.log & > --- > His example redirects both stdout and stderr to foobar.log, while yours > only redirect stdout. (Note that ">&" is a csh-specific operator. The > equivalent for a Bourne-shell derivative would be: > nohup foobar > foobar.log 2>&1 & > I.e. redirecting stdout to foobar.log and then redirecting file > descriptor 2 (stderr) to wherever file descriptor 1 (stdout) goes to > (foobar.log in this case.) > > When used with the nohup command I believe the redirection of stderr > is unnecessary since the manpage for nohup(1) says "If standard error is a > terminal, it is directed to the same place as the standard output." > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Network Problem
Hi Guys, I've been experiencing a strange problem with our FreeBSD web server: FreeBSD www.piyeepress.com 4.8-RELEASE Server version: Apache/1.3.27 (Unix) When accessed via a web browser, it will return pages for a few minutes. Eventually access is super super slow, as if some TCP state table is filling up. I reboot the server and it returns web pages as it should, but only for five or so minutes, when it won't return any more pages, or it returns pages but very slowly. I've tailed the apache log and the page is returned when I see it appear in my web browser. I'll click on a link, wait a minute or so, and if the page does finally appear in the browser, only then do I see the access in the httpd log. Same type of thing with tcpdump. Using rules and a few regular expressions to show just my IP, I don't see anything until the actual webpage comes through on my screen. The output of netstat -ap tcp doesn't show too many open states. I swear that some tcp state table is filling up; otherwise I have no clues. Here's something too: if I use lynx to access the site, and I access the site from another server in the same rack, the page is returned instantly. Here's some more confusion: non-Windows machines seem to do better at getting pages from the server than do Windows machines. Any ideas? Sorry if I have been unclear. This problem has been driving me crazy! Thanks, Chris Kelly +-+ Christopher Kelly Webmaster, Pi Yee Press 4855 W. Nevso Drive Las Vegas, NV 89103 [EMAIL PROTECTED] Office - (702) 579-7711 Fax - (702) 579-BOOK +-+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
Noah wrote: HI, okay one more question. what is the best method to get rid of all the stale dependencies please? --- snip --- Hi, Noah. (Thanks for building that boat all those years ago... :-) Anyway, this helped me in understanding how to answer pkgdb -F: http://www.onlamp.com/pub/a/bsd/2001/11/29/Big_Scary_Daemons.html A companion article from my Bookmarks: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html Excellent for learning about portupgrade. HTH, Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: for Centrino (Pentium-M) - ways to decrease CPU power?
> Install sysutils/estctrl, works for me. PERFECT! Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ALT key on console25?
Is it possible to make the ALT key work on console25? Thanks, John -- John Conover, [EMAIL PROTECTED], http://www.johncon.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ld-elf.so.1: Shared object"libintl.so.6" not found
On Wed, Dec 15, 2004 at 11:37:34PM +0300, Andrew P. wrote: > Kris Kennaway wrote: > >Note to [EMAIL PROTECTED]: you are blocking mail from me. > > > >Kris > > I'm sorry for that. Use [EMAIL PROTECTED] for personal > messages or cc'd mails, please. > >>Starting ppp as "root" > >>/usr/libexec/ld-elf.so.1: > >>Shared object "libintl.so.6" not found > >><...> > > > > > >OK, but that's not coming from executing /usr/sbin/ppp since you've > >shown us that it's not in fact linked to libintl, as expected (you > >could also verify this by executing ppp by hand). Can you show us > >your /etc/rc.conf? Perhaps it's not running /usr/sbin/ppp but some > >other binary. > > > > Indeed, I tried to "# ldconfig -elf /usr/lib /usr/lib/compat" (so > that ld-elf cannot find libintl), but ppp loaded anyways. Attached > is my kernconf and a few rc scripts. Eek, I only asked for rc.conf, not all that other junk :) I'm guessing that the error message is not in fact from loading ppp, but something else..one candidate would be sshd, which you may have replaced by a non-system version. Please run ldd /usr/sbin/sshd and check this. If not, then change the rc script to run with "#!/bin/sh -x" and take a closer look at what command is being run that returns the error. Kris pgp4v3opXbmun.pgp Description: PGP signature
Re: 5.2.1 install error
On Mon, 13 Dec 2004 11:17:02 -0600, Gable Barber <[EMAIL PROTECTED]> wrote: > Hello, > I am trying to install FreebSD 5.2.1 from CD, on the following box, I > am getting an error when it is installing /usr/ports. > > The gear: > > Duron 1000 > 512meg RAM > Mylex Acceleraid 150 (DAC960) > 4x9G IBM SCSI drives (7200rpm) > > The error : > > anic: free: address 0xc978f00 has not been allocated > > cpuid:0 > > syncing discs > > from there it counts about 4 lines of 4 digit codes, then reboots.. > > I have searched the questions archive, and google.com/bsd without much > avail. There were 2-3 similar posts with no follow ups. > > I thouhgt it might be a RAM problem, so I have tested with 2 different > modules (256each). The error continues to happen. > > Possibly CPU? > > I am at a loss, thank you in advance for any ideas... > > Gable > The problem was the SCSI card. For some reason, it didnt like writing a bunch of small directories and files (installing /usr/ports). It would pass the error and reboot. I tried 3 different cpu's on 2 different motherboards. 3 different RAM modules. If anyone has had any experience with these controllers, and has any idea where to go, I would certainly appreciate it. I hate to write off the card as toast.. Thank you, Gable ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Gvinum and swap partitions
I recently converted a vinum boot mirror to gvinum on a FreeBSD STABLE box. The mirror was initially setup using the information on Greg Lehey's "The Complete Freebsd" book, resulting in everything being mirrored on my boot drive, including the swap partition. While trying to get up to speed with the whole gvinum/vinum debacle, I recently came across a post suggesting that if one was using a gvinum based swap partition, a particular entry was required in a configuration file. For the life of me, I can't find this specific post again, (I think it was on one of the freebsd mailing lists), and I don't remember either the specific entry, or whether it referred to loader.conf or rc.conf. I know the above is pretty vague, but if anyone can tell me what needs to be set (if anything), other than placing: geom_vinum_load="YES" in /boot/loader.conf, I'd really appreciate it. Thanks, Lapo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
On Wed, 15 Dec 2004 12:15:58 -0800, Noah <[EMAIL PROTECTED]> wrote: > okay thank you, > > do you know of a command that can show me all the ports that are installed on > my machine? % ls /var/db/pkg | more > is there a nice tutorial that explains how to use the ports > efficiently and safetly? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html and % man portupgrade(1) after you've installed portupgrade, of course ;) -- Joshua Lokken Open Source Advocate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
Noah extolled: > > do you know of a command that can show me all the ports that are installed on > my machine? pkg_info >is there a nice tutorial that explains how to use the ports > efficiently and safetly? > > cheers, > > Noah > man (7) ports -- ___ Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ld-elf.so.1: Shared object"libintl.so.6" not found
Kris Kennaway wrote: Note to [EMAIL PROTECTED]: you are blocking mail from me. Kris I'm sorry for that. Use [EMAIL PROTECTED] for personal messages or cc'd mails, please. [originally built in May] [EMAIL PROTECTED] ldd /usr/sbin/ppp /usr/sbin/ppp: libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280b6000) libmd.so.2 => /usr/lib/libmd.so.2 (0x280cf000) libutil.so.3 => /usr/lib/libutil.so.3 (0x280d8000) libz.so.2 => /usr/lib/libz.so.2 (0x280e1000) libalias.so.4 => /usr/lib/libalias.so.4 (0x280ee000) libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x280fe000) libradius.so.1 => /usr/lib/libradius.so.1 (0x281f5000) libnetgraph.so.1 => /usr/lib/libnetgraph.so.1 (0x281fa000) libc.so.4 => /usr/lib/libc.so.4 (0x281fe000) I removed libintl from /usr/lib to check if the problem is still there and it is: [EMAIL PROTECTED] dmesg -a <...> Starting ppp as "root" /usr/libexec/ld-elf.so.1: Shared object "libintl.so.6" not found <...> OK, but that's not coming from executing /usr/sbin/ppp since you've shown us that it's not in fact linked to libintl, as expected (you could also verify this by executing ppp by hand). Can you show us your /etc/rc.conf? Perhaps it's not running /usr/sbin/ppp but some other binary. Indeed, I tried to "# ldconfig -elf /usr/lib /usr/lib/compat" (so that ld-elf cannot find libintl), but ppp loaded anyways. Attached is my kernconf and a few rc scripts. Thanks, Andrew P. #!/bin/sh # # Copyright (c) 2000 The FreeBSD Project # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright #notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright #notice, this list of conditions and the following disclaimer in the #documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # @(#)rc 5.27 (Berkeley) 6/5/91 # $FreeBSD: src/etc/rc,v 1.212.2.51 2002/10/17 17:25:07 schweikh Exp $ # # System startup script run by init on autoboot # or after single-user. # Output and error are redirected to console by init, # and the console is the controlling terminal. # Note that almost all of the user-configurable behavior is no longer in # this file, but rather in /etc/defaults/rc.conf. Please check that file # first before contemplating any changes here. If you do need to change # this file for some reason, we would like to know about it. stty status '^T' # Set shell to ignore SIGINT (2), but not children; # shell catches SIGQUIT (3) and returns to single user after fsck. # trap : 2 trap : 3# shouldn't be needed bootmode=$1 HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin export HOME PATH # BOOTP diskless boot. We have to run the rc file early in order to # retarget various config files. # See /usr/share/examples/diskless/clone_root for details on how # to setup diskless on the client and the server. # if [ -r /etc/rc.diskless1 ]; then dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null` if [ ${dlv:=0} != 0 ]; then . /etc/rc.diskless1 fi fi # If there is a global system configuration file, suck it in. # if [ -r /etc/defaults/rc.conf ]; then . /etc/defaults/rc.conf source_rc_confs elif [ -r /etc/rc.conf ]; then . /etc/rc.conf fi chkdepend() { svc=$1 svc_var=$2 dep=$3 dep_var=$4 eval svc_val=\${$svc_var} eval dep_val=\${$dep_var} case ${svc_val} in [Yy][Ee][Ss]) case ${dep_val} in [Yy][Ee][Ss]) ;; *) eval ${dep_var}="YES" echo "DEPENDENCY NOTE: ${dep} will be enabled" \ "to support ${svc}" ;; esac ;; esac } chkdepend amd amd_enableportmap portmap_enable chkdepend amd amd_enableNFS nfs_client_enable chkdepend NFS nfs_server_enable portmap portmap_enable chkdepend NIS n
Re: php4 install has conflicts
> > Try portupgrade -rR php4\* > > The -N flag is for installing new packages, not upgrading existing ones. > > -rR should resolve all dependencies above & below php4. That should also > > remove all the old versions . > > > Oops, > I shouldn't answer things before I've woken up properly! > I missed the fact you had mod_php installed rather than php. > I believe you need to pkg_delete mod_php and then install php, since > the Makefile for mod_php says: CONFLICTS= php4-4* php4-cli-4* > php4-cgi-4* HI, okay one more question. what is the best method to get rid of all the stale dependencies please? --- snip --- # portupgrade -Rr php4\* Stale dependency: php4-bz2-4.3.9_1 --> apache-1.3.33_1 -- manually run 'pkgdb -F' to fix (-O disallowed when -R is given). hurricane# pkgdb -F ---> Checking the package registry database Stale origin: 'devel/autoconf257': perhaps moved or obsoleted. -> The port 'devel/autoconf257' was removed on 2004-07-01 because: "autotools cleanup" -> Hint: autoconf-2.57_1 is not required by any other package -> Hint: checking for overwritten files... -> No files installed by autoconf-2.57_1 have been overwritten by other packages. Deinstall autoconf-2.57_1 ? [no] ^C --- snip --- cheers, Noah > > Cheers, > > -- > Ian Moore > > GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ld-elf.so.1: Shared object"libintl.so.6" not found
Note to [EMAIL PROTECTED]: you are blocking mail from me. Kris On Wed, Dec 15, 2004 at 12:21:27AM +0300, Andrew P. wrote: > [originally built in May] > [EMAIL PROTECTED] ldd /usr/sbin/ppp > /usr/sbin/ppp: > libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280b6000) > libmd.so.2 => /usr/lib/libmd.so.2 (0x280cf000) > libutil.so.3 => /usr/lib/libutil.so.3 (0x280d8000) > libz.so.2 => /usr/lib/libz.so.2 (0x280e1000) > libalias.so.4 => /usr/lib/libalias.so.4 (0x280ee000) > libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x280fe000) > libradius.so.1 => /usr/lib/libradius.so.1 (0x281f5000) > libnetgraph.so.1 => /usr/lib/libnetgraph.so.1 (0x281fa000) > libc.so.4 => /usr/lib/libc.so.4 (0x281fe000) > > [rebuilt on Dec 10] > [EMAIL PROTECTED] ldd /usr/sbin/ppp > /usr/sbin/ppp: > libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280b7000) > libmd.so.2 => /usr/lib/libmd.so.2 (0x280d) > libutil.so.3 => /usr/lib/libutil.so.3 (0x280d9000) > libz.so.2 => /usr/lib/libz.so.2 (0x280e2000) > libalias.so.4 => /usr/lib/libalias.so.4 (0x280f) > libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x2810) > libradius.so.1 => /usr/lib/libradius.so.1 (0x281fe000) > libnetgraph.so.1 => /usr/lib/libnetgraph.so.1 (0x28203000) > libc.so.4 => /usr/lib/libc.so.4 (0x28207000) > > I removed libintl from /usr/lib to check if the problem is still there > and it is: > > [EMAIL PROTECTED] dmesg -a > <...> > Starting ppp as "root" > /usr/libexec/ld-elf.so.1: > Shared object "libintl.so.6" not found > <...> OK, but that's not coming from executing /usr/sbin/ppp since you've shown us that it's not in fact linked to libintl, as expected (you could also verify this by executing ppp by hand). Can you show us your /etc/rc.conf? Perhaps it's not running /usr/sbin/ppp but some other binary. Kris pgp8huaCJv6OO.pgp Description: PGP signature
Re: php4 install has conflicts
> > I could be wrong about this, but I don't believe you need to > reinstall those ports. Just force delete all old versions of mod- > php4 and then install the new version of php4 or mod-php4 (whichever > one you actually want). The other ports shouldn't need to be > reinstalled, because the new version of php installs to the same > location as the old version. Hence the ports that use it will just > use the new version automatically. You may also want to clean up the > duplicate gallery versions by using pkg_delete -f to remove both > versions and then install just the latest version of gallery. > > To avoid this problem in the future, always use portupgrade to > upgrade your ports. That way you won't get multiple versions installed! > also how do I upgrade and/or install php4? --- snip --- # portupgrade php4 ** No such package 'php4' is installed. # portinstall php4 ** No such installed package nor such port called 'php4' is found. --- snip --- cheers, Noah > Cheers, > -- > Ian Moore > > GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 install has conflicts
> > I could be wrong about this, but I don't believe you need to > reinstall those ports. Just force delete all old versions of mod- > php4 and then install the new version of php4 or mod-php4 (whichever > one you actually want). The other ports shouldn't need to be > reinstalled, because the new version of php installs to the same > location as the old version. Hence the ports that use it will just > use the new version automatically. You may also want to clean up the > duplicate gallery versions by using pkg_delete -f to remove both > versions and then install just the latest version of gallery. > > To avoid this problem in the future, always use portupgrade to > upgrade your ports. That way you won't get multiple versions installed! okay thank you, do you know of a command that can show me all the ports that are installed on my machine? is there a nice tutorial that explains how to use the ports efficiently and safetly? cheers, Noah > > Cheers, > -- > Ian Moore > > GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: rl0: watchdog timeout
On Wed, 15 Dec 2004 22:08:24 +0300, Andrew <[EMAIL PROTECTED]> wrote: > Good day! > > I know, this question is famous, but i can't handle it myself. > The problem is: After some time my realtek card becomes > unresponsible. It happens because of buffer overflow. I tried > ping -f xxx. 15 seconds later, the kernel says that > rl0: watchdog timeout. > I can't send files more then 100MB via network. This problem > is because of my PC configuration - Motherboard GB K8N, > chipset nforce 3. Unfortunately, even FreeBSD 5.3 can't handle > it (but it's better then 5.2.1). Maybe someone has already met > this problem? Looking around Google a bit, it looks like many people have been able to get the timeouts to go away by disabling PnP OS in the BIOS. Do you have that set to Yes? If so, try disabling it, and see if it helps any. -- Joshua Lokken Open Source Advocate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How can I make a program keep running even after I logout?
Rae Kim wrote: I connect to my computer from school computer. I want to cvsup or/and portupgrade and logout but the program keep running? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Hi Rae, I asked this very same question back in ("Job Control") back in November, first thing to know is that the default for the csh shell is not to hangup background jobs when you exit the shell. here is all the meat from that tread: ###This is the way I thought up on my own Rae### $ ssh localhost Password: Last login: Mon Nov 22 06:13:59 2004 from localhost Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-RELEASE-p1 (SPECTRA) #0: Sat Nov 20 23:30:17 CST 2004 Welcome to FreeBSD! $ su Password: spectra# cvsup -g -L 2 /root/ports-supfile > /root/ports-supfile.log& [1] 71669 spectra# exit exit $ exit Connection to localhost closed. $ tail /root/ports-supfile.log Add delta 1.25 2004.11.21.22.03.48 marcus Edit ports/x11-toolkits/py-gnome2/Makefile Add delta 1.78 2004.11.20.17.18.17 kwm Edit ports/x11-toolkits/py-gnome2/distinfo Add delta 1.28 2004.11.20.17.18.17 kwm Edit ports/x11-toolkits/py-gnome2/pkg-plist Add delta 1.31 2004.11.20.17.18.17 kwm Updating collection ports-x11-wm/cvs Shutting down connection to server Finished successfully $ exit -- Presumably you've also nohup -ed the background job too:-) anyway have a look at 'screen' to give you virtual terminals that you drop out of and back into when you want to. --- yes screen will do that, detach first before logout, then re-attach when you want o get back to that session. Also no need to background the job, as screen will just keep the job running after detach anyway.. -- ###This was the one I liked the most Rae### >From work: # nohup foobar >& foobar.log & Back home: # tail -f foobar.log Ruben If all you want to do is inspect the output from your command, then simply use script(1) to save a transcript of the output. script(1) comes with the system. Use it like this: % cd /usr/ports/x11/xorg % script /tmp/make.out sudo make install And /tmp/make.out will contain a transcript of everything that appears on your screen during the course of doing that job. Cheers, Matthew --- Thanks # nohup foobar >& foobar.log & ^^^ Why'd you do it like that, how is it diffrent from this way?: # nohup foobar > foobar.log & --- His example redirects both stdout and stderr to foobar.log, while yours only redirect stdout. (Note that ">&" is a csh-specific operator. The equivalent for a Bourne-shell derivative would be: nohup foobar > foobar.log 2>&1 & I.e. redirecting stdout to foobar.log and then redirecting file descriptor 2 (stderr) to wherever file descriptor 1 (stdout) goes to (foobar.log in this case.) When used with the nohup command I believe the redirection of stderr is unnecessary since the manpage for nohup(1) says "If standard error is a terminal, it is directed to the same place as the standard output." ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sharing resources on LAN without NFS
On Wed, 15 Dec 2004 22:52:21 +1300 Ben Washington-Yule <[EMAIL PROTECTED]> wrote: > The handbook section on NFS was great but having only 3 computers I > don't feel the need to set up a client/server system. Nevertheless I > > would like to be able to share one printer and one cd-writer between > > these 3 machines. I'll be grateful even for just a shove towards the > > correct handbook chapter where this is explained. /me uses NFS for only two machines on his lan Well sharing a device can be done using geomgate. The problem with this making it play nicely... not more than one device can connect to it with write privileges. For this I would just use NFS and then ssh into that one machine and burn it from there. I would say NFS would be the simpleist solution... samba is workable, but authentication with it is a total PITA as it does not play nicely for using NIS or local authentication... only really supports LDAP and a newer and older samba passwd storage... So if you are running NIS on your lan, NFS is easy the way to go. For LDAP on the lan, I would say it is your personal choice between Samba and NFS. The handbook has a nice chapter on NIS and NFS. For printing, I would suggest reading the chapter in the handbook. It has some nice info on it. I would also suggest apsfilter, since it makes drivers nice to work with. There is also CUPS if you don't want to use the base lpd. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Support for PERC4e/Di and 4e/Si
Greetings, The amr driver man page @ http://www.freebsd.org/cgi/man.cgi?query=amr&apropos=0&sektion=4&manpath =FreeBSD+4.10-stable&format=html Claims support for PERC4e/Di and Si in 4.10-stable. However when I download the floppies from ftp://snapshots.jp.freebsd.org/pub/FreeBSD/snapshots/i386/4.10-STABLE-20 041117-JPSNAP/floppies/ and boot from them, the hardware is not recognized. Is there a minimum version of 4.10-stable I need to be using or possibly a patch that I could apply? Thanks in advance for your assistance. Clay Cooper PG Custom Solutions Engineering [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: HTT/SMP Dual Xeon systems unstable
John Baldwin wrote: There is a problem in the kernel that causes with 3 or more processors (including logical CPUs from HTT). Disabling HTT in the BIOS is probably your best bet as it will get you down to 2 CPUs which should work much better. HTT also isn't but so useful anyways for most workloads. The instability problems have just been fixed in HEAD and will hopefully be MFC'd for 5.4 btw. It looks like I have lucked out so far, because I have this set up with no problems so far. I hope this fix gets to 5.x-stable soon because for my particular workloads HTT helps a lot. Stephen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: rl0: watchdog timeout
Hi Andrew, Warning: no definitive answer ahead. > After some time my realtek card becomes unresponsible. It happens > because of buffer overflow. I tried ping -f xxx. 15 seconds later, the > kernel says that rl0: watchdog timeout. I can't send files more then > 100MB via network. This problem is because of my PC configuration - > Motherboard GB K8N, chipset nforce 3. Unfortunately, even FreeBSD 5.3 > can't handle it (but it's better then 5.2.1). Maybe someone has > already met this problem? Thank you! I have no first hand experience with this particular problem, but it's almost common knowledge RealTek nics are great because they are cheap, not because they are of good quality. The phrase "piece of crap" has been uttered more than once in relation to these nics. Can you get your hands on any gigabit nics? (I've been using sk based chips with OpenBSD lately and they've been performing great under all circumstances so far.) > P.S. Sorry for my english. :) Don't be, it's fine. Bye... Nico ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rl0: watchdog timeout
Good day! I know, this question is famous, but i can't handle it myself. The problem is: After some time my realtek card becomes unresponsible. It happens because of buffer overflow. I tried ping -f xxx. 15 seconds later, the kernel says that rl0: watchdog timeout. I can't send files more then 100MB via network. This problem is because of my PC configuration - Motherboard GB K8N, chipset nforce 3. Unfortunately, even FreeBSD 5.3 can't handle it (but it's better then 5.2.1). Maybe someone has already met this problem? Thank you! Good luck. P.S. Sorry for my english. :) P.P.S. I tried 4 realtek cards in different slots and one 3com. :( ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How can I make a program keep running even after I logout?
Mat Kovach schrieb: On Wed, Dec 15, 2004 at 07:40:02PM +0100, Nico Meijer wrote: Hi, I want to cvsup or/and portupgrade and logout but the program keep running? Try screen: /usr/ports/misc/screen To run it, simply type `screen`, do your work, type "Ctrl-A d" to detach (you can go home now). Log in again, type `screen -r`. Be happy. You can also use nohup man 1 nohup But screen is an excellent choice also but might be over kill for this specific purpose. I use something like: $ nohup sudo cvsup -g -L 2 /etc/cvsupdate & appending output to /home/kovachme/nohup.out Another way is using daemon(8) which seems in many cases much more useful than nohup. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How can I make a program keep running even after I logout?
Hi, > I want to cvsup or/and portupgrade and logout but the program keep > running? Try screen: /usr/ports/misc/screen To run it, simply type `screen`, do your work, type "Ctrl-A d" to detach (you can go home now). Log in again, type `screen -r`. Be happy. HTH... Nico ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How can I make a program keep running even after I logout?
On Wed, 15 Dec 2004 13:33:00 -0500 Rae Kim <[EMAIL PROTECTED]> wrote: Hi, > I connect to my computer from school computer. > > I want to cvsup or/and portupgrade and logout but the program keep > running? You can use misc/screen for that, let's you attach/detach a screen while programs keep running inside that session. I use it to keep an irc client idling 7/24 :) Cheers, -- Miguel Mendez <[EMAIL PROTECTED]> | lea gfx_lib(pc),a1 http://www.energyhq.es.eu.org| moveq #0,d0 PGP Key: 0xDC8514F1 | move.l 4.w,a6 Note: All HTML mail goes to /dev/null| jsr -552(a6) pgpUXj693xGe7.pgp Description: PGP signature
Re: How can I make a program keep running even after I logout?
On Wed, Dec 15, 2004 at 07:40:02PM +0100, Nico Meijer wrote: > Hi, > > > I want to cvsup or/and portupgrade and logout but the program keep > > running? > > Try screen: /usr/ports/misc/screen > > To run it, simply type `screen`, do your work, type "Ctrl-A d" to detach > (you can go home now). Log in again, type `screen -r`. Be happy. You can also use nohup man 1 nohup But screen is an excellent choice also but might be over kill for this specific purpose. I use something like: $ nohup sudo cvsup -g -L 2 /etc/cvsupdate & appending output to /home/kovachme/nohup.out -- Mat Kovach Cleveland, Ohio ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: How can I make a program keep running even after I logout?
Man nohup Indian Institute of Information Technology Subhro Sankha Kar Block AQ-13/1, Sector V Salt Lake City PIN 700091 India > -Original Message- > From: [EMAIL PROTECTED] [mailto:owner-freebsd- > [EMAIL PROTECTED] On Behalf Of Rae Kim > Sent: Thursday, December 16, 2004 0:03 > To: [EMAIL PROTECTED] > Subject: How can I make a program keep running even after I logout? > > I connect to my computer from school computer. > > I want to cvsup or/and portupgrade and logout but the program keep > running? > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > [EMAIL PROTECTED]" smime.p7s Description: S/MIME cryptographic signature
Re: How can I make a program keep running even after I logout?
On 2004-12-15 13:33, Rae Kim <[EMAIL PROTECTED]> wrote: > I connect to my computer from school computer. > I want to cvsup or/and portupgrade and logout but the program keep running? Put it in the background. Optionally, you may wish to redirect its output to a file and use tail -f on that file to see how things are progressing: bash-2.05b$ ( cvsup -g -L 2 -h cvsup.example.net > logfile 2>&1 ) & bash-2.05b$ disown %1 bash-2.05b$ exit The example shown above works for GNU bash, hence the prompt. Other shells have ways of doing the same thing too. - Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How can I make a program keep running even after I logout?
I connect to my computer from school computer. I want to cvsup or/and portupgrade and logout but the program keep running? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Boot splash screens in 5.3
> > HIya, > > Im trying to find out how to add a bootsplash to 5.3. > > I've looked at the handbook and only saw details for 3.x. > > Is it the same process?? > > > > I have a 320x200 bmp file already for this, i assume that is the > > corrct size etc, as i read of a how-to for 3.x. > > man 5 loader.conf > > Tells you how to get a BMP or PCX sorted. Don't forget to have the appropriate options built into your kernel (device SPLASH or some such) -- If I write a signature, my emails will appear more personalised. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cpu temperature
On Wed, 15 Dec 2004 15:44:25 +0100 Dominique Goncalves <[EMAIL PROTECTED]> wrote: > On Tue, 14 Dec 2004 20:33:02 +0100, Lukasz Bigo <[EMAIL PROTECTED]> > wrote: > > I'm interrested by your script :-) It's available here: http://venus.ci.uw.edu.pl/~zbyfek/cputemp/ BTW. I must admit xmbmon + MRTG is the way to go, however, I've heard some rumors, that xmbmon is known as thinkpad-killer, so I decided not to use it on my 770e. > > Cheers > -- > dom -- Pozdrawiam, Lukasz Bigo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Old Computers, -Os, Stripping, and 4-STABLE
> 1. I'd like to know if it's (relatively) safe to use -Os for CFLAGS and > COPTFLAGS? Probably not, although it never hurts to experiment :) > 2. I'd like to know what background stuff/daemons/etc that can be safely > striped out, sendmail?, etc? Well, I don't have your list of current processes, but if all you want it for is a workstation and mp3 player, things like sshd and sendmail can certainly be disabled. > 3. Is there anyway to optimize the system for decoding / playing mp3s? The mp3 player is a start. I've had good luck on minimal systems with mpg123 > 4. Give mp3 playback a high priority and more cpu time in the system so > it doesn't skip as much, auto reniceing? Certainly nicing would give you more priority. You may want to do that. > 5. Optimize sound device resources, buffersize, dma, targetirqrate, etc > for mp3 playback? > > 6. Any other tips to improve performance? mount / with -o noatime > 7. Is there anything else I can safely strip out of my kernel (or add) > that will improve performance? > > here is a copy of my kernel config file: > > machinei386 > cpuI586_CPU > identSTUMBLEINE_01 > maxusers0 > > optionsPNPBIOS > options INET#InterNETworking > options FFS#Berkeley Fast Filesystem > options FFS_ROOT#FFS usable as root device [keep this!] > options SOFTUPDATES#Enable FFS soft updates support > options UFS_DIRHASH#Improve performance on big directories > options MFS#Memory Filesystem > #options MD_ROOT#MD is a potential root device > #options NFS#Network Filesystem > #options NFS_ROOT#NFS usable as root device, NFS required > #options MSDOSFS#MSDOS Filesystem > #options CD9660#ISO 9660 Filesystem > #options CD9660_ROOT#CD-ROM usable as root, CD9660 required > options PROCFS#Process filesystem probably unnecessary > options COMPAT_43#Compatible with BSD 4.3 [KEEP THIS!] > options UCONSOLE#Allow users to grab the console > options USERCONFIG#boot -c editor > options VISUAL_USERCONFIG#visual boot -c editor > options KTRACE#ktrace(1) support > options SYSVSHM#SYSV-style shared memory > options SYSVMSG#SYSV-style message queues > options SYSVSEM#SYSV-style semaphores also may be unnecessary > options P1003_1B#Posix P1003_1B real-time extensions > options _KPOSIX_PRIORITY_SCHEDULING > options ICMP_BANDLIM#Rate limit bad replies > options KBD_INSTALL_CDEV# install a CDEV entry in /dev > # output. Adds ~215k to driver. > deviceisa > devicepci > > # Floppy drives > devicefdc0at isa? port IO_FD1 irq 6 drq 2 > devicefd0at fdc0 drive 0 > devicefd1at fdc0 drive 1 These can be eliminated if you don't use them > # ATA and ATAPI devices > deviceata0at isa? port IO_WD1 irq 14 > deviceata1at isa? port IO_WD2 irq 15 > deviceata > deviceatadisk# ATA disk drives > deviceatapicd# ATAPI CDROM drives > options ATA_STATIC_ID#Static device numbering > > # SCSI peripherals > devicescbus# SCSI bus (required) > deviceda# Direct Access (disks) You only need these if you use scsi on your system in some way (usb mass is what I keep them in for, but I didn't notice usb in your config) > > # atkbdc0 controls both the keyboard and the PS/2 mouse > deviceatkbdc0at isa? port IO_KBD > deviceatkbd0at atkbdc? irq 1 flags 0x1 > devicepsm0at atkbdc? irq 12 > > # Video options > devicevga0at isa? > optionsVESA > optionsSC_PIXEL_MODE > > # splash screen/screen saver > pseudo-devicesplash This is generally unnecesary, it's only used (as it says) for boot splashes and screensavers. There have been some who thought the screensavers were a lot of overhead. > > # syscons is the default console driver, resembling an SCO console > devicesc0at isa? flags 0x100 > > # Floating point support - do not disable. > devicenpx0at nexus? port IO_NPX irq 13 > > # Power management support (see LINT for more options) > deviceapm0at nexus? disable flags 0x20 # Advanced Power > Management > > # PCCARD (PCMCIA) support > devicecard > devicepcic0at isa? irq 0 port 0x3e0 iomem 0xd > devicepcic1at isa? irq 0 port 0x3e2 iomem 0xd4000 disable > > # Serial (COM) ports > devicesio0at isa? port IO_COM1 flags 0x10 irq 4 > devicesio1at isa? port IO_COM2 irq 3 > devicesio2at isa? disable port IO_COM3 irq 5 > devicesio3at isa? disable port IO_COM4 irq 9 Keep these only if you use your serial po
Re: make package don't build package
> pkg_create -- i can't use becose I need create package recursively, > but I don't find in man page for this tool options for recursively. hello again alexandr, to my knowledge, such a switch does not exist. you can 'pkg_deinstall -R fooport' and then 'make package fooport' but, because you'll have to recompile everything, that is probably going to take quite a bit longer than this other way... pkg_info -r audacity\* Information for audacity-1.2.3: Depends on: Dependency: pkgconfig-0.15.0_1 Dependency: freetype2-2.1.7_4 Dependency: perl-5.8.5 Dependency: expat-1.95.8 Dependency: fontconfig-2.2.3,1 Dependency: jpeg-6b_3 Dependency: libiconv-1.9.2_1 Dependency: png-1.2.7 Dependency: glib-1.2.10_11 Dependency: imake-6.7.0_2 Dependency: xorg-libraries-6.7.0_3 Dependency: gettext-0.13.1_1 Dependency: libogg-1.1.2,3 Dependency: libvorbis-1.1.0,3 Dependency: libmad-0.15.1b_1 Dependency: libxml2-2.6.16 Dependency: bitstream-vera-1.10 Dependency: tiff-3.7.0_2 Dependency: xorg-fonts-encodings-6.7.0 Dependency: libXft-2.1.6 Dependency: glib-2.4.8 Dependency: xorg-fonts-truetype-6.7.0 Dependency: shared-mime-info-0.15_1 Dependency: gtk-1.2.10_12 Dependency: atk-1.8.0 Dependency: pango-1.6.0 Dependency: hicolor-icon-theme-0.5 Dependency: wxgtk-common-2.4.2_1 Dependency: gtk-2.4.14_1 Dependency: wxgtk2-2.4.2_5 ...then simply 'pkg_create -b each_port_listed_above'. if you are good with awk/sed (or another scripting language) you should be able to automate this procedure. and if you're good at coding, perhaps you'd like to submit a patch for a switch which enables pkg_create -b work recursively. (i too wouldn't mind see that feature added ;) cheers, epi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Boot splash screens in 5.3
Paul Robinson wrote: On Wed, Dec 15, 2004 at 01:49:22PM +, Simon Burke wrote: HIya, Im trying to find out how to add a bootsplash to 5.3. I've looked at the handbook and only saw details for 3.x. Is it the same process?? I have a 320x200 bmp file already for this, i assume that is the corrct size etc, as i read of a how-to for 3.x. man 5 loader.conf Tells you how to get a BMP or PCX sorted. This works: # cat /boot/loader.conf splash_bmp_load="YES" bitmap_load="YES" bitmap_name="/boot/splash.bmp" The trick is, according to splash(4), that the bitmap must be a 256-color one. Once I got that fixed, I have it going now Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd kernel
> > Hi. my name is Ricardo and i would like to know what kind of kernel you > are including in FreeBSD 5.3? > Thanks in advance. The FreeBSD kernel is included in FreeBSD. What other kernel would you possibly expect? jerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
freebsd kernel
Hi. my name is Ricardo and i would like to know what kind of kernel you are including in FreeBSD 5.3? Thanks in advance. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Building custom kernel - 'make' fails in FreeBSD 5.3
Fred Patmore wrote: >Guess this is why some say 99% of users are users :-) Oops, meant to say "99% of users are lusers".. darn, guess I am one of them ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Hylafax Help
On Tue, 14 Dec 2004 18:26:15 -0500, Alvaro Rosales <[EMAIL PROTECTED]> wrote: > Hello guys is there any hylafax hpwto for freebsd?. It looks like there are some hints in this thread (however sparse): http://unix.derkeiler.com/Newsgroups/comp.unix.bsd.freebsd.misc/2004-02/1531.html And Google says that there may be pertinent info on FreeBSD-specific Hylafax config in the FreeBSD Corporate Network's Guide: http://www.bsdmall.com/freebcornetg.html -- Joshua Lokken Open Source Advocate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Building custom kernel - 'make' fails in FreeBSD 5.3
Miguel Mendez wrote: Miguel Mendez wrote: On Wed, 15 Dec 2004 17:14:48 +0100 Fred Patmore <[EMAIL PROTECTED]> wrote: Hi, but I get the following error messages when doing 'make' [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make linking kernel [...] : undefined reference to `xpt_done' umass.o(.text+0x233f): more undefined references to `xpt_done' follow *** Error code 1 Yes, it's explained in the GENERIC config file: device umass # Disks/Mass storage - Requires scbus and da ^^^ Cheers, On Wed, 15 Dec 2004 17:14:48 +0100 Fred Patmore <[EMAIL PROTECTED]> wrote: Hi, but I get the following error messages when doing 'make' [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make linking kernel [...] : undefined reference to `xpt_done' umass.o(.text+0x233f): more undefined references to `xpt_done' follow *** Error code 1 Yes, it's explained in the GENERIC config file: device umass # Disks/Mass storage - Requires scbus and da ^^^ Cheers, Ack ! I eyeballed areas where Ive made some changes several times and completely ignore the others due to "I didnt touch it so they should be trouble-free" mentality. Should have just searched for 'umass' :-( Guess this is why some say 99% of users are users :-) Thanks for your help, its compiling neatly this time ! Fred P. <[EMAIL PROTECTED]> ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ld-elf.so.1: Shared object"libintl.so.6" not found
Kris Kennaway wrote: On Tue, Dec 14, 2004 at 09:08:50PM +0300, Andrew P. wrote: The real question you should be asking is "why does ppp (a system binary) depend on libintl (not a system library)?" You've probably replaced your ppp(8) with something else, with poor consequences. Can you tell me how to figure that out? What does the following command show you? ldd /usr/sbin/ppp [originally built in May] [EMAIL PROTECTED] ldd /usr/sbin/ppp /usr/sbin/ppp: libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280b6000) libmd.so.2 => /usr/lib/libmd.so.2 (0x280cf000) libutil.so.3 => /usr/lib/libutil.so.3 (0x280d8000) libz.so.2 => /usr/lib/libz.so.2 (0x280e1000) libalias.so.4 => /usr/lib/libalias.so.4 (0x280ee000) libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x280fe000) libradius.so.1 => /usr/lib/libradius.so.1 (0x281f5000) libnetgraph.so.1 => /usr/lib/libnetgraph.so.1 (0x281fa000) libc.so.4 => /usr/lib/libc.so.4 (0x281fe000) [rebuilt on Dec 10] [EMAIL PROTECTED] ldd /usr/sbin/ppp /usr/sbin/ppp: libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280b7000) libmd.so.2 => /usr/lib/libmd.so.2 (0x280d) libutil.so.3 => /usr/lib/libutil.so.3 (0x280d9000) libz.so.2 => /usr/lib/libz.so.2 (0x280e2000) libalias.so.4 => /usr/lib/libalias.so.4 (0x280f) libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x2810) libradius.so.1 => /usr/lib/libradius.so.1 (0x281fe000) libnetgraph.so.1 => /usr/lib/libnetgraph.so.1 (0x28203000) libc.so.4 => /usr/lib/libc.so.4 (0x28207000) I removed libintl from /usr/lib to check if the problem is still there and it is: [EMAIL PROTECTED] dmesg -a <...> Starting ppp as "root" /usr/libexec/ld-elf.so.1: Shared object "libintl.so.6" not found <...> Best wishes, Andrew P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
using two keyboards at the same time
Hello. I know, the syscons driver does not allow to have two keyboards attached at the same time. So my idea was to have a userland application which polls the keyboard(s) currently _not_ attached to syscons using select(2) or poll(2). >From reading the source code under /sys/dev/kbd I thought this should work. I made this simple test: I attached syscons to /dev/kbd1 and ran "cat /dev/kbd0". As expected I saw characters coming from both keyboards. Then I wrote a program to do the selecting and switching. Well, it does not work. Select never returns. Does anyone have an idea? May be I just made some stupid mistake. Thank you. > #include #include #include #include #include #include #include #include #include #include #define MAX_DEVICES 5 #define TEST #define STR(x) #x #define XSTR(x) STR (x) static void usage (void) { fprintf (stderr, "usage: autosw [ -D ] [ -d ] [ [ -f ] ... ]\n" " -D : do not detach\n" " -d : enable debug output\n" " -f : specify keyboard device (up to " XSTR (MAX_DEVICES) ")\n" " if no keyboard devices specified\n" " /dev/kbd0 and /dev/kbd1 are polled\n"); exit (1); } /* * borrowed from /usr/src/usr.sbin/kbdcontrol/kbdcontrol.c */ static int set_keyboard_fd (int fd) { keyboard_info_t info; if (ioctl (fd, KDGKBINFO, & info) == -1) { close (fd); return -1; }; ioctl (fd, CONS_RELKBD, 0); close (fd); if (ioctl (0, CONS_SETKBD, info.kb_index) == -1) { return -1; }; return 0; } static int set_keyboard (char * device) { int fd; fd = open (device, O_RDONLY); if (fd < 0) { return -1; }; return set_keyboard_fd (fd); } int main (int argc, char ** argv) { char * devices[MAX_DEVICES]; fd_set ifds, ofds; int ch, i, fd, maxfd, no_devices = 0, debug = 0, detach = 1, detached = 0; struct stat sb; while ((ch = getopt (argc, argv, "Ddf:h")) != -1) { switch (ch) { case 'D': detach = 0; break; case 'd': ++ debug; break; case 'f': if (no_devices >= MAX_DEVICES) { fprintf (stderr, "too many devices\n"); exit (1); }; if (stat (optarg, & sb) < 0) { fprintf (stderr, "cannot stat %s: %s\n", optarg, strerror (errno)); exit (1); }; if ((sb.st_mode & S_IFCHR) == 0) { fprintf (stderr, "not a character device: %s\n", optarg); exit (1); }; devices[no_devices ++] = strdup (optarg); continue; case 'h': case '?': default: usage (); } }; /* * no devices specified, use default */ if (no_devices == 0) { devices[0] = "/dev/kbd0"; devices[1] = "/dev/kbd1"; no_devices = 2; if (debug) { fprintf (stderr, "using default devices\n"); }; }; /* * switch syscons to first keyboard */ #ifndef TEST for (i = -1; ++ i < no_devices;) #else for (i = 1; i == 1; ++ i) #endif { if (set_keyboard (devices[i]) == 0) { if (debug) { fprintf (stderr, "selecting keyboard %s\n", devices[i]); }; break; } }; for (;;) { /* * try to open all devices for select */ FD_ZERO (& ifds); maxfd = -1; #ifndef TEST for (i = -1; ++ i < no_devices;) #else for (i = 0; i == 0; ++ i) #endif { fd = open (devices[i], O_RDONLY|O_NONBLOCK); if (fd >= 0) { if (debug) { fprintf (stderr, "polling %s", devices[i]); }; if (debug >= 2) { fprintf (stderr, " fd=%u", fd); }; if (debug) { fprintf (stderr, "\n"); }; FD_SET (fd, & ifds); if (fd > maxfd) { maxfd = fd; } } }; if (maxfd < 0) { fprintf (stderr, "could not open any device\n"); exit (1); }; if (detach && ! detached && ! debug) { daemon (0, 0); detached = 1; }; ofds = ifds; if (debug >= 2) { fprintf (stderr, "polling maxfd=%u\n", maxfd); }; /* * !!! never returns !!! */ if (select (maxfd, & ofds, NULL, NULL, NULL) == -1) { exit (0); }; if (debug) { fprintf (stderr, "polled successfully\n"); }; /* * find keyboard where select returned some activity */ for (fd = -1; ++ fd < maxfd; ++ fd) { if (FD_ISSET (fd, & ofds)) { if (debug) { fprintf (stderr, "switching keyboard\n"); }; if (debug >= 2) { fprintf (stderr, " fd=%u", fd); }; if (debug) { fprintf (stderr, "\n"); }; /* * switch to keyboard with activity */ set_keyboard_fd (fd); FD_ZERO (& ofds); }
Re: Building custom kernel - 'make' fails in FreeBSD 5.3
On Wed, 15 Dec 2004 17:14:48 +0100 Fred Patmore <[EMAIL PROTECTED]> wrote: Hi, > but I get the following error messages when doing 'make' > > [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make > linking kernel [...] > : undefined reference to `xpt_done' > umass.o(.text+0x233f): more undefined references to `xpt_done' follow > *** Error code 1 Yes, it's explained in the GENERIC config file: device umass # Disks/Mass storage - Requires scbus and da ^^^ Cheers, -- Miguel Mendez <[EMAIL PROTECTED]> | lea gfx_lib(pc),a1 http://www.energyhq.es.eu.org| moveq #0,d0 PGP Key: 0xDC8514F1 | move.l 4.w,a6 Note: All HTML mail goes to /dev/null| jsr -552(a6) pgpUiExIjMUYL.pgp Description: PGP signature
Re: Building custom kernel - 'make' fails in FreeBSD 5.3
On Wed, Dec 15, 2004 at 05:14:48PM +0100, Fred Patmore wrote: > Hi, > I've just installed FreeBSD (after removing it due to portupgrade gone > awry), did CVSup and now trying to build a custom kernel. > > make depend was successful > > but I get the following error messages when doing 'make' > > [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make > linking kernel > umass.o(.text+0x1ab3): In function `umass_cam_attach_sim': > : undefined reference to `cam_simq_alloc' > umass.o(.text+0x1b04): In function `umass_cam_attach_sim': > : undefined reference to `cam_sim_alloc' [snip] > > 'make' > > Stop in /usr/src/sys/i386/compile/C-KERNEL. > [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] > -- > > This is my kernel conf > > # > # GENERIC -- Generic kernel configuration file for FreeBSD/i386 > # > # For more information on this file, please read the handbook section on > # Kernel Configuration Files: > # > # > http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html > # > # The handbook is also available locally in /usr/share/doc/handbook > # if you've installed the doc distribution, otherwise always see the > # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the > # latest information. > # > # An exhaustive list of options and more detailed explanations of the > # device lines is also present in the ../../conf/NOTES and NOTES files. > # If you are in doubt as to the purpose or necessity of a line, check first > # in NOTES. > # > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.6.2.2 2004/10/24 > 18:02:52 scottl Exp $ > > machine i386 > #cpu I486_CPU > #cpu I586_CPU > cpu I686_CPU > ident C-KERNEL [snip] > device ugen # Generic > #device uhid # "Human Interface Devices" > device ukbd # Keyboard > #device ulpt # Printer > device umass # Disks/Mass storage - Requires scbus and da You see that part about 'Requires scbus and da' ? They do mean it. > device ums # Mouse > #device urio # Diamond Rio 500 MP3 player > #device uscanner # Scanners > # USB Ethernet, requires mii > #device aue # ADMtek USB Ethernet > #device axe # ASIX Electronics USB Ethernet > #device cue # CATC USB Ethernet > #device kue # Kawasaki LSI USB Ethernet > #device rue # RealTek RTL8150 USB Ethernet > > # FireWire support > #device firewire # FireWire bus code > #device sbp # SCSI over FireWire (Requires scbus and da) > #device fwe # Ethernet over FireWire (non-standard!) > > -- > Since I have no SCSI devices, I've removed anything that has something > to do with SCSI from the conf files. Could that be it ? (if you cant > tell by now, I am fairly new to this :-) That is it. -- Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PCI-X sound card
I have a need for a sound card on a backup server I have built. Something sound blaster compatible would be wonderful, but anything that works with 4.7 is ok. The mother board, a Supermicro X5DP8-G2, has only PCI-X slots. I am running FreeBSD 4.7. All suggestions are welcome. hal ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
No sound from audio cd's
Hi, I don't know how to get sound from audio cd's. Normal sound works fine (from mp3, movies etc.). I have an audio cable attached between the DVD player (Plextox PX-712A) and the soundcard (Creative Audigy2), but that doesn't help. All sound is maximized to 100% in mixer (not muted). The CD-player recognizes the cd and tracks on it, and plays the cd, except there is no sound. Does anyone have an idea what it could be? Thanks, Marco ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Building custom kernel - 'make' fails in FreeBSD 5.3
Hi, I've just installed FreeBSD (after removing it due to portupgrade gone awry), did CVSup and now trying to build a custom kernel. make depend was successful but I get the following error messages when doing 'make' [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make linking kernel umass.o(.text+0x1ab3): In function `umass_cam_attach_sim': : undefined reference to `cam_simq_alloc' umass.o(.text+0x1b04): In function `umass_cam_attach_sim': : undefined reference to `cam_sim_alloc' umass.o(.text+0x1b13): In function `umass_cam_attach_sim': : undefined reference to `cam_simq_free' umass.o(.text+0x1b35): In function `umass_cam_attach_sim': : undefined reference to `xpt_bus_register' umass.o(.text+0x1b61): In function `umass_cam_rescan_callback': : undefined reference to `xpt_free_path' umass.o(.text+0x1bd4): In function `umass_cam_rescan': : undefined reference to `xpt_periph' umass.o(.text+0x1be3): In function `umass_cam_rescan': : undefined reference to `xpt_create_path' umass.o(.text+0x1bff): In function `umass_cam_rescan': : undefined reference to `xpt_setup_ccb' umass.o(.text+0x1c1c): In function `umass_cam_rescan': : undefined reference to `xpt_action' umass.o(.text+0x1cfa): In function `umass_cam_detach_sim': : undefined reference to `xpt_bus_deregister' umass.o(.text+0x1d16): In function `umass_cam_detach_sim': : undefined reference to `cam_sim_free' umass.o(.text+0x1d5d): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1dd6): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1df5): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1e9d): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1f71): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x1fbf): more undefined references to `xpt_done' follow umass.o(.text+0x2185): In function `umass_cam_action': : undefined reference to `cam_calc_geometry' umass.o(.text+0x218d): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x219e): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x21af): In function `umass_cam_action': : undefined reference to `xpt_done' umass.o(.text+0x2221): In function `umass_cam_cb': : undefined reference to `xpt_done' umass.o(.text+0x231b): In function `umass_cam_cb': : undefined reference to `xpt_done' umass.o(.text+0x233f): more undefined references to `xpt_done' follow *** Error code 1 'make' Stop in /usr/src/sys/i386/compile/C-KERNEL. [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] -- This is my kernel conf # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.6.2.2 2004/10/24 18:02:52 scottl Exp $ machine i386 #cpu I486_CPU #cpu I586_CPU cpu I686_CPU ident C-KERNEL # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. options SCHED_4BSD # 4BSD scheduler options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device #options NFSCLIENT # Network Filesystem Client #options NFSSERVER # Network Filesystem Server #options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem #options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options
Re: cpu temperature
O. Hartmann wrote: Dominique Goncalves schrieb: On Tue, 14 Dec 2004 20:33:02 +0100, Lukasz Bigo <[EMAIL PROTECTED]> wrote: On Tue, 14 Dec 2004 22:19:24 +0800 "Spades" <[EMAIL PROTECTED]> wrote: You could try /usr/ports/sysutils/healthd. I can also send You a small PHP script which grabs some ACPI values using sysctl to draw a thermomether (Apache+PHP+GD required), so You could check the CPU temperature with Your browser. :) I'm interrested by your script :-) I have an ASUS CUR-DLS mainboard, BIOS 1012_007 beta and FreeBSD 5.3-STABLE, SMP disabled, ACPI enabled. I think your script utilize hw.acpi.thermalxxx (thermal zone). But I can't find this on my computer 'grep' ing throught sysctl-output. Can anyone help? Try installing the sysutils/xmbmon port, which is an alternative to healthd. You might have to fiddle with your kernel configuration to add smbus support, but for supported chipsets it usually works under GENERIC. It's fairly easy to plug the output from mbmon into something like MRTG to produce nice graphs of CPU temperature over time. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK signature.asc Description: OpenPGP digital signature
Re: make package don't build package
Hello Donald J. O'Neill > Hello Alexandr, > > If you did not have mpg123 installed, then "make package" would make > the port, install the port, and build a binary package that would > be put in /usr/ports//packages/All if you have /usr/ports/packages, > other wise it would be put in the port you are building. > > You could also do "make -package-recursive", which would build all > the ports that were pulled in by making this port. > > If you already have the port installed, then "make package" will > fail at the installation of the port. As your error message above > says, you have to run "make deinstall", then "make reinstall", that > will let you get through the install portion. But, the install > portion of "make package" failed, if you have done this, then you > can run "make package" and a binary package will be made. You can > run "make package-recursive" at that point. My problem is that I want to build packages for all programs installed from ports collections on my copmpute(this is not workstation and I can't stop it) I have some errors for apache2 mysql41 firebired-devel i can't stop this processes and I haven't other computer with internet connection. I wont to have identikal packages on my home workstaion. Make package-recursive take me some errors. Do known anybody other ways??? For some packages pkg_create works, but it haven't recursive options. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: trying to locate Teddy Field's son
On Tuesday 14 December 2004 20:54, sasha.roxie wrote: > I'm trying to locate Teddy's son, so googled your name. I hate to say it, but your relative's been hanging out with a pack of merry daemons. -- Kirk Strauser pgpul9hqYrv61.pgp Description: PGP signature