Re: Mounting problem
On Saturday 05 April 2003 03:50 pm, DayGlow Etsa wrote: Hi, I'm having a problem mounting my cdrom drive(acd0a). In my /sbin/dmesg they state that my cdrom drive is acd0 but I found that no such a device is in my /dev directory instead I found a acd0a and a acd0c. I can't get it to mount , if I use the followinf command: mount_cd9660 /dev/acd0a /cdrom they give me the reply cd9660:/dev/acd0a:Invalid argument that's because you need to use acd0c as the argument. The way FreeBSD sees ISO 9660 filesystems is that the c partition is the whole disk. I don't know what a represents really. Although when I used cdcontrol and set my device to acd0a , it read my cd and worked fine. I'm not sure why that would work. Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server
On Saturday 05 April 2003 05:05 pm, Yorgos Christoforou wrote: thanks for the tip. I had tried the freebsd archives but couldn't find anything there. Thats one good place, then try glancing through the FreeBSD handbook, it has almost everything you would need. At least read the table of contents before asking a question. Then try the FAQ, and the other pages at http://www.freebsd.org/docs.html you'll find all the basics among those. Good luck, Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.8-Installation floppies fail
On Saturday 05 April 2003 03:19 am, Rob Lahaye wrote: Matthew Seaman wrote: On Sat, Apr 05, 2003 at 04:18:17PM +0900, Rob Lahaye wrote: Does the official release come with broken floppy files? Anything I can do to avoid this? No, but floppy disks are notoriously unreliable. Sounds to me as if your mfsroot floppy has got some bad sectors. Could you try again, making a new mfsroot floppy, preferably on a brand new never used before floppy? Thanks; indeed that was the problem. I found out that I can check first whether my floppies are alright by fdformat -f 1440 /dev/fd0 on my other FreeBSD box. This program reports bad blocks on the floppy. I actually wonder if this should go in the installation manuals somewhere. It's in there. Section 2.2.7 Prepare the Boot Media says in part 2: Prepare the Floppy Disks Important: If you try to install FreeBSD and the installation program crashes, freezes, or otherwise misbehaves, one of the first things to suspect is the floppies. Try writing the floppy image files to some other disks and try again. Other places are a bit more emphatic, the FAQ for one i believe. Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How much RAM is needed for FreeBSD
On Saturday 05 April 2003 01:48 pm, Jason Burgess wrote: please don't top post -Original Message- From: kitsune [mailto:[EMAIL PROTECTED] Sent: Sunday, April 06, 2003 12:59 PM To: [EMAIL PROTECTED] Subject: Re: How much RAM is needed for FreeBSD On Sat, 05 Apr 2003 18:23:18 +0200 Clemens Jaeger [EMAIL PROTECTED] wrote: Hello! I was looking for information : how much RAM is needed to run FreeBSD on a Pentium Computer? There is no information on your website / documentation for Version 5.0 should be something like 4Mb, iirc that's outdated information for older releases. see the FAQ http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html I think that information that all will run in 4MB is out of date now too. I'd be surprised if 5.0 could boot in 4MB in a useful form, even after a custom kernel was built. I've never had any luck below 8MB. Jason Burgess The only documentation on this that I see is in the FAQ. The FAQ only refers to 2.x, 3.x, and 4.x anyway. I'm not sure what the doc project has in mind for 5.x documentation. I received another email that said he was not able to install 5.0 in less than 20 MB, so there's a data point. Anyone want to take this up with [EMAIL PROTECTED] It seems this is a FAQ, but would be well to place the minimum memory requirements in the install instructions since no one reads the FAQ it seems. Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.8 mini-iso wont boot off SCSI cdrom
On Saturday 05 April 2003 08:42 pm, C Mead wrote: Hi all, Wondering if anyone has had, or can try to recreate the problem below. Just downloaded the 4.8 mini iso, and tried booting it from a Plextor UW SCSI cdrom, for some reason though it doesnt want to boot from it. The at what point does it fail? Do you see any messages? cd works I've booted it on 2 other machines with IDE drives, so its not the media(cdrom) itself. And I've booted both Slackware and Gentoo iso's on the scsi cdrom and they boot fine as well. I have just stuck a old IDE cdrom in the SCSI box and it boots the install fine from that drive. we need the output of the boot messages to be able to figure out why and see what hardware you have. Boot with the IDE drive then use a fixit floppy ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.8-RELEASE/floppies/fixit.flp to save the output of dmesg. That needs to be written as an image to a floppy. See the install instructions in the handbook for how. Or just install using the IDE cdrom and copy the text from the file /var/run/dmesg.boot I am quite new to the BSD world coming from Linux, so I have little experience other than running 5 for about a month, but I was advised to go back to the 4.* series for the usage I want from this machine. Is it possible that the mini iso has a bug with respect to SCSI cdroms? sure. Try the 4.8 boot floppies, do they give the same problem? Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Updating /usr/src after updating 4.7-4.8
On Saturday 05 April 2003 09:26 pm, Paul Hoffman wrote: Greetings again. On a test machine, I upgraded from fairly vanilla 4.7 to 4.8 using CD-ROM and /stand/sysintall. At the beginning of the upgrade, it told me that it would not upgrade /usr/src. After the upgrade, I see by the dates that it upgraded some of /usr/src, but not most of it. What is the proper way to bring /usr/src up to date so that I can make kernel mods? cvsup is one of the most common ways. You need to install it first. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html here's my supfile: *default host=cvsup12.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4_8 *default delete use-rel-suffix *default compress src-all save it to a file called supfile and run it with cvsup -g -L 2 supfile Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel out of sync was: make buildworld help please ?
On Friday 04 April 2003 02:28 pm, Brent Bailey wrote: Hello, Im running a FBSD 4.5 machine DUEL CPU 450 w/ 512 MB ram . Anywho ...i tried to CVSUP to the latest stable release , seems the CVSUP went then a good idea is to use the -stable mailing list. Try 4.8 release. RELENG_4_8 well ...ANYWHO my problem after all was said and done was that i cant do a ps -ax or w or top this is the procedure i did with no good results: make a backup of etc cp -Rp /etc /etc.old good in a prebuild world environment # /usr/sbin/mergemaster -p -v # cd /usr/obj # chflags -R noschg * # rm -rf * Compile the sources: # cd /usr/src # make buildworld -- this failed the first time something to do with sendmail ..so i removed freebsd.mc * fromthe /usr/local/etc/cvsup/sup/refuse file so it would ignore sendmail then did a cleandir and then redid CVSUP and then redid make buildworld Compile and install the new kernel: # cd /usr/src # make buildkernel KERNCONF=LOQTIS-SMP-1 -- this failed to saying it couldnt make LOQTIS-SMP-1 although it said it made the GENERIC kern. go figure At this point i didnt know what to do ...so i just continued i rebooted into single user mode and ran: #make installworld -- no errors this is your problem. if you installworld before compiling and installing a kernel successfully, then you are running a 4.5 kernel with a 4-stable world. This is bad and leads to the problems you've reported with ps. I don't know why the kernel build failed, but it could be due to what you have in your refuse file. Try blanking that. You should not refuse anything that you do not understand the full effects of. Make sure to read /usr/src/UPDATING carefully. There are pitfalls in upgrading accross 4.6 if you're not careful. Tim #/usr/sbin/mergemaster -v-- from what i understand if you select d it deletes the temporary file, if you select i it installes the new version of the file. what i did was any file that I knew to be modified by me i did a d to keep my original file and the rest that i knew wasnt modified by me ...i chose i to install the new version. then I did # cd /usr/src/release/sysinstall # make clean # make all install when i rebooted i ran into the problem of not being able to do a ps -ax or a w ... i know this means that the make buildworld didnt work or at least a part of it didnt work right. Please ..any help or suggestions would be greatly appreciated ..as a note i did this same procedure on another non-production FBSD 4.5 box with no issues. also ..i have tape backup of the whole system so if all else fails i can go back ..but id rather not concidering the recent expoits found in certain ports im running.Figures huh... Thank you Brent ___ [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: Sendmail from src or ports
On Saturday 05 April 2003 02:10 am, K Anderson wrote: Which is the preferred sendmail? The ports version or the src/ version? The question has no useful meaning. Preferred for what? You need to define what you want first. Only then can you determine what is best for you. Some may say qmail, etc are better. my .02 Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting-up FreeBSD 4.6 on my computer !
On Monday 31 March 2003 08:19 pm, [EMAIL PROTECTED] wrote: Hello, I bought FreeBSD 4.6 OS which includes 4 discs and FreeBSD Toolkit (March 2002) which includes 6 discs and 'The FreeBSD HANDBOOK' 2nd Edition [WindRiver] ; all of this from BSDmall website in Augest 2002 and they ship it to me in Saudi Arabia by UPS. Cool, FreeBSD in Saudi Arabia! I tried to install it on my computer , but always the configuration of XFree86 - X window system failed . I get the message ( . XFree86 configuraion seems to have failed .);and I tried again these days Make sure you know the specifications of your monitor. You need to know the horiontal and vertical sync rates. They'll be something like 50-150 30-85 If you don't know yours you can search for your monitor model in google or something and often find the correct specs. Or you can boot with knoppix and copy the config file to a floppy then copy it to the same place in FreeBSD. Download a mini ISO here, burn it to a cdr and it should boot just fine for you: ftp://ftp.es.debian.org/pub/miniKnoppix The config file is in /etc/X11 good luck, Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: installworld -- error 71
On Wednesday 02 April 2003 12:28 pm, Steve Bertrand wrote: I am trying to installworld after a successful cvsup of RELENG_4 and buildworld. I continuously get: Then you should ask on -stable mailing list. Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How good is Linux Binary Compatibility?
On Tuesday 01 April 2003 07:40 am, Rus Foster wrote: Hi All, I've got a few minutes going spare so I thought that I would try and see if it is possible to bootstrap a chroot-ed debian install under 4.7. Has anyone tried this before with any luck or is this just going to be a learning expierence for me? Unless the linux section of the handbook is out of date: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html#LINUXEMU-SYNOPSIS linux compatibility is not to that level yet. It doesn't implement all of the linux syscalls, especially those relating to intensive hardware use, so I'm guessing it wouldn't be able to run a whole system inside. Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need help getting FreeBSD to run
On Monday 31 March 2003 07:02 am, Mike Doyle wrote: I'm having a little problem with my ISP. They said they would lease me a new rack-mounted server and put FreeBSD on to it. However, they were unable to get it to recognize certain parts of the hardware (specifically getting errors on the network cards not being initialized correctly). barring a more informed opinion, it seems that there is no support for that ethernet chipset on FreeBSD. It is not listed on http://www.freebsd.org/releases/4.7R/hardware-i386.html My guess is that the rest of that hardware will run fine with FreeBSD, but unless you get the FreeBSD dmesg for us I wouldn't know. They can get you the FreeBSD dmesg if they get the rescue floppy and use that after booting from the install disk. Then they can save the dmesg to floppy or whatever. beyond that, you'd need to either have them put new network cards in the server, or you'd have to port the linux driver, or pay to have it done. sorry, Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I rescan the scsi-bus in freebsd?
On Sunday 30 March 2003 10:52 am, Eveline wrote: Hi there, I'd like to know how to rescan the scsi bus in FreeBSD 4.7. I have an external scsi harddisk that I only switch on when needed. I would like to be able to mount the hd as soon as I've switched it on, without having to reboot my FreeBSD machine. camcontrol(8) is what you're looking for man man if you don't know what this means Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Acroread port errors
Hi, I installed acroread-3.02 from ports but I get errors when trying to run it. First I got 3-4 errors about different lib versions needed, eg: libc.so.5: cannot open shared object file: No such file or directory Thats true because I had libc.so.6 - libc-2.2.4.so in /usr/compat/linux/lib there were others that were similiar, but I forgot which ones. So for fun, to see if it would work, I just created the new links with # ln -s libc-2.2.4.so libc.so.5 and similiar for the others. Now I get this error, and don't know what to do: /usr/local/Acrobat3/Reader/intellinux/bin/acroread: relocation error: /usr/local/Acrobat3/Reader/intellinux/bin/acroread: undefined symbol: __libc_init I'm guessing this is where the different lib versions are not playing well together. pkg_version shows all of the relevant ports such as linux_base-7.1_2 and acroread up to date. cvsup'd ports last night Any ideas? Thanks, Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mailing list was: no subject
On Sunday 30 March 2003 09:42 pm, skylex wrote: %list The freebsd lists aren't administrated with majordomo anymore, checkout this link: http://lists.freebsd.org/mailman/listinfo/freebsd-questions ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dd
On Sunday 30 March 2003 07:57 pm, Grant Peel wrote: Hi all, I am about to make the trip to shutdown one of our servers and 'dd' the first SCSI drive to the second. from what I have read, and what some of you have kindly offered, I just kick into single user mode, with only root mounted on the primary drive, ro, I assume and away we go... dd if=/dev/da0 of=/dev/da1 bs=1m That'll copy the data, but you'll want to prep the disk. I've seen recommendations something along the lines of: read data off the whole new disk first dd if=/dev/da1 of=/dev/null then write the data you want on it, then read it off to /dev/null again. Something to the effect of populating the drives on disk bad sector records. There may be more burn in recommended, but I couldn't find anything in the archives. One last question, the second drive is identical to the first, but should it be right out odf the box condition, formatted, fdisk'ed partiitioned or does any of that matter since it will be copies bit for bit? None of that matters for the reason you noted. TIA! np, Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation Problem.
On Friday 28 March 2003 02:25 pm, Paul Smith. wrote: My computer freezes when booting from the install CD at, acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5% then you probably want to try 4.7-Release instead. See: http://www.mired.org/5.0-not-production.html Good luck, Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsupit broken (Re: Link??)
On Friday 28 March 2003 10:07 pm, Jordan K Hubbard wrote: The maintainer is on vacation in Maui and will fix it just as soon as he returns. He has only sporadic email connectivity and very slow connectivity at that, too slow to actually do any work (nor would his girlfriend look kindly on that during a vacation :). Well we can't have him in the doghouse can we? btw, nice to see you around here Jordan, how is golden delicious treating you? Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Link??
On Friday 28 March 2003 05:22 am, Eqab Almutairi wrote: Hello, seems this link dosnt work anymore right? ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/All/cvsupit-3.1.tgz at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.ht ml is there any other place? well the link is fine, the file's just not there. I don't know why. In the meantime you can try: ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/All/cvsup-without-gui-16.1g.tgz read the handbook appendix on cvsup and you should be fine using that. Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.0 install won't start
On Friday 28 March 2003 04:53 pm, Petri Riihikallio wrote: Hello I have a Compaq Armada 1500c C366 notebook with 160MB memory. I have been running FreeBSD on it since 3.0. At the moment I run 4.7-p9. I tried to install the new 5.0 on another partition (slice). The machine boots happily until it says: Mounting root from ufs:/dev/md0 See: http://www.mired.org/5.0-not-production.html You'll probably find -current more stable than 5.0 release anyway right now. Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Looking for the perfect background downloader
On Thursday 27 March 2003 04:03 pm, Carlos Carnero wrote: Hello, (sorry for the OT but I really don't know of a better place for my enquiry. Really) I'm looking for a little program to help me download files across extremely unreliable links and/or unstable systems. I'd like something to keep trying until the file is downloaded, or until h3ll freezes over. Since the link and the downloading workstation (FreeBSD 4.7-RELEASE-pX) are unstable (for instance, unplanned power failures) the proggy should automatically resume the transfer on reboot. I think that rules out wget since I need something daemonizable. nah, just put it in a cron job, or in the startup scripts. I believe putting the proper command in rc.local would be what you're looking for. see rc(8) then just put the appropriate options too wget and you should be all good. Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions about upgrading from 4.6.2 to 4.7 (and beyond)
On Wednesday 26 March 2003 03:19 am, James Schmidt wrote: I apologize in advance for my unfamiliarity with the workings of the FreeBSD world. Out of the several hundred machines I administer I have only the one FreeBSD box, and it is considered a production server, so I don't get much chance to play around with it. At any rate, one of the tasks I'm going to be undertaking shortly is to migrate it from 4.6.2-RELEASE-p3 to 4.7-RELEASE (and soon after that, to 4.8) and I have several questions. Actually, to be more precise, I would just like someone to verify that what I am doing is correct. First, the overall cvsup process - I want to make sure I am doing this right, someone please let me know if any of this is incorrect or inefficient. Below is my cvsupfile: *default host=cvsup13.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4_7 *default delete use-rel-suffix *default compress src-all # added manually... collection will be filtered through the refuse file ports-all tag=. I put the ports tag into a separate supfile called ports-supfile, but you've got the right tag for inclusion in your supfile. I should be using the RELEASE branch, and not STABLE or CURRENT, correct ? Yes, with a production machine The process I follow to cvsup is as follows: # cd /src/cvsup # cvsup -g -L 2 ./cvsupfile Once that is complete, the next steps are to build the kernel and the sources - and up until now, I've always compiled the kernel the old-fashioned way (config, make depend, make, make install) - with 4.7, should I begin using the new and improved method of kernel compiling, as follows ? yes. you can also add some steps here for extra safety backup /etc this cannot be underestimated if you are not confident in your ability to recreate them from memory. # cd /usr/src # make buildworld # mergemaster -p # make buildkernel KERNCONF=kernelname Obviously replacing kernelname with the name of the kernel config file you have edited or GENERIC # make installkernel KERNCONF=kernelname reboot drop to single user mode here with a shutdown now from root. # make installworld Then mergemaster Be careful here. This will merge in the new scripts and config fles in /etc any that you have modified you will not want to automatically merge the new files in or you will lose your changes. Some you'll want to merge by hand. I am sorry to be asking such basic questions. I've read through the Like Subhro said, no worries to ask questions as long as you've done your reading. I'd suggest reading that handbook chapter again, and also reading /usr/src/UPDATING as that file has the final say. pertinent sections of the online FreeBSD manual and I *think* what I am doing is correct, but I want to make absolutely sure before I reboot the machine and end up with a kernel panic, umountable root or something equally as horrific. If anyone sees any glaring omissions or any other problems with what I'm doing, please let me know. Again, many thanks. You're welcome, good luck Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports installation, maxima
On Wednesday 26 March 2003 02:15 pm, User Otto Ernst Bernhardi wrote: Hi, Thanks for providing FreeBSD!! I downloaded the ports.tar.gz file from your site. While trying to install /usr/ports/math/Maxima from the ports collection, I get the following problem. Distfiles not up-to-date or missing? Or, more likely, did I do something wrong?? you need to update your ports tree to the latest. The newest ports tree looks for new versions of the files and those are the only ones kept around on the ftp servers. Read up on cvsup. You'll find you'll want to cvsup your ports tree fairly often. Once a week or so depending on your needs. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html hth Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UDF on FreeBSD 5.0
On Wednesday 26 March 2003 12:02 pm, Duke wrote: Hi, I compiled a kernel on my FreeBSD 5.0-RELEASE, for support mount of UDF filesystems, (options UDF). When I intent mount a formatted UDF CDROM, the kernel entries on panic, and print the message see http://www.mired.org/5.0-not-production.html You'll likely find -current more stable than 5.0 release right now, but make sure to do your reading. Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to produce debugging symbols?
On Wednesday 26 March 2003 03:11 pm, Dan Nelson wrote: In the last episode (Mar 26), Martin Moeller said: I have a rather general question on debugging. I'm experiencing some problems with some programs on FreeBSD 5.0. Because I'm quite a unix newbie, I can only write to some mailinglists to ask if somebody knows what to do. But I would like to take a few steps to solve my problems on my own. I read something about gdb and kernel debugging, but find that somehow disturbing. So I would like to ask a very *stupid* newbie question: I can run a program within gdb, but I don't see the program's source code. I assume this is meant with debug symbols? How can I compile a program with those debug symbols? If it's your program, recompile and link with the -g commandline switch added. If it's a base FreeBSD program (or port), edit the Makefile and add a line reading DEBUG_FLAGS=-g (this will compile with -g and also no strip the debugging symbols when the binary gets installed). Does this work for the kernel? I'd read that the kernel strips symbols anyway. If i put makeoptionsDEBUG=-g in my kernel config (as shown in LINT) will I still get the symbols? Thats for 4.x, what about 5.0 is that different? Thanks, Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb device driver skeleton?
On Tuesday 25 March 2003 12:15 pm, David Rio wrote: Hi all: I want to port a linux device driver that I did to *BSD. I would That would be great. like to know if there is some source of information to develope usb device drivers in freebsd. Handbook talks about usb in general, an about device drivers but not about usb device drivers. My last option is to read some usb DD already coded but before that I would like know if there is some other beginner source of information. Yep, the thing you need is the developers handbook. You can get to it from the other docs page. Here is the USB section: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/usb.html Beyond that, the source of other drivers will be what you need. I think you'll want to look at the ugen(4) manpage and code too, Good luck Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CLI audio recorder
On Monday 24 March 2003 06:12 am, Ian Moore wrote: Hi, Can anyone recommend a command line-based audio recorder. I'm looking for something that can be run from a cron job to record 44.1kHz stereo 16-bit audio for an hour, then be killed off and restarted straight away (so that it produces hour long files continously). cd /usr/ports make search key=record you'll see at least one cli based recorder the cron job will do the rest if done properly Also a CLI based mp3 converter so that the recorded files can be mp3ed at make search key=mp3 you'll see several that will encode to mp3 then read the pkg-descr files to find the ones that suit you. gl, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: freebsd 5.0
On Monday 24 March 2003 05:27 pm, Pandele Stefan Cristian wrote: Hello, I download freebsd 5.0 release and i have installed it. please tell me waht is the diffrence between STABLE CURRENT RELEASE. When i tried to install the driers for my video card (gf2 gts) i had a message who sounds like Cannot install on RELEASE version When is going to apear 5.0 stable version? Like Kris said, and you'll find some of the specific useful links here: http://mired.org:8080/5.0-not-production.html Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: dmesg Analysis
On Monday 24 March 2003 09:08 pm, Bob Perry wrote: I recently upgraded/reinstalled 4.7 RELEASE and apparently lost use of my SCSI tape backup system. The dmesg command indicates that FreeBSD found the controller and tape but I don't understand much more than that. Does anyone know where I might find some documentation which would explain output resulting from running dmesg? For instance, one of the lines reads: sa0 at adv0 bus 0 target 4 lun 0 many (most?) of the items in dmesg are device drivers and have manpages. so first read man man then try things like man -aw sa you'll see: /usr/share/man/cat8/sa.8.gz (source: /usr/share/man/man8/sa.8.gz) /usr/share/man/man4/sa.4.gz which tells you there are two man pages for sa. one is what you are looking for, one is not, so use man 4 sa to see the right one. repeat that for all the things in dmesg and you'll learn a lot of what you're looking for. This can potentially throw you off by some things that have the same name and are not device drivers. eg man 4 fd wil not get you the floppy driver, but man 4 fdc will. hth, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: dmesg Analysis
On Monday 24 March 2003 09:48 pm, Bob Perry wrote: On Mon, Mar 24, 2003 at 09:08:31PM -0500, Bob Perry wrote: I recently upgraded/reinstalled 4.7 RELEASE and apparently lost use of my SCSI tape backup system. The dmesg command indicates that FreeBSD found the controller and tape but I don't understand much more than that. Does anyone know where I might find some documentation which would explain output resulting from running dmesg? For instance, one of the lines reads: sa0 at adv0 bus 0 target 4 lun 0 I don't know of any docs that really explain reading a dmesg in detail, but I'd be willing to help you sort your issues if you posted your dmesg. Thanks Josh, I have a SCSI Seagate TapeStor system that worked fine under 4.5 RELEASE. It worked equally as well when I tried a binary upgrade to 4.7. There were too many other problems with the upgrade so later I did a complete install of 4.7. This is where I found that my tape system no longer responded to any mt commands. What errors do you get? Its always good to include those. I ran the command dmesg | grep sa0 for the tape device and got the following: sa0 at adv0 bus 0 target 4 lun 0 sa0: Seagate STT2N 6451 Removable Sequential Access SCSI-2 device sa0: 10,000 MB/s transfers (10,000 MHz, offset 15) Also ran dmesg | grep adv0 for the controller: adv0: AdvanSys Ultra SCSI Host Adapter SCSI ID 7, queue depth 240 adv0: AdvanSys ASC3030/50 SCSI controller port 0xb400-0xb4ff mem 0x500-0xd5ff irq 11 at device 12.0 on pci0 My kernel SCSI controller data reads: adv0at isa? My kernel SCSI peripheral data reads: saSequential Access (tape, etc) The best I can pull from this is that FreeBSD finds the tape and controller when it boots. Yep, that's exactly it. So since it sees it, I don't have any idea what would cause the problem in it not working. As I mentioned, you'll have to include the error. Since it's not likely a problem in how FreeBSD sees the device, the links on how to read dmesg will not help you that much, but hopefully will be instructive anyway. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How can I run Dummynet on FreeBSD 4.1.1 Release?
On Monday 24 March 2003 11:52 pm, Ming Zu wrote: I need to run Dummynet and control bandwidth within a couple of machines which have FreeBSD 4.1.1 Release installed as the OS. But by the following instructions: Build and install dummynet kernel. # cd /sys/i386/conf # config DUMMYNET # cd ../../compile/DUMMYNET # make depend # make install During the second step, The system gives me an error and said that it couldn't find DUMMYNET. I couldn't find Dummynet as well in the computer. Could anyone tell me how can I install dummynet? Thanks so much! It seems you've got some reading to do. see: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html especially the section on building a custom kernel. I'm not sure where you got the instructions above, but it seems you missed the part about editing the kernel config file. In the example DUMMYNET is the name of the config file after it was edited to include the dummynet option. See also /usr/src/sys/i386/conf/LINT and search for the dummynet option. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: supported USB ADSL modems
On Sunday 23 March 2003 11:00 am, DJ Boris wrote: hi there, where can I find out what USB ADSL modems are supported by freeBSD. I am using 5.0-release and thinking of getting ADSL. Can anyone help? Well if they were supported, they would most likely be listed in the hardware page for your release listed on the FreeBSD homepage. I don't think any USB ADSL modems are supported but I could be wrong. Try to get them to give you an ethernet version. Most anything that connects by ethernet would be supported. They may tell you they can't, but if you press them, they almost always have some ethernet hardware available. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
5.0 Release frequently asked questions
Hi, due to the multiple questions that users have regarding 5.0, and not reading the documentation, I whipped up a quick version specific FAQ, that I think will be useful at least until 5.1 is released or 5-stable is created. We seem to get up to 5 questions a day on the questions mailing list from people that didn't read the early adopters guide and assumed the 5.0 was another production quality release. Please comment on this and let me know if you think it needs wider release. Mike Meyer was nice enough to host it for me. http://www.mired.org/5.0-not-production.html Thanks, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Help :) Kernel compile fails.
On Sunday 23 March 2003 02:16 pm, Charlie Schluting wrote: I was wondering if anyone could help: I'm using 5.0, and I just updated src-base and src-all with cvs. To what? If you're going to -current you need the read the appropriate documentation. If you're refering to 5.0 Release, similiar questions get asked a lot so see: http://mired.org:8080/5.0-not-production.html You've missed a few items noted there. Goo luck, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Help :) Kernel compile fails.
On Sunday 23 March 2003 02:31 pm, Charlie Schluting wrote: Ah, sorry about that. In my cvsup file I said: src-all release=cvs for the sources, because it wouldn't take anything else. I tried saying current and release, but to no avail. Maybe I should be trying release, but I can't seeme to get the release src.. ahh then your question is really about cvs tags and cvsup. See: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html and the other pages noted in the link i sent you It seems you have the skills to run -current or whatever, but you need to read more documentation to see how it all works. Skim the *whole* handbook table of contents and familiarize yourself with all the links on the FreeBSD hompage. You'll find an amazing amount of stuff for what you're trying to do. You'll get a lot more help if you read the available docs first. Tim On Sun, 23 Mar 2003, taxman wrote: On Sunday 23 March 2003 02:16 pm, Charlie Schluting wrote: I was wondering if anyone could help: I'm using 5.0, and I just updated src-base and src-all with cvs. To what? If you're going to -current you need the read the appropriate documentation. If you're refering to 5.0 Release, similiar questions get asked a lot so see: http://mired.org:8080/5.0-not-production.html You've missed a few items noted there. Goo luck, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: SCSI Emulation
On Saturday 22 March 2003 05:30 am, Scott A. Moberly wrote: see man atapicam and http://www.cuivre.fr.eu.org/~thomas/atapicam/ You don't have to patch if you are on the latest RELENG (not sure about 4.7-RELEASE) Nah, it wasn't merged from current till afer 4.7-Release. Is there any way of doing ide-scsi emulation for CDROM/CDWriter drives on FreeBSD-4.7-Release on i386? the only way to do it on 4.7-Release would be to merge the patches from -current yourself. Or a little easier would be to cvsup to 4-stable. Use RELENG_4 then see the handbook section on cutting edge for how to buildwold/installworld. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Design of FreeBSD
On Saturday 22 March 2003 10:55 pm, Jiban.BlackSabbath wrote: My questions is: The design of FreeBSD is the same of 4.4BSD? no, but FreeBSD was based on 4.4BSD starting around 1994 or so. Thats 10 years of development since then, thus a lot of changes. The four basics facilities presents in 4.4BSD is in FreeBSD? I assume you're referring to page 21 of McKusik et al's Design and implementation of the 4.4BSD operating system. Yes FreeBSD provides those basic services also (processes, a filesystem, communications, and system startup for those not in posession of the book) If not, how can i know more about de design of FreeBSD? best start is reading the documentation at www.freebsd.org especially including the handbook at www.freebsd.org/handbook, the developers handbook at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html another good thing would be to install FreeBSD and study the source Also Kirk has intensive classes on FreeBSD if you have the cash: http://www.mckusick.com/courses/index.html Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Question about background FSCK
On Wednesday 19 March 2003 09:52 am, John Straiton wrote: Thanks for the idea. While I'm not against the idea of the disk dying, this is reproduceable quite reliably. Foreground fsck -y in single user mode works in about 2 minutes (for the 119GB slice) flawlessly every time and background fsck always hangs the machine. Additionally, the machine is about a week old Dell Poweredge 1650. While we all know new != works, it's less likely than a machine with a hard drive that's been in there awhile. Unless there's something radically different about how fsck works in those two fashions, I'm going to assume the reproducability and the fact that I'm having similar problems on two totally different machines in different setups (IDE vs SCSI, P4 vs P3, Dell vs HP) means that a dying disk is not the problem I'm having. So I ask the list again: Is there a way to disable the background checking of disks? Others gave that answer, but if you want to help solve the problem, try running -current. But read a lot in the appropriate handbook chapter before doing so. Then ask on -current mailing list. Reproducible problems are very much what the developers are looking for in order to improve the system. But who knows, it may already be fixed in -current. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problem with Cardbus on 5.0-RELEASE
On Thursday 20 March 2003 08:30 am, INV/Stefan K. wrote: Hi, I am working with 5.0-REL since its available. There are no problems with X, Postgres and all programs I am working with. The only problem I have, my Xircom Realport Cardbus RBEM56G-100 (Network part) comes up, but in the moment I try to assign an IP-address to it, the system locks up immediately. First thing to do if someone doesn't have a direct answer is to see if your problem is fixed in -cuurent. If not, then ask on the -current mailing list. 5.0 wasn't meant as a production release. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Learning FreeBSD was: blank
On Thursday 20 March 2003 11:27 am, Bluezmo wrote: I've been tussling with installing implementing FreeBSD 5 on a laptop for as others have said 5.0 can be a pain as it was not meant to be a polished release. Yesterday my buddy who recommended I try BSD as an alternative to Linux came over we attempted the install of BSD 4.7 because it was stable. I had hoped that we would be able to configure a PCMCIA ethernet card on the front end of the install by checking the conflicts punching in the ports IQ's documented by Windows (laptop, dual booted). We tried using the FTP site but the card didn't function. I tried the same paradigm for the CD ROM with the same results. OK, rather than suffer the anticipated wrath of the BSD community by posting to an inappropriate area, I have several questions about this experience. I joined the newbie group because I am a newbie will want to That's a good place to ask for true newbie questions. Read Greg's advice on how to ask questions here and take that to heart: http://www.lemis.com/questions.html no one will flame you if you follow that advice. ask questions. I've read until my eyeballs are swimming with inuxes am slightly frustrated because I simply want to learn the OS rather than search newsgroups for the appropriate forum. When I click the link http://www.freebsd.org/search.html , to search, a redirect shuttles me to a message that the link doesn't function. So, I'm posting here because my concerns are newbie concerns. Hopefully, someone will take the time to comment. 1) If I don't find specific hardware listed in the hardware list, does that mean the drivers aren't available period? People expound on the advantages of open source code being ultimately customizable. In short, if the drivers aren't available for a device, and the kernel can't be configured, what can be done (if anything) to get the device to function? 1) write the driver as others mentioned. 2) see if the latest version of freebsd supports it (thats -current) 3) pay someone to write the driver 4) donate or lend another of the same hardware to the maintainer of similiar drivers 2) Given the scenario (and post discussion with other inux users) it has been suggested that I try Linux initially to get my feet wet in the inux environment. My buddy says to stick with BSD. In the endless You'll just have to see what suits you. Advantages of BSD's are that they are developed cohesively and thus tend to make more sense if you will. documentation I've perused, mention was made of Open Net BSD. My perception was that those flavors maybe better suited to my goals. could be. Though both are to an extent targeted to more sophisticated users. That is especially true in the sense that they are vehement to the point of near violence if questions are asked without reading the proper documentation. You'll likely find FreeBSD more suited to the newbie, but many find OpenBSD very intuitive. Best bet is to read a lot of the info at each projects page to decide for yourself. So, if someone is out there cares to perhaps elaborate, it would be appreciated. I have several computers, Windows Macintosh want to learn UNIX. Reading the handbook at www.freebsd.org/handbook would be a great start. Biggest thing, have fun Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re:
On Thursday 20 March 2003 08:14 pm, Sukhbinder Singh wrote: div style='background-color:'DIVI am trying to install FreeBSD. At the end of the istallation through FTP, I am receiving messages such as Warning: No /dev/tun) device..PPP will not work ! Unable to start PPP. This installation cannot be used. Can you please help me in trouble shooting this problem./DIV DIVemail me at A href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/A/DIV Really please, if you want replies, change your preferences in your hotmail account to not send email in html. Choose text only. You mail looks really bad and will continue to get ignored. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to make a linux binary run on FreeBSD
On Sunday 16 March 2003 11:33 pm, Lars Eighner wrote: On Sun, 16 Mar 2003, taxman wrote: This seems pretty clear. The linuix syscall that this program uses is not supported on FreeBSD. The linux binary compatibility is pretty good for userland binaries and so forth. But any time you get into hardware, you're stepping closer into that 10% of linux code that will not run on FreeBSD. It seems your only option would be to port that source code to FreeBSD, and use the right syscalls. Try an email to -hackers to see if anybody has any ideas on that. Personally given how cheap a simple working videocard can be, ($10 used) I don't know if I would beat my head against a wall to try to get it working. But if you want to experiment for fun, then by all means don't let me discourage. Well, I'm glad to hear money grows on trees where you are. I never siad that. Actually what I'm assuming is that your time is valuable. I don't know what economy you live in but my guess is tha it would not take you many hours of work to make more money to pay for the card, than it would cost you to try to figure out how to get this piece of software working. As a business decison it likely makes sense to get a different card. Yet another piece of hardware that I can't use after playing FreeBSD roulette - and linux compatibility is yet another tout that turns out to be bullshit. No one said that linux compatibility works perfectly for every bit of code. Read the applicable handbook section, and it clearly says it does not work for everything. So the only bs is your attitude, that something given to you for free should also cater to all of your needs. You'll probably be a lot less frustrated if you dont assume it should be perfect. What you're forgetting here is that FreeBSD is written by volunteers. There is no guarantee it will work for you. If you choose not to use it because of that, so be it. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: I need information
On Monday 17 March 2003 08:44 am, Bill Moran wrote: JOSE D HERNANDEZ-TORRES wrote: I am migrating users from a Free BSD system 4.2 in to a 4.7 release. I already tried the documentation that is in the free BDS questions site, however I have not being able to do it. Any help will be appreciated. Thank you. We'll need a little more information before we can help you. for example what do you mean by migrating users are you just upgrading the box you are using, or are you moving users over to a new box running 4.7? and then of course Bill's other good points here: 1) What steps are you taking? 2) Exactly at what point is it failing? 3) What are the exact error messages you are getting? Make sure you back up the server before doing anything. While the process is very safe, it can be a little confusing if you've never done it before, and data loss can result. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make failure
On Monday 17 March 2003 09:49 pm, Doug Reynolds wrote: On Mon, 17 Mar 2003 16:43:07 -0500, David Markle wrote: Can someone help me with a kernel rebuild make problem ?? I have the source tree in place and modified my CUSTOM kernel in /usr/src/sys/i386/conf. When I run make buildkernel it fails with the following error: make: don't know how to make buildkernel. Stop I know I have missed something stupid, but can't find it on the site. as others mentioned, you just need ot be in the directory where the makefile is. In this case its in /usr/src if you haven't put it somewhare else. Maybe I am wrong, but unless you've 'make buildworld', you can't 'make buildkernel'. you have to do it the 'old-fashoned way' That is wrong. (For those without the english skills to understand the semantics needed for Jud's answer:) Reread the section in the handbook -If you are building a new kernel without updating the source code (perhaps just to add a new option, such as IPFIREWALL) you can use either procedure. That goes doubly for the OP. Make sure to read the relevant sections carefully. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to make a linux binary run on FreeBSD
On Sunday 16 March 2003 09:31 am, Lars Eighner wrote: I have a Savage/IX agp card. Savage/IX was developed for laptops so of its three possible output devices (LCD, CRT, and several flavors of TV), by default it assumes that is attached to a 640x480 LCD. Naturally this produces undesirable results when a CRT is attached instead. S3 provided a utility (s3switch) which allows choose which output device or combination of output devices are attached. This utility works fine with RedHat 8.0. It runs from the command line or within X. When I run it from the command line in FreeBSD 4.8-RC with linux-compatibility in my kernel, the S3 utility fails thusly: vm86() failed return = 0xffda eax = 0x4f14 ebx = 0x0003 ecx = 0x0001 edx = 0x esi = 0x edi = 0x ebp = 0x eip = 0x4898 cs = 0xc000 esp = 0x0ffa ss = 0x1000 ds = 0x es = 0x fs = 0x gs = 0x eflags = 0x3200 cs:ip = [ fb fc 80 fc 0e 74 48 80 fc 0c 74 46 80 fc 0d 74 ] Can't change device (vm86 failure) And this message is broadcast: linux: syscall vm86old is obsoleted or not implemented. This seems pretty clear. The linuix syscall that this program uses is not supported on FreeBSD. The linux binary compatibility is pretty good for userland binaries and so forth. But any time you get into hardware, you're stepping closer into that 10% of linux code that will not run on FreeBSD. It seems your only option would be to port that source code to FreeBSD, and use the right syscalls. Try an email to -hackers to see if anybody has any ideas on that. Personally given how cheap a simple working videocard can be, ($10 used) I don't know if I would beat my head against a wall to try to get it working. But if you want to experiment for fun, then by all means don't let me discourage. Naturally, the source code will not compile on FreeBSD as it includes a number of headers which don't exist in FreeBSD, and according to Roberts' web page the utility depends on vm86, from which I surmise there is no simple way to make it compile and run on FreeBSD, with or without linux compatibility. Well I think porting the code would be more likely than getting the binary to work. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: latest stable branch upgrade fails
On Sunday 16 March 2003 11:07 am, Joe Sotham wrote: Here's my stable cvsup file: Then the correct list for this is [EMAIL PROTECTED] *default host=cvsup.ca.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix *default compress src-all In the /usr/src directory I did a make clean, then make I don't think a make clean will do anything good for you, but I could be mistaken. I think make distclean is what you are looking for. I can't find the references on that atm. Did you delete your usr/obj directory too? If not, stuff left in there could cause your problem. The following error occurs. I have tried this a number of times including deleting the entire src tree and then cvsuping again. Do you get the exact same error even after cvsupping your src tree again? also if you want better help, try to include the most information you can. I deduced that the failure was during buildworld, but you didn't note that. What version are you running right now? btw, if you delete your src tree, try copying one over from the latest CD you have then cvsupping, it will save a lot of network bandwidth for you and the servers. hth, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: CVSUPing to 4.8-RC2
On Sunday 16 March 2003 08:16 pm, Charlie Root wrote: What tag=RELENG_4_8_0_RC2 use in my cvsup flle to update release?? Once is enough. Four times is bordering on abuse. You haven't said what you want to do so read for yourself: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html you'll find there is no tag for a release candidate so 4-stable is what you may be looking for. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re:
On Sunday 16 March 2003 06:56 pm, KAROLYN LEWIS wrote: MY question is: Can you give me a step by step instruction on how to download the unix program to my d drive. I am running W'ME on a Pentinum III, 500MHz system. I have two hdd.the second one being my 'd' drive which is a scsi and very bare. I have printed out your instructions but I am wel make sure there really is nothing on that drive if you want to install to it. It will be easiest for you if you just install to the whole drive. Dont choos dangerously dedicated. When you see the list of drives to install to, it should be the second one. Make sure you have all the data on both drives backed up because if you choose some wrong options you really could wipe a lot out. stuck on the arch and version. Where do I obtain this information. Any Well a pentium is an i386 architecture and you probably want 4.7 release for now. The instructions really are in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html so if you have more questions you may want to try to describe your problem a little more clearly and show what section in the install instructions is confusing you. Good luck, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: error updating 4.6 -- 4.8
On Sunday 16 March 2003 01:17 am, [EMAIL PROTECTED] wrote: Buildworld gets: cc -o make_keys -O -pipe -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c /usr/obj/usr/src/i386/usr/libexec/elf/ld: cannot find -lc *** Error code 1 I made a 'slip' when I got the error the first time so I have a completely fresh /usr/src and /usr/obj. I got the same error with the source tree that had been updated from 4.6. How are you getting your 4.8 sources. Since 4.8 hasn't been released yet, you should probably ask this question on the -stable mailing list. Howver since 4.8 is in release candidate stage a build error in the sources would be unlikely. It's likely you've missed something. Try cvsupping your source (again?) using RELENG_4 There's always the chance of a transient build error. Then if you still get the error ask on -stable and include a little more of the error and they should be able to help you. hth, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 5.0 Install Kernel/Dell Inspiron 2650
On Saturday 15 March 2003 01:47 pm, Lucas Reddinger wrote: So where can I go for help Where should I go? I would appriciate any comments. Thanks. You should either stay on 4.x and live without ACPI, or upgrade to -current and live with all that goes with that. At least test -current and see if that works better for you. Then subscribe to the -current mailing list and ask questions there. They are currently working a lot on improving ACPI First read this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html Them are the breaks, Tim Apparently, I need to disable eisa support to successfully boot a kernel on my Dell Inspiron 2650. In 4.x, I would do a `boot -c` followed by `eisa 0`. What about FreeBSD 5.0? I tried `set hint.eisa.0.disabled=1` at the stage 3 boot prompt. It didn't seem to work. Any other ideas? I _really_ need the ACPI support. _Any_ help is appriciated. Thanks in advance, Lucas P.S. I apologize if this already made it to the lists. I've been having trouble with my mail client. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 5.0 Install Kernel/Dell Inspiron 2650
On Saturday 15 March 2003 03:46 pm, Lucas Reddinger wrote: But I can't get 5.0 installed. And no one seems to want to help. To boot the 2650, eisa cannot exist in the boot kernel. And it does in the 5.0 boot kernel. On 4.x, I can use `boot -c` to take it out. But 5.0 does not have this feature, and I cannot get the hints to do this. So what now? I already posted my question to freebsd-current@, but I got no replies. Probably because you weren't running -current. Perhaps your problem has been fixed, so no one wants to solve problems that already have been fixed. Try installing a 5-current snapshot from: http://snapshots.jp.freebsd.org/ you'll see boot images as small as 3MB for current. Then try sending a message to -current with the details. output of boot -v can be helpful to show exaclty where the problem is. The dmesg from your 4.x could help too. Though the best way may be to put those up on a webpage and point people to them. Also you haven't described your problem very clearly. If you just want to know how to disable eisa, ask that. If you can't boot, detail what happens. If you boot but get other errors, tell what those are. It didn't seem to work doesn't give anyone anything to go on. That frustrates those trying to help you so most people just dont try Tim Lucas You should either stay on 4.x and live without ACPI, or upgrade to -current and live with all that goes with that. At least test -current and see if that works better for you. Then subscribe to the -current mailing list and ask questions there. They are currently working a lot on improving ACPI First read this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable. html Them are the breaks, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: mkdep error on kernel compilation
On Saturday 15 March 2003 09:01 pm, [EMAIL PROTECTED] wrote: Hello, I am trying to compile a kernel under FreeBSD 4.62, and I am getting an error that I couldn't find in the archives. After executing make depend make all install, I get an error like this: Considering this is a nonstandard way to build a kernel, I'm not too surprised you got an error. Try the standard way before hunting down the problem. The standard way is method 2 listed in the handbook. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Unable to fetch XFree86-libraries during install
On Saturday 15 March 2003 07:33 pm, Nick Popoff wrote: I'm having a problem installing 5.0 from floppies FTP. The whole installation goes very well until it gets to XFree86, and then fails with the following sequence of messages. I've tried the main FTP server plus several mirrors. Any info would be much appreciated. --- Unable to fetch package XFree86-libraries-4.2.1_5 from selected media. No package add will be done. It's trying to get a file that doesn't exist. Libs is up to 4.2.1_7 or 8 or so. Best bet is to install a minimal system, then cvsup your ports tree, and install the rest from there. Or if you really want to use packages, from the installed system, use pkg_add -r with the correct up to date name of the package. It's still a good idea to cvsup your ports tree and update your index. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: A simple question about FreeBSD
On Friday 14 March 2003 08:23 pm, Wizard of Wor wrote: I was unable to find the minimum requirements on x86 platform. Can I run FreeBSD on mz 486dx2 8Mb laptop smoothly? The install documentation or the FAQ does have this answer, but yes you should be able to run fine on this machine. Just don't try to install X windows, unless you set up a *lot* of swap. It also depends a little bit on if there is any noncooperative hardware on the machine. Laptops tend to have some of that. Best bet is to try it. 4.x will probably work the best for you. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: hardware compatiblity list and upgrading
On Wednesday 12 March 2003 07:00 pm, Bsd Neophyte wrote: alright my bookpc that has served me nicely for over a year now has gone to hell. i've had a Dual P3-700e on an Asus P2B-LS. unfortunately, this MB doesn't have anything beyond an ata33. the drive I have is an ata100 drive. i'm sure as a PDC/NTP/DNS server, this is more than aqequate, but i'm also looking to make this unit a proxy server. therefore i'm looking to get a Maxtor (Promise) ATA Ultra 100 PCI card. i need two things. 1. to find if this stuff will all work with FreeBSD 4.7 or 5.0 look at the hardware links right on www.freebsd.org 2. if i can simply take the HD out of the older machine and slap it into the new machine most likely, if it has a proper MBR/boot loader and the new hardware can work with the old drive. Make sure to have proper cables. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Some Info
On Tuesday 11 March 2003 03:21 pm, vignesh vignesh wrote: Hi, I am student and I would like to get some information about FreeBSD.What is the advantages and disadvantages of this operating system? First read the information at www.freebsd.org. There is so much there that will help you answer that question and draw your own conlusions. Then we can help you usefully. Then the most basic I can make it is when it works it works really well and keeps working. There is a fairly steep learning curve to get a number of things working. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Developers handbook was: Thanks for the help!
On Tuesday 11 March 2003 12:16 pm, J. Seth Henry wrote: I appreciate all the helpful comments regarding programming under FreeBSD. I think I have enough to take another stab at it. I also discovered that the developer's handbook has a lot of useful info - though it seems the chapter on signals is missing? It seems it is waiting to be written. There are more chapters later on that are similiar. The design and implementation of the 4.4BSD operating system may have some outdated but still very useful general information on signals for you. Care to digest that and write the new chapter for FreeBSD? ;) Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Kernel Fault
On Tuesday 11 March 2003 01:17 pm, Christopher Blanchard wrote: I just rebuilt my kernel - see below. I get the following error message: Fatal trap 12: page fault while in kernel mode. fault virtual address= 0x0 fault code= supervisor read, page not present instruction pointer = 0x8:0xc016851c stack pointer = 0x10:0xc034bfb8 frame pointer = 0x10:0xc034bfc0 code segment = base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = idle interrupt mask= 12 panic: page fault Uptime: 0s Does this happen every time? What does the end of /var/log/messages show (give us everything from that boot) In fact it may be better if you show the output from boot -v. Get to that by pressing any other key at boot. Also what version are you running? Have you upgraded your source or just built a kernel with the sources you originally installed? I don't memorize the kernel config files, but it does seem you have some unusual things in your config file. That should never cause the panic though. Maybe you just need to upgrade and see if the bug has been fixed. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Hot-Swapable Drives and FreeBSD
On Monday 10 March 2003 02:45 pm, Gary Jennejohn wrote: Martin McCormick writes: Is there a safe way short of rebooting to let FreeBSD know that a hot-pluggable drive has been added? man camcontrol or atacontrol if you happen to have IDE hot pluggable drives Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Change default IPC limitations
On Monday 10 March 2003 08:49 pm, Kung Ching-Yi wrote: Hi, I have a need to change the following settings. kern.ipc.msgmni kern.ipc.semmns kern.ipc.shmmni I can't use sysctl to modify these since it returns read-only message. I assume I need to rebuild the kernel but I don't know exactly which module (header, source code etc) I need to modify. Can anybody help? Besides, do I need to build anything other than kernel to have it work correctly? I don't know, and if you don't get any answers here after a couple days, try asking on -hackers. Some of what you are looking for may be here if you haven't seen this yet: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html and this is outdated, but may help you understand the roots of IPC on FreeBSD http://www.freebsd.org/doc/en_US.ISO8859-1/books/design-44bsd/index.html Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Reply From Ahmad Imran: FreeBSD Demoware info please
On Monday 10 March 2003 08:16 pm, Ahmad Imran wrote: Good Day Please inform me about the fact that BSD Run on PII 350MHz Processor with Intel 440BX2 MB,64MB RAM and having 12 Drives. http://www.chieftec.com . Yes most likely, why not try it? That motherboard is fine, but it would depend on how the drives are connected, and by what devices I'm sure there are some disk controllers that are unsupported. Best way is to try. Read the installation instructions at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html and maybe check the hardware pages: http://www.freebsd.org/releases/4.7R/hardware.html to see if your hardware is listed there. It may not have exactly the same model numbers as yours and still be supported. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Freebsd 5.0-RELEASE named pipes
On Monday 10 March 2003 10:22 pm, Borut Kurnik wrote: Hi! The system doesn't wait for me to open the reader, I get the message instantly. I worked on 4.7 still does (also on linux, netbsd, ... :-) ) Ok then you may want to either use 4.7, or upgrade to -current and see how it does there. If you still get an error, the best place to ask would be on the -current mailing list. 5.0-release was not meant as a production release. Tim as an aside, yes Mike, I'll get the FAQ writeup to you. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Bluetooth
On Monday 10 March 2003 10:46 am, Mike Meyer wrote: Anyone know of any bluetooth access point that work with FreeBSD? How about anyone working on bluetooth software? There is a section on it from the Dec 2002 status report at: http://www.freebsd.org/news/status/report-nov-2002-dec-2002.html lists the developers contact info and website, though that seems not to have an index.html or similiar. I think it would be best to ask him directly. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Intel i810e graphic
On Saturday 08 March 2003 06:33 am, Miroslaw J. Wiechowski wrote: The system installation program does not give me any working configuration. The best I could get was some ugly display with standard VGA, configured by XFree86 -configure. Did anyone succeed with this Intel i810e chip and 1024x768 resolution at all? Getting hardware detection working well for every single chipset out there is pretty tough. The i810 is pretty common, but pretty wacky too it seems. This'll sound funny, but try knoppix. It has amazing hardware autodetection. Boot with it then save your Xfree config file (it's in the same place) to floppy or something. Copy that over to FreeBSD and it'll likely work once you've followed the other suggestions people have had. You may need to edit out some of the font dir's that aren't installed on your FreeBSD system, but that should be about it. get knoppix at: http://www.knopper.net/knoppix/index-en.html or google for knoppix mini iso, as there are some of those out there for a smaller download. Anyway that's how i finally got my Xfree config to work perfectly with my monitor/video card Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Is Adaptec 2120S supported?
On Saturday 08 March 2003 05:08 pm, Christian Laursen wrote: I've been trying to figure out whether the Adaptec 2120S raid controller is supported by FreeBSD. Adaptec do not list FreeBSD as a supported platform for the 2120S like they do for e.g. 2110S. Is it supported, and if it is, by which driver? Seems possible, even though it doesn't mention that exact card. It may just work with the asr(4) driver. Best bet if no one here mentions they're using it is to email the maintainer listed in the manpage or just try it. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Pregunta URGENTE --Reply in spanish
David, Lo siento para mi espanol peor Este es una lista en ingles. Mira a: http://www.freebsd.org/es/support.html#mailing-list hay listas alli en espanol. Manda un email con no subjeto, y solo la palabra: lists a [EMAIL PROTECTED] Este manda una lista de la listas en espanol. Y trata de mandar email no con html a estes listas. Es una problema para unos. buenas, Tim On Sunday 09 March 2003 06:56 pm, Kaliman _ wrote: htmldiv style='background-color:'DIV DIVEstimados Srs,/DIV DIVnecesito ayuda para resolver un problema,nbsp;explico: el cooler del servidor dejo de funcionar y se colgo la máquina, entonces no había forma de apagarlo, la unica forma es con el botoncito del CPU.nbsp; Después de cambiar el cooler, todo inicia hasta que se planta en las siguientes lineas:nbsp; STRONGMounting root from ufs:/dev/ad0s1a/STRONG, y abajo sigue :STRONG WARNING: / was not properly dismounted/STRONG. y ahi se queda, no da más, no funciona nada./DIV DIVPor favornbsp;a ver si lo chequean o si sabennbsp;como solucionarlo estare muy agradecido, estuve intentando y entre al inicio de sesión pero hay comandos internos del cargador. y la verdad que no habllo una solución./DIV DIVBueno, espero una prontanbsp;respuesta. y estoy agradecido por su atención./DIV DIVSaludos,/DIV DIVnbsp;/DIV DIVDavid Condori./DIV DIVnbsp;/DIV/DIV/divbr clear=allhr /html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD Demoware info please
On Sunday 09 March 2003 09:30 pm, Ahmad Imran wrote: Please send us Ex-Manufacturing Prices for your products and relevant quantities. We would like to Import In Pakistan and represent you in Pakistan. Well i had great dificulty figuring out what you wanted and why it was sent to this mailing list, which is just a voluntary list users join to support each other's questions, but then I saw: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html are you asking what it would take to be a distributor like the ones listed there? It seems the way to do that would be to contact them as it says on that page. They should be able to at least point you to the right place. Hope that helps, Tim PS I found it quite interesting your email was in 5 languages including what appeared to be Catalon. How many people speak that outside of the Barcelona area anyway? Please arrange information as per following: 1.Capacity in GB. 2.Cost Per Month / Total Cost Of Operation. 3.Price For End User / Suggested Retail Price. 4.Warranty Faulty Product Replacement System. Please send us the list of your products and Distributor Discounts available. You can contact me at 009251 2290824. Please put us on your info mailing list. further send us all your storage systems information. Our Postal Addresses are: #3,FF,Travel Plaza, 108-B Adamji Road, Saddar Cantt, Rawalpindi-46000, Pakistan. And #632, Gf, St-03, G-11/1, Islamabad-44000, Pakistan. Early Response will be appreciated. Hoping for an early response. Mándenos por favor Ex Precios que Fabrican para sus productos y cantidades pertinentes. Apreciaríamos Importar En Pakistan y lo representa en Pakistan. Arregle por favor información como por siguiente: 1. La capacidad en GB. 2. Cueste Por Mes/el Costo Total De la Operación. 3. Valore Para el Usuario Final/Precio al por menor Sugerido. 4. La garantía Sistema Defectuoso de Reemplazo de Producto. Mándenos por favor la lista de sus productos y el Distribuidor Descuenta disponible. Usted me puede avisar en 009251 2290824. Pónganos por favor en su lista de abonados de correo electrónico de info. además nos manda toda su información de sistemas de almacenamiento. Nuestras Direcciones Postales son: Plaza #3,FF,Travel, el Camino de 108 B de Adamji, Saddar Cantt, Rawalpindi-46000, Pakistan. Y #632, Gf, San-03, G-11/1, Islamabad-44000, Pakistan. La Respuesta temprana se apreciará. Esperar una respuesta temprana. Schicken Sie bitte uns, die von Preisen für Ihre Produkte und gehörige Quantitäten Ex-Herstellen. Wir Möchten In Pakistan Importieren und möchten Sie in Pakistan vertreten. Arrangieren Sie bitte Informationen als pro Folgendes: 1. Kapazität in GB. 2. Kosten Sie Pro Monat / Gesamte Kosten des Betriebs. 3. Bewerten Sie Für Endverbraucher / Vorgeschlagen Kostet im Kleinverkauf Preis. 4. Garantie Fehlerhaftes Produktersetzung System. Schicken Sie bitte uns die Liste Ihrer Produkte und Verteilers Diskontiert verfügbar. Sie können mich an 009251 2290824 berühren. Stellen Sie bitte uns auf Ihre Info, die Liste. abschickt, fördert schickt uns alle Ihre Speichersysteme Informationen. Unsere Postalischen Anschriften sind: #3,FF,Travel Plaza, 108-B Adamji Straße, Saddar Cantt, Rawalpindi-46000, Pakistan. Und #632, Gf, St-03, G-11/1, Islamabad-44000, Pakistan. Frühe Erwiderung wird geschätzt werden. Hoffend für eine frühe Erwiderung. Por favor emvie-nos Preços Ex-Industriais para seus produtos e quantidades relevantes. Gostaríamos de Importar No Paquistão e o representa no Paquistão. Por favor organize as informações como por seguinte: 1. A capacidade em GB. 2. Custe Por Mês / Custo Total De Operação. 3. Aprece Para Operador de Fim / Preço Sugerido de Varejo. 4. A garantia Sistema Defeituoso de Substituição de Produto. Por favor emvie-nos a lista de seus produtos e Distribuidor Desconta disponível. Entra em contato comigo em 009251 2290824. Por favor ponha-nos em sua lista de endereços de info. mais ainda emvia-nos todas suas informações de sistemas de armazenagem. Nossos Endereços Postais são: Plaza #3,FF,Travel, 108-B Estrada de Adamji, Cantt de Saddar, Rawalpindi-46000, o Paquistão. E #632, Gf, St-03, G-11/1, Islamabad-44000, o Paquistão. A Resposta Prévia será apreciada. Espere uma resposta prévia. _ S'il vous plaît nous envoyer des Prix qui Ex-Fabriquant pour vos produits et vos quantités pertinentes. Nous aimerions Importer Dans Pakistan et vous représentons dans Pakistan. S'il vous plaît arranger l'information comme par suivre: 1. La capacité dans GB. 2. Coûter Par le Mois/le Coût Total D'Opération. 3. Evaluer Pour l'Utilisateur de Fin/le Prix de Détail Suggéré. 4. La garantie le Système de Remplacement de Produit Défectueux. S'il vous plaît nous envoyer la liste de vos produits et le Distributeur
Re: kernel configuration
On Saturday 08 March 2003 04:26 pm, charles pelletier wrote: Okay, just to make sure this is correct (my first use of the newer more current kernel config).. The only steps involved are those listed in the handbook: Change to the /usr/src directory. # cd /usr/src Compile the kernel. # make buildkernel KERNCONF=MYKERNEL Install the new kernel. # make installkernel KERNCONF=MYKERNEL I don't have to do any other steps, as in those in the original method (make, make depend, etc)? That is correct. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Want to be a member of Free BSD
On Saturday 08 March 2003 09:11 am, Prashant Sarma wrote: Visit the following webpage. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/x29.h tml In fact go up a level and read that entire document. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions By the way, Greg, what do you think of automailing that to every person that subscribes to -questions? ~Prashant On Sat, 8 Mar 2003, Md. Mohebullah wrote: Dear Sir, I want to be a member of your free BSD user group. Please suggest me how come I become a member. This is a mailing list, and joining it is part of being in the FreeBSD community. Another is running and using FreeBSD, and another could be considered developing and contributing to it Also, It is expected on these lists that to get help you have read the documentation first. Try clicking through the main links on the FreeBSD page at www.freebsd.org to get a feel for whats what. Then read the install docs, install and start using it for whatever you like. Thanks regards. You're welcome, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: core dump
On Friday 07 March 2003 04:00 pm, Thomas Haug wrote: Hi List members Since a few weeks my box is core dumping when i'm doing a make buildworld with one of the following error msgs (changing always :-)): If it is changing the place in the compile that it bombs at each time, doing the same buildworld, with the same source, then you have a *high* likelihood of hardware error of some sort. Try doing the exact same buildworld two or three times in a row, does it bomb every time? Same spot or different? You didn't show enough of the error to let us know that try using script to record the output of the build then you can include more of the error in your mail if needed. Mar 5 21:54:17 ns1 /kernel: pid 34726 (cc1), uid 0: exited on signal 4 (core dumped) Mar 5 22:10:21 ns1 /kernel: pid 5383 (cc1), uid 0: exited on signal 11 (core dumped) Mar 5 22:10:21 ns1 /kernel: pid 5384 (as), uid 0: exited on signal 5 (core dumped) This box is running since a year, so its pritty new and i never had problems with it. Every appl is running fine, nothing is core dumping, just the make buildworld does... That could easily be because buildworld stresses your system more and in different ways than most other apps. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: A question about kernel modules
On Friday 07 March 2003 11:55 am, Damien Tougas wrote: Is there any advantage/disadvantage to using kernel moduls vs. staticly linking stuff in the kernel? I would like to eliminate everything from my kernel config that can be loaded as a module, then load them at boot using loader.conf. Should be possible for a lot of things. Though it seems many need to stay in the kernel, as it is currently written. kld(4) and the pages it refers to should be at least somewhat instructive in figuring out what all can be put in a module. Try reading the developers handbook, it has some of what you're looking for. Is there any reason I would not want to do that? It seems to me that it would make things much easier. Why does FreeBSD not do this by default for the GENERIC kernel? Only things I can think of as to why most things are compiled in are 1) the costs of running a module, instead of compiled in. I don't know how to quantify those. And I didn't see anything in the developer's handbook to answer that. Maybe checking there more carefully would yield some answers. 2) security. In theory for max security you should minimize the interfaces to the kernel. Any loadable module could be a trojan, packet filter, or compromise security in another way. So optimal security would be have every needed component compiled in, and turn off the ability to load any modules. I have no idea if this can be done or how in FreeBSD. kld manpage didn't seem to say anything about this. Keep in mind this is extreme security which isn't terribly important till you get the practical stuff taken care of first. Here is the (in)famous article on it: http://packetstorm.decepticons.org/papers/unix/bsdkern.htm You may want to check the -hackers mailing list archives, as this has been discussed there. If this is really important for you to figure out, after reading the archives, ask there. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: A question about kernel modules
On Friday 07 March 2003 06:18 pm, Simon Barner wrote: So optimal security would be have every needed component compiled in, and turn off the ability to load any modules. I have no idea if this can be done or how in FreeBSD. This is what securelevel(8) is about: ahh yes, that seems pretty obvious in retrospect. :) Thanks. Another example of my incredible ability to understand the conceptual side of info sec., and not be able to implement much of it. oh well, it helps when you have nothing terribly important to protect! :) http://packetstorm.decepticons.org/papers/unix/bsdkern.htm Ah, interesting one! Thanks :-) np Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD (4.5-to-4.7) Binary Upgrade Mishap
On Friday 07 March 2003 10:32 pm, Bob Perry wrote: Recently tried to upgrade my 4.5 box using the 4.7 CDs and ran into a problem which left me with a partially upgraded system. I have a 14 GB hard disk so I chose to load all of the canned distributions. During the early stages of the upgrade, I received a message indicating that /usr/src was not loaded and should be upgraded using the CVSup instead. OK. That doesn't seem like a problem The next set of messages were more problematic and appeared in the following order: Add of packages freetype2-2.1.1 aborted, error code 1 Loading of dependent package freetype2-2.1.2 failed Loading of dependent package XFree86 -libraries -4.2.1-1 failed Loading of dependent XFree86-FontServer -4.2.0 failed no biggie, you can load all these packages later anyway. The next message appeared after the program was ...making slices...: Hmmm, couldn't even extract the bin distribution. Start over. So, I did...three times not realizing that my original kernel was being trashed along with my config files. I'm a newbie of sorts and I've spent the last week fussing and fuming over the time wasted so far with, what I thought, should have been a relatively simple process. I'm over it and ready to move on. I ran the upgrade again, this time leaving out anything to do with the X System. It ran successfully (?) however, I need to restore/reinstall certain files this weekend to make it whole again. What did I miss? Does one have to become an expert to work with this OS? Well even after reading the biggest hairiest warning that binary upgrade can trash your system and leave you with a completely unable to work system, you still did it? BTW, I did back up my 4.5 system before attempting the upgrade. That seems the best choice you made. Binary upgrade has never worked well that I know of. I think because the source upgrade method works so well. So i would either back up and reinstall (easiest), or do a source rebuild from where you are at. But if your system is working then just go ahead and use it. if not, upgrade. I would expect you will have problems after a binary upgrade, but who knows. If you want to do the source upgrade, see the chapter in the www.freebsd.org/handbook on cutting edge. Even if you don't want to go to -current or -stable, the same method outlined there will work to rebuild your system. have fun, and think of all you're learning! Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Possible 5.0 FAQ entry? was: Could not allocate Bus space
On Thursday 06 March 2003 11:04 am, Anish Mistry wrote: edited I'm running 5.0-RELEASE on my [system] and I'm trying to get foo working. This is becoming a FAQ. 5.0-RELEASE was never designed as a supported release. See the early adopter's guide again: http://www.freebsd.org/releases/5.0R/early-adopter.html Then see if your problem is fixed by trying -current. No one wants to spend time figuring out problems that are already fixed. (as yours may have been.) So check out: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html and follow the advice there. Anyone else interested in having a quick FAQ written up for this that we can reference? I'll write it if anyone cares to mark it up. And I'll be really nice in the FAQ writeup too ;) Tim btw, Anish, your specific question is not a FAQ, just the general topic is. the smb device working (it worked with 4.7). I am getting the following error when the driver trys to attach: alpm0: AcerLabs M15x3 Power Management Unit at device 6.0 on pci0 alpm0: Could not allocate Bus space device_probe_and_attach: alpm0 attach returned 6 Has anyone seen anything like this and is there a fix? Thanks in advance. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: still can't resolve these system reboots... help please
On Thursday 06 March 2003 10:49 pm, Cliff Sarginson wrote: I just advised someone that memtest gives spurious error on tests 5 and 7 on Asus motherboards. i think I started ths thread. P am amzed at the reaction. The usual bollocks of course about bad harware. Mmm.. sorry guys, X/Screensaver crashes FreeBSD. Cliff, If you can get it to crash at will, I'm sure there would be interest in fixing that, especially if you're running -stable or -current. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Need help
On Thursday 06 March 2003 11:08 pm, Mihai Mateescu wrote: Hello ! I tried to install FreeBSD on my computer, but I failed in the worst way I could: I didn't take serious your advise to back-up my data... ooh, bad idea ;) Well, I tried to install FreeBSD on a partition on my IDE drive. I must say that I had 4 partitions on a harddrive with 20GB. I used fdimage to make the two floppies (kern.flp and mfsroot.flp). I started the intallation process with kern.flp, then with mfsroot.flp and I entered in sysinstall. I begun a standard installation and I created a slice (after I made unused a DOS partition). Then I installed the FreeBSD boot manager (this is the only thing working know) and I tried to install the minimal distributions from a DOS partition. I downloaded from ftp server the entire subdirectory base hmm, this is a little more of a nonstandard way of installing, try one of the other methods if your hardware allows. The mini-install iso's are pretty convenient and not *too* bad to download. from the 5.0 release directory and I copied into C:\FreeBSD. The Man, you really like to avoid reading warnings don't you ;) see the early adopter's guide. 5.x is really for people with more experience right now. installation ended soon with this message: Error mounting /dev/ad0s3 on /dist: operation not supported by device(19) After I clicked on OK buton, another message appeared: Unable to initialize selected media. Would you like to adjust your media configuration and try again? this may be because of the way your drive is partitioned. If it is not totally standard, the FreeBSD installer may be getting confused. Another thing: the first kernel configuration menu did not appear; that's why I did not configured any of the drivers. I think they got rid of that visual configurator completely in 5.0 My questions are: What should I do ? Try 4.7-rel dial-up connection. I dowload many hundreds of megabytes over my dial-up. Just make sure you have something else to do :) Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.8 release updates
On Thursday 06 March 2003 10:40 pm, Daryl Chance wrote: is there a place i can go (i know that once it's released i can, but i'm wanting to check now) to check what the latest changes/updates to 4.8R will be once it comes out? I'm doings some homework and trying to decide if we will stick with the 4.6 branch (security updates) or update to 4.8. I've looked and not found anything yet on fbsd.org, but it might be right under my nose. Definitely not right under your nose, but the latest release notes is what you are looking for: http://www.freebsd.org/relnotes.htmland for now, specifically: http://www.freebsd.org/relnotes/4-STABLE/relnotes/i386/index.html I eventually got to it from the release engineering page which has some pretty useful relevant stuff like the testing guide: http://www.freebsd.org/releases/4.8R/qa.html The releng page is listed right on the main page. Hope that helps Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problems with mkisofs and Mac OS X
On Thursday 06 March 2003 02:46 pm, Bill Moran wrote: I know this doesn't belong on this list, but I can't find any information about it at all, anywhere. First off, if anyone can point me to information in lieu of a direct answer, that would be just as helpful. I've searched Apple's site, google at large and the chaos at the mkisofs homepage. Well you help lots of us here, so I'll make a feeble attempt. The only thing I can think of is some pretty generic advice. Try simplifying the problem and breaking it up into it's components till you get to the cause. Then try new versions of the software you're running. What version of netatalk are you running? how about mkisofs? Here's the problem: FreeBSD server that serves files up for Windows and Mac OS X machines (using Samba and Netatalk). It has a CD burner in it that is used to archive old projects. I have a perl script written that presents a GUI that a user can pick a directory and click a button to burn it to CD. FreeBSD is 4.4, cdrtools is 2.0. Here is the command I'm using to burn the CD: output = `/usr/local/bin/mkisofs -J -r -apple --netatalk -allow-multidot -allow-lowercase $target | /usr/local/bin/cdrecord speed=16 dev=4,0 -` am I getting this right, you're pulling the data over the network using netatalk and then burning it on the freebsd server? Try eliminating pulling it over netatalk if possible. The result is a CD that works fine on FreeBSD and Windows, but on Mac OS X it shows all the files and directorys just fine, but the data is corrupt. It appears as though the resource fork is fine, as images have a viewable thumbnail, but the data itself is unusable. Have you tried mounting the iso using vnconfig and seeing if the data is readable that way? On Mac OS? How about making the ISO on the Mac and then burning it (on either the Mac machine or the FreeBSD machine.) Has anyone else seen this, or has any thoughts as to what I might be doing wrong. The biggest irritation is that it used to work just fine, and I don't remember changing anything. Hmm, that is a bummer. I had weird problems when I used netatalk, but it was never important to me so I never tried hard to fix it. Another thought, if you're using MacOS X, why not try NFS instead of netatalk? hope that helps, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make installworld problem (4.7)
On Wednesday 05 March 2003 09:38 am, Peter Elsner wrote: The only thing I can see wrong is: you forgot make installworld after your make buildworld. Peter, no he didn't. He did the basic steps in the right order. read carefully: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html The only thing I can see he missed is in section 21.4.8 Reboot into Single User Mode. Did single user mode help you? Tim At 07:28 PM 3/4/2003 -0500, you wrote: [EMAIL PROTECTED] writes: I am trying to upgrade from FreeBSD 4.7-p2 to 4.7-p6, but I get an error. I have run: cd /usr/src make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD Bootet with the new kernel so uname says: FreeBSD loadmaster 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Sun Mar 2 23:50:15 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD i386 But then I cd to /usr/src to make installworld his happens: loadmaster# make installworld mkdir -p /tmp/install.715 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.715; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Stop in /usr/src. *** Error code 1 Stop in /usr/src. It seems like a nobrain error, but I can't fix it, maybe someone here can help me? Btw please cc to me as I am not on the list. Looks like one of those programs isn't there. Can you find them in the obj tree? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message --- --- Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say Daddy, where were you when they took freedom of the press away from the Internet? -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: A couple of questions related to the sendmail patch, etc.
On Wednesday 05 March 2003 05:27 am, Giorgos Keramidas wrote: On 2003-03-04 22:38, taxman [EMAIL PROTECTED] wrote: On Tuesday 04 March 2003 01:08 pm, Giorgos Keramidas wrote: On 2003-03-04 10:02, Phillip Smith [EMAIL PROTECTED] wrote: : A couple of quick questions... : : I've downloaded the 8.11.6 patch from sendmail.org, and used the : instructions they provided : [patch -p0 /PATH/TO/sendmail.8.11.6.security.cr.patch], which then : prompts me for 'which file to patch.' I'm not clear on which file I : _need_ to patch? Or where it would be. You should run the patch command with /usr/src/contrib/sendmail as your current working directory. I don't run sendmail at all, but I would like to learn how to apply the patch. doing: patch -p0 /home/tim/sendmail.8.12.security.cr.patch in the above directory still gives the File to patch: prompt What else needs to be done to apply the patch? Hmmm, sorry for the confusion. I didn't read the patch carefully. The correct way of applying it for 8.11.x is: # cd /usr/src/contrib/sendmail/src # patch -p1 /PATH/TO/sendmail.8.11.6.security.cr.patch Thanks Giorgos, that worked for the patch for 8.12.6 too. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How many mbufs do I need?
On Wednesday 05 March 2003 04:40 pm, Kirk Strauser wrote: I killed my FreeBSD 4.8-PRE (2003-02-18) server today by exhausting the available mbufs. I'd seen warnings like All mbuf clusters exhausted, please see tuning(7). in /var/log/messages, so I added `kern.ipc.nmbclusters=16384' to /boot/loader.conf.local a while back. This server has 768MB of memory, and I run at least two copies of PostgreSQL (it has multiple jails) at any given time and use it to server NFS to a couple of Linux clients. Today I wanted to test Bochs on one of the Linux machines, ran the bochsconf program, watched it run createdisk to make a 512MB disk image in my home directory, and saw the server panic within a few seconds. When it came back up, I bumped nmbclusters to 32768, rebooted, and tried createdisk it. This time I watched `netstat -m' as the dreaded All mbuf clusters exhausted... message began to scroll up the screen. This time, the server stayed alive, but it clearly maxed out all available buffers. After createdisk was finished, the mbuf usage went back to normal: $ netstat -m 389/36736/131072 mbufs in use (current/peak/max): 389 mbufs allocated to data 388/32768/32768 mbuf clusters in use (current/peak/max) 74720 Kbytes allocated to network (33% of mb_map in use) 345 requests for memory denied 1 requests for memory delayed 0 calls to protocol drain routines My questions are these: 1) Is there a guideline for how many nmbclusters to allocate? Short of running out of physical memory, is there such a thing as too many? 2) I've already allocated 64MB to network buffering. This seems like a huge amount to me. Is it? 3) Should running out of mbufs be expected to crash the server, or should I try to reproduce it and file a PR? Reproducible errors are the most helpful thing a developer can have to improve FreeBSD's stability. So try to reproduce it, but make sure you're doing it on the most recent -stable code, as your problem may already be fixed. If you can update to -stable and still get that error then file a pr and ask on the -stable mailing list as that is the appropriate place. No idea on the rest, sorry, Tim 4) What could createdisk have been doing to spike usage that heavily? 5) Could Linux's NFS client implementation have aggravated the situation? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: USB Mass storage (Datafab)
On Tuesday 04 March 2003 10:37 am, Irvine Short wrote: Hi All There's a pile of pretty neat USB attached gadgets out there. We just got a USB 2.0 external case with a 2.5 notebook drive in it. It's a Datafab MD2-USB2A. USB 2.0 is not supported at all yet in FreeBSD as far as I last heard, so if this device works it will be in falling back to 1.0. On my machine running 4-STABLE as of this afternoon with USB 1.0 ports whenever I try to access it I get this: gopak# disklabel -w -r da0 auto disklabel: /dev/da0c: Input/output error any reason you need to put a new disklabel on it? Why not just try mounting it if it the drive already has a windows disklabel or whatever. and in /var/log/messages I get this: Mar 4 17:31:32 gopak /kernel: da0: reading primary partition table: error reading fsbn 0 On a 5.0 machine (5.0-RELEASE-p3) with USB 2.0 ports (Intel 845 based motherboard) I get this: [EMAIL PROTECTED]:~$ disklabel -wr da0 auto disklabel: /dev/da0: Input/output error and in /var/log/messages: Mar 4 12:00:52 fusion kernel: umass0: vendor 0x07c4 USB 2.0 Storage Device, rev 2.00/1.04, addr 2 Mar 4 12:00:52 fusion kernel: umass0: Residue incorrect, was 0, should've been 219 Mar 4 12:00:52 fusion last message repeated 4 times Mar 4 12:00:52 fusion kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Mar 4 12:00:52 fusion kernel: da0: USB 2.0 Storage Device 0100 Fixed Direct Access SCSI-0 device Mar 4 12:00:52 fusion kernel: da0: 1.000MB/s transfers Mar 4 12:00:52 fusion kernel: da0: 38154MB (78140160 512 byte sectors: 255H 63S/T 4864C) Mar 4 12:00:52 fusion kernel: umass0: Residue incorrect, was 0, should've been 512 Mar 4 12:00:53 fusion last message repeated 14 times Mar 4 12:01:25 fusion kernel: umass0: Residue incorrect, was 0, should've been 8192 Mar 4 12:01:25 fusion last message repeated 4 times Mar 4 12:01:26 fusion kernel: umass0: Residue incorrect, was 0, should've been 512 Mar 4 12:01:26 fusion last message repeated 14 times Mar 4 12:02:33 fusion kernel: umass0: at uhub0 port 2 (addr 2) disconnected Mar 4 12:02:33 fusion kernel: (da0:umass-sim0:0:0:0): lost device Mar 4 12:02:33 fusion kernel: (da0:umass-sim0:0:0:0): removing device entry Mar 4 12:02:33 fusion kernel: umass0: detached are these messages from before or during trying to write the disklabel? if during, what does the dmesg look like when you just have the devices plugged in and you haven't issued any commands? Anyone ever make these things work? Under Windoze 2000 and XP it just works, no hassle at all. The USB standard is a large, difficult and fairly buggy standard and its implementation in hardware is usually pretty buggy too. Read through the -current mailing list where they've discussed much of the hardware issues with USB. If the hardware maker does not release enough documentation it can be impossible for somebody to write a FreeBSD driver for it. It takes much more work to write a driver when the device maker gives partial info for it than for MS who gets all of the detailed specs. So when you're getting free hardware support, be careful you're not complaining. You may want to try -current if you're willing to accept all that goes with that (reading the Handbook, following the mailing list, etc). That is where the newest USB code goes in. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: A couple of questions related to the sendmail patch, etc.
On Tuesday 04 March 2003 01:08 pm, Giorgos Keramidas wrote: On 2003-03-04 10:02, Phillip Smith [EMAIL PROTECTED] wrote: : A couple of quick questions... : : I've downloaded the 8.11.6 patch from sendmail.org, and used the : instructions they provided : [patch -p0 /PATH/TO/sendmail.8.11.6.security.cr.patch], which then : prompts me for 'which file to patch.' I'm not clear on which file I : _need_ to patch? Or where it would be. You should run the patch command with /usr/src/contrib/sendmail as your current working directory. I don't run sendmail at all, but I would like to learn how to apply the patch. doing: patch -p0 /home/tim/sendmail.8.12.security.cr.patch in the above directory still gives the File to patch: prompt What else needs to be done to apply the patch? Thanks, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make buildworld fails for 5.0
On Tuesday 04 March 2003 09:40 pm, Mike Loiterman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm getting the following error in my: 'make buildworld' I'm currently running 5.0-RELEASE #0 and I've cvsup'ed to '.'. So then this belongs on -current. See http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html They'll help you out more there, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Error - Signal 11 was caught
On Monday 03 March 2003 11:20 am, Peter Elsner wrote: Signal 11 is almost always memory... Replace your memory chips on your motherboard Actually in general it's usually a software bug. But when (as in this case) you're talking specifically about a FreeBSD install or kernel compile or a make world, there aren't (m)any errors left that could cause a signal 11. Don't believe me? See the signal 11 FAQ: http://www.bitwizard.nl/sig11/ The best test is if it fails in different places upon repeating the same compile, it is almost certain to be hardware. If it fails at the same place with the same error each repeated time, you most likely have found a software bug. Tim Peter At 01:38 AM 3/3/2003 -0700, you wrote: I'm getting the error Signal 11 was caught, just after committing to the install. The system then shuts down and reboots. I have run the installer several times, and get the same error each time. I have turned on Debug in the options, but I have no idea how to access it without the OS having been loaded. (Yes, I'm a newbie) I'm trying to install on a multi-partition drive, so I can switch between several different OS's. I've created three Install floppies, (kern.flp, mfsroot.flp, drivers.flp), and am attempting an FTP install. I am installing all the drivers from the drivers floppy, since the directions on the web site don't mention it at all. I can't find any error list, so I have no idea what signal 11 means. If there's any other information you need, let me know. Ken Biles To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message --- --- Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say Daddy, where were you when they took freedom of the press away from the Internet? -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Portupgrade -- revisited
On Sunday 02 March 2003 02:22 pm, Cliff Sarginson wrote: At the risk of being accused of a complainer. I will state here that my experiments in the use of portupgrade, have left me without a useable X system. Guess it is back to the CD's. Will the ports maintainers *please* make sure they release compilable ports..especially for the big mothers like X/KDE. Cliff, it's worked fine for me. I installed all of KDE3 from ports. Got virtually no errors, but I did do it by uninstalling almost all of my installed ports. So yes portupgrade for something that large did not work. Try making packages out of what ports you have installed. Then uninstalling and reinstalling them shouldn't be too bad. And you've got to understand the complexity problems involved here. There are 8200 or so ports right now. Each has as many as 60 dependencies (like kde). This creates an incredible web that is very difficult to keep working. The ports maintainers do a great job of this in fact. What is nearly impossible is to have it work perfectly for every given individual installation that may have many thousands of individual configuration changes, versions, old binary, source cruft lying around. So as mentioned before, problems could easily be due to stuff only you have on your system. Try building in a clean environment. If you get the same error in a clean environment then a clear message to the port maintainer with how to repeat the problem is the only way for them to get it working. It doesn't involve knowing how to code in the given language, just useful error messages. An it doesn't work is useless and does fall into the complainer side, even if you're not trying to. Try that and then ask questions if you can't get something working. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ADSL modem and Security
On Sunday 02 March 2003 03:08 pm, Defryn, Guy wrote: I am thinking about getting an ADSL connection and I would like to know which (internal) ADSL modems work well with Freebsd. I don't know, but check the hardware notes on the FreeBSD.org website. also any adsl modem that interfaces intelligently with ethernet should work ok. If you search for your specific ISP and freebsd, yo may see some messages of other people that have gotten it working. Have you tried calling the tech support to see if they have a clue? Although I have very good knowledge of NT I have decided to use a Freebsd box to connect my network to the internet. I want host my own website and ftp. I only have basic knowledge of Freebsd and I would like to get some security tips. See the security section of the FreeBSD handbook for some starters. man security has similiar info. Security is not an easy thing to pick up quickly. I'll start with implementing a firewall and closing risky services :-) good idea. start looking at ipfw or ipf. googling for ipfw on freebsd should get you some guidelines. man ipfw has the gory details for ipfw. man firewall has some good stuff to get started too. hope some of that helps, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: RFC 1912 compliant ISP's...
On Sunday 02 March 2003 03:15 pm, Bill Moran wrote: Kevin Kinsey, DaleCo, S.P. wrote: I'm starting to feel like I'm the only one in the surrounding 3 counties that would know how to do it righttoo bad I have no brain for business, 'cause otherwise I could run an ISP better than them, methinks.I guess I'm just spoiled by the amazing amount of technical know-how around these lists... Join the club. I switched ISPs in Jan because my old ISP (PulseNet) couldn't figure out how to make reverse DNS work ... even when I told them exactly what to do. PulseNet would ignore my phonecalls for weeks at a time, until I would threaten them. The thing that worries me is that they tried to pretend that my inability to send email to FreeBSD's mail servers was caused by the config at FreeBSD. I'm smart enough to know different, but most of their customers aren't, and they're getting lied to. I wish I could think of something effective to do about it. My ISP had basically the same problem, told me it was my config problem, not using a M$ OS, etc. I eventually pointed out to them the output of nslookup on their mailserver and made teh tech support try to reverse DNS it. When she couldn't, after some hmms, and let me checks, she fixed it. It happened a couple more times to some of their other servers, but I got it fixed the same way. They ended up being somewhat clueful to non-MS OS's. Do most mailservers just not even check for reverse DNS and that's why their (the windows users of the brain damaged ISP) mail doesn't bounce? Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: single user mode
On Friday 28 February 2003 12:57 pm, Mike Meyer wrote: Since nobody else stepped forward with an answer, I'll try In [EMAIL PROTECTED], Cliff Sarginson [EMAIL PROTECTED] typed: No I can think of kludgy ways to do this, but I want to know the way it should be done. How can you tell from with a shell script whether you are in single-user mode or not ? The difference between starting single-user and starting multi-user is that init just starts a shell in one case, and in the other it runs /etc/rc then deals with /etc/ttys. Shutting down to single-user shuts down the things in /etc/ttys - and anything else - then launches a shell. There doesn't appear to be a way to ask init if it's running in single-user or multi-user mode. I'd say the best way is to look for a shell process with a ppid of 1. This can be fooled by having a shell started in /etc/ttys. Looking for things to be running in multi-user mode depends on them running, which may fail during (ab)normal system operation. Might I suggest that you're not really worried about being single-user, but instead worried about some condition that is usually true in single-user mode (quiescent file systems, no network daemons, etc)? If that's the case, you'd probably be better off checking that condition than checking for single-user mode. After all, given any assumption you make about single-user mode, I can violate that assumption if I really want to. Mike, good points. I don't think there is an elegant way of doing it either. To that end I don't think there is a truly important distinction anyway. If you're just looking for the simple answer, Cliff, checking if you can switch to another virtual terminal, and looking at the output of ps and perhaps mount, should tell you which one you're in. Presuming you get use to the output of those commands in both scenarios. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: kernel compile woes
On Friday 28 February 2003 01:13 pm, [EMAIL PROTECTED] wrote: I've managed to bork something up badly... First off, I had earlier today upgrade my src tree with this supfile: *default host=cvsup11.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress src-all As Kris mentioned cvs tag=. is -current. see the handbook section on cvsup, especially the tags. that should clear it all up for you. Tim Anyway, I went to do a kernel compile and couldn't get passed 1st base, it told me that the config command didn't match up with my kernel sources. Here's the second reason you should read the handbook more. You probably don't want to use the old config method of rebuilding you kernel. Also read /usr/src/UPDATING. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Portupgrade -- am not Einstein
On Saturday 01 March 2003 06:53 pm, Cliff Sarginson wrote: Ok, I give in. /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:310:in `deorigin': failed to convert nil into String (Pkg DB::DBError) After most of two days trying to understand portupgrade, RTFM, and advice given on this list, I give in. Trying to upgrade KDE .. totally hopeless. arts won't build...therefore kdelibs won't build. Well it looks like you've done everything right, but building that large of a port is not perfect. It depends on so many pieces to be right that any changes can bork it pretty good. Or really just any little extra stuff left over in your build environment can screw it up. Only way I get KDE to upgrade sometimes (I've done it 6 times or so) is to build it from scratch with no other ports installed. This may not be realistic given your system, so try using a testbox. Install from scratch, cvsup ports and let it build away on portupgrade -Np kde-3.1 That will make packages for you that you can then install on your other systems. Option 2 is to download packages. fruitsalad.org is a project run by some of the people doing kde on freebsd, and they have kde packages for FreeBSD. Option 3 is to learn how to set up jails, and do the above build from scratch inside of a jail and then install the packages that result onto the original system. KDE including all of the dependencies took 8-9 hrs to build on my Duron 700 with slow discs. So I'd try that, go do something else for the day and save what hair you have left :) Tim The last straw was the above error message. I presume it means something to somebody. Well, I know it is a wonderful tool. But I have given up on it. I am unable to re-instate the status quo with KDE via FTP, since No FTP server understands 4.8-PRERELEASE. Setting the release option as any does nothing worthwhile. And as for the recursive -R/r options.. they seem to be working on their own agenda. It was actually quite easy to upgrade X, by just doing it through the normal ports mechnism. Portupgrade made it into a pig's breakfast. And why on earth is portupgrade arts, looking for things in /usr/local/lib/.libs ? Mmm. I was my belief that the ports were independent from the release. This is not the case. Why is there a 4.8-PRERELEASE ports section ? I followed all the bouncing balls. But they have defeated me. I was trying to update X11/KDE. Not a chance. I think, that if a port reflects a new version of something so massive as X/KDE/Gnome, it should not be let loose until a binary package update is available for it. My understanding may be wrong. But I accept the 'cutting' edge aspect of tracking Stable as regards the base system..which actually is in my experience almost *never* a problem. But tracking ports is a very hazhardous task, especially with meta-ports. I really think some clarification is needed on this. And why Ruby ? Why on earth is something like a fundamental tool written in a language whose widespread use is noticeable by it's absence. I really have read the documents, and read the mailing list advice. But..sheesh.. Ah well...no flames please. Sound advice, slaps on the wrist..fine. But it has got me beat.. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Floppy installalation - But
On Thursday 27 February 2003 05:29 pm, [EMAIL PROTECTED] wrote: My CD ROM and Floppy drive are in the same spot. FTP , CABLE , HEADLESS will not Work. 4 sets of cables, 20 disks later nothing has changed, cept my grey hair. So Floppy is the ONLY way possible to do any kind of install so far as I can see. No CD No CABLE No Nothing but floppies I wouldn't rule out those other options so quick. How did those other methods fail? My guess is you would be better of figuring out how to get a headless or ftp to install to work. if you've got a serial port you can do a headless install. you could also get a modem and install over that. I think a null modem cable to do headless could even be cheaper than enough floppies to do a floppy install. If you're determined to do a floppy install, you could always install 4.7 from floppy and then use your 5.0 CD to install/upgrade to 5.0 Tim So I need to know is the /BASE in 5.0 the same as /BIN in 4.7 so I can start rolling out floppies. Once I have an install I am sure the cd and all the rest will be fine since it worked fine with RH. On Thu, 27 Feb 2003 14:16:16 massey wrote: Is there a way to do a min install with floppies and then use /stand/sysinstall to finish it off? I know this isn't _specifically_ what you're asking, but I thought I saw a previous reply that was similar. When I have a machine that won't boot to cdrom, I download boot floppy images for the latest release (in your case that would be 5.0r), and the first iso image for that release. I would then boot from the kern.flp disk, and when prompted, proceed to the mfsroot.flp disk. That gets me through the kernel config and into sysinstall. Via sysinstall, I can chose the media from which the rest of the install will be retrieved, ie ftp, cdrom, etc. I then choose cdrom, making sure the cdrom is in the drive, and... I'm not an expert, but I don't know of another way to do a minimum install from floppies, unless you're looking for picobsd or something. That does not, however, mean that there is no other way to do it, I just don't know about it. I truly hope that this helps. Good luck. Joshua Lokken Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: File system limits
On Thursday 27 February 2003 07:39 pm, Erik Trulsson wrote: On Fri, Feb 28, 2003 at 12:11:14AM +, How Can ThisBe wrote: I'm working on a little experimental script and I'm wondering if there is any kind of limit as to how many files or subdirectories a directory can have. Well of course there is the simple limit of how many inodes your filessytem has. You can only change that when you create the filesystem with newfs. the newfs and fs man pages seem like the best explanation I can find atm for you to explain that. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Do sorted messages exist?
On Thursday 27 February 2003 06:43 pm, [EMAIL PROTECTED] wrote: On Tuesday, I subscribed to the e-mail version of freebsd-questions. Because it generated messages at the rate of about two per minute all day long, and I received them on my employer's computer, and just the amount of time it took to delete the messages was interfering with my productivity, I had to unsubscribe on Wednesday. I was fascinated by the messages as I am a newbie still trying to get my BSD system going and many of them pertained to issues that I expect to face. I may be in fantasy-land, but I will ask this question anyway. Is there any version of freebsd-questions in which the traffic is sorted by topic, and in which the recipient can pull onto his screen only those messages on the topic of interest? Kudos to any I also don't really see any option like this. There are digest summaries for some of the mailing lists. That may be an option for you. What you may want to try is get a threading mail reader that will group by topic. A mail reader with filters is good too. I do that then I delete in whole chunks conversations I have no interest in. I can get through a days worth of FreeBSD question in 30 min or less that way if I want to. You could do that and only download the mail once or twice a day so that more of the mail threads by topic and you can delete more. person who takes the time to read any significant portion of the messages, and especially many thanks to those kind soles who actually take the time to respond. Both of the questions that I posted in the past did receive a response. Thank you. Thankfully there are a lot of people that answer questions that are much more knowledgeable than I. It's a pretty altruisitc group. You're welcome from me certainly. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.7 Upgrade issue
On Wednesday 26 February 2003 09:50 am, Daniel Bye wrote: On Wed, Feb 26, 2003 at 02:29:57PM +, rew wrote: So you boot a new kernel with old system? Yes, but how is that so different from installing a new world for an old kernel? And it's really usually not that big of a deal anyway. I successfully ran a 4.3 kernel on a 4.7 system. I could only make a few problems occur even when trying. top and ps worked just fine. Besides, when you installworld, you should be booting straight to single user mode, so not much is going on to cause problems in installworld. Of course don't try to do anything else when world and kernel are out of sync. Problems come in especially when trying to run a 3.x kernel on a 4.x system and some other cases. Tim When you have built a new kernel, you must reboot to start using it. After running make installworld with the new kernel, you have the new world installed as well. Your new kernel will only be running for a few minutes with the old world, until the new one is fully installed. -Original Message- From: Daniel Bye Sent: Wednesday, February 26, 2003 9:40 AM To: [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: Re: 4.7 Upgrade issue On Wed, Feb 26, 2003 at 03:23:28PM +0100, Pierrick Brossin wrote: Quoting rew : You must installkernel and reboot before you can installworld. Read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.h tml for more details. Daniel Bye Hi Daniel ! I made/installed kernel and world quite a few times now and never, never, never reboot before installing world ! - make world - install world - make kernel - install kernel This looks like the old way of doing things. The new way (buildworld, buildkernel etc) is different, and you must boot the new kernel to safely and reliably install the new world. The instructions in the handbook are very explicit in this regard. It is the only supported method of updating your system from source, as it is the only method that is tested. While some variations work, they may create unforeseen problems. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.7 Upgrade issue
On Wednesday 26 February 2003 09:23 am, Pierrick Brossin wrote: Quoting rew [EMAIL PROTECTED]: You must installkernel and reboot before you can installworld. Read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html for more details. Daniel Bye Hi Daniel ! I made/installed kernel and world quite a few times now and never, never, never reboot before installing world ! - make world - install world - make kernel - install kernel Agreed with Daniel. Pierrick, this is an incorrect method. the world target has been deprecated. Really, read the handbook and UPDATING for more info. To the OP, now that you borked your install by trying to installworld before you did installkernel, you may be in an indeterminate state that you can't get out of without a lot of work by hand sorting out the files. You may need to backup and start over (fresh install) Though possibly you can get it working with Bill's method of booting the old kernel and trying again. But if you've done buildworld buildkernel installworld installkernel installworld you may be up a creek without a paddle. (like I said not that you couldn't swim, but in this case it could be like swimming with a weight belt on) Always read UPDATING and the handook. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD 4.4 Questions
On Wednesday 26 February 2003 12:13 pm, Gary D Kline wrote: On Wed, Feb 26, 2003 at 08:34:26AM +0100, Aas, Eskild wrote: Dear Sirs We are three students attending Hærens Ingeniørhøgskole (the norwegian millitary engineering school). We are currently working on an assignment about operating systems. We are writing about FreeBSD 4.4. We would like to know if you can help us find , or tell us where we can find information about these following subjects: * OS structure * Process-handling * CPU-handling * Memory-handling * Filesystem (implementation) * I/O structure * Security Uh, hi. You're asking someone else to do your work for you. An online tradition, but a questionable one in terms of what you'll learn. There is a lot of information on that in the FreeBSD Handbook and the developers handbook, both available from the FreeBSD.org site. The real details of that information exists only in the brains of the developers and to an extent in the mailing list archives. The -hackers and -current mailing lists are especially know for the detailed conerstions on topics like those. We would be very greatfull if we could get this information as soon as possible, because this assignment is due 03.07.03 (Next Friday) For an in-depth view of most of your topics you might want to study The Design and Implementation of the 4.3BSD UNIX Operating System by Kirk McKusick et al. (There is probably a 4.4BSD version by now; you'll need to google around.) Gary is this a joke? The Design and Implementation of the 4.4BSD Operating System by McKusik et al. was published in 1996. 4.4BSD is what FreeBSD 1.0 and later (along with NetBSD, and therefore later OpenBSD) were based on. The 4.3BSD version of the book came out a year or so before that. Though much in FreeBSD has changed since those books were published, they remain an excellent introduction to the concepts that underly FreeBSD. The implementations have nearly all changed. There were rumors that Kirk was writing an updated FreeBSD version of the book, but my guess was the profitability of it was questioned. Kirk sells courses and tapes, and I'm sure does well with them. http://www.mckusick.com/courses/index.html with among other things a course on FreeBSD Kernel Internals: An Intensive Code Walkthrough tm Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Installkernel fails on 4.7Rel p2
Hi, I can't figure this one out, I have already installed a custom kernel on this sytem and now I'm trying to make a new one. It build fine, but intallkernel fails with: install -o root -g wheel -m 555 joy.ko /modules install -o root -g wheel -m 444 joy.8.gz /usr/share/man/man8 install -o root -g wheel -m 555 /usr/src/sys/modules/joy/joy.sh /usr/bin/joy install: /usr/src/sys/modules/joy/joy.sh: No such file or directory *** Error code 71 I look and I see that joy.sh is not on my system. ok where did it go? I dl'd it and i hope it will work if I just put it in it's place. Alright, so in investigating this it brought up two more questions. 1) someone mentioned make.conf and MODULES_OVERRIDE it seems this requires a list of modules *to* build, but it's not possible to just exclude one. How would I build this list, and what syntax? 2) if I use NO_MODULES instead, are there any critical modules I'll be missing? I have everything I think I want in my kernel config file so I shouldn't need any modules right? Thanks, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FU Re: samba in a jail - seems to work
Rebuilt samba from ports. and now it seems to work without locking or crashing. FreeBSD jails are really pretty cool. minor difficulty in building the samba port, gettext failed, but installing the gettext package solved that. Thanks all, Tim On Thursday 20 February 2003 12:25 am, taxman wrote: Anyone successfully running samba inside of a jail on 4.7R? I'm trying te get it to work for a friend of mine. It works ok for a while and then locks the machine up hard every night. Network access is gone. We haven't yet determined if it is the periodic scripts that cause the trouble, or just the type of activity that they represent. How do I run them each (or al of the daily scripts) to see what causes the lock-up? Normal use and even copying large files does not seem to cause the lock-up. Unfortunately, nothing segfaults so I can't get a core dump to do anything with. Sorry I don't have more detail at the moment, I just wanted to know if anyone had it working. I may try a serial console if i can make a null cable. I'll get more details on Sat. Other ideas of things to check? Thanks, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
errors building ports INDEX
Hi, I don't know if I missed something, but I get thousands of errors (1,920 or so) when doing make index after a cvsup of ports this afternoon. What's going on? Nothing really unusual in the cvsup output (no large number of ports deleted) Any ideas? Thanks, Tim Generating INDEX - please wait..evilbar-1.2.1: /usr/ports/multimedia/xmms non-existent -- dependency list incomplete 20-30 errors like this: evilbar-1.2.1: /usr/ports/multimedia/xmms non-existent -- dependency list incomplete gkrellmms-0.5.8: /usr/ports/multimedia/xmms non-existent -- dependency list incomplete ... then thousands like these: (even though those ports exist in my tree still) make: fatal errors encountered -- cannot continue make_index: no entry for: /usr/ports/devel/bison make_index: no entry for: /usr/ports/devel/gmake make_index: no entry for: /usr/ports/www/p5-libwww ending with: make_index: no entry for: /usr/ports/x11/XFree86-4-libraries make_index: no entry for: /usr/ports/databases/mysql323-client make_index: no entry for: /usr/ports/x11/XFree86-4-libraries Warning: Duplicate INDEX entry: *** Error code 1 Warning: Duplicate INDEX entry: Done. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message