Re: request
Isn't Iran one of the countries US does not export to? That could explain the unability to download... Peter -- HTTP://www.boosten.org On 20 dec 2009, at 06:38, Marwan Sultan dead_l...@hotmail.com wrote: Hello Akbar, Before submitting a question, make sure its a proper question! and before attempting to do something, read about it, check it out then decide if you want to do it or not. Did you read about FreeBSD and did you check the website www.FreeBSD.org or not? If you cannot download the OS ISO which is over 600MB and NO ONE will send you 600MB thro Email, you should purchase the CD. Out of your question I think you will not make even a proper install to FreeBSD. Check out www.FreeBSD.org and check out www.pcbsd.org Marwan Sultan System Administrator Date: Mon, 14 Dec 2009 17:35:19 +0330 From: akb.mor...@mail.sbu.ac.ir To: freebsd-questions@FreeBSD.org CC: Subject: request hello I live in iran and very intresting to download and use freebsd .I think it can provide me a good futeare of good os but my internet speed is very low and i can not download it directly from your server.but if you send the free bsd iso file to my email address i can download it from my email client .because my email is locate in local server and i can easily download from this email server. tanks _ Hotmail: Trusted email with Microsoft’s powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141664/direct/01/___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: request
On Sun, 20 Dec 2009, Peter Boosten wrote: Isn't Iran one of the countries US does not export to? That could explain the unability to download... Shirley, there are mirrors outside the US. Downloading isos by dial-up can be a pain, but a good ftp client which can restart reliably makes it possible. Here are the FTP mirrors: http://www.freebsd.org/./doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html FTP Sites -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How to make VirtualBox have higher (full screen) resolution?
I can only run Linux in VirtualBox with 800x647 resolution. How can I make it larger or just full screen? Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
problem with wiki.freebsd.org
Hi http://wiki.freebsd.org on the same page ( http://wiki.freebsd.org/Developers, http://wiki.freebsd.org/RecentChanges ...) return: --- Error 503 Service Unavailable Service Unavailable Guru Meditation: XID: 93399885 Varnish --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to make VirtualBox have higher (full screen) resolution?
Oleg Ginzburg wrote: You need for Install Guest Additional How do I do this? I have VBOXADDITIONS_3. CDROM image in the virtual Linux. But how to install it? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
file and directory permission
Hi there. I have been using FreeBSD for some time but my skill is getting really rusty. I install nginx via the ports collection and it works just fine. The data files (html) is located in /usr/local/www/ and the directory permission is as follows: drwxrwxr-x 5 root wheel512 Dec 20 15:54 www and I changed the user/group permission like this: # chown -R www:www /usr/local/www # chmod -R 775 /usr/local/www My id is user and looks like this: # id user uid=1001(user) gid=1001(user) groups=1001(user),0(wheel),80(www) I am trying to create a file in the /usr/local/www and I can't. Is there something wrong I did here? TIA for answers. Roby ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: file and directory permission
Roby Sadeli wrote: Hi there. I have been using FreeBSD for some time but my skill is getting really rusty. I install nginx via the ports collection and it works just fine. The data files (html) is located in /usr/local/www/ and the directory permission is as follows: drwxrwxr-x 5 root wheel512 Dec 20 15:54 www and I changed the user/group permission like this: # chown -R www:www /usr/local/www # chmod -R 775 /usr/local/www My id is user and looks like this: # id user uid=1001(user) gid=1001(user) groups=1001(user),0(wheel),80(www) I am trying to create a file in the /usr/local/www and I can't. Is there something wrong I did here? Well, yes. But not really anything to do with your principle aim of being able to edit your web content as a mortal user. You've opened up a bit of a security hole by your changes. It's a common misconception that because the www directory is somehow the territory of the web server, then the UID the web server runs as should own the files and directories under it. This is actually a pretty bad idea, because it means that anyone suborning your web server can then deface your web content. This sort of attack is generally through a cgi script or through PHP or other applications run with the credentials of your web server, but in principle it can apply to a web server daemon serving up nothing by static content if the daemon has buffer overflow or similar vulnerabilities. If the web server needs to handle uploaded files then this should be set up to go to a distinct writable area preferably somewhere completely separate from /usr/local/www. Or in other words, to achieve the aim you want, do this: * Create a new group for people that are allowed to edit the web content to belong to. eg: # pw group add -n wwwdev * Give that group ownership of the files under the web-root: # chown -R root:webdev /usr/local/www * Make files and directories under the web-root group writeable,but not world writeable: # chmod -R g+w,o-w /usr/local/www * Add your own UID as a member of the wwwdev group: # pw group mod -n wwwdev -m user * Log out and log back in again to update the group membership in your active session. [Note: this doesn't happen automatically just by modifying /etc/groups -- you need to start a new session] * Possibly adjust the umask setting in your shell initialization files to umask=002 -- this means by default files you create will be *group* writeable. note: due to BSD filesystem semantics files will inherit the group ownership from the directory they are created in. On some other Unixoid OSes you would need to have the directories SGID to achieve the same effect. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: How to make VirtualBox have higher (full screen) resolution?
On Sunday 20 December 2009 12:24, Yuri wrote: Oleg Ginzburg wrote: You need for Install Guest Additional How do I do this? I have VBOXADDITIONS_3. CDROM image in the virtual Linux. But how to install it? mount it in the guest (linux) system and there is a file callled VBoxLinuxAdditions-x86.run as root all you need to do is cd in the mounted folder and run: ./VBoxLinuxAdditions-x86.run -- Real programmers don't document. If it was hard to write, it should be hard to understand. signature.asc Description: This is a digitally signed message part.
debugging slow network
I seem to have a very slow network connection at work. All local switches are supposed to be gigabit, and my network card is gigabit as well. But download speed seems to be much lower. I'm not a networks person, but I understand there could many factors affecting the speed. There appear to be a multitute of different network related commands just in base OS. Which should I start with to get some idea of the actual network speed? netstat? And should I be looking for? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: request
Lars Eighner writes: Isn't Iran one of the countries US does not export to? That could explain the unability to download... Shirley, there are mirrors outside the US. Downloading isos by dial-up can be a pain, but a good ftp client which can restart reliably makes it possible. Does the OP have a friend or co-worker who has broasband access? Would his ISP be willing to do this (and perhaps burn the CD) for a small fee? And yes, ftp is a better choice; while fewer every year, there are still a lot of mail {user, transfer} agents that will choke on a 600 mb attachment. Also: crude calculations suggest this will monopolize his phone line for over a day (I'd send him my out-of-date (6.* and early 7.*) CDs, but a) the postage would be huge and b) they'd probably get mauled by U.S. postal inspectors.) Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Editing a binary file
On Fri, Dec 18, 2009 at 09:33:49AM -0700, Warren Block wrote: per...@pluto.rain.com wrote: Greg Larkin glar...@freebsd.org wrote: ... truncate -4 myfile should get rid of the last four bytes. Maybe there's a similar efficient way to truncate the start of a file. This should do it: dd if=oldfile of=newfile bs=1 skip=4 Or, perhaps marginally more efficient: dd if=oldfile of=newfile bs=4 skip=1 It would be nice to avoid the file copy, but maybe there's no way to do that. The small buffer size for dd will probably make copies of multi-gig files slow. This might be faster: tail -c +5 myfile outfile truncate -4 outfile yes, quite. On 1.5GHz ia64, on 1GB binary file tail takes about 25 s, but dd.. I killed after 25 min (!) and it had only done 1/3 of the file. But even tail is too slow. So I'll probably have to write a C I/O routine and avoid fortran I/O alltogether, so I write straight away just my data. I'm a ksh partisan, so I tried it this way: { dd bs=4 count=1 of=/dev/null ; cat ; } oldfile newfile I ran this on a 640M file residing on a 10K rpm SCSI disk on an old 5.4 system. (Yes, I'm trying to upgrade but the ports are killing me; I may have q?s later.) It took 111 seconds wall time. Not great, not bad for 640M in the file system. Both files were on the same disk, which was buzzing along at about 120 tps. I'm sure this is possible in csh, though I'd have to spend some man page time to get the syntax right. Yes, a custom program will be faster if you go through stdio or C++'s iostreams AND OPEN THE FILE EXPLICITLY because they do the read via mmap, saving one copy. If you do the read via read(2) it won't be that much faster. I suspect (but have not bothered to prove) that in this case cat(1) used simple reads. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: binary package dependencies
Robin Becker ro...@reportlab.com writes: I would like to know how to use self compiled ports made with make install together with the packages which can be downloaded with pkg_add -r I'm in the process of upgrading an old freebsd 6.0 server to 8.0 and have decided to try and use apache22. For various reasons I built the apache22 server using ports (mainly to force usage of a particular BSDB). Then added subversion also using ports. After setting up the new apache to act as an svn source and getting that working I decided to add viewvc. Rather stupidly I used pkg_add -r viewvc which seemed to work. However, my apache setup stopped working. After much faffing about I learned that the pkg_add -r viewvc had also installed another version of apache (a 2.0 version). All my apachectl commands were directed at the 2.0 version and my edits to the httpd.conf were bing entirely ignored. Somehow I had naively assumed that apache20 and apache22 were incompatible and could not simultaneously be installed. Did the binary package load ignore all conflicts? What's the proper way to approach these issues. Looking in the apache20 Makefile I see it conflicts with earlier apache, but how can it conflict with a later one? I think that it should. As I read it, apache22 registers a conflict with apache20, but the reverse is not true. If you had installed them in the other order, it would've refused to install. apache20 is the default, so the official package was built depending on that. I think this should be entered as a bug, but I'm not quite positive... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: debugging slow network
On Sun, Dec 20, 2009 at 01:22:50PM +, Anton Shterenlikht wrote: I seem to have a very slow network connection at work. All local switches are supposed to be gigabit, and my network card is gigabit as well. But download speed seems to be much lower. Are we talking download from the internet, or from the local network? Every time you connect to a server on the internet, your packets travel through a chain of hosts, routers and switches. And as with any chain, the weakest (in this case slowest) link determines the strength (speed) of the chain. Which is unlikely to be your internal gigabit network, unless something is misconfigured on your end. So it could be that you are expecting too much. If you are experiencing slow speeds on the internal network, contact the network admin and ask for help. But make usre that your network hardware is set up correctly. I'm not a networks person, but I understand there could many factors affecting the speed. Definitely. There appear to be a multitute of different network related commands just in base OS. Which should I start with to get some idea of the actual network speed? netstat? And should I be looking for? As usual, the answer is probably; it depends on what is causing the slow speed. If the problem is not caused by hardware or software problems on your machine, you cannot do very much about it by yourself. You need at least the help of your network admin. I would start with the ifconfig command. This will show you how your network hardware is configured. It should list at least two devices, and you should ignore one of them, lo0. Look for the lines starting with a lot of spaces and then 'media:'. That should tell you how your ethernet hardware is configured. If it is running at gigabit speed, you should see something like; media: Ethernet 1000baseTX full-duplex If it shows 100baseTX or 10baseT/UTP, you're not getting a gigabit connection but 100 or 10 Mbits/s. Also look through /var/log/messages for any logged messages from your ethernet hardware. In my experience a lot depends on the quality of the network hardware and the drivers. On a 100 Mbit/s point-to-point connection, I've observed throughput of up to 10 Mbyte/s (12,5 would be the theoretical maximum). This was between two xl(4) devices. If one of the devices is an rl(4) device, the maximum throughput speed I've seen is about 4 Mbyte/s (using the same cable and hardware on the other end). Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpJ1X9e8MZWQ.pgp Description: PGP signature
portupgrade and checksum mismatch
Hi been trying to portupgrade firefox3 for about a day but keep getting a checksum mismatch error and the build stops. What do I need to do to get it to upgrade? Jamie pgps5KOt9v59v.pgp Description: PGP signature
Re: portupgrade and checksum mismatch
Jamie Griffin wrote: been trying to portupgrade firefox3 for about a day but keep getting a checksum mismatch error and the build stops. What do I need to do to get it to upgrade? Try deleting the firefox sources you downloaded previously and start again. It seems your download somehow got corrupted: # cd /usr/ports/www/firefox35 # make distclean # make install If you still get a corrupted download, try fetching manually from one of the other FTP sites (hint: make -v MASTER_SITES) or grab the tarball from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ -- then just put the source tarball into /usr/ports/distfiles and restart the build. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Interesting hostid
Здравствуйте, Freebsd-questions. Why hostid is so simpel? Dec 20 19:54:15 vpn_shadow kernel: Setting hostuuid: ----. -- С уважением, Коньков mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Source of closed port RST responses
I am routinely seeing these entries in one of my servers logs. Limiting closed port RST response from 373 to 200 packets/sec The server sits behind a PIX firewall, so I am suspicious of what is trying to connect to a closed port. I don't see in any other logs what port is being hit, or what IP is causing these log entries. Any way to tell what the source IP of these is? Thanks, DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Adams http://appleseedinfo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Suggestion for the fdisk(8) manual page...
List, Just a suggestion: In the 'Bugs' section of the 'fdisk(8)' man page, could we get a note that informs users that fdisk is kind of... broken and obsolete? Something like: fdisk is slowly being replaced by gpart(8). fdisk may not work correctly. If you see errors such as fdisk: Class not found, use gpart(8) instead. That way, when you're confronted by the initially mysterious, fdisk: Class not found error, you don't waste tons of time double and triple checking slice table syntax and what not. Maybe even right at the top of the man page. Yes, it bit me today. Looking through the archives, apparently I'm not the only one. Thanks! -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Ghostscript8 portupgrade failure
Hi I've now got a different problem when trying to portupgrade ghostscript8 and the build fails with an error: (new compiler error). I had a problem with ghostscript the last time it need upgrading. I think then I removed it from the system and just built the new port. This time, I have a number of other ports that depend on it and pkg_delete ghostscript8 won't remove it because of the dependent ports. If I `pkg_delete -f` it and then rebuilt it from the ports tree will this cause problems with my system? Jamie pgpITnNZTme6m.pgp Description: PGP signature
Re: Source of closed port RST responses
DAve wrote: I am routinely seeing these entries in one of my servers logs. Limiting closed port RST response from 373 to 200 packets/sec The server sits behind a PIX firewall, so I am suspicious of what is trying to connect to a closed port. I don't see in any other logs what port is being hit, or what IP is causing these log entries. Any way to tell what the source IP of these is? Thanks, DAve Easiest way, probably without any observer effect, would be to mirror the switch port your server is plugged into and use a computer running wireshark, or equivalent, to look at the mirrored traffic. Unless, of course, your switch doesn't support port mirroring, you don't have a spare computer running wireshark, etc., etc. It's obviously hard to tell what resources you have available to you. You can also install wireshark from ports on your server, but depending on disk space, how pristine you want your server to remain, and internal security rules (wireshark, particularly some of the protocol decoders, is not without its own issues), there are some downsides to this. Also remember that source IPs can be forged, so look at the MAC address information as well if things appear to be really odd. -- --Jon Radel j...@radel.com smime.p7s Description: S/MIME Cryptographic Signature
Re: Suggestion for the fdisk(8) manual page...
On Sun, 20 Dec 2009 20:40:48 +0100, Modulok modu...@gmail.com wrote: List, Just a suggestion: In the 'Bugs' section of the 'fdisk(8)' man page, could we get a note that informs users that fdisk is kind of... broken and obsolete? Something like: fdisk is slowly being replaced by gpart(8). fdisk may not work correctly. If you see errors such as fdisk: Class not found, use gpart(8) instead. That way, when you're confronted by the initially mysterious, fdisk: Class not found error, you don't waste tons of time double and triple checking slice table syntax and what not. Maybe even right at the top of the man page. Yes, it bit me today. Looking through the archives, apparently I'm not the only one. Thanks! -Modulok- Wow.. I wish I knew there *was* any gpart at the first place! I'm still kinda new to FreeBSD -- been using it since 7.0-RELEASE. Every time I had to make some changes to my partition table, I looked WTF-ly at fdisk manpage, then grabbed a Fedora live CD and made the changes from there. gpart looks like something that would do what I needed to do and would not require me to wonder if I got some obscure syntax right when modifying my partitions. So I'd like to second your suggestion: Mentioning gpart in man fdisk would've definitely saved my time. ~ Ondra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suggestion for the fdisk(8) manual page...
On Sun, Dec 20, 2009 at 12:40:48PM -0700, Modulok wrote: Just a suggestion: In the 'Bugs' section of the 'fdisk(8)' man page, could we get a note that informs users that fdisk is kind of... broken and obsolete? Something like: fdisk is slowly being replaced by gpart(8). fdisk may not work correctly. If you see errors such as fdisk: Class not found, use gpart(8) instead. As far as I know, the class not found just a warning, not an error. In the cases where I've seen it, fdisk still carried out the command it was given. I've always just ignored it. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpCf4JEWqRqn.pgp Description: PGP signature
Re: Ghostscript8 portupgrade failure
On Sun, 20 Dec 2009, Jamie Griffin wrote: I've now got a different problem when trying to portupgrade ghostscript8 and the build fails with an error: (new compiler error). I had a problem with ghostscript the last time it need upgrading. I think then I removed it from the system and just built the new port. This time, I have a number of other ports that depend on it and pkg_delete ghostscript8 won't remove it because of the dependent ports. The ghostscript8 problem has been fixed, so update your ports tree again and portupgrade will work. If I `pkg_delete -f` it and then rebuilt it from the ports tree will this cause problems with my system? Not necessary in this case, but if needed you can find out what portupgrade would have done by using the -n (noexecute) flag: portupgrade -nr ghostscript8 (On one system this showed portupgrade was only going to rebuild ghostscript anyway.) Afterwards you can manually rebuild those dependent ports in that order. For at least the problem port, do a plain 'make' first to be sure it can download and build before you get rid of the installed version. Once that completes successfully, do a 'make deinstall install' to delete the previous version and install the new one. The brute-force version of all this is portupgrade -rf ghostscript8 Depending on the port, that can force unecessary rebuilding of a lot of stuff. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.
On Sun, Dec 20, 2009 at 04:00:05PM +0100, Marius Strobl wrote: On Sat, Dec 19, 2009 at 09:48:03PM +, Anton Shterenlikht wrote: I've built X without hal, but get this error on X -configure: Actually when running `X -configure` or when trying to use the resulting /root/xorg.conf.new? This looks more like an error in the configuration file and the results returned by google for this failure message suggest that this can be due to the server not being able to load a configured module. Anyway, I'd try to use the resulting xorg.conf.new and if that fails manually checking its contents and removing unnecessary and unavailable stuff like DRI for example. yes, on 'X -configure'. Removing modules doesn't help. On X -configure: X.Org X Server 1.6.1 Release Date: 2009-4-14 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 9.0-CURRENT sparc64 Current Operating System: FreeBSD mech-anton242.men.bris.ac.uk 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Sat Dec 19 22:34:14 GMT 2009 me...@mech-anton242.men.bris.ac.uk:/usr/obj/usr/src/sys/HAMOR sparc64 Build Date: 19 December 2009 08:28:07PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Sun Dec 20 22:04:26 2009 (II) Loader magic: 0x1508 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 5.0 X.Org XInput driver : 4.0 X.Org Server Extension : 2.0 (II) Loader running on freebsd (--) Using syscons driver with X support (version 8589944945.226) (--) using VT number 9 (--) PCI: (0...@0:6:0) ALi Corporation M7101 Power Management Controller [PMU] rev 0 (--) PCI: (1...@0:3:0) ATI Technologies Inc Rage XL rev 39, Mem @ 0x0100/16777216, 0x0010/4096, I/O @ 0x0300/256, BIOS @ 0x/65536 List of video drivers: mach64 sunffb (II) LoadModule: mach64 (II) Loading /usr/local/lib/xorg/modules/drivers//mach64_drv.so (II) Module mach64: vendor=X.Org Foundation compiled for 1.6.1, module version = 6.8.1 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 5.0 (II) LoadModule: sunffb (II) Loading /usr/local/lib/xorg/modules/drivers//sunffb_drv.so (II) Module sunffb: vendor=X.Org Foundation compiled for 1.6.1, module version = 1.2.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 5.0 (II) System resource ranges: [0] -1 0 0x000f - 0x000f (0x1) MX[B] [1] -1 0 0x000c - 0x000e (0x3) MX[B] [2] -1 0 0x - 0x0009 (0xa) MX[B] [3] -1 0 0x - 0x (0x1) IX[B] [4] -1 0 0x - 0x00ff (0x100) IX[B] (II) MACH64: Driver for ATI Mach64 chipsets (WW) Falling back to old probe method for sunffb (++) Using config file: /root/xorg.conf.new (==) ServerLayout X.org Configured (**) |--Screen Screen0 (0) (**) | |--Monitor Monitor0 (**) | |--Device Card0 (**) |--Input Device Mouse0 (**) |--Input Device Keyboard0 (==) Not automatically adding devices (==) Not automatically enabling devices (**) FontPath set to: /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/, /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/, built-ins (**) ModulePath set to /usr/local/lib/xorg/modules Number of created screens does not match number of detected devices. Configuration failed. and then on 'X -config ./xorg.conf.new': X.Org X Server 1.6.1 Release Date: 2009-4-14 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 9.0-CURRENT sparc64 Current Operating System: FreeBSD mech-anton242.men.bris.ac.uk 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Sat Dec 19 22:34:14 GMT 2009 me...@mech-anton242.men.bris.ac.uk:/usr/obj/usr/src/sys/HAMOR sparc64 Build Date: 19 December 2009 08:28:07PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Sun Dec 20 22:07:58 2009 (++) Using config file: ./xorg.conf.new (==) ServerLayout X.org Configured (**) |--Screen Screen0 (0) (**) | |--Monitor
Re: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.
On Sun, Dec 20, 2009 at 10:10:10PM +, Anton Shterenlikht wrote: On Sun, Dec 20, 2009 at 04:00:05PM +0100, Marius Strobl wrote: On Sat, Dec 19, 2009 at 09:48:03PM +, Anton Shterenlikht wrote: I've built X without hal, but get this error on X -configure: Actually when running `X -configure` or when trying to use the resulting /root/xorg.conf.new? This looks more like an error in the configuration file and the results returned by google for this failure message suggest that this can be due to the server not being able to load a configured module. Anyway, I'd try to use the resulting xorg.conf.new and if that fails manually checking its contents and removing unnecessary and unavailable stuff like DRI for example. yes, on 'X -configure'. Removing modules doesn't help. and then on 'X -config ./xorg.conf.new': Could you please make that xorg.conf.new available somewhere? Marius ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Source of closed port RST responses
Jon Radel wrote: DAve wrote: I am routinely seeing these entries in one of my servers logs. Limiting closed port RST response from 373 to 200 packets/sec The server sits behind a PIX firewall, so I am suspicious of what is trying to connect to a closed port. I don't see in any other logs what port is being hit, or what IP is causing these log entries. Any way to tell what the source IP of these is? Thanks, DAve Easiest way, probably without any observer effect, would be to mirror the switch port your server is plugged into and use a computer running wireshark, or equivalent, to look at the mirrored traffic. Unless, of course, your switch doesn't support port mirroring, you don't have a spare computer running wireshark, etc., etc. It's obviously hard to tell what resources you have available to you. You can also install wireshark from ports on your server, but depending on disk space, how pristine you want your server to remain, and internal security rules (wireshark, particularly some of the protocol decoders, is not without its own issues), there are some downsides to this. Also remember that source IPs can be forged, so look at the MAC address information as well if things appear to be really odd. I've asked my network guys if they were doing any scans inside the network, they say they are not. I had looked extensively online for any help and came up empty handed. I might be able to run wireshark on the server, though it is a mailgateway and quite busy, I do not want to disrupt traffic if possible. I will be installing pf this week, I just need to write up my rule sets for these servers. I had been working on the webservers first. Is there a rule I can use to log connection attempts to closed ports? Thanks, -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Adams http://appleseedinfo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: X -configure fails: Number of created screens does not match number of detected devices. Configuration failed.
On Sun, Dec 20, 2009 at 11:20:12PM +0100, Marius Strobl wrote: On Sun, Dec 20, 2009 at 10:10:10PM +, Anton Shterenlikht wrote: On Sun, Dec 20, 2009 at 04:00:05PM +0100, Marius Strobl wrote: On Sat, Dec 19, 2009 at 09:48:03PM +, Anton Shterenlikht wrote: I've built X without hal, but get this error on X -configure: Actually when running `X -configure` or when trying to use the resulting /root/xorg.conf.new? This looks more like an error in the configuration file and the results returned by google for this failure message suggest that this can be due to the server not being able to load a configured module. Anyway, I'd try to use the resulting xorg.conf.new and if that fails manually checking its contents and removing unnecessary and unavailable stuff like DRI for example. yes, on 'X -configure'. Removing modules doesn't help. and then on 'X -config ./xorg.conf.new': Could you please make that xorg.conf.new available somewhere? http://seis.bris.ac.uk/~mexas/freebsd/xorg.conf.new thanks a lot -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Source of closed port RST responses
On Sun, Dec 20, 2009 at 2:37 PM, DAve dave.l...@pixelhammer.com wrote: I am routinely seeing these entries in one of my servers logs. Limiting closed port RST response from 373 to 200 packets/sec The server sits behind a PIX firewall, so I am suspicious of what is trying to connect to a closed port. I don't see in any other logs what port is being hit, or what IP is causing these log entries. Any way to tell what the source IP of these is? Try using tcpdump. You can redirect the decoded output to a log file as well. Make sure to replace em0 in my example with the appropriate interface name. If the server is very busy, try just running it for a short period of time to make sure that it does not interrupt operations, then leave it running for whatever time period you want to monitor if all goes well. tcpdump -np -i em0 'tcp[13] 4 != 0' The 'tcp[13] 4 !=0' will cause the filter to only capture packets with the tcp flag RST set. man tcpdump or google for more examples of filters. Good Luck. ---Dave Horn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SUIDDIR on ZFS?
On Thu, 17 Dec 2009 07:37:31 +0100, Ben Schumacher m...@benschumacher.com wrote: At any rate, I've been considering switching this to a ZFS RAIDZ now that FreeBSD 8 is released and it seems that folks think it's stable, but I'm curious if it can provide the SUIDDIR functionality I'm currently using. Yes, it can. From my point of view it works the same way as on UFS. Thanks for your response... I don't know that that's quite right. In fact, you're right. I used only the g+s file mode and it worked for both UFS and ZFS. Sorry for the confusion. Any clues would be appreciated. Maybe ZVOL will be sufficient? It just works: # zfs create -V 1g tank/tmp/test1 # newfs /dev/zvol/tank/tmp/test1 # mkdir /tmp/test1 # mount -o suiddir /dev/zvol/tank/tmp/test1 /tmp/test1 # mkdir /tmp/test1/user1dir # chmod 4777 /tmp/test1/user1dir # chown user1:user1 /tmp/test1/user1dir # su - user2 $ cd /tmp/test1/user1dir $ touch test $ ll test -rw--- 1 user1 user1 - 0 Dec 21 00:14 test -- am ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Ghostscript8 portupgrade failure
On Sun, Dec 20, 2009 at 03:03:09PM -0700, Warren Block wrote: The ghostscript8 problem has been fixed, so update your ports tree again and portupgrade will work. Hi Warren, thanks for the information. I just updated my ports tree and tried to build it again using make first, then portupgrade and both still fail with the same error. This link will show two screenshots i've taken which might help to show any other possible problems. http://www.koderize.com/kodedump/kodedump.html I've not yet tried pkg_delete -rf yet. I'd like to avoid having to rebuild loads of other ports if i can. Jamie pgpOcHTUGNCMr.pgp Description: PGP signature
portsnap fetch update
I did portsnap fetch update and I have in /usr/ports/editors/koffice-kde4 now. I thought that is version 2.1 but it is 1.6 still... I did check http://www.freshports.org/ but there are no koffice-kde4 and search also didn't find it. Is it something wrong on my system (FreeBSD 8.0) or is something other, please? Thanks. Mitja http://redbubble.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [FR]Lien mort sur install-pre (floppies)
Translation: Good day, In the pre-installation section of the handbook (french version) the link to the boot-floppy images is broken. Regards, Pierre-Yves Le Borgne Date: Sat, 19 Dec 2009 22:26:43 +0100 From: Pierre-Yves Le Borgne pylaterr...@gmail.com Subject: [FR]Lien mort sur install-pre (floppies) To: questi...@freebsd.org Message-ID: 6804ee40912191326n66f32dd8x8e8e717f0aa4...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Bonjour, Sur http://www.freebsd.org/doc/fr/books/handbook/install-pre.html , un lien indiqué ( ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/8.0-RELEASE/floppies/) est mort. Cordialement, Pierre-Yves Le Borgne -- It is not clear to me if he is just trying to point out a documentation bug or if the 8.0-RELEASE-i386-bootonly.iso does not work for him. ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/8.0/ (I was able to confirm the link *is* broken.) Regards, James Phillips __ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ld-elf related problems
I'm running 8.0-RELEASE amd64, and various applications randomly coredump and exit with signal 10; this has started apparently after installing numpy from ports, which also pulled gcc44. Right after that basically all apps i had running crashed, and they wouldn't start. The error was something about unrecognized symbols or something in ld-elf-something. I can't be more specific, because after a reboot, stuff worked again - mostly. Now applications periodically coredump, but then start again. Does anyone have any insights? There are several potential sources of problems, but to determine what is going wrong on your system, you need to provide more information. The error message you refer to would help, but to really narrow it down you need to recompile the problematic software with debugging symbols, and then attach a debugger to the coredumps: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/debugging.html Our base system compiler suite is stuck at a patched version of gcc 4.2 because of licensing issues, and our base system now includes symbol versioning, which was supposed to make updating software that uses shared libraries easier by relying on internal versioning in libraries rather than frequent changes of library major version numbers. For us, though, it's now causing problems, because the Fortran-related ports have been switched over to gcc 4.4, and now want the shared libraries from /usr/local/lib/gcc44, rather than those with the same name, but with different internal versions, that are from the base system, and are in /lib and /usr/lib. This can confuse the linker when ports use libraries built by the different compilers. The gcc ports maintainer attempted to prevent some of these problems from occurring by hardcoding instructions into the binaries built by gcc 4.4 that cause them to try to look in /usr/local/lib/gcc44 first, but the fix is not perfect, and some problems many continue until we can change our system compiler or our method of linking. You can prevent some of them from happening by adding entries to libmap.conf(5) that prefer the libraries in /usr/local/lib/gcc44 to those from the base system, because these libraries should (ideally) be backwards-compatible. It is also possible that you could occasionally see some strange problems with numpy on some architectures because it was recently discovered that it uses some floating-point handling code that doesn't incorporate some FreeBSD fixes that handle SSE properly and prevent some i387 registers from being overwritten. And of course, there is always the possibility that you are mixing stale ports with new ones, or that some of your ports are corrupt. Make sure that your ports tree and all of your related ports are up-to-date before spending a lot of time on debugging. Regards, b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ld-elf related problems
On Sat, Dec 19, 2009 at 6:15 PM, Ghirai ghi...@ghirai.com wrote: Hi, I'm running 8.0-RELEASE amd64, and various applications randomly coredump and exit with signal 10; this has started apparently after installing numpy from ports, which also pulled gcc44. Right after that basically all apps i had running crashed, and they wouldn't start. The error was something about unrecognized symbols or something in ld-elf-something. I can't be more specific, because after a reboot, stuff worked again - mostly. Now applications periodically coredump, but then start again. Does anyone have any insights? Thanks. Have you installed /usr/ports/misc/compat7x ? -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Ghostscript8 portupgrade failure
On Sun, 20 Dec 2009, Jamie Griffin wrote: On Sun, Dec 20, 2009 at 03:03:09PM -0700, Warren Block wrote: The ghostscript8 problem has been fixed, so update your ports tree again and portupgrade will work. Hi Warren, thanks for the information. I just updated my ports tree and tried to build it again using make first, then portupgrade and both still fail with the same error. This link will show two screenshots i've taken which might help to show any other possible problems. http://www.koderize.com/kodedump/kodedump.html Don't know. I'd guess not cleaning the failed build out of the work dir with 'make clean', but portupgrade should do that automatically. I've not yet tried pkg_delete -rf yet. I'd like to avoid having to rebuild loads of other ports if i can. portupgrade, not pkg_delete. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [FR]Lien mort sur install-pre (floppies)
Bonjour, Sur http://www.freebsd.org/doc/fr/books/handbook/install-pre.html , un lien indiqué ( ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/8.0-RELEASE/floppies/) est mort. Cordialement, Pierre-Yves Le Borgne Bonjour. Sorry, my French is terrible. But I will reply in English -- hopefully you may still find it useful. If you are just complaining about the stale documentation, then you should file a Problem Report or at least send an email message to the d...@freebsd.org. If you need to find disk images, then be advised that the floppy disks are no longer being built for some architectures by the release engineering team: http://svn.freebsd.org/viewvc/base?view=revisionrevision=188437 The images that are still being built can be found for i386 at: ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/8.0/ or the corresponding directories for other architectures. If you need floppies, you can still build them on a FreeBSD system by setting MAKE_FLOPPIES=yes when making a release. You may even be able to persuade the release engineering team to build them if there are enough people who still want them. Cordially, b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Loadbalance outgoing traffic over two cable modems in same network
Hi, I've looked over http://www.openbsd.org/faq/pf/pools.html but this assumes two different gateways for the two interfaces. I'm faced with two cable modems from the same ISP, with the same gateway. I can't lagg(4) the interfaces, since specific IP's are bound to specific modems. So I'm wondering if using stick-address with a round-robin nat pool is really sufficient to do load balancing of outgoing traffic and not get into session problems with various protocols. Has anybody had similar experiences? -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Setting fonts and other defaults in Xorg
In trying to upgrade Xorg and firefox I ended up learning about portmaster and how to solve some things in xterm that have been bugging me for longer than I will admit to having and not fixing. First portmaster. If you find portupgrade too complex or for any other reason do not want to use it, this port is well worth a look. For one, it is written in shell script and so has no requirements. The latest version even has the -PP option which for me is the only way to go with Xorg and KDE. In getting Xorg 7.4 installed and using twm to complete setting up my work station, I found the black background intolerable. I turns out the answer to changing this is remarkably hard to find. And I did not. Warren Block provided the answer as an aside to trying to help me with larger Xorg woes. The other thing that bugged me for so long is/was setting fonts in xterm. I often want to use the small or tiny setting which are (at least on my PCs/laptops) less than ideal. All of this turns out to be relatively straight forward. 1) background: xsetroot -grey (is one choice). This command can be added to /usr/local/lib/X11/xdm/Xsetup_0 or to .xinitrc (according to Google). 2) fonts: There are a couple of cool commands, fc-list and xfontsel to list the installed fonts. I used these to set fonts after testing options by starting some variations with xterm -fa 'Liberation Mono' -fs 10 xterm -fa Bitstream Vera Sans Mono -fs 9 After finding what you like simply add the lines to ~/.Xdefaults: XTerm*faceName: Liberation Mono XTerm*faceSize: 10 You can make similar changes to /usr/local/share/X11/app-defaults to change other things. Most the file here use the format given by xfontsl. I think a section in the handbook that documented some of the above as well as the relation between .xsession, .xinitrc, .Xdefaults, .xresource and other files would be helpful especially to new users. There is probably other basic information, I would take a shot at it if I had the background. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Interesting hostid
In the last episode (Dec 20): Why hostid is so simpel? Dec 20 19:54:15 vpn_shadow kernel: Setting hostuuid: ----. It's probably reading the value from your BIOS, and older ones don't actually put a unique value in there. If you run kenv smbios.system.uuid, what does it print? The hostid is currently only used by the zfs module to ensure that you don't accidentally mount the wrong pools if you move disks from machine to machine. The file /etc/hostid overrides the bios value, so you can run uuidgen /etc/hostid to set a new one if you have two machines like this. If you only have one, then you don't need to bother. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org