Re: key barriers
Hello, FreeBSD should be able to support any newer java version without problems. Most people compile from ports, however there should be something available -- you should find out what his version needs actually are, and base off that. Also, FreeBSD is immune to many exploits that are known to have caused havoc with Linux. It is possible to upgrade the system to the newest version, however if it's a rather old install you'll have to do it carefully. You can always cvsup an install, however I do believe there were many differences between FreeBSD 2.x, 3.x, and 4.x now especially with libs. Sincerely, Scott Kupferschmidt On Sun, 15 Jun 2003, Thanjee Neefam wrote: Hello, I have a friend who is a Debian Linux user and I have been having a discussion with him about using FreeBSD. He wrote me a list of his concerns with changing to FreeBSD. I don't want to give him any incorrect answers or incorrect information. So could someone more knowledgable than me please give me some precise answers on the following points. Thanks! from email I like that a certain *BSD is getting funding from DARPA; the enhancements I was reading about sounded impressive. The key barrier to FreeBSD is java. I go to http://www.freebsd.org/java/ and the main text says FreeBSD supports 1.1.8, which isn't good enough for my needs. However, there is also a 1.4 link on that page, but that page says the FreeBSD version is currently missing features. This is the second key issue. I know of someone who runs an old open-source OS (about 3 versions behind the current), who doesn't know how to patch his box unless he downloads 4 or so CDs. That box was recently compromised and the fix that person performed was to rebuild the machine with the same old OS, and recover data from tape. I like being able to browse to www.debian.org/security and to know that on certain days as many as 5 patches are released. And that with a single command I can apply all the patches I need. Now, FreeBSD has a similar page freebsd.org/security but it doesn't list as many bugs. Does that mean FreeBSD has fewer holes? Or does it mean it takes longer to fix them in FreeBSD? Or that people are not testing the security of BSD as much as Debian? I don't know. At the top of the debian security page is directions on how to apply all relevent patches. There is no such information on the FreeBSD security page (that I could see, correct me if I am wrong). Instead the directions are attached to the Security Advisory, and involve recompiling your operating-system/kernal and rebooting (at least it did for the two I checked 'openssl' and 'syncookies' SA for 4.8 /// [EMAIL PROTECTED] \\\ AAFE Audio, Amiga and FreeBSD Enthusiast :p \ http://www.fastmail.fm // ___ [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 Authentication Problem
On Sun, Jun 15, 2003 at 08:40:04PM -0500, Gary K Stinnett Jr wrote: I have been trying to get smtp authentication to work with Sendmail I have looked over and tried many times to install sasl and go through the directions on the following freebsd web page http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html When I get to the point of make sendmail I get the following error At the end of the make process I get CC: /usr/src/lib/libsmutil/libsmutil.a: No such file or directory CC: /usr/src/lib/libsm.a: No such file or directory *** Error code 1 You're talking about doing the compilation step as shown in section 20.9.4 of the handbook: 4 Recompile sendmail by executing the following commands: # cd /usr/src/usr.sbin/sendmail # make cleandir # make obj # make # make install The compile of sendmail should not have any problems if /usr/src has not been changed extensively and the shared libraries it needs are available. There's an implicit assumption there that you've previously done a 'make buildworld' and you have a complete set of object files and so forth under /usr/obj. As it is, your compilation fails because there are some other parts of the source that need to be compiled before you can do this part. This is a fresh install of FreeBSD 4.8. I have not changed anything except installing apache, qpopper, and webmin. In your case, instead of compiling as shown in that section, try rebuilding the whole world. That's going to be time consuming but it's the easiest and most certain way to get a successful result: # cd /usr/src # make buildworld # cd /usr/src/usr.sbin/sendmail # make install Carry out all of the other steps as shown in the Handbook. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Can I delete a partition (or is it a slice?)
On Mon, Jun 16, 2003 at 12:11:25PM +0700, Roger Merritt wrote: I have a chance to get my hands on a 4-GB hard drive that's being replaced by a 40-GB drive. My other machine really needs more space (it also has a 4-GB drive), and I'd like to move the /usr/home slice (or is it partition?) to the new(er) HDD and delete the /usr/home slice from the older drive. I presume the space would then be available to the /usr partition (the two are adjacent and /usr/home was created after /usr). Would deleting the slice cause my partition table to be rewritten with disastrous results? So long as the /usr/home partition follows the /usr partition, you should be able to merge the two by judicious use of 'disklabel -e'. Then use growfs(8) to expand the filesystem into the new space. If the partitions are ordered the other way round then you're pretty much going to have to backup the /usr partition to tape, wipe both the /usr and /usr/home partitions, rebuild the filesystem on the merged area using newfs(8) and restore from the backup. Of course, wiping out the /usr partition will remove a large number of tools that you might need for doing the backup and restore. You can do this using only the tools available in /bin and /sbin --- ie. use dump(8) and restore(8), but you might find it easier to boot from disk 2 of the install media -- the live filesystem image -- and mount your harddrives from there. Or would it be better to set up three slices, for /, /var, and /usr, on the new drive, transfer the data from the old drive with backup and restore, backing up the contents of /usr/home to a tarball on the new drive, then repartition the old drive with a single slice, /usr/home, and copy the backup tarball? That will work too, at the cost of some juggling the disks around so that everything remains bootable. If you're moving the root partition, make sure that you set up /etc/fstab with the correct device names before you try and reboot. Or copy the /, /var and /usr partitions, and then rejumper and swap master and slave disks. Recovering from an incorrect fstab is painful. Also, since these two drives would be on the same cable, would using tar to transfer the data be faster than backup and restore? No -- any differences in speed between different utilities are going to be inconsequential compared to other considerations: tar(1) lives in /usr/bin, which is part of what you're going to be modifying. Better to use tools from outside that area. -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: key barriers
Thanjee Neefam wrote: The key barrier to FreeBSD is java. I go to http://www.freebsd.org/java/ and the main text says FreeBSD supports 1.1.8, which isn't good enough for my needs. However, there is also a 1.4 link on that page, but that page says the FreeBSD version is currently missing features. http://www.freebsd.org/ports/java.html I haven't used Java on FreeBSD much, but I didn't find anything missing when I did. I'm sure there are others better suited to answer this, however. This is the second key issue. I know of someone who runs an old open-source OS (about 3 versions behind the current), who doesn't know how to patch his box unless he downloads 4 or so CDs. That box was recently compromised and the fix that person performed was to rebuild the machine with the same old OS, and recover data from tape. I can't imagine what that person was thinking? But you say old open-source OS ... if it was FreeBSD, then the admin was a fool. I have several boxes I admin, and keeping them up to date is easy. If you let a machine slip so far behind that you can't easily update it, then it's your own fault. If no security problems force you to update earlier, you should be able to update once a year with no problems and stay reasonably current. I like being able to browse to www.debian.org/security and to know that on certain days as many as 5 patches are released. And that with a single command I can apply all the patches I need. Now, FreeBSD has a similar page freebsd.org/security but it doesn't list as many bugs. Does that mean FreeBSD has fewer holes? I guess. If Debian's security page has more listed, then Debian has more holes. All the known holes in FreeBSD are listed there. Or does it mean it takes longer to fix them in FreeBSD? Heavens no. FreeBSD fixes problems as fast or faster than any other project I'm aware of. Or that people are not testing the security of BSD as much as Debian? Well, I don't know how much testing the Debian folks do, but FreeBSD is heavily used and abused by a lot of people. If security it a major concern, then you should use OpenBSD, which is the most secure system out there, period. At the top of the debian security page is directions on how to apply all relevent patches. There is no such information on the FreeBSD security page (that I could see, correct me if I am wrong). Instead the directions are attached to the Security Advisory, and involve recompiling your operating-system/kernal and rebooting (at least it did for the two I checked 'openssl' and 'syncookies' SA for 4.8 This is how things are done on FreeBSD. If you can apply a patch to the kernel without rebooting in Debian, then the Debian folks are far ahead of anything I've seen! Besides, different security issues may require different levels of activity to patch, so trying to give one set of rules for every single security patch would be difficult, impossible, or inaccurate. A patch to the kernel will definately require a reboot, while a patch to inetd would require rebuilding inetd and doing killall inetd; inetd and save you the reboot. Trying to make one set of instructions for all patches would have to be lowest common denominator, thus telling the user to reboot after patching inetd, when that's not needed. I've never had any complaints with the upgrade your source to the latest security patch version, rebuild the OS and reboot system of fixing flaws. On the slowest machines I admin, this can still be done before lunchtime and the actual downtime is less than 15 minutes. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: more transparent proxy and squid questions.
i'm still having issues here.. has anyone else got transparent proxy going with firewall and squid on different boxes?? anyway, from the squid faq, does this apply to freebsd these days?? ...Compile and run a version of Squid which accepts connections for other addresses. For some operating systems, you need to have configured and built a version of Squid which can recognize the hijacked connections and discern the destination addresses. For Linux this seems to work automatically. For *BSD-based systems, you probably have to configure squid with the --enable-ipf-transparent option. (Do a make clean if you previously configured without that option, or the correct settings may not be present.)... i'm trying to use ipfw for my fwd'ing from the firewall to the proxy server. thanks, ajt. On Mon, Jun 16, 2003 at 07:25:26AM +0300, Rapier wrote: From what you've said you have natd enabled,instead of redirecting with ipfw you shoud redirect with natd!man natd On Mon, 16 Jun 2003 09:41:05 +1000 Andrew Thomson [EMAIL PROTECTED] wrote: On Fri, Jun 13, 2003 at 09:47:09AM -0400, Bill Moran wrote: Yes. You've got the right idea. hmm.. i have encountered some difficulties ;) so now i'm seeking some more advice.. i have the following rules on my firewall: 10561 skipto 11000 ip from 192.168.1.2 to any 10562 fwd 192.168.1.2,3128 tcp from 192.168.1.3 to any 80 keeping in line with my example, 1=fwall, 2=squid, 3=user the skipto is in there so we go through nat and get a proper ip. i never see any packets get to the squid box though.. ipfw show indicates matching packets ipfw show 10561 10562 10561 5342331306 skipto 11000 ip from 192.168.1.2 to any 10562 2520120960 fwd 192.168.1.2,3128 tcp from 192.168.1.3 to any 80 a tcpdump on the squid box looking out for port 3128 shows nothing, although the ipfw shows matches.. i'll keep digging around but any more tips would be appreciated on this setup. thanks, andrew. ___ [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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd 4.2
Hi, all who knows from where I can download freebsd 4.2? I need it urgently for my project. Best regards Zou ZiXuan PhD candidate, Centre For Multimedia And Network Technology School Of Computer Engineering Nanyang Technological University N4-1c-08, Nanyang Avenue Singapore 639798 tel:(65)67906579 website: http://cemnet.ntu.edu.sg http://cemnet.ntu.edu.sg/ http://skins.hotbar.com/skins/mailskins/st/082502/082502dog.gif _ http://promos.hotbar.com/promos/promodll.dll?RunPromoEl=hotbar%5felement%3bst%3bSG=RAND=86692 Upgrade Your Email - Click here! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd 4.2
Hi, all who knows from where I can download freebsd 4.2? I need it urgently for my project. Best regards Zou ZiXuan PhD candidate, Centre For Multimedia And Network Technology School Of Computer Engineering Nanyang Technological University N4-1c-08, Nanyang Avenue Singapore 639798 tel:(65)67906579 website: http://cemnet.ntu.edu.sg http://cemnet.ntu.edu.sg/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd 4.2
On Mon, Jun 16, 2003 at 03:15:04PM +0800, #ZOU ZIXUAN# wrote: Hi, all who knows from where I can download freebsd 4.2? I need it urgently for my project. http://www.freebsdmirrors.org/FBSDsites.php3?showi386ISO=do Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Moving users
Excellent! Thanks Ruben. Cheers, Richard On Mon, 16 Jun 2003, Ruben de Groot wrote: On Mon, Jun 16, 2003 at 02:40:02PM +1000, Richard Beyer typed: Hi, I need to move users from one machine to another and keep their passwords intact. I've added a test user to Server-Source and a test user to Server-Destination and copied the password hash from /etc/master.password on Server-Source and pasted it into master.password on Server-Destination, but the login fails. Have you rebuild the password database after modifying master.passwd ? pwd_mkdb /etc/master.passwd ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange problem with make clean
On Sat, 14 Jun 2003 00:06:50 +0300, Ruslan Ermilov wrote: On Fri, Jun 13, 2003 at 03:59:06PM +0200, Alessandro de Manzano wrote: [...] This means that either /usr/obj/usr/src/secure/usr.bin/openssl or /usr/src/secure/usr.bin/openssl have the openssl file, where it's supposed to be a directory in /usr/obj/... rm -r /usr/obj/usr/src/secure/usr.bin/openssl Great, it worked fine on all my machines :) Note that make clean is only guaranteed to work if the object tree was populated using this same sources; everything So I should have made at least a buildworld before ? else is not guaranteed to work, and make cleandir is advised instead, though even this may break when the types of some files change from file to directory, like has happened with /usr/obj/usr/src/secure/usr.bin/openssl/openssl. good, well to know :) Many thanks again! Alessandro de Manzano Senior Network Manager Playstos - TIMA S.p.A. Corso Sempione 63 20149 Milano, Italy tel.: +39-023314153 fax: +39-02315678 email: [EMAIL PROTECTED] http://www.playstos.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving users
Richard Beyer wrote: Excellent! Thanks Ruben. Cheers, Richard On Mon, 16 Jun 2003, Ruben de Groot wrote: On Mon, Jun 16, 2003 at 02:40:02PM +1000, Richard Beyer typed: [snip]I've added a test user to Server-Source and a test user to Server-Destination and copied the password hash from /etc/master.password on Server-Source and pasted it into master.password on Server-Destination, but the login fails. Have you rebuild the password database after modifying master.passwd ? pwd_mkdb /etc/master.passwd Instead of editing master.passwd directly, you might want to consider using vipw instead, which will do both the edit and the password file rebuild, saving your keyboard from wear :) - J ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: * FreeBSD AntiVirus Solutions *
Hi, Go check out inflex from www.pldaniels.com. Faster more reliable and a whole lot easier to run. This in conjunction with nod32 is pretty awesome !! Kind Regards Doron Shmaryahu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Moran Sent: 15 June 2003 11:34 PM To: Martin Schweizer Cc: [EMAIL PROTECTED] Subject: Re: * FreeBSD AntiVirus Solutions * Martin Schweizer wrote: Hello Bill I've read your posting about Sophos and FreeBSD. I'm also interessted about it. How do you use it: on clients, on servers or on mail servers? Currently we're only using it as a mail server solution, via Amavis. The cost of the individual client setups has convinced all our clients to go with something cheap, like Norton, so we haven't deployed it to the desktop yet. Am Wed, Jun 11, 2003 at 09:50:19PM -0400 Bill Moran schrieb: Olivier Nicole wrote: We have noticed that Kaspersky and Sophos are placed at your web site but we wonder if we have any other / new alternatives more then these two SW ? We've been using Kaspersky for more than a year, no problem with the product itself, but the sales team is a bit unresponsive (don't expect them to warn you when you need to renew your licence, had to threaten them to get them replying to me, etc.) I can't recommend Kaspersky. I had a bad experience with them, the product never worked, and they stopped responding to all communications when we told them we wanted our money back. Being overseas, there was little we could do but bite the bullet. Sophos has been running ever since then. It's fast and reliable. It's definately expensive, but they seem to do a real good job of having up-to- date profiles of all viruses. We automatically d/l and install updates nightly and have never had a problem. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [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: How do I change the envelope from address in sendmail
Hi, Have you double checked that it did build a new sendmail.cf file. Also you can directly edit sendmail.cf. Kind Regards Doron Shmaryahu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Moran Sent: 14 June 2003 03:23 AM To: [EMAIL PROTECTED] Subject: Re: How do I change the envelope from address in sendmail [sorry Jon, I'm trying to do 5 things at once and forgot to CC the list] Jonathan Chen wrote: On Fri, Jun 13, 2003 at 08:33:07PM -0400, Bill Moran wrote: [...] howtos I found, but it doesn't seem to be helping. What's the proper way to get sendmail to use [EMAIL PROTECTED] instead of [EMAIL PROTECTED] You have to add the following into your /etc/mail/`hostname`.mc file. MASQUERADE_AS(domain.com) FEATURE(`masquerade_envelope') Thanks, but this hasn't helped. Any suggestions on what I could be doing wrong? I added the two lines above to my .mc file and did a 'make; make restart' in the /etc/mail directory. The results are the same. My .mc file is stock otherwise except I've defined a SMART_HOST. Any ideas? -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [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: more transparent proxy and squid questions.
Hi, This is relatively easy if you set the gateway of the other machine to be your squid box. Otherwise you have no way of hijacking the connections !! Also this could be done via a access list on a router. Kind Regards Doron Shmaryahu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Thomson Sent: 16 June 2003 08:52 AM To: [EMAIL PROTECTED] Subject: Re: more transparent proxy and squid questions. i'm still having issues here.. has anyone else got transparent proxy going with firewall and squid on different boxes?? anyway, from the squid faq, does this apply to freebsd these days?? ...Compile and run a version of Squid which accepts connections for other addresses. For some operating systems, you need to have configured and built a version of Squid which can recognize the hijacked connections and discern the destination addresses. For Linux this seems to work automatically. For *BSD-based systems, you probably have to configure squid with the --enable-ipf-transparent option. (Do a make clean if you previously configured without that option, or the correct settings may not be present.)... i'm trying to use ipfw for my fwd'ing from the firewall to the proxy server. thanks, ajt. On Mon, Jun 16, 2003 at 07:25:26AM +0300, Rapier wrote: From what you've said you have natd enabled,instead of redirecting with ipfw you shoud redirect with natd!man natd On Mon, 16 Jun 2003 09:41:05 +1000 Andrew Thomson [EMAIL PROTECTED] wrote: On Fri, Jun 13, 2003 at 09:47:09AM -0400, Bill Moran wrote: Yes. You've got the right idea. hmm.. i have encountered some difficulties ;) so now i'm seeking some more advice.. i have the following rules on my firewall: 10561 skipto 11000 ip from 192.168.1.2 to any 10562 fwd 192.168.1.2,3128 tcp from 192.168.1.3 to any 80 keeping in line with my example, 1=fwall, 2=squid, 3=user the skipto is in there so we go through nat and get a proper ip. i never see any packets get to the squid box though.. ipfw show indicates matching packets ipfw show 10561 10562 10561 5342331306 skipto 11000 ip from 192.168.1.2 to any 10562 2520120960 fwd 192.168.1.2,3128 tcp from 192.168.1.3 to any 80 a tcpdump on the squid box looking out for port 3128 shows nothing, although the ipfw shows matches.. i'll keep digging around but any more tips would be appreciated on this setup. thanks, andrew. ___ [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] ___ [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]
/usr/src/sys/dev/en/midway.c:1607: dereferencing pointer toincomplete type
I cannot seem to rebuild my kernel. I wanted to get my sound card working so I included the device pcm directive in my kernel config and I got an error as below.. I could use a hand here if somone has seen this kind of error. Here is the end of the output of the failed compile rain# cd /usr/src rain# make buildkernel KERNCONF=RAINBUILD error: === en cc -O -pipe -mcpu=pentiumpro -DENABLE_BPF -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast- qual -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/dev -I@/../include -fno-common -g -mno-align-long-strings -mpreferred-stack-boundary=2 -ffre estanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/ src/sys/pci/if_en_pci.c cc -O -pipe -mcpu=pentiumpro -DENABLE_BPF -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast- qual -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/dev -I@/../include -fno-common -g -mno-align-long-strings -mpreferred-stack-boundary=2 -ffre estanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/ src/sys/dev/en/midway.c /usr/src/sys/dev/en/midway.c: In function `en_get_vccs': /usr/src/sys/dev/en/midway.c:1474: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1474: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1479: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1480: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1488: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1492: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1493: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1493: `ATMIO_FLAG_PVC' undeclared (first use in this function) /usr/src/sys/dev/en/midway.c:1493: (Each undeclared identifier is reported only once /usr/src/sys/dev/en/midway.c:1493: for each function it appears in.) /usr/src/sys/dev/en/midway.c:1494: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1495: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1497: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1497: `ATMIO_AAL_5' undeclared (first use in this function) /usr/src/sys/dev/en/midway.c:1499: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1499: `ATMIO_AAL_0' undeclared (first use in this function) /usr/src/sys/dev/en/midway.c:1500: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1500: `ATMIO_TRAFFIC_UBR' undeclared (first use in this function) /usr/src/sys/dev/en/midway.c:1501: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1502: increment of pointer to unknown structure /usr/src/sys/dev/en/midway.c:1502: arithmetic on pointer to an incomplete type /usr/src/sys/dev/en/midway.c: In function `en_ioctl': /usr/src/sys/dev/en/midway.c:1591: `SIOCATMGETVCCS' undeclared (first use in this function) /usr/src/sys/dev/en/midway.c:1600: `SIOCATMGVCCS' undeclared (first use in this function) /usr/src/sys/dev/en/midway.c:1606: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1607: dereferencing pointer to incomplete type /usr/src/sys/dev/en/midway.c:1607: dereferencing pointer to incomplete type *** Error code 1 Stop in /usr/src/sys/modules/en. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/RAINBUILD. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. rain# My FreeBSD version number 5.1 cvsup with new STANDARD-SUPFILE and PORTS-SUPFILE The contents of /var/run/dmesg/boot syncing disks, buffers remaining... 1 1 done Uptime: 5h20m12s Rebooting... Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel /boot/kernel/kernel at 0xc0689000. Timecounter i8254 frequency 1193182 Hz Timecounter TSC frequency 597405320 Hz CPU: Intel Pentium III (597.41-MHz 686-class CPU) Origin = GenuineIntel Id = 0x683 Stepping = 3 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 268435456 (256 MB) avail memory = 253681664 (241 MB) Pentium Pro MTRR support enabled npx0: math processor on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00ede10 pcib0: Intel 82443BX (440 BX) host to PCI bridge at pcibus 0 on motherboard pci0:
mtab
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi ! Is there an equivalent of /etc/mtab (from Linux) in FreeBSD ? I have a script which besides doing a lot of things, must mount a filesystem if it is not already mounted, so I wanted to use an mtab like file to check my mount status. Thanks. - -- Antoine Jacoutot [EMAIL PROTECTED] http://www.lphp.org pgp key: http://www.lphp.org/ressources/ajacoutot.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+7Y1ZY3Hnhkr+5cQRAgkzAJwPm6DNzKSoP1lVYAjw5u+XtAy8egCdEFrE lKqCe+PPpWeDxPaMkdQvVAU= =pXrc -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mtab
I have a script which besides doing a lot of things, must mount a filesystem if it is not already mounted, so I wanted to use an mtab like file to check my mount status. With the mount(8) command? # mount [-v|-p] -- -jg. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mtab
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 16 June 2003 11:32, Julien Gabel wrote: With the mount(8) command? # mount [-v|-p] Yes, this is what I was thinking about, but I just wanted to know if an mtab equivalent existed :) Thanks. - -- Antoine Jacoutot [EMAIL PROTECTED] http://www.lphp.org pgp key: http://www.lphp.org/ressources/ajacoutot.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+7ZELY3Hnhkr+5cQRAlX9AJ9Nljd+qjTVj7SPIcdpXVc45FiHtACdHGFy +SE46/kAk5AUTh8dQRbH88A= =ud5b -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
help installing sun java on freebsd -5.1
I am running netscape v.7.0.2 that i d/l from netscape.com under the linux emulation on freebsd-5.1. I would like to use the chat features a yahoo and be able to do online banking which requires java. Netscape redirected me to suns page to d/l the java below: http://java.sun.com/j2se/1.4.1/install-s1s4-linux.html I am trying to follow the install instruction but i keep getting the error this binary is not executable. As mentioned above i am following their instructions: 3. ype: chmod 777 j2sdk-1_4_1_02-s1studio_ce-4u1-bin-linux.bin to change permissions on that file to allow execution. Run the installer. 1. Type the following command from the directory where you placed the installation file: j2sdk-1_4_1_02-s1studio_ce-4u1-bin-linux.bin i have also tried chmod a+x but the same results. Thanks in advance. ps: I would also like to install realplayer 8. again netscape sent me to realplayer.com to d/l the linux distro. its a rpm format so i installed rpm from the linux section on ftp.freebsd.org. rpm -i realplayer.rpm gives a bunch of lib dependency issues. Is their a special package from the linux emulation section that i need to install? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Freebsd.org.tr
Dear sirs, I have been using Freebsd for like 4 years and am a fan of the operating system.When I checked www.freebsd.org.tr I have gotten a dns error which means it is not registered.Is there any way I can translate your page into Turkish and be a mirror of your site? I have checked the country list in your web page too but couldn`t see Turkey there either. I`ll look forward to hearing from you. Ozgur Ozdemircili ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: mtab
Hi, What you might be looking for is /etc/fstab ... HTH Ian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Antoine Jacoutot Sent: 16 June 2003 11:43 AM To: Julien Gabel Cc: [EMAIL PROTECTED] Subject: Re: mtab -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 16 June 2003 11:32, Julien Gabel wrote: With the mount(8) command? # mount [-v|-p] Yes, this is what I was thinking about, but I just wanted to know if an mtab equivalent existed :) Thanks. - -- Antoine Jacoutot [EMAIL PROTECTED] http://www.lphp.org pgp key: http://www.lphp.org/ressources/ajacoutot.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+7ZELY3Hnhkr+5cQRAlX9AJ9Nljd+qjTVj7SPIcdpXVc45FiHtACdHGFy +SE46/kAk5AUTh8dQRbH88A= =ud5b -END PGP SIGNATURE- ___ [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: mtab
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 16 June 2003 12:44, Ian Barnes wrote: What you might be looking for is /etc/fstab ... Hum, no, fstab is not mtab, it does not say which filesystem are mounted. But thanks. Antoine -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+7aMWY3Hnhkr+5cQRAqmqAJ4viaIWzJfWGhYtz7SRLtqphcIaGACeIUDJ S5nUvPs1kW70h9D3nyGY/y0= =P8Cn -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't mount ad0s2 - sourced
On Mon, 16 Jun 2003 10:58, Brian Astill wrote: On Mon, 19 May 2003 02:52 pm, Andy Farkas wrote: Sure there is [a solution]. Show us what fdisk and disklabel say. referring to my being unable to access ad0s2 from FBSD. The drive is partitioned DOS-DOS-FBSD. If I set up the partitions Primary1-Primary2-Primary3, WinNT hides Primary2, and I have to unhide using Partition Magic every time I boot into that hateful OS. However, I CAN acess Primary2 from FBSD. If I set up the partitions Primary1-Logical1-Primary2, WinNT is happy, but Logical1 cannot be mounted by FBSD. Never had occassion to use this but:- It's my understanding that so called logical partitions/slices are available to FreeBSD as slice 5, 6 ... Thus you should be able to mount the elusive partition as ad0s5. Of course you'll probably need to first make the device:- #cd /dev #./MAKEDEV ad0s5 herewith details of the latter case: As you can see, fdisk can see the extended partition, but not the logical partition inside it. (tho' windoze is happy) #fdisk /dev/ad0 *** Working on device /dev/ad0 *** parameters extracted from in-core disklabel are: cylinders=1027 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=1027 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 6,(Primary 'big' DOS ( 32MB)) start 63, size 2056257 (1004 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 127/ head 254/ sector 63 The data for partition 2 is: sysid 5,(Extended DOS) start 2056320, size 2088450 (1019 Meg), flag 0 beg: cyl 128/ head 0/ sector 1; end: cyl 257/ head 254/ sector 63 The data for partition 3 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 4144770, size 12353985 (6032 Meg), flag 0 beg: cyl 258/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: UNUSED Since logical slices are rather like primary slices but referenced from a primary slice or another logical slice, rather than the MBR, they can usually be viewed by pointing fdisk at a slice instead of the entire disk: #fdisk /dev/ad0s2 Malcolm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quick question please
i know this might be common question but id really like to know, why your logo is a small devil? please reply thanks. See: http://www.mckusick.com/beastie/index.html For the History of the BSD Daemon -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Amazing Developments http://www.buddydog.org It ain't what you don't know that gets you into trouble. It's what you know for sure that just ain't so. Mark Twain ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mtab
Antoine Jacoutot [EMAIL PROTECTED] writes: On Monday 16 June 2003 11:32, Julien Gabel wrote: With the mount(8) command? # mount [-v|-p] Yes, this is what I was thinking about, but I just wanted to know if an mtab equivalent existed :) What does mtab contain that the output of mount(8) doesn't? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
truss man doesn't show *anything*
I've just installed a new software package that includes manual pages. When I try to read the pages with man -M path page, I'm told the manual page doesn't exist. When I use truss man -M path page, truss generates *NO* output. Is that normal? -- Steve Coile Systems Administrator Nando Media ph: 919-861-1200 fax: 919-861-1300 e-mail: [EMAIL PROTECTED] http://www.nandomedia.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: truss man doesn't show *anything*
On Mon, 16 Jun 2003, Steve Coile wrote: I've just installed a new software package that includes manual pages. When I try to read the pages with man -M path page, I'm told the manual page doesn't exist. When I use truss man -M path page, truss generates *NO* output. Is that normal? have you tried 'man truss'. Should be no magic there. I'm not sure of what you expect 'truss man -M path page' to do for you, but I'm quite sure you are twisting things around here. If truss manual page has been correctly installed you should be able to read the man page with 'man truss'. 'truss -help' would probably give you the closest to your 'truss man -M path page'. But maybe I don't know what the heck I'm talking about :) /sondre ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: truss man doesn't show *anything*
On Mon, 16 Jun 2003, Steve Coile wrote: I've just installed a new software package that includes manual pages. When I try to read the pages with man -M path page, I'm told the manual page doesn't exist. When I use truss man -M path page, truss generates *NO* output. Is that normal? Are you able to view normal manpages? Cheers, Viktor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sysinstall hangs during probing....
Ive tried 4.7, 4.8, 5.0 and 5.1R ( and maybe more earlier )...System is ABIT BG-7 MB, 512M RAM, P4 CPU 2.26 GHz, onboard realtec lan, onboard sound, 6 USB, no firewire internal graphics is disabled, 2 serial, 1 parallel port MSI GF4 4200 video, 64 MB RAM PCI hardware modem NO ISA slots ( and no ISA boards ! ) During boot-up, no driver is attached to internal vga, SMBus or Multimedia - these are all recognized, and it says no driver is attached. I have a USB keyboard and have tried setting hint.atkbd.0.disabled=1 and have gone thru the other hints, disabling all hardware that isnt in machine ( and isnt already disabled ). Am able to run redhat linux, at least to the point of partitioning it, and have installed NETBSD (1.6.1) with success Have been loyal to freebsd for quite a while, am frustrated by inability to install on this machine HELP ! Dave ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MPD automation trouble
Hello, All. I use MPD under FreeBSD 4.7. Now i needed to automate management of the MPD and i find out strange behavior of MPD (3.13): One my program (myserver) transmits some set of commands for MPD via stdout, which is redirected to MPD's stdin by shell: command line: # myserver | mpd One or two commands from this set are executed by mpd immediately, but other commands from set hang somewhere until myserver sends to MPD another command's set, after that previouse commands are successfully executed by MPD and new commands hang somewhere again. When i use command like # myserver | cat, full set of commands is printed to console. I want to understand why this happens and where commands hang. Help me to solve the this problem, please. Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OpenGL and ATI Radeon 9700 Pro
This weekend I installed KDE and noticed that the OpenGL screen savers were incredibly slow. It is clear that the graphic accelleration provided by my ATI Radeon 9700 Pro video card is not being used. I found a site that had drivers apparently for FreeBSD, but it didn't seem to work. I am running FreeBSD 5.1. Are there adequate drivers out there to support this? Tom Veldhouse ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't mount ad0s2 - sourced
On Mon, 16 Jun 2003 08:42 pm, Malcolm Kay wrote: Sure there is [a solution]. Show us what fdisk and disklabel say. referring to my being unable to access ad0s2 from FBSD. The drive is partitioned DOS-DOS-FBSD. If I set up the partitions Primary1-Primary2-Primary3, WinNT hides Primary2, and I have to unhide using Partition Magic every time I boot into that hateful OS. However, I CAN acess Primary2 from FBSD. However, If I set up the partitions Primary1-Logical1-Primary2, WinNT is happy, but Logical1 cannot be mounted by FBSD. Never had occassion to use this but:- It's my understanding that so called logical partitions/slices are available to FreeBSD as slice 5, 6 ... Thus you should be able to mount the elusive partition as ad0s5. Agreed. Sorry, been there, done that. Doesn't work if I use Primary/Logical/Primary. /dev/ad0s5 exists. #mount -t msdos /dev/ad0s2 /mnt/edrive doesn't work, either, if I use Primary/Logical/Primary. /dev/ad0s2 does exist. thinks I wonder what would happen if I tried to mount ad0s2a? tests Neither ad0s2a not ad0s2e succeed :-( Keeps saying invalid argument - /dev/ad0s2a and e both exist, so does /mnt/edrive. So I'm stuck. -- Regards, Brian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mtab
On Mon, 16 Jun 2003 12:59:31 +0200 Antoine Jacoutot [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 16 June 2003 12:44, Ian Barnes wrote: What you might be looking for is /etc/fstab ... Hum, no, fstab is not mtab, it does not say which filesystem are mounted. But thanks. Well, it shows how many filesystems are mounted at boot time on a determined machine, and these are usually the same that are kept mounted all the time. I would either use /etc/fstab or a stripped output from the mount command, but these are only my 0.02euro... Ciao ciao -- Stucchi Massimiliano | Gruppo Utenti FreeBSD Italia WillyStudios.com | http://www.gufi.org [EMAIL PROTECTED] | [EMAIL PROTECTED] People who make no mistakes do not usually make anything ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pptpclient don't work with MPD
Hello, All. I use MPD as VPN-server under FreeBSD 4.7. When VPN client runs under windows(2000, XP) all right, when VPN client is MPD and runs under FreeBSD all right too, when VPN client is pptpclient from ports collection and runs under FreeBSD, connection between MPD-server and pptpclient successfully stands up, but DON'T WORK. i.e. when i try to ping another end of VPN-connection i get next logs: VPN-server machine, mpd.log: Jun 9 14:07:35 vpnserver mpd: [pptp] rec'd unexpected protocol 0x8e3b on link -1, rejecting Jun 9 14:07:36 vpnserver mpd: [pptp] rec'd unexpected protocol 0x0047 on link -1, rejecting Jun 9 14:07:37 vpnserver mpd: [pptp] rec'd unexpected protocol 0x006d on link -1, rejecting VPN-client machine, ppp.log Jun 9 14:03:05 vpnclient ppp[90176]: tun0: LCP: deflink: RecvProtocolRej(17) state = Opened Jun 9 14:03:05 vpnclient ppp[90176]: tun0: LCP: deflink: -- Protocol 0x8e3b (unrecognised protocol) was rejected! Jun 9 14:03:06 vpnclient ppp[90176]: tun0: LCP: deflink: RecvProtocolRej(18) state = Opened Jun 9 14:03:06 vpnclient ppp[90176]: tun0: LCP: deflink: -- Protocol 0x0047 (DCA Remote Lan) was rejected! Jun 9 14:03:07 vpnclient ppp[90176]: tun0: LCP: deflink: RecvProtocolRej(19) state = Opened Jun 9 14:03:07 vpnclient ppp[90176]: tun0: LCP: deflink: -- Protocol 0x006d (unrecognised protocol) was rejected! When i use PoPToP as VPN-server and MPD as VPN-client i get analogious results... If somebody could connect MPD and pptpclient help me please. Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenGL and ATI Radeon 9700 Pro
You actually found a site that had drivers for FreeBSD? I was under the impression that such a thing didn't exist. Basically this card has no 3d acceleration support in FreeBSD. Ken On Mon, 16 Jun 2003, Thomas T. Veldhouse wrote: This weekend I installed KDE and noticed that the OpenGL screen savers were incredibly slow. It is clear that the graphic accelleration provided by my ATI Radeon 9700 Pro video card is not being used. I found a site that had drivers apparently for FreeBSD, but it didn't seem to work. I am running FreeBSD 5.1. Are there adequate drivers out there to support this? Tom Veldhouse ___ [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: Can't mount ad0s2 - sourced
On Mon, 16 Jun 2003 22:42, Brian Astill wrote: On Mon, 16 Jun 2003 08:42 pm, Malcolm Kay wrote: Sure there is [a solution]. Show us what fdisk and disklabel say. referring to my being unable to access ad0s2 from FBSD. The drive is partitioned DOS-DOS-FBSD. If I set up the partitions Primary1-Primary2-Primary3, WinNT hides Primary2, and I have to unhide using Partition Magic every time I boot into that hateful OS. However, I CAN acess Primary2 from FBSD. However, If I set up the partitions Primary1-Logical1-Primary2, WinNT is happy, but Logical1 cannot be mounted by FBSD. Never had occassion to use this but:- It's my understanding that so called logical partitions/slices are available to FreeBSD as slice 5, 6 ... Thus you should be able to mount the elusive partition as ad0s5. Agreed. Sorry, been there, done that. Doesn't work if I use Primary/Logical/Primary. /dev/ad0s5 exists. #mount -t msdos /dev/ad0s2 /mnt/edrive doesn't work, either, if I use Primary/Logical/Primary. /dev/ad0s2 does exist. thinks I wonder what would happen if I tried to mount ad0s2a? tests Neither ad0s2a not ad0s2e succeed :-( Keeps saying invalid argument - /dev/ad0s2a and e both exist, so does /mnt/edrive. So I'm stuck. I must say I find this surprising; I wonder whether Partition Magic has done something to the boot record of the extended partition, especially the partition table. What does: # fdisk /dev/ad0s2 report? Malcolm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: truss man doesn't show *anything*
On Mon, Jun 16, 2003 at 04:59:11AM -0400, Steve Coile wrote: I've just installed a new software package that includes manual pages. When I try to read the pages with man -M path page, I'm told the manual page doesn't exist. When I use truss man -M path page, truss generates *NO* output. Is that normal? man(1) is a SUID executable: % ls -la /usr/bin/man -r-sr-xr-x 1 man wheel 29752 May 23 21:59 /usr/bin/man* Hence truss(1) and other process tracing software like gdb(1) will refuse to show you it's inner workings on the grounds of system security. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
got load 1 but no CPU state is showing?
Hi, On a lightly loaded server top is misbehaving: it continuously shows all CPU states at 0.0% yet my load varies from 0.50 to about 3. Is there any explanation for this? Obviously, my kernel + world are in sync, running 4.8-RELEASE. Rebuilding top did no good. --Stijn [EMAIL PROTECTED] /usr/src/usr.bin/top ls -lt `which top` /kernel -r-xr-xr-x 1 root wheel 2124087 May 5 17:14 /kernel -r-xr-sr-x 1 root kmem 32744 May 5 17:11 /usr/bin/top last pid: 54025; load averages: 1.43, 1.50, 1.30 up 34+06:36:08 16:06:31 152 processes: 1 running, 151 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 0.0% idle Mem: 144M Active, 376M Inact, 189M Wired, 42M Cache, 86M Buf, 1440K Free Swap: 1536M Total, 91M Used, 1445M Free, 5% Inuse PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 53988 stijn 28 0 2104K 1240K RUN 0:03 0.00% 0.00% top -- MY HATE OF D02 KNOW NO LIMIT -- A Silent Wail, http://forum.rpg.net/showthread.php?s=threadid=31914 pgp0.pgp Description: PGP signature
Re: OpenGL and ATI Radeon 9700 Pro
http://gatos.sourceforge.net/ati.2.php The binary drivers do not work, presumably because they were compiled with gcc-2.95.2? I think the modules for X (not the kernel modules) are supposed to be portable between platforms (i.e. Linux and FreeBSD). However, you can CVS source and try to build from there, but I have had no luck as I have not been able to login: [EMAIL PROTECTED] ati]$ cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/gatos login Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/gatos CVS password: cvs [login aborted]: end of file from server (consult above messages if any) I have the drivers working great under Linux using Gentoo ... but I would like my workstation to be FreeBSD for the obvious reason ... but I need accellerated OpenGL support. Tom Veldhouse - Original Message - From: Kenneth Wayne Culver [EMAIL PROTECTED] To: Thomas T. Veldhouse [EMAIL PROTECTED] Cc: FreeBSD-Questions [EMAIL PROTECTED] Sent: Monday, June 16, 2003 9:00 AM Subject: Re: OpenGL and ATI Radeon 9700 Pro You actually found a site that had drivers for FreeBSD? I was under the impression that such a thing didn't exist. Basically this card has no 3d acceleration support in FreeBSD. Ken On Mon, 16 Jun 2003, Thomas T. Veldhouse wrote: This weekend I installed KDE and noticed that the OpenGL screen savers were incredibly slow. It is clear that the graphic accelleration provided by my ATI Radeon 9700 Pro video card is not being used. I found a site that had drivers apparently for FreeBSD, but it didn't seem to work. I am running FreeBSD 5.1. Are there adequate drivers out there to support this? Tom Veldhouse ___ [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: got load 1 but no CPU state is showing?
Load averages and current load are two different things. I suspect you didn't catch it when it was busy. Tom Veldhouse - Original Message - From: Stijn Hoop [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 16, 2003 9:11 AM Subject: got load 1 but no CPU state is showing? Hi, On a lightly loaded server top is misbehaving: it continuously shows all CPU states at 0.0% yet my load varies from 0.50 to about 3. Is there any explanation for this? Obviously, my kernel + world are in sync, running 4.8-RELEASE. Rebuilding top did no good. --Stijn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: got load 1 but no CPU state is showing?
On Mon, Jun 16, 2003 at 09:14:39AM -0500, Thomas T. Veldhouse wrote: Load averages and current load are two different things. I suspect you didn't catch it when it was busy. I know, but I've been running top for about 15 minutes now, and it consistently shows 0.0%. I can also assume that top has gotten in sync with somehow, but then again I have more than 1 runnable process on average over the last 15 minutes, so I would suspect that some other process should also get some CPU. And of course I also ran top on other terminals -- could they all be in sync at the same time or something? --Stijn -- Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music. -- Kristian Wilson, Nintendo, Inc., 1989 pgp0.pgp Description: PGP signature
CUPS printer installation problem
Hello! I have compiled and installed the CUPS package (cups, cups-base, cups-lpr, cups-pstoraster). All went well, I had no errors whatsoever. After, I tried to install (add) my printer with the command # kprinter (Add Printer wizard, under KDE). In spite of the fact that the foomatic-db package is also installed, when I try to install my local printer (on the parallel port), the Printer Model Selection dialog box is empty, and I have no printers in my database. It would be of great help for me if you could give me a hint how to solve the problem, because I can not use my printer under FreeBSD at all. I'm using FreeBSD 5.1 at home, but I have the same problems at office, where I use FreeBSD 4.8. Thank you very much and excuse me for the trouble I'm causing. Best regards, Bogdan M. --- Xnet scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus. Xnet automatically scans all messages for viruses using RAV AntiVirus. Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate variantele lor. Va rugam sa luati in considerare ca exista un risc de fiecare data cand deschideti fisiere atasate si ca MobiFon nu este responsabila pentru nici un prejudiciu cauzat de virusi. Disclaimer: RAV AntiVirus may not be able to detect all new viruses and variants. Please be aware that there is a risk involved whenever opening e-mail attachments to your computer and that MobiFon is not responsible for any damages caused by viruses. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mtab
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 16 June 2003 13:50, Lowell Gilbert wrote: What does mtab contain that the output of mount(8) doesn't? Nothing, it was just an easy way to parse, that's all. Thanks. - -- Antoine Jacoutot [EMAIL PROTECTED] http://www.lphp.org pgp key: http://www.lphp.org/ressources/ajacoutot.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+7dMZY3Hnhkr+5cQRApQZAJ9g11ScHOKB3K/NKjx0GElS3bvJCACdEYMp yOR4iZSlKY15UOM8ZCye6co= =Bwap -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenGL and ATI Radeon 9700 Pro
Those drivers are not for 3D support. Those are for getting things like TV out on laptops and cards that have it to work. Ken On Mon, 16 Jun 2003, Thomas T. Veldhouse wrote: http://gatos.sourceforge.net/ati.2.php The binary drivers do not work, presumably because they were compiled with gcc-2.95.2? I think the modules for X (not the kernel modules) are supposed to be portable between platforms (i.e. Linux and FreeBSD). However, you can CVS source and try to build from there, but I have had no luck as I have not been able to login: [EMAIL PROTECTED] ati]$ cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/gatos login Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/gatos CVS password: cvs [login aborted]: end of file from server (consult above messages if any) I have the drivers working great under Linux using Gentoo ... but I would like my workstation to be FreeBSD for the obvious reason ... but I need accellerated OpenGL support. Tom Veldhouse - Original Message - From: Kenneth Wayne Culver [EMAIL PROTECTED] To: Thomas T. Veldhouse [EMAIL PROTECTED] Cc: FreeBSD-Questions [EMAIL PROTECTED] Sent: Monday, June 16, 2003 9:00 AM Subject: Re: OpenGL and ATI Radeon 9700 Pro You actually found a site that had drivers for FreeBSD? I was under the impression that such a thing didn't exist. Basically this card has no 3d acceleration support in FreeBSD. Ken On Mon, 16 Jun 2003, Thomas T. Veldhouse wrote: This weekend I installed KDE and noticed that the OpenGL screen savers were incredibly slow. It is clear that the graphic accelleration provided by my ATI Radeon 9700 Pro video card is not being used. I found a site that had drivers apparently for FreeBSD, but it didn't seem to work. I am running FreeBSD 5.1. Are there adequate drivers out there to support this? Tom Veldhouse ___ [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: got load 1 but no CPU state is showing?
Any chance you are running an SMP system? You might be seeing the usage of only one CPU? Tom Veldhouse - Original Message - From: Stijn Hoop [EMAIL PROTECTED] To: Thomas T. Veldhouse [EMAIL PROTECTED] Cc: FreeBSD-Questions [EMAIL PROTECTED] Sent: Monday, June 16, 2003 9:19 AM Subject: Re: got load 1 but no CPU state is showing? On Mon, Jun 16, 2003 at 09:14:39AM -0500, Thomas T. Veldhouse wrote: Load averages and current load are two different things. I suspect you didn't catch it when it was busy. I know, but I've been running top for about 15 minutes now, and it consistently shows 0.0%. I can also assume that top has gotten in sync with somehow, but then again I have more than 1 runnable process on average over the last 15 minutes, so I would suspect that some other process should also get some CPU. And of course I also ran top on other terminals -- could they all be in sync at the same time or something? --Stijn -- Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music. -- Kristian Wilson, Nintendo, Inc., 1989 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mtab
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well, it shows how many filesystems are mounted at boot time on a determined machine, and these are usually the same that are kept mounted all the time. I would either use /etc/fstab or a stripped output from the mount command, but these are only my 0.02euro... Well, the different drives that need to be mounted are not in fstab. But nevermind, I'll find a way with the output of mount -p. Thanks. Antoine -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+7dNaY3Hnhkr+5cQRAq7fAJ9SbbFPQ4l9f6JChPA0u3jNWffzvACgh02h pQRrLTGNC6m/DLmL2u/52Hc= =0NAx -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SMP+HT Problem
We have a Dell Precision 450 with 2 Xeon processors with HyperThreading turned on. I've recompiled the kernel with SMP and hyperthreading support, and it detects the 4 CPUs. However after a soft reboot (ctrl+alt+del or reboot) it only detects 2 of them. I have to do a hard reboot again to make it see all 4 cpus. Here's the message after soft reboot: SMP: AP CPU #1 Launched! And here's the message after a hard reboot: SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! Using 4.8-RELEASE Thanks, Ali ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: got load 1 but no CPU state is showing?
On Mon, Jun 16, 2003 at 09:25:24AM -0500, Thomas T. Veldhouse wrote: Any chance you are running an SMP system? You might be seeing the usage of only one CPU? Nope, UP only. --Stijn -- Harry, I'm going to let you in on a little secret. Every day, once a day, give yourself a present. Don't plan it, don't wait for it, just let it happen. Could be a new shirt at the men's store, a catnap in your office chair, or... two cups of good, hot, black coffee. Like this. -- Special Agent Dale Cooper, Twin Peaks pgp0.pgp Description: PGP signature
install help needed on the probing side of things
Hi i decided to instlll FreeBSD 5 onto my file server due to upgraing main hard drive etc etc.. when i try 2 run the CD all boots fine, pres enter then start probing my hardware and it gets to the IDE device find my 2hard drivers, CD Rom fine, then just locks up like dosnt do anythink left it for a long time but just sits there. pres the num lock keys they work ligh on and off. but does go any thera on the instll.. i had linux turbolinux on there before and it ran fine. i have bin over my bios 2 check driver setting but everythink seems right any one elce had this problem? i have tryed 2 dif CD-ROM drivers 2, Liton and a acer 40x drive both get 2 same point. also tryed with 1 HDD only any one have any idea many thanks Kudos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What programs are installed..?
Hi guys is there a way to know which progrmas have been installes in a FReeBSD box?. Thanks for your answers. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What programs are installed..?
On Mon, 16 Jun 2003 10:13:23 -0500 Alvaro Rosales R. [EMAIL PROTECTED] wrote: Hi, Hi guys is there a way to know which progrmas have been installes in a FReeBSD box?. pkg_info will give you a list of installed packages. See the man page for details on the various options. Cheers, -- Miguel Mendez - [EMAIL PROTECTED] EnergyHQ :: http://www.energyhq.tk Tired of Spam? - http://www.trustic.com pgp0.pgp Description: PGP signature
skip version
Hi, I have made cvsup my 4.7 FreeBSD machine, as a result of cvsup, version turned to 4.8 but I want to skip version in between 4.7 and 5.1 What can I do? Her development, her freedom, her independence, must come from and through herself. First, by asserting herself as a personality, and not as a sex commodity. Second, by refusing the right of anyone over her body; by refusing to bear children, unless she wants them, by refusing to be a servant to God, the State, society, the husband, the family, etc., by making her life simpler, but deeper and richer. That is, by trying to learn the meaning and substance of life in all its complexities; by freeing herself from the fear of public opinion and public condemnation. [Emma Goldman, Anarchism and Other Essays, p. 211] Ülkü mailto:[EMAIL PROTECTED] This e-mail was scanned by Antivirus! http://www.kssgm.gov.tr ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: install help needed on the probing side of things
robert harpham wrote: Hi i decided to instlll FreeBSD 5 onto my file server due to upgraing main hard drive etc etc.. when i try 2 run the CD all boots fine, pres enter then start probing my hardware and it gets to the IDE device find my 2hard drivers, CD Rom fine, then just locks up like dosnt do anythink left it for a long time but just sits there. pres the num lock keys they work ligh on and off. but does go any thera on the instll.. i had linux turbolinux on there before and it ran fine. i have bin over my bios 2 check driver setting but everythink seems right any one elce had this problem? i have tryed 2 dif CD-ROM drivers 2, Liton and a acer 40x drive both get 2 same point. also tryed with 1 HDD only If you're interested in helping debug, you should post this message along with hardware details to [EMAIL PROTECTED] Wrap your lines when you do http://www.lemis.com/questions.html You'll find that many of the rules in this document apply to -current@ as well. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting takes too long. Why? (/ was not properly dismounted)
Thanks for your help Jud, you are absolutely right. With issuing the halt command, there are no excessive delays in booting. Inface booting is really fast. Thanks Rohit On Saturday 14 June 2003 20:04, Jud wrote: On Sat, 14 Jun 2003 12:28:23 +0530, Shantanu Mahajan [EMAIL PROTECTED] wrote: | I shutdown using the shutdown -h now command | or reboot using reboot now did you try 'halt'? what msg. do you see after the shutdown is complete? From the halt(8) man page: Normally, the shutdown(8) utility is used when the system needs to be halted or restarted, giving users advance warning of their impending doom and cleanly terminating specific programs. From the shutdown(8) man page: The following options are available: -h The system is halted at the specified time. So Rohit is in fact using 'halt' in the way it is normally invoked, as an option to 'shutdown.' Is there a reason that 'halt' without 'shutdown' would be preferable in this case? Jud ___ [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]
5.x usb gphoto
Howdy list, I'm trying to get gphoto2 to connect to my digital camera as a NON root user. (it works fine when root, but that's a security risk) Under 4.x, all I had to do was make the appropriate USB devices group readable and writeable, then add users to the appropriate group (operator, usually). Under 5.x, I'm having more trouble. The /dev/usb* devices have the appropriate group permissions out of the box, but I apparently also need group write permission to the /dev/ugen* devices. Here are the ugen permissions when my camera is attached to the usb port: [11:[EMAIL PROTECTED]:[/etc]# ls -al /dev/ugen* crw-r--r-- 1 root operator 114, 0 Jun 13 09:07 /dev/ugen0 crw-r--r-- 1 root operator 114, 1 Jun 13 09:07 /dev/ugen0.1 crw-r--r-- 1 root operator 114, 2 Jun 13 09:07 /dev/ugen0.2 The problem is that I'm unfamiliar with devfs, and I can't figure out how to get the ugen devices to appear with group writable permissions. Any help appreciated! Thanks. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: skip version
Ülkü SAYILAN wrote: Hi, I have made cvsup my 4.7 FreeBSD machine, as a result of cvsup, version turned to 4.8 but I want to skip version in between 4.7 and 5.1 What can I do? You need to specify RELENG_5_1 in your cvsup file when you cvsup. Note that: a) I'm not sure it's possible to cvsup from 4 to 5. I seem to remember the developers talking about the build tools on 4 not able to build a version 5 system. See the archives for the freebsd-current@ mailing list. b) 5 is not ready for production use yet. Read the early adopters guide before you upgrade to 5. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Running a rand or random script
I need to run a script, perhaps using FBSD's 'rand' or 'random' command (or any other) that will generate one single 5-digit number 'at random' between 1-9 Anyone have thoughts on how to do this?? Many thanks for any suggestions. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running a rand or random script
On Mon, Jun 16, 2003 at 11:15:17AM -0500, Jack L. Stone wrote: I need to run a script, perhaps using FBSD's 'rand' or 'random' command (or any other) that will generate one single 5-digit number 'at random' between 1-9 Anyone have thoughts on how to do this?? perl -e 'printf %0.5d\n, int(rand(9) + 1);' Assuming that range is inclusive. Cheers, Matthew Nb. Don't use srand() explicitly --- perl will auto-seed the PRNG from /dev/urandom if left to it's own devices. -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Help with syslogd problem.
I just did world as now when i reboot my pc i get a kernel panic which seems to be caused by syslogd. ===Panic Fatal trap 18: integer divide fault while in kernel mode instruction pointer = 0x8:0xc02348b2 stack pointer = 0x10:0xda9549b4 frame pointer = 0x10:0xda9549c4 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 = 17767 (syslogd) trap number = 18 panic: integer divide fault syncing disks, buffers remaining... 290 290 286 286 286 286 286 286 286 286 286 286 286 286 286 286 286 286 286 286 286 286 giving up on 240 buffers Uptime: 27s Automatic reboot in 15 seconds - press a key on the console to abort -- Press a key on the console to reboot, -- or switch off the system now. i can reproduce this panic everytime by just typing in syslogd in the console prompt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running a rand or random script
Hi, I need to run a script, perhaps using FBSD's 'rand' or 'random' command (or any other) that will generate one single 5-digit number 'at random' between 1-9 Anyone have thoughts on how to do this?? Don't know about a shell way to do this, but what about this tiny C program (compile and link with gcc -c -o r.o gcc -or r.o) #include stdlib.h #include time.h int main (int argc, char *argv[]) { srandomdev(); /* use this on non-BSD systems: srandom(time (0)); */ unsigned int r = random () % 9 +1; printf (%d\n, r); return r; } Cheers, Simon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
install PHP4
Hi guys I want to install PHP4 from the ports tree, but when I try to do it I get a menu that doesn't have te option I need , I want to add tds support to my php installation,. How can I add that option to this menu? or how can I install it ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Running a rand or random script
jot -r 5 0 9 | rs -g 0 5 -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jack L. Stone Sent: 16 June 2003 17:15 To: [EMAIL PROTECTED] Subject: Running a rand or random script I need to run a script, perhaps using FBSD's 'rand' or 'random' command (or any other) that will generate one single 5-digit number 'at random' between 1-9 Anyone have thoughts on how to do this?? Many thanks for any suggestions. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] ___ [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: Running a rand or random script
At 05:32 PM 6.16.2003 +0100, Matthew Seaman wrote: On Mon, Jun 16, 2003 at 11:15:17AM -0500, Jack L. Stone wrote: I need to run a script, perhaps using FBSD's 'rand' or 'random' command (or any other) that will generate one single 5-digit number 'at random' between 1-9 Anyone have thoughts on how to do this?? perl -e 'printf %0.5d\n, int(rand(9) + 1);' Assuming that range is inclusive. Cheers, Matthew Nb. Don't use srand() explicitly --- perl will auto-seed the PRNG from /dev/urandom if left to it's own devices. -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Matthew: Your one-liner is just exactly what I needed. THANKS! Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running a rand or random script
Whoops, did too much C++ programming these days, in C this should really be: #include stdlib.h #include time.h int main (int argc, char *argv[]) { unsigned int r; srandomdev(); /* use this on non-BSD systems: srandom(time (0)); */ r = random () % 9 +1; printf (%d\n, r); return r; } ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make buildworld failed
On Mon, Jun 16, 2003 at 08:34:18PM +0400, ??? ?? wrote: Hi, All. On machine with FreeBSD 4.4-RELEASE I was done next steps: Edit /usr/local/etc/CVSUP.conf for next settings: *default host=cvsup4.ru.FreeBSD.org *default base=/var/cvsup *default prefix=/var/cvsup *default release=cvs tag=RELENG_4 *default delete use-rel-suffix #*default compress src-all [...] /var/cvsup/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/mis c.c -o misc.o cc1: warnings being treated as errors In file included from /usr/obj/var/cvsup/src/i386/usr/include/openssl/ui_compat.h:63, from /usr/obj/var/cvsup/src/i386/usr/include/openssl/des_old.h:439, from /usr/obj/var/cvsup/src/i386/usr/include/openssl/des.h:101, from /var/cvsup/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/enc rypt.h:64, from /var/cvsup/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/mis c.c:53: /usr/obj/var/cvsup/src/i386/usr/include/openssl/ui.h:220: warning: function declaration isn't a prototype *** Error code 1 Stop in /var/cvsup/src/secure/lib/libtelnet. *** Error code 1 Stop in /var/cvsup/src/secure/lib. *** Error code 1 Stop in /var/cvsup/src. *** Error code 1 Stop in /var/cvsup/src. *** Error code 1 Stop in /var/cvsup/src. *** Error code 1 Stop in /var/cvsup/src. Full log file on http://www.nashe.ru/mk_bworld.log (~6.1Mb) /etc/make.conf is on http://www.nashe.ru/make.conf You seem to be missing a version of gcc on your 4.4-RELEASE system that is good enough to cope with the header files for the latest version of the OpenSSL crypto library. Line 220 of openssl/ui.h reads: int UI_ctrl(UI *ui, int cmd, long i, void *p, void (*f)()); which is a perfectly good function prototype. Try setting: NO_OPENSSL= true in your /etc/make.conf, compile and upgrade to 4.8-STABLE, then take the NO_OPENSSL line out of /etc/make.conf and recompile to get all of the crypto-goodness back again. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: truss man doesn't show *anything*
On Mon, 16 Jun 2003, Steve Coile wrote: I've just installed a new software package that includes manual pages. When I try to read the pages with man -M path page, I'm told the manual page doesn't exist. When I use truss man -M path page, truss generates *NO* output. Is that normal? Yes. It is normal. man is SUID and you can't trace (via ktrace, truss or a debugger) a SUID executable, unless you're root. Fer ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: got load 1 but no CPU state is showing?
Stijn Hoop wrote: On a lightly loaded server top is misbehaving: it continuously shows all CPU states at 0.0% yet my load varies from 0.50 to about 3. Is there any explanation for this? Maybe. :-) I was going to say that on fast machines, it's not unusual for processes which start up and then finish quickly to go away before top sees them, but you still see the effect in the aggregate system load. However, that doesn't explain this line: CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 0.0% idle Clutching at straws, maybe top can't read /dev/kmem or something? Try doing a MAKEDEV all in /dev... -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with syslogd problem.
[EMAIL PROTECTED] wrote: [ ... ] i can reproduce this panic everytime by just typing in syslogd in the console prompt Reproducable problems are wonderful, considering the alternatives. :-) Enable system crash dumps, and then follow: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html ...to get a backtrace from the system panic. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving users
reject ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: install PHP4
If you are referring to FreeTDS support so that you can connect to a MSSQL database, use the Sybase-CT option in that menu. John Straiton [EMAIL PROTECTED] Clickcom, Inc 704-365-9970x101 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alvaro Rosales R. Sent: Monday, June 16, 2003 12:46 PM To: [EMAIL PROTECTED] Subject: install PHP4 Hi guys I want to install PHP4 from the ports tree, but when I try to do it I get a menu that doesn't have te option I need , I want to add tds support to my php installation,. How can I add that option to this menu? or how can I install it ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/free bsd-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]
5.1-Rel and COMPAT_OLDPCI
Hi, I use 4.8-Stable day to day, but setup a system to get my feet wet with 5.1-Release. A driver I need to use, lmc, is new to 5.1. On 4.x I use the driver from the support page of LanMedia (now SBEI). The lmc driver will not build. It needs COMPAT_OLDPCI defined in the kernel. This option doesn't seem to be supported anymore. UPDATING has an entry stating that OLDPCI (and OLDISA) are needed for drivers that haven't been modified to newbus. OLDISA is still supported (according to /usr/src/sys/i386/conf/NOTES), but using options COMPAT_OLDPCI causes the kernel compile to fail. A search on OLDPCI returns several matches in the -current archives stating that one needs this option defined. I can find nothing that says the option went away (nor what (if anything) replaced it). Am I SOL with this driver? I'm surprised that the lmc driver would be formally added to FreeBSD with the 5.1-Release but not in a usable form. The source code expects OLDPCI to be defined. I just can find out how to enable it. Any help appreciated. Thanks, MikeC ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What programs are installed..?
At 10:18 6/16/2003, Miguel Mendez, wrote: 314834.jpg Re What programs are installed.emsfile://D:\Programs\Eudora\attach\Re What programs are installed.ems 0880.0002 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 16 Jun 2003 10:13:23 -0500 Alvaro Rosales R. [EMAIL PROTECTED] wrote: Hi, Hi guys is there a way to know which progrmas have been installes in a FReeBSD box?. pkg_info will give you a list of installed packages. See the man page for details on the various options. Thanks for this--very helpful. Does anyone know how to tell what the options/programs compiled into the kernel are? Start Here to Find It Fast! - http://www.US-Webmasters.com/best-start-page/___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using kevent to catch laptop disk I/O culprit?
I'm working on keeping my laptop disk spun down and am using the process of elimination to figure out who's always spinning up the disk. So far, I've put /tmp on an mfs, and I just installed Robert Sexton's hw.ata.suspend patch from the freebsd-mobile archives. I'm slowly killing off and/or fine tuning various daemons to see if they're responsible for all of the IO, and it occured to me that the kevent/kqueue stuff might be a great way to actually see who's writing what, when. Has anyone written the necessary parts to get this kind of a simple filesystem trace? g. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gnumeric2 Won't Print Properly
On Sat, 2003-06-14 at 05:36, Joe Marcus Clarke wrote: What version of Gnumeric are you using? How do you know what font is being used for printing? I'm using version 1.1.19 (upgraded to this version last night hoping to fix the problem, but no joy). I know what font it's using because the font it's using is a highly stylized true type font that I have installed and it's pretty distinctive. Curiously, in further poking around, I've noticed that if I double-click on a text field in the spreadsheet, the text in the cell that I've selected becomes the sylized font (called Abaddon) and when I deselect it, it goes back to Helvetica which is what I've told it to use in the first place. This is very curious behavior. I agree. I have 1.1.19, and I can't reproduce this behavior. I have a spreadsheet done in Arial. My default font is Bitstream Serif. When I click on a cell, the cell remains Arial. Only when I select Format-Cell-Font can I turn it to something else. Printing also seems to work quite well to HP LaserJets. I'm printing to a laserjet via cups, but the problem isn't with the printer. The wrong data is being sent to the printer (this is evident from the print preview). You may want to comb through gconf-editor, and look at the Gnumeric settings, and see if something jumps out at you as being strange. If so, click on the key, and select Unset key. (For example, under /apps/gnumeric/printing). I saw nothing in there that looked strange. Actually, I didn't see anything having to do with fonts at all. I'm quite stumped by this...could it be something that only happens on 5.x (I'm running 5.1-RELEASE...not sure if I remembered to mention that before). Thank you for the tips and suggestions and I'll keep trying to get this to work right. -Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
software/hardware question
hi all, i've just recently heard of bsd and am seriously considering going that way, but before i go much further i have what is likely a stupid question but since in the past i've disregarded such questions thinking they were unimportant or that the answer was obvious only to later regret it i shall ask my stupid question. nearly all software and hardware is window compatable and most require a windows o/s, does this mean bsd users are left out in the cold or are there alternative releases or is most software/hardware also compatable with a bsd o/s? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: software/hardware question
On Mon, 16 Jun 2003, mell miller wrote: hi all, i've just recently heard of bsd and am seriously considering going that way, but before i go much further i have what is likely a stupid question but since in the past i've disregarded such questions thinking they were unimportant or that the answer was obvious only to later regret it i shall ask my stupid question. nearly all software and hardware is window compatable and most require a windows o/s, does this mean bsd users are left out in the cold or are there alternative releases or is most software/hardware also compatable with a bsd o/s? Hi, There are things called winmodems and winprinters which do require Windows as some of the work the hardware would normally do is handeled on the CPU. However I've found FreeBSD to work on 99% of the hardware I've chucked at it without any problems. sometimes its take a bit of work to but normally it will be fine. If you let us know what sort of hardware you have got I'm sure we can help you Rgds Rus -- www: http://www.65535.net | Hosting - Shell Accounts MSNM: [EMAIL PROTECTED] | Virtual Servers from just $15/mo e: [EMAIL PROTECTED] | Community: http://www.65535.org t: +44 (0) 7092016595 | 10% Donation on every FreeBSD product ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: software/hardware question
Hi, There are things called winmodems and winprinters which do require Windows as some of the work the hardware would normally do is handeled on the CPU. However I've found FreeBSD to work on 99% of the hardware I've chucked at it without any problems. sometimes its take a bit of work to but normally it will be fine. If you let us know what sort of hardware you have got I'm sure we can help you Yeah, you should be fine as long as you don't expect 3d acceleration on the latest video cards. My ATI Radeon 9700 Pro, along with anything from 9500 up don't have 3d acceleration support, and anything later than a geforce 4 from nvidia is missing 3d support as well. Ken ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: software/hardware question
I have the ATI Raedon 7500 all in wonder, and finding out if the tv tuner works in freebsd or not has been quite fruitless so far. Google for gatos. Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Wayne Culver Sent: Monday, June 16, 2003 3:03 PM To: Rus Foster Cc: mell miller; [EMAIL PROTECTED] Subject: Re: software/hardware question Hi, There are things called winmodems and winprinters which do require Windows as some of the work the hardware would normally do is handeled on the CPU. However I've found FreeBSD to work on 99% of the hardware I've chucked at it without any problems. sometimes its take a bit of work to but normally it will be fine. If you let us know what sort of hardware you have got I'm sure we can help you Yeah, you should be fine as long as you don't expect 3d acceleration on the latest video cards. My ATI Radeon 9700 Pro, along with anything from 9500 up don't have 3d acceleration support, and anything later than a geforce 4 from nvidia is missing 3d support as well. Ken ___ [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: install PHP4
# [EMAIL PROTECTED] / 2003-06-16 11:45:48 -0500: Hi guys I want to install PHP4 from the ports tree, but when I try to do it I get a menu that doesn't have te option I need , I want to add tds support to my php installation,. How can I add that option to this menu? or how can I install it ? I take it you mean FreeTDS. Choose one of the Sybase options. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[no subject]
FreeBSD- What ports do i need to open in my firewall to run SSH? E-mail me back ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: your mail
On Mon, 16 Jun 2003 [EMAIL PROTECTED] wrote: FreeBSD- What ports do i need to open in my firewall to run SSH? You will need port 22/tcp open Rgds Rus -- www: http://www.65535.net | Hosting - Shell Accounts MSNM: [EMAIL PROTECTED] | Virtual Servers from just $15/mo e: [EMAIL PROTECTED] | Community: http://www.65535.org t: +44 (0) 7092016595 | 10% Donation on every FreeBSD product ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: software/hardware question
On Mon, 16 Jun 2003 15:12:23 -0400 (EDT) Kenneth Wayne Culver [EMAIL PROTECTED] wrote: I have the ATI Raedon 7500 all in wonder, and finding out if the tv tuner works in freebsd or not has been quite fruitless so far. Google for gatos. Except that the Gatos drivers i general need an patched linux DRM kernel module and/or at least the Video4Linux linux kernel subsystem. To my knowledge freebsd doesn't support either. (Although I'm a bit outdated since i gave up on gatos and ATI-tuners/video inn/out chipsetts about a year ago.) Ixian. -- If people say that here and there someone has been taken away and maltreated, I can only reply: You can't make an omelette without breaking eggs. -- Hermann Goering ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
getting config from a kernel [was: Re: What programs areinstalled..?]
don't hijack others' threads; you can start your own for free. # [EMAIL PROTECTED] / 2003-06-16 12:32:51 -0500: Thanks for this--very helpful. Does anyone know how to tell what the options/programs compiled into the kernel are? provided you have options INCLUDE_CONFIG_FILE in your kernel, you can use this: strings -n3 /kernel | sed -ne '/^___/s///p' -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: software/hardware question
Except that the Gatos drivers i general need an patched linux DRM kernel module and/or at least the Video4Linux linux kernel subsystem. To my knowledge freebsd doesn't support either. (Although I'm a bit outdated since i gave up on gatos and ATI-tuners/video inn/out chipsetts about a year ago.) I've had it working fine on my FreeBSD machine. Ken ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sysinstall hangs during probing....
Hi, You have not mentioned where it dies but looking at your hardware spec it may possibly be a udma setting !! Kind Regards Doron Shmaryahus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Bloodgood Sent: 16 June 2003 02:39 PM To: [EMAIL PROTECTED] Subject: Sysinstall hangs during probing Ive tried 4.7, 4.8, 5.0 and 5.1R ( and maybe more earlier )...System is ABIT BG-7 MB, 512M RAM, P4 CPU 2.26 GHz, onboard realtec lan, onboard sound, 6 USB, no firewire internal graphics is disabled, 2 serial, 1 parallel port MSI GF4 4200 video, 64 MB RAM PCI hardware modem NO ISA slots ( and no ISA boards ! ) During boot-up, no driver is attached to internal vga, SMBus or Multimedia - these are all recognized, and it says no driver is attached. I have a USB keyboard and have tried setting hint.atkbd.0.disabled=1 and have gone thru the other hints, disabling all hardware that isnt in machine ( and isnt already disabled ). Am able to run redhat linux, at least to the point of partitioning it, and have installed NETBSD (1.6.1) with success Have been loyal to freebsd for quite a while, am frustrated by inability to install on this machine HELP ! Dave ___ [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]
Working on PR's
Hi All, I'm looking for non-critical PR to work on and wonder if someone would mind lending me a a bit of guidnace for my first time? Rgds Rus -- www: http://www.65535.net | Hosting - Shell Accounts MSNM: [EMAIL PROTECTED] | Virtual Servers from just $15/mo e: [EMAIL PROTECTED] | Community: http://www.65535.org t: +44 (0) 7092016595 | 10% Donation on every FreeBSD product ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiling C code
Hello all, I am trying to compile some C code and I get the following errors: windows.h: No such file or directory Is there a library that I can install on my FreeBSD 4.8 STABLE box to fix these silly errors??? Thanks in advance for the help, Ron Clark __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling C code
I am trying to compile some C code and I get the following errors: windows.h: No such file or directory Are you sure that the program is not Windows specific? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: software/hardware question
Please wrap your lines around 72 characters or so. See: http://www.lemis.com/questions.html mell miller wrote: hi all, i've just recently heard of bsd and am seriously considering going that way, but before i go much further i have what is likely a stupid question but since in the past i've disregarded such questions thinking they were unimportant or that the answer was obvious only to later regret it i shall ask my stupid question. nearly all software and hardware is window compatable and most require a windows o/s, does this mean bsd users are left out in the cold or are there alternative releases or is most software/hardware also compatable with a bsd o/s? http://www.freebsd.org/releases/4.8R/hardware-i386.html -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
4.8 and NIS enabled client spawning listening UDP ports per process
Howdy All I have a very weird issue. Im running a 4.8 Release box as a NIS client and for every process that either logs in or changes running as user a Listening UDP port is created. Im putting some sample output from ps sockstat and lsof to show what I mean. The problem is these UDP ports are listening ports bound to all interfaces. It appears to be releated to NIS because when i uncomment the +(etc) from the passwd and group files it goes away for any newly started processes. I dont even have to turn off ypbind. Ive tried to put ypbind in secure mode and well as non broadcast mode and the same results happen. Any ideas as to what this is? More importantly, any idea of how to get rid of it? Thanks -=Brian --Applicable rc.conf entries-- nisdomainname=nisdomain nis_client_enable=YES nis_client_flags=-m -S nisdomain,192.168.0.20 --sample ps awux entries- root 189 0.0 0.1 952 656 d0 Is+ 10:28AM 0:00.07 /usr/libexec/getty std.9600 ttyd0 www 191 0.9 2.1 12428 10808 ?? S10:28AM 0:00.44 /usr/local/sbin/httpd -k start -DSSL www 192 0.2 1.8 10664 8968 ?? S10:28AM 0:00.34 /usr/local/sbin/httpd -k start -DSSL www 193 0.0 2.4 13832 12296 ?? S10:28AM 0:01.41 /usr/local/sbin/httpd -k start -DSSL www 194 0.9 2.1 12332 10728 ?? S10:28AM 0:00.47 /usr/local/sbin/httpd -k start -DSSL root 221 0.0 0.5 5708 2484 ?? I10:30AM 0:00.54 sshd: brian [priv] (sshd) brian 223 0.0 0.5 5700 2532 ?? S10:30AM 0:00.69 sshd: [EMAIL PROTECTED] (sshd) brian 224 0.0 0.2 1120 936 p0 Is 10:30AM 0:00.47 -bash (bash) root 229 0.0 0.2 1116 956 p0 S10:30AM 0:00.93 -su (bash) postfix 366 0.0 0.3 2280 1352 ?? S10:43AM 0:00.07 proxymap -t unix -u postfix 368 0.0 0.3 2272 1348 ?? S10:43AM 0:00.15 trivial-rewrite -n rewrite -t unix -u --- results of sockstat -4 | grep udp - www httpd 241 16 udp4 *:984 *:* www httpd 238 16 udp4 *:989 *:* brianbash 2244 udp4 *:1068*:* briansshd 2236 udp4 *:995 *:* root sshd 2217 udp4 *:996 *:* www httpd 194 16 udp4 *:1005*:* www httpd 193 16 udp4 *:1008*:* www httpd 192 16 udp4 *:1007*:* www httpd 191 16 udp4 *:1006*:* www httpd 190 16 udp4 *:1009*:* brianimapd 1884 udp4 *:1010*:* root snmpd 1856 udp4 *:161 *:* postfix qmgr 1789 udp4 *:1012*:* postfix pickup 1779 udp4 *:1013*:* root ypbind 814 udp4 *:1017*:* daemon portmap 793 udp4 *:111 *:* bind named 763 udp4 *:53 *:* bind named 76 20 udp4 192.168.0.2:53*:* bind named 76 22 udp4 127.0.0.1:53 *:* root syslogd 734 udp4 *:514 *:* results of lsof | grep UDP - syslogd73root4u IPv4 0xd5220e000t0UDP *:syslog named 76bind3u IPv4 0xd5220d400t0UDP *:domain named 76bind 20u IPv4 0xd5220c800t0UDP homestar.home.towles.com:domain named 76bind 22u IPv4 0xd5220bc00t0UDP localhost.home.towles.com:domain portmap79 daemon3u IPv4 0xd5220b000t0UDP *:sunrpc ypbind 81root4u IPv4 0xd5220a400t0UDP *:1017 pickup177 postfix9u IPv4 0xd52209800t0UDP *:1013 qmgr 178 postfix9u IPv4 0xd52208c00t0UDP *:1012 snmpd 185root6u IPv4 0xd52208000t0UDP *:snmp imapd 188 brian4u IPv4 0xd52207400t0UDP *:1010 httpd 190 www 16u IPv4 0xd52205c00t0UDP *:1009 httpd 191 www 16u IPv4 0xd52203800t0UDP *:1006 httpd 192 www 16u IPv4 0xd52204400t0UDP *:1007 httpd 193 www 16u IPv4 0xd52205000t0UDP *:1008 httpd 194 www 16u IPv4 0xd52202c00t0UDP *:1005 sshd 221root7u IPv4 0xd52212800t0UDP *:vsinet sshd 223 brian6u IPv4 0xd52213400t0UDP *:pop3s bash 224 brian4u IPv4 0xd52214000t0UDP *:instl_bootc httpd 238 www 16u IPv4 0xd52214c00t0UDP *:ftps-data httpd 241 www 16u IPv4 0xd52216400t0UDP *:984 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Working on PR's
On Mon, Jun 16, 2003 at 08:39:26PM +0100, Rus Foster wrote: I'm looking for non-critical PR to work on and wonder if someone would mind lending me a a bit of guidnace for my first time? When you say PR, I'm pretty sure you mean Problem Reports, and not Public Relations. Even so, that still covers an awful lot of ground. What sort of thing do you want to work on? I mean, are you looking for heavyweight kernel programming? Porting the latest JDK? Rewriting the install system? If you want to work your way into FreeBSD development, a good place to start is this, and the other FreeBSD mailing lists. There's quite a few problems that pop up that can be solved by fairly easy patches. Submitting a stream of PRs with patches for those problems will earn you karma. Then there's the documentation project: that's a relatively accessible part of the system to get into if you can write coherently. Or there's the ports system. Volunteers to become maintainer for one or more ports -- or to write and maintain new ports -- are always in demand. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Compiling C code
Ronnie Clark wrote: Hello all, I am trying to compile some C code and I get the following errors: windows.h: No such file or directory Is there a library that I can install on my FreeBSD 4.8 STABLE box to fix these silly errors??? Yes, Microsoft Windows. Programs written to run in the Windows GUI include this header file to get the functions needed to create buttons and windows and input boxes and all the other parts of the Windows GUI. This header does not exist in FreeBSD (or any Unix that I know of). You either have to obtain a compatibility library (I don't know of any) or rewrite the GUI part to use X-windows or some other interface. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: software/hardware question
hi all, i've just recently heard of bsd and am seriously considering going that way, but before i go much further i have what is likely a stupid quesion but since in the past i've disregarded such questions thinking they were unimportant or that the answer was obvious only to later regret it i shall ask my stupid question. nearly all software and hardware is window compatable and most require a windows o/s, does this mean bsd users are left out in the cold or are there alternative releases or is most software/hardware also compatable with a bsd o/s? While it is true that hardware makers target their stuff at windoz, and many of them don't bother to make drivers for FreeBSD, the FreeBSD community is very active in trying to keep up with the latest hardware. Generally, most hardware except some very esoteric and/or cheaply thrown together stuff is aupported by FreeBSD.New drivers and updates of existing ones are becoming available all the time. As for software, last count I heard there are over 7000 ports available free for FreeBSD. Many of those are very good, well made and reliable. I expect you are mostly thinking of desktop and office stuff. There are equivalents for most things and some of them are even superior to those that come with Win - word processors, spreadsheets, etc. Some can be a little disappointing and some require a little extra work to get going and get looking just like you want. But, it can be done. If you are talking about server software, what is avialable for FreeBSD generally is far superior to what is available in the MS world. Web servers, DNS, NAT, Firewall, proxy, network disk, etc, etc. jerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
free?
I'm a bit confused -- your website clearly states that freeBSD is a free OS, yet each of the sites that offer the CD charge money for it. Am I missing something here? thanks, Valerie Andrewlevich [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: free?
I'm a bit confused -- your website clearly states that freeBSD is a free OS, yet each of the sites that offer the CD charge money for it. Am I missing something here? It's free to download, or you can buy cd's. Usually as far as I know, the CD's come with some other extras as well. Ken ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[no subject]
FreeBSD- I have a Firewall and i want to open port 22 for SSH for two different IP adresses and it won't let me do this. I need these two computers to be SSH clients but i don't know how to make it work with the Firewall. Also where can i get a non-zip version of PuTTy for FreeBSD. Email me back ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: free?
Valerie Andrewlevich wrote: I'm a bit confused -- your website clearly states that freeBSD is a free OS, yet each of the sites that offer the CD charge money for it. Am I missing something here? FreeBSD is free. The CD is not free. That simple. Once you have purchased a CD you welcome to copy it or install it as many times as you wish. Spending a few dollars on a CD is one way that many people contribute to the FreeBSD project. Or you can download it off the Internet, if you have a fast enough connection or enough patience. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: free?
I'm a bit confused -- your website clearly states that freeBSD is a free OS, yet each of the sites that offer the CD charge money for it. Am I missing something here? Yes. You are missing that those companies that are shipping CDs are recovering costs and supporting the FreeBSD organization by offering a more convenient (for some) way of acquiring the FreeBSD distribution. If you want it free with no charge, follow the instructions on the site for downloading either the floppy images and putting them on floppy disk or the ISO image and burning it on CD and using one of these sets to install the whole FreeBSD _for free_ over the net. You do not have to buy a Cd set (other than some blanks for your own burning) to get FreeBSD. jerry thanks, Valerie Andrewlevich [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dualboot, first fbsd, then xp
Hi Is it save to install WinXP after FreeBSD? My IBM recovery cd goofed up my WinXP and I'd like to reinstall XP only and keep my existing FreeBSD slices intact. Same goes for the MBR, of course. And yes, I will back up my data in any case, but I'd still hate it if I had to set up my whole system again. thanks in advance, t. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH/firewall problems (was: no subject)
Please add a decent subject line to your posts: http://www.lemis.com/questions.html [EMAIL PROTECTED] wrote: FreeBSD- I have a Firewall and i want to open port 22 for SSH for two different IP adresses and it won't let me do this. We're going to need more detail on exactly how you're doing this. Send detailed information on the IP addresses you want to allow access, as well as what firewall program you're using (IPFW? ipf?) and your current firewall rules. The short answer, however, is that you open port 22 for the IPs that you want to allow access. Before you do this, however, turn _OFF_ the firewall and make sure you can access via ssh. If not, then the firewall has nothing to do with your problem. I need these two computers to be SSH clients but i don't know how to make it work with the Firewall. It depends on which firewall you're using. Please send specifics. Also where can i get a non-zip version of PuTTy for FreeBSD. There is no such thing. FreeBSD ships with an ssh client (called ssh) You don't need PuTTY. PuTTY was developed for Windows. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]