RE: Disk errors when copying
-Original Message- From: Lars Eighner [mailto:[EMAIL PROTECTED] Sent: Sunday, September 09, 2007 11:17 AM To: Ted Mittelstaedt Cc: Richard Tobin; freebsd-questions@freebsd.org Subject: RE: Disk errors when copying On Fri, 7 Sep 2007, Ted Mittelstaedt wrote: Subject: Disk errors when copying When copy between disks (ad10 -ad8), I get errors: ad10: WARNING - READ_DMA48 UDMA ICRC error (retrying request) LBA=435128800 ad10: FAILURE - READ_DMA48 status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=435128800 g_vfs_done():ad10s2g[READ(offset=175562145792, length=131072)]error = 5 I don't get these errors just reading the data from ad10. Is this some kind of system error rather than a bad disk? Is it a known problem? Yes it is a known problem. It does not happen with most combinations of drives and controllers. You need to exhaustively document the motherboard/controller/hard disk and put it into a PR and file it so that the developer can add your combo into his database. The more of these that are documented the quicker that a coorelation is going to show up and get fixed. I wish I'd known that before I trashed my disc and spent a couple of weeks and hundreds of bucks building a new system. One of the rules of thumb when you have hardware problems with a new system (I'm assuming of course that these UDMA errors have been happening since the system was built) is to search both the FreeBSD questions mailing list archives, and the PR database - both closed and open PRs. Particularly closed PRs are a wealth of information because so many of them are closed for lack of followup. A typical scenario is someone will report a problem like your having and 3 months later the developer will make a change in the code and then ask the reporter to test the change and see if it fixed the problem. By then the original reporter has gone on to something else and won't respond. The developer then closes the PR and assumes whatever he did fixed the problem. If you do find closed PRs that are the same problem and same hardware as yours, definitely refer to their numbers in your PR. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache22 web root directive
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eric wrote: close, but I am not running in a non standard DocumentRoot as far as I know. its set to apache22's /usr/local/www/apache22/data, which is the default, but if you look at the mailgraph Makefile, it uses /usr/local/www/data for the install. the more i look at it, the more it seems like its a mailgraph issue. i guess I am curious of the apache20 default of /usr/local/www/data was around so long its just what everyone assumes, but from what I can tell, thats not the recommended practice. isnt it better to install to /usr/local/www/mailgraph and then alias things? Web-based applications will generally install into a subdirectory of /usr/local/www independent of what web server you use. There are some exceptions -- eg. cacti installs into /usr/local/share/cacti This means that you will have to make provision in your httpd.conf (or whatever the equivalent is for the webserver you're using) so that the filesystem space the application lives in is mapped into the URL-space provided by your webserver. In apache, that typically means setting up an alias and then applying appropriate access controls in a Location or Directory block. Formerly many web applications installed into the apache specific directory /usr/local/www/data but this behaviour is now discouraged. It's not, AFAIK, absolutely forbidden, but you'ld have a hard time getting a new port through committal if it behaved like that. I don't think there has been a concerted effort to find all of the older ports that install under /usr/local/www/data and modify them; rather individual maintainers are expected to modify their ports as the occasion arises. 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 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG5OD58Mjk52CukIwRCBpLAJ9Uic70kt6wry0Fn6liuGE21ckkowCfb1qH PHKdfmrcqyH1YVrC3hnOdJM= =rbh6 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DVD-RW drive
I have a very strange problem with my DVD-RW drive. Namely the drive is for some reason recognized as read only acd0: DVDR LITE-ON DVDRW LH-18A1P/GL0C at ata0-slave UDMA66 why readonly? it is recognized fine, like my DVD-RW acd0: DVDR Slimtype DVDRW SSM-85H5S/FS06 at ata1-master UDMA33 # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives everything OK, just why atapist? do you have IDE streamer? I also edited my load.conf file with hw.ata.ata_dma=1 hw.ata.atapi_dma=1 I altered the permissions devfs.conf and fstab file so that I can read and write but that is not even important since I can not write anything even from the command line I also get [pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/acd0 /dev/acd0: unable to open: Inappropriate ioctl for device use cd0 only [pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/cd0 /dev/cd0: unable to open: Inappropriate ioctl for device please ls -l /dev/cd0 ls -l /dev/pass* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: subversion 1.4.4_1: svnserve.in missing
On 2007-09-09 23:04, Kyle Allender [EMAIL PROTECTED] wrote: I'm attempting to install subversion from the ports tree on 6.2 RELEASE using: make install and receive this error: [...] === Installing for subversion-1.4.4_1 ** Missing /usr/ports/devel/subversion/files/svnserve.in for subversion-1.4.4_1. *** Error code 1 Based on what I see in other ports, the .in files are used as configuration files for various portions of the build process. Is this correct? The path to `svnserve.in' points to the `files/' subdirectory of the `devel/subversion' port. You seem to be missing parts of the Ports tree: [EMAIL PROTECTED]:/usr/ports/devel/subversion# ls -l files/svnserve.in -rwxr-xr-x 1 root wheel - 824 Jul 18 11:03 files/svnserve.in [EMAIL PROTECTED]:/usr/ports/devel/subversion# Try to CVSup your /usr/ports tree once more, and see if you will then get the missing file. Could someone point me to where this is failing? Is this a bug with the port itself? It shouldn't be a bug, AFAICT. I've installed the same port revision here a while ago: [EMAIL PROTECTED]:/root# pkg_info subversion\* | head -1 Information for subversion-python-1.4.4_1: [EMAIL PROTECTED]:/root# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ADSL Bandwidth Monitoring
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of RW Sent: Sunday, September 09, 2007 2:35 PM To: freebsd-questions@freebsd.org Subject: Re: ADSL Bandwidth Monitoring On Sat, 8 Sep 2007 23:16:35 -0700 Ted Mittelstaedt [EMAIL PROTECTED] wrote: ... However, the thing that most people (who don't work at telcos) do not understand is that the telcos found very quickly that they cannot put contention into an ATM network comprised of a DSL atm circuits for a very simple reason. ... SO, the cost of discarding a single 56 byte ATM cell means the ATM cloud will have to get another 1400 bytes of data retransmitted through it. It doesen't take a rocket scientist to see that introducing contention into an ATM circuit carrying a DSL circuit will cause a massive increase in traffic in the switch, and wipe out any gains from contention. I don't know much about DSLAMS, but ATM switches have been able to drop whole AAL5 frames for a long time. Do DSLAMS really not have EPD/PPD? Why would they need it? The DSLAM doesen't need to control the traffic with ATM policing. It has control of the DSL circuit, remember. The modems aren't allowed to train at any old speed. They can only train up to the circuit speed the DSLAM port is configured to let them so the ATM circuit in the DSLAM is never going to see more traffic than what the port was contracted at. And, in any case, most of the DSL in the United States is asymmectrical - the customer receives far more bandwidth than they can transmit. Most of the RADSL modems out there in the US have chipsets that max at 7MB down and 1MB up. So, the DSLAM is going to be connected to an upstream link that can service the traffic coming FROM the upstream TO the DSLAM and TO the remote customers. When the DSLAM gets the traffic it's already been rate-limited. The only time the DSLAM would possibly need to rate-limit traffic is received traffic FROM the customer TO the upstream - and it is going to very likely be using an upstream pipe that is symmectrical, with gobs of available traffic - so a scenario where the DSLAM would need to rate limit traffic sent into the upstream pipe is difficult to imagine. It's also difficult to imagine that a telco would use ATM policing on the ATM switch that the ISP is connected to. That switch isn't going to see the rest of the telco's ATM network, and the ISP is going to be traffic limiting the VC's they are sending into the telco. Remember the telcos charge the ISP's for the privilege of interconnecting, and their charges are based on bandwidth. If an ISP contracts with a telco for, say 10MB of bandwidth, and the Telco starts policing at the ATM switch the ISP is connected to that limits it down to 5MB, then I would imagine it would be quite quick that the ISP's lawyers would be suing the telco. Hardly the way for a telco to entice the ISP to buy even more bandwidth on their DSL feed. To use EPD/PPD to police aal5 you would have to do it in the central ATM switch that all your remote DSLAMS are plugged into and that is also plugged into all the ATM switches that are feeding your ISP customers. But then the question becomes - how are you going to do it? Set fixed policing on all the DSL pvc's that are going through the ATM switch? To what end? If your going to fix-limit it, you might as well limit the individual DSLAM port that the customer is using and then free up more bandwidth that your going to burn up transferring the cells from the ISP through the first hop switch and into your main master atm switch. No you would have to dynamically limit it somehow. While I'm sure that these kinds of schemes exist, it seems to me just as easy to just buy a bigger ATM switch. However the contention is done, it definitely happens in the UK. Well, they drive on the wrong side of the road there too. ;-) Keep in mind I am not saying it is impossible for a telco to introduce contention into a DSL network. It is just a motive thing. Think of how their DSL network is put together and you can see that if you police in a central switch your going to be chewing up bandwidth in the rest of your network, and if you police at the fringes your going to have a lot of coordination issues to handle. To me the incentive doesen't seem to exist at the Telco to do it. It seems much more incentive exists at the ISP to do it. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.2 - STABLE sysctl: hw.acpi.cpu.cx_lowest: Invalid argument
On 9/9/07, Bogdan Potishuk [EMAIL PROTECTED] wrote: George Vanev said the following on 30.08.2007 12:22: Hi, I tried to build a custom kernel, but i get the following error on boot up: hw.acpi.cpu.cx_lowest: C1 sysctl: hw.acpi.cpu.cx_lowest: Invalid argument I have updated the source tree. I tried to compile and install /usr/src/sys/i386/conf/GENERIC and /usr/src/sys/i386/conf/SMP The same error occurs. I have no problem with the precompiled SMP kernel that's initially installed. Any ideas what I did wrong? Look at http://www.freebsd.org/cgi/query-pr.cgi?pr=108581cat= -- Regards, Bogdan --- KeyID: 0x84B8D5142569D30B Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B Keyserver: keyserver.pgp.com --- Thanks Bogdan, I already did. It seems the problem is not solved. How can I help the ACPI team to locate the problem - post dmesg? ... or some other info? Regards, George Vanev ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wxPython 2.8?
On Sun 09 Sep 2007 21:09, Luke Dean wrote: On Mon, 10 Sep 2007, Martin Tournoij wrote: On Sun 09 Sep 2007 15:09, Luke Dean wrote: I've got a Python app that seems to require wxPython 2.8. The ports collection only has 2.6. Do you think it would it be worthwhile for me to download the source and attempt to compile it on my system or should I ask the port maintainer? wxgtk 2.8 is in the ports collection(x11/toolkits/wxgtk28), you're probably using an outdated snapshot of the ports collection. See the FreeBSD handbook on how to update your ports collection: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html I guess I don't understand the relationship between wxPython and wxgtk. wxPython 2.6 builds with wxgtk 2.6 by default. If it works with wxgtk 2.8, maybe that's what I need. I'll give it a shot. Thanks. Ignore my previous post, it was late and I thought you couldn't find wxgtk2.8, I kind of missed the wxPython part ... :/ My fault, I'm sorry. I've cc-ed this email to the maintainer of py-wxPython26, I will look into creating a port for py-wxPython28 later today. Regards, Martin Tournoij ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache22 web root directive
On Sun, Sep 09, 2007 at 08:41:52PM -0500, Eric wrote: Robert Huff wrote: Eric writes: Is there a directive to add to make.conf or anywhere else to tell ports what directory my webroot is? when i was running apache20, things like mailgraph installed files in the proper location. Recently I just updated to apache22 and now mailmail still insists on creating directories under the old directory layout. is this a mailgraph port problem or do I have a missing directive somewhere telling ports where my document root is? Let me see if I understand: You're running apache22, with DocumentRoot and/or ServerRoot in a non-standard location. Because of this, a third-party application is malfunctioning. You are looking for a single way for that and other applications to tell at run-time where the new location is. No such critter, as far as I know. For those applications that accept environment variables of command-lind switches, it should be trivial to write a wrapper script to parse httpd,conf and provide the correct information. For a compile-time switch, portupgrade users can use pkgtools.cfg; others will have to look elsewhere. close, but I am not running in a non standard DocumentRoot as far as I know. its set to apache22's /usr/local/www/apache22/data, which is the default, but if you look at the mailgraph Makefile, it uses /usr/local/www/data for the install. the more i look at it, the more it seems like its a mailgraph issue. i guess I am curious of the apache20 default of /usr/local/www/data was around so long its just what everyone assumes, but from what I can tell, thats not the recommended practice. isnt it better to install to /usr/local/www/mailgraph and then alias things? I included the maintainer to see if this is the case and perhaps the Makefile should be changed and or post install instructions can be updated The reason I choose the current approach is to reduce user interaction after installation. Could you try this patch that allows you customize DocumentRoot when installing mailgraph? http://people.freebsd.org/~rafan/mailgraph.diff Regards, Rong-En Fan Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wxPython 2.8?
On Mon, 2007-09-10 at 09:49 +0200, Martin Tournoij wrote: On Sun 09 Sep 2007 21:09, Luke Dean wrote: On Mon, 10 Sep 2007, Martin Tournoij wrote: On Sun 09 Sep 2007 15:09, Luke Dean wrote: I've got a Python app that seems to require wxPython 2.8. The ports collection only has 2.6. Do you think it would it be worthwhile for me to download the source and attempt to compile it on my system or should I ask the port maintainer? wxgtk 2.8 is in the ports collection(x11/toolkits/wxgtk28), you're probably using an outdated snapshot of the ports collection. See the FreeBSD handbook on how to update your ports collection: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html I guess I don't understand the relationship between wxPython and wxgtk. wxPython 2.6 builds with wxgtk 2.6 by default. If it works with wxgtk 2.8, maybe that's what I need. I'll give it a shot. Thanks. Ignore my previous post, it was late and I thought you couldn't find wxgtk2.8, I kind of missed the wxPython part ... :/ My fault, I'm sorry. I've cc-ed this email to the maintainer of py-wxPython26, I will look into creating a port for py-wxPython28 later today. I have already submitted a port for wxPython 2.8 some weeks ago but for some reason it's languishing in the pr database. So if you want the port badly, hassle some committer to get it committed. For your reference the relevant PRs are: 115349 for the base port, 115350 for the common parts and 115351 for the unicode port. Regards, Neal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Texvc
Hi and thanks for your time, I would like to install on FreeBSD 6.2 Stable texvc which, is needed to use the mathematical features of mediawiki. My current installed version of TeX is TeX (Web2C 7.2) 3.14159 kpathsea version 3.2 straight out of the ports tree. Unfortunately it does not include texvc and texvc is not a port. Ideas and suggestions Please. Regards John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DVD-RW drive
Thank Wojciech, It was fixed 5 minutes after I posted message. I was missing atapicam in my kernel so I just added atapicam_load=YES into loader.conf In mean time I portupgraded a few ports so K3b is not complaining anymore. I am listening some of CD-s I burned today. I am also using TeXLive which I cut today. Thanks for the Help body Predrag Punosevac Wojciech Puchar wrote: I have a very strange problem with my DVD-RW drive. Namely the drive is for some reason recognized as read only acd0: DVDR LITE-ON DVDRW LH-18A1P/GL0C at ata0-slave UDMA66 why readonly? it is recognized fine, like my DVD-RW acd0: DVDR Slimtype DVDRW SSM-85H5S/FS06 at ata1-master UDMA33 # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives everything OK, just why atapist? do you have IDE streamer? I also edited my load.conf file with hw.ata.ata_dma=1 hw.ata.atapi_dma=1 I altered the permissions devfs.conf and fstab file so that I can read and write but that is not even important since I can not write anything even from the command line I also get [pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/acd0 /dev/acd0: unable to open: Inappropriate ioctl for device use cd0 only [pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/cd0 /dev/cd0: unable to open: Inappropriate ioctl for device please ls -l /dev/cd0 ls -l /dev/pass* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Texvc
Standard distribution of TeX for Unix is teTeX. It is ported of course look at teTeX-base port. I am not familiar with the package you are asking about so I could not answer you if it is contained in the teTeX base. You could install and check. teTeX base really does not contain some packages that I use (powerdot Latex class of presentations for instance and srcltx which is necessary for inverse search) You may do two things and I have done both 1. You can download packages you need from Ctan, install them manually and run texhash so that TeX tree gets updated. 2. teTeX is becoming obsolete (support have sized year and a half ago) The next standard distribution for Unix will be TeXLive which is not in ports yet. People working very hard on it as we speak. However you can install it manually or run it from the live DVD (it is 1.7 Gb) It contains absolutely everything ever done for plain TeX and for Latex. I am still playing with it since I do want to use it as a Live DVD. I was talking sys admin at University of Arizona (Debian guy but nice people apart of it) and they are also not in the harry to install LiveTeX as it is not fully configured to run flawlessly on Debian despite the fact that is among Debian packages. They are keeping teTeX for now until further notice. I also read Debian advisory and they are not advising HD installation of LiveTeX yet. You may get TeXLive from Ctan of course. If you have a Windows machine available MikTeX 2.5 which is standard distribution for Windows is as comprehensive as TeXLive so I would guess that it contains the thing you are looking for. Keep me updated Predrag Punosevac John Andrewartha wrote: Hi and thanks for your time, I would like to install on FreeBSD 6.2 Stable texvc which, is needed to use the mathematical features of mediawiki. My current installed version of TeX is TeX (Web2C 7.2) 3.14159 kpathsea version 3.2 straight out of the ports tree. Unfortunately it does not include texvc and texvc is not a port. Ideas and suggestions Please. Regards John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Newsletter Security Aerospace
If you can not see this email properly, please = [1]click here Issue No. 4 -= Aug./Sep. 2007 3D [2]IEICI 3D [3]Aviation Aerospace S= ector 3D [4]Security Safety Sect= or 3D [5]Archive 3D [6]Contact Us [=] [7]Aviation Aerospace [laniado.=] [=] [8]Security Safety [laniado.=] [=] [9]What's New [laniado.=] [=] [10]Activities 3D What's New? [laniado.sw=] Rafael releases a new Add-On Armor f= or Combat Vehicles [laniado.sw=] = [11]Read More... [3Dh=] = /TD [laniado.sw=] Israeli Spetrotec received $1 millio= n contract in Costa Rica [laniado.sw=] = [12]Read More... [3Dh=] = /TD [laniado.sw=] Tadiran Electronic Systems introduce= s a new V-STAR smart system [laniado.sw=] = [13]Read More... [3Dh=] = /TD [laniado.sw=] Israeli Terapro will export blast-re= sistent panels to the American armed forces in Iraq [laniado.sw=] = [14]Read More... [3Dh=] = /TD 3D Activities[laniado.sw=] The 3rd Israeli Transportation Secur= ity Solutions Tour [laniado.sweethome.=] [15]Read More... [3Dh=] = /TD [laniado.sw=] Russian HLS delegation visited Israe= l [laniado.sw=] = [16]Read More... The Israel Export Institute prepares for Milipol 2007 [87480529-bb11-=] [17]Read More... = /TR Dear readers, This newsletter seeks to bring you up to date withthe latest develop ments, products innovations in Israel'sAerospace and Security Industr= ies, as well as information concerningour upcoming events in Israel and= abroad. I hope you will enjoy this newsletter, and moreover t= hat you will find its content interesting and beneficial. Sinc= erely, [18]Lior KonitzkiDirector – Aerospace, Defense HLS [=] Aviation Aerospace [3Dht=] The Israeli Pavilion = at the Paris Airshow 2007 PromotingIsrael's Aerosp= ace Industry was this year's tagline for theIEICI's activities be= fore and during the Le Bourget show. [=] [19]Read More... [laniado.sweethome.co=] [3Dhtt=] Four Israeli security= companies ranked among the world's 100 largest The magazine Defence News= ranked recently the top 100 defence firms in the world. Four Israeli= companies made it to the list. [=] [20]Read More... [=] Security Safety [www.my=] = BR Rontal Releases Incid= ent Management System for Remote Locations Rontal Applications annou= nces SimGuard 6000 – a comprehensive incident management system for r= emote locations. [=] [21]Read More... [laniado.sweethome.co=] [www.my=] Acro will supply Pero= xide Explosive Testers to the US Army Acro Inc. announces an = order to supply 300 Peroxide Explosive Testers to the US Army. [=] [22]Read More... _ [ico-print.gif] [23]Click here to print this Page [0X8EB8BA0=] To remove yoursel= f from the mailing list please [24]click here = /div Powered by [25]ActiveTrail.com. References 1. 3Dhttp://www.web-view.net/Show/0X8EB8BA0F5AB3718BEC8EA81B4 2. file://localhost/tmp/3Dht 3. file://localhost/tmp/3Dh 4. file://localhost/tmp/3Dh 5. file://localhost/tmp/3Dht 6. file://localhost/tmp/3Dma 7. file://localhost/tmp/3D#1 8. file://localhost/tmp/3D#4 9. file://localhost/tmp/3D#2 10. file://localhost/tmp/3D#5 11. 3Dhttp://trailer.web-view=/ 12. 3Dhttp://trailer.web-view=/ 13. 3Dhttp://trailer.web-view=/ 14. 3Dhttp://trailer.web-view=/ 15. 3Dhttp://trailer.web-view=/ 16. 3Dhttp://trailer.web-view=/ 17. 3Dhttp://trai=/ 18. 3Dmailto:[EMAIL PROTECTED] 19. 3Dhttp://trailer.web-view.ne=/ 20. 3Dhttp://trailer.web-view.ne=/ 21. 3Dhttp://trailer.web-view.ne=/ 22. 3Dhttp://trailer.web-view.ne=/ 23. 3Dhttp://www.web-view.net/Pri 24. 3D'http://www.web-view.net/O 25. 3D'http://www.activetrail.co=/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Disk errors when copying
On Sun, 9 Sep 2007, Ted Mittelstaedt wrote: From: Lars Eighner [mailto:[EMAIL PROTECTED] I wish I'd known that before I trashed my disc and spent a couple of weeks and hundreds of bucks building a new system. One of the rules of thumb when you have hardware problems with a new system (I'm assuming of course that these UDMA errors have been happening since the system was built) is to search both the FreeBSD questions mailing list archives, and the PR database - both closed and open PRs. Particularly closed PRs are a wealth of information because so many of them are closed for lack of followup. I got the (disc) manufacture's utilities (which run on a bootable FreeDOS CD) and ran every test over and over. It kept telling me the disc was fine. I should have believed. I always feel a little weird about discs because although the manufacture and the BIOS agree on the geometry, FreeBSD always (over three or four boxes with a half-dozen different discs) tells me the geometry is wrong. It seems so confident about it, I generally let it do what it wants. But what does FreeBSD know about the disc that the manufacture and the BIOS don't? -- 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 [EMAIL PROTECTED]
Re: GEOM ELI: MD5 hash mismatch for /dev/mirror/gm0s1f
On Sun, Sep 09, 2007 at 08:07:49PM +0200, Thomas Hobbes wrote: Hi, what is this kind of error's meaning? It means that metadata (in the last provider's sector) is in an inconsistent state. Someone/something changed it. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpxaReQnQvyC.pgp Description: PGP signature
Re: GEOM ELI: MD5 hash mismatch for /dev/mirror/gm0s1f
It means that metadata (in the last provider's sector) is in an inconsistent state. Someone/something changed it. The error occurs while attaching a device on a gmirrored disk. Am I right assuming that the responisble change happens right between initialisation and attachment? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: subversion 1.4.4_1: svnserve.in missing
Giorgos Keramidas wrote: On 2007-09-09 23:04, Kyle Allender [EMAIL PROTECTED] wrote: I'm attempting to install subversion from the ports tree on 6.2 RELEASE using: make install and receive this error: [...] === Installing for subversion-1.4.4_1 ** Missing /usr/ports/devel/subversion/files/svnserve.in for subversion-1.4.4_1. *** Error code 1 Based on what I see in other ports, the .in files are used as configuration files for various portions of the build process. Is this correct? The path to `svnserve.in' points to the `files/' subdirectory of the `devel/subversion' port. You seem to be missing parts of the Ports tree: [EMAIL PROTECTED]:/usr/ports/devel/subversion# ls -l files/svnserve.in -rwxr-xr-x 1 root wheel - 824 Jul 18 11:03 files/svnserve.in [EMAIL PROTECTED]:/usr/ports/devel/subversion# Try to CVSup your /usr/ports tree once more, and see if you will then get the missing file. Could someone point me to where this is failing? Is this a bug with the port itself? It shouldn't be a bug, AFAICT. I've installed the same port revision here a while ago: [EMAIL PROTECTED]:/root# pkg_info subversion\* | head -1 Information for subversion-python-1.4.4_1: [EMAIL PROTECTED]:/root# I had used portsnap to retrieve the changes earlier and you were correct - for some reason it had not retrieved the files subdirectory. subversion now builds and has been installed with the latest port version: 1.4.4_1. However, when trying to use subversion to checkout a known good repository, I receive this error now: sia# svn co http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk CalendarServer /libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined symbol initialize_asn1_error_table_r I have followed the advice here: http://www.bsdforums.org/forums/showthread.php?t=39998 and the behaviour did not change. I have nothing in my /etc/rc.conf that seems to be in the way and I've re-installed the kerberos port twice from the ports tree (with the latest patches applied). The above svn server is for code for the CalendarServer from Apple. Thoughts? K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: subversion 1.4.4_1: svnserve.in missing
On 2007-09-10 07:20, Kyle Allender [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: [...] === Installing for subversion-1.4.4_1 ** Missing /usr/ports/devel/subversion/files/svnserve.in for subversion-1.4.4_1. *** Error code 1 The path to `svnserve.in' points to the `files/' subdirectory of the `devel/subversion' port. You seem to be missing parts of the Ports tree: [EMAIL PROTECTED]:/usr/ports/devel/subversion# ls -l files/svnserve.in -rwxr-xr-x 1 root wheel - 824 Jul 18 11:03 files/svnserve.in [EMAIL PROTECTED]:/usr/ports/devel/subversion# Try to CVSup your /usr/ports tree once more, and see if you will then get the missing file. I had used portsnap to retrieve the changes earlier and you were correct - for some reason it had not retrieved the files subdirectory. subversion now builds and has been installed with the latest port version: 1.4.4_1. Cool :) However, when trying to use subversion to checkout a known good repository, I receive this error now: sia# svn co http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk CalendarServer /libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined symbol initialize_asn1_error_table_r I think you have to rebuild subversion and all its dependencies to resolve this. You ran a build which includes Kerberos support, some of the subversion dependencies compiled correctly and reference symbols from /usr/lib/libkrb5.so and now subversion was compiled with different options. I have followed the advice here: http://www.bsdforums.org/forums/showthread.php?t=39998 This is fairly incomplete and somewhat misleading advice. What you should try is to rebuild subversion and all its dependencies with the -R and -f option of portupgrade: portupgrade -vu -N -R -f subversion The critical options here are -R and -f, which will *force* a rebuild of subversion and _all_ the ports on which subversion depends, using the same options. This should result in a working subversion binary. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache22 web root directive
Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eric wrote: close, but I am not running in a non standard DocumentRoot as far as I know. its set to apache22's /usr/local/www/apache22/data, which is the default, but if you look at the mailgraph Makefile, it uses /usr/local/www/data for the install. the more i look at it, the more it seems like its a mailgraph issue. i guess I am curious of the apache20 default of /usr/local/www/data was around so long its just what everyone assumes, but from what I can tell, thats not the recommended practice. isnt it better to install to /usr/local/www/mailgraph and then alias things? Web-based applications will generally install into a subdirectory of /usr/local/www independent of what web server you use. There are some exceptions -- eg. cacti installs into /usr/local/share/cacti This means that you will have to make provision in your httpd.conf (or whatever the equivalent is for the webserver you're using) so that the filesystem space the application lives in is mapped into the URL-space provided by your webserver. In apache, that typically means setting up an alias and then applying appropriate access controls in a Location or Directory block. Formerly many web applications installed into the apache specific directory /usr/local/www/data but this behaviour is now discouraged. It's not, AFAIK, absolutely forbidden, but you'ld have a hard time getting a new port through committal if it behaved like that. I don't think there has been a concerted effort to find all of the older ports that install under /usr/local/www/data and modify them; rather individual maintainers are expected to modify their ports as the occasion arises. Cheers, Matthew - -- yes, and this is how i would prefer to see mailgraph operate as well. I was just pointing out the fact that mailgraph didnt work this way. Just to be clear, I am not doing anything out of the ordinary or using a non-recommended DocumentRoot. The patch at http://people.freebsd.org/~rafan/mailgraph.diff appears to work properly, but shouldnt mailgraph be installed to /usr/local/www/mailgraph as per the recommendations and an alias added to apache for access to mailgraph? Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache22 web root directive
On Mon, Sep 10, 2007 at 07:16:15AM -0500, Eric wrote: Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eric wrote: close, but I am not running in a non standard DocumentRoot as far as I know. its set to apache22's /usr/local/www/apache22/data, which is the default, but if you look at the mailgraph Makefile, it uses /usr/local/www/data for the install. the more i look at it, the more it seems like its a mailgraph issue. i guess I am curious of the apache20 default of /usr/local/www/data was around so long its just what everyone assumes, but from what I can tell, thats not the recommended practice. isnt it better to install to /usr/local/www/mailgraph and then alias things? Web-based applications will generally install into a subdirectory of /usr/local/www independent of what web server you use. There are some exceptions -- eg. cacti installs into /usr/local/share/cacti This means that you will have to make provision in your httpd.conf (or whatever the equivalent is for the webserver you're using) so that the filesystem space the application lives in is mapped into the URL-space provided by your webserver. In apache, that typically means setting up an alias and then applying appropriate access controls in a Location or Directory block. Formerly many web applications installed into the apache specific directory /usr/local/www/data but this behaviour is now discouraged. It's not, AFAIK, absolutely forbidden, but you'ld have a hard time getting a new port through committal if it behaved like that. I don't think there has been a concerted effort to find all of the older ports that install under /usr/local/www/data and modify them; rather individual maintainers are expected to modify their ports as the occasion arises. Cheers, Matthew - -- yes, and this is how i would prefer to see mailgraph operate as well. I was just pointing out the fact that mailgraph didnt work this way. Just to be clear, I am not doing anything out of the ordinary or using a non-recommended DocumentRoot. The patch at http://people.freebsd.org/~rafan/mailgraph.diff appears to work properly, but shouldnt mailgraph be installed to /usr/local/www/mailgraph as per the recommendations and an alias added to apache for access to mailgraph? As I said in previous mail, I want minimal user interaction for such a simple script. I asked on ports@ before committing. Anyway, I want to collect more feedbacks before changing current settings. Regards, Rong-En Fan Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MSI PM8PM-V problem?
Hello all, I have two boxes here, both identical hardware. One box is setup to use the sata controller for raid the other is not. The one with the raid works great, the other one does not.. 6.2-R-p5 on the raid 6.2-R on the non raid. It seems when I bring 6.2-R up to the latest version, is when i start to see apparent disk problems. The latest SeaTools from seagate says that there is no problem w/ either disk in the non raid box. (80G and 400G) But 6.2-R-p5 seems to 'make problems'. The other 'strange' thing about these twin boxes, is that the 8 port belkin KVM that I have works great w/ the raid box, and the keyboard does not work (via the kvm) on the non raid box. If I put a separate keyboard on the non-raid box it seems to work.. Any clues? DMESG: non-raid: Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:43:30 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP ACPI APIC Table: P4M80P AWRDACPI Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) D CPU 2.66GHz (2661.04-MHz K8-class CPU) Origin = GenuineIntel Id = 0xf47 Stepping = 7 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x651dSSE3,RSVD2,MON,DS_CPL,TM2,CNTX-ID,CX16,b14 AMD Features=0x20100800SYSCALL,NX,LM AMD Features2=0x1LAHF Cores per package: 2 real memory = 1072627712 (1022 MB) avail memory = 1022918656 (975 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 4 ioapic0 Version 0.3 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: P4M80P AWRDACPI on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci0: display, VGA at device 7.0 (no driver attached) re0: RealTek 8169S Single-chip Gigabit Ethernet port 0xfc00-0xfcff mem 0xfdfff000-0xfdfff0ff irq 18 at device 9.0 on pci0 miibus0: MII bus on re0 rgephy0: RTL8169S/8110S media interface on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto re0: Ethernet address: 00:18:e7:17:23:8a re0: [FAST] atapci0: VIA 6420 SATA150 controller port 0xf800-0xf807,0xf400-0xf403,0xf000-0xf007,0xec00-0xec03,0xe800-0xe80f,0xe400-0xe4ff irq 20 at device 15.0 on pci0 ata2: ATA channel 0 on atapci0 ata3: ATA channel 1 on atapci0 atapci1: VIA 8237 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 15.1 on pci0 ata0: ATA channel 0 on atapci1 ata1: ATA channel 1 on atapci1 uhci0: VIA 83C572 USB controller port 0xdc00-0xdc1f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: VIA 83C572 USB controller port 0xd400-0xd41f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: VIA 83C572 USB controller on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: VIA 83C572 USB controller port 0xd000-0xd01f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: VIA 83C572 USB controller on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: VIA VT6202 USB 2.0 controller mem 0xfdffe000-0xfdffe0ff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] usb4: waiting for BIOS to give up control usb4: timed out waiting for BIOS usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: VIA VT6202 USB 2.0 controller on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered isab0: PCI-ISA bridge at device 17.0 on pci0 isa0: ISA bus on isab0 pci0: multimedia, audio at device 17.5 (no driver attached) vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xc800-0xc8ff mem 0xfdffd000-0xfdffd0ff irq 23
Re: wxPython 2.8?
On Mon, 10 Sep 2007, Martin Tournoij wrote: On Sun 09 Sep 2007 21:09, Luke Dean wrote: On Mon, 10 Sep 2007, Martin Tournoij wrote: On Sun 09 Sep 2007 15:09, Luke Dean wrote: I've got a Python app that seems to require wxPython 2.8. The ports collection only has 2.6. Do you think it would it be worthwhile for me to download the source and attempt to compile it on my system or should I ask the port maintainer? wxgtk 2.8 is in the ports collection(x11/toolkits/wxgtk28), you're probably using an outdated snapshot of the ports collection. See the FreeBSD handbook on how to update your ports collection: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html I guess I don't understand the relationship between wxPython and wxgtk. wxPython 2.6 builds with wxgtk 2.6 by default. If it works with wxgtk 2.8, maybe that's what I need. I'll give it a shot. Thanks. Ignore my previous post, it was late and I thought you couldn't find wxgtk2.8, I kind of missed the wxPython part ... :/ My fault, I'm sorry. I've cc-ed this email to the maintainer of py-wxPython26, I will look into creating a port for py-wxPython28 later today. Regards, Martin Tournoij Thank you! After I read a bit more about what wxPython really is, I realized that wxPython and wxgtk should be at the same version. In the spirit of open source, I attempted this myself. I installed wxgtk 2.8 from ports, then fetched the wxPython 2.8 source and attempted to port it following the example of the wxPython 2.6 makefile, but I got compillation errors early in the process in some gtk code. This made me think that perhaps the wxPython source I fetched might not be compatible with the wxgtk source I got from the ports system. I believe these versions are under development, so I suppose they change frequently and it may be difficult to get them to match up. Or maybe I really don't know what I'm doing. I've never attempted to port anything as complex as a toolkit before. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wxPython 2.8?
On Mon, 10 Sep 2007, Neal Nelson wrote: On Mon, 2007-09-10 at 09:49 +0200, Martin Tournoij wrote: On Sun 09 Sep 2007 21:09, Luke Dean wrote: On Mon, 10 Sep 2007, Martin Tournoij wrote: On Sun 09 Sep 2007 15:09, Luke Dean wrote: I've got a Python app that seems to require wxPython 2.8. The ports collection only has 2.6. Do you think it would it be worthwhile for me to download the source and attempt to compile it on my system or should I ask the port maintainer? wxgtk 2.8 is in the ports collection(x11/toolkits/wxgtk28), you're probably using an outdated snapshot of the ports collection. See the FreeBSD handbook on how to update your ports collection: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html I guess I don't understand the relationship between wxPython and wxgtk. wxPython 2.6 builds with wxgtk 2.6 by default. If it works with wxgtk 2.8, maybe that's what I need. I'll give it a shot. Thanks. Ignore my previous post, it was late and I thought you couldn't find wxgtk2.8, I kind of missed the wxPython part ... :/ My fault, I'm sorry. I've cc-ed this email to the maintainer of py-wxPython26, I will look into creating a port for py-wxPython28 later today. I have already submitted a port for wxPython 2.8 some weeks ago but for some reason it's languishing in the pr database. So if you want the port badly, hassle some committer to get it committed. For your reference the relevant PRs are: 115349 for the base port, 115350 for the common parts and 115351 for the unicode port. Regards, Neal. Ah, I didn't think to search for PRs. I should've looked there. I will try to check this out tonight and pass along any feedback I can give. Thank you for your work! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
chmod / files and directories
Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and directories under wp/ are given permissions 755 which is not what I want. I can do it manually but since there are manyt subdirectories I thought I would make my life easier. Many thanks in advance! Zbigniew Szalbo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chmod / files and directories
On Mon, Sep 10, 2007 at 05:56:12PM +0200, Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and directories under wp/ are given permissions 755 which is not what I want. I can do it manually but since there are manyt subdirectories I thought I would make my life easier. Many thanks in advance! find(1) is your friend here: # find . -type d -exec chmod 755 {} \; # find . -type f -exec chmod 644 {} \; Dan -- Daniel Bye PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A pgp2idPOYHiUP.pgp Description: PGP signature
Re: chmod / files and directories
On Mon, Sep 10, 2007 at 05:06:07PM +0100, Daniel Bye wrote: On Mon, Sep 10, 2007 at 05:56:12PM +0200, Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and directories under wp/ are given permissions 755 which is not what I want. I can do it manually but since there are manyt subdirectories I thought I would make my life easier. Many thanks in advance! Sorry, that *should* have been: # find /usr/local/www/data/wp -type d -exec chmod 755 {} \; # find /usr/local/www/data/wp -type f -exec chmod 644 {} \; But I guess you would have realised that! Dan -- Daniel Bye PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A pgpKwZhPhWjd8.pgp Description: PGP signature
Re: chmod / files and directories
Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and directories under wp/ are given permissions 755 which is not what I want. I can do it manually but since there are manyt subdirectories I thought I would make my life easier. Many thanks in advance! find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; You could also probably use mtree but you'd need to make the config file first. -- Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Senior System Admin - Riderway, Inc. http://riderway.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
imap-uw / cclient SSL cert question
I had installed imap-uw port # cd /usr/ports/mail/imap-uw # make -DWITH_SSL_AND_PLAINTEXT install then i create a certificate with # make cert Generating a 1024 bit RSA private key ++ ++ writing new private key to '/usr/local/certs/imapd.pem' - You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. - Country Name (2 letter code) [NO]:us State or Province Name (full name) [Some-State]: Locality Name (eg, city) []: Organization Name (eg, company) [FooBar Inc.]: Organizational Unit Name (eg, section) []: Common Name (FQDN of your server) []:[FQDN of our server] Common Name (default) []:localhost subject= /C=us/ST=/L=/O=/OU=/CN=[FQDN]/CN=localhost notBefore=Sep 10 16:15:54 2007 GMT notAfter=Sep 9 16:15:54 2008 GMT The field Common Name (default) which is localhost is automatically put in there. When you connect to the mail server with SSL turned on, you examine the cert, and the CN is coming up as Localhost, not the name of our server. Is there a way to generate one that wont cause the Domain Name Mismatch error? I am very new to SSL, so any help or direction on this issue would be most appreciated. Thanks! Brad _ Get a FREE small business Web site and more from Microsoft® Office Live! http://clk.atdmt.com/MRT/go/aub0930003811mrt/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chmod / files and directories
Hello, 2007/9/10, Shantanoo Mahajan [EMAIL PROTECTED]: On 10-Sep-07, at 9:40 PM, Daniel Bye wrote: On Mon, Sep 10, 2007 at 05:06:07PM +0100, Daniel Bye wrote: On Mon, Sep 10, 2007 at 05:56:12PM +0200, Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and directories under wp/ are given permissions 755 which is not what I want. I can do it manually but since there are manyt subdirectories I thought I would make my life easier. Many thanks in advance! Sorry, that *should* have been: # find /usr/local/www/data/wp -type d -exec chmod 755 {} \; # find /usr/local/www/data/wp -type f -exec chmod 644 {} \; # find /usr/local/www/data/wp -type f -exec chmod 644 '{}' \; # find /usr/local/www/data/wp -type d -exec chmod 755 '{}' \; Thank you all who have responded - until I memorise it :), I saved it in my favorite commands list. Thanks again! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chmod / files and directories
On 10-Sep-07, at 9:40 PM, Daniel Bye wrote: On Mon, Sep 10, 2007 at 05:06:07PM +0100, Daniel Bye wrote: On Mon, Sep 10, 2007 at 05:56:12PM +0200, Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and directories under wp/ are given permissions 755 which is not what I want. I can do it manually but since there are manyt subdirectories I thought I would make my life easier. Many thanks in advance! Sorry, that *should* have been: # find /usr/local/www/data/wp -type d -exec chmod 755 {} \; # find /usr/local/www/data/wp -type f -exec chmod 644 {} \; # find /usr/local/www/data/wp -type f -exec chmod 644 '{}' \; # find /usr/local/www/data/wp -type d -exec chmod 755 '{}' \; To be on safer side. :) regards, shantanoo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chmod / files and directories
Daniel Bye wrote: On Mon, Sep 10, 2007 at 10:01:35PM +0530, Shantanoo Mahajan wrote: # find /usr/local/www/data/wp -type f -exec chmod 644 '{}' \; # find /usr/local/www/data/wp -type d -exec chmod 755 '{}' \; To be on safer side. :) Oh? Safer how? I've never come across that idiom before. If imange the file or directory name has spaces, (){}-, etc.. in it or even \. Cheers, Dan -- Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Senior System Admin - Riderway, Inc. http://riderway.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chmod / files and directories
On Mon, Sep 10, 2007 at 01:38:13PM -0400, Philip M. Gollucci wrote: Daniel Bye wrote: On Mon, Sep 10, 2007 at 10:01:35PM +0530, Shantanoo Mahajan wrote: # find /usr/local/www/data/wp -type f -exec chmod 644 '{}' \; # find /usr/local/www/data/wp -type d -exec chmod 755 '{}' \; To be on safer side. :) Oh? Safer how? I've never come across that idiom before. If imange the file or directory name has spaces, (){}-, etc.. in it or even \. Ah, I see. Yes, makes sense. Cheers. Dan -- Daniel Bye PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A pgpBJbsIHm3Il.pgp Description: PGP signature
Re: chmod / files and directories
On Monday 10 September 2007 16:31:35 Shantanoo Mahajan wrote: On 10-Sep-07, at 9:40 PM, Daniel Bye wrote: On Mon, Sep 10, 2007 at 05:06:07PM +0100, Daniel Bye wrote: On Mon, Sep 10, 2007 at 05:56:12PM +0200, Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and directories under wp/ are given permissions 755 which is not what I want. I can do it manually but since there are manyt subdirectories I thought I would make my life easier. Many thanks in advance! Sorry, that *should* have been: # find /usr/local/www/data/wp -type d -exec chmod 755 {} \; # find /usr/local/www/data/wp -type f -exec chmod 644 {} \; # find /usr/local/www/data/wp -type f -exec chmod 644 '{}' \; # find /usr/local/www/data/wp -type d -exec chmod 755 '{}' \; Why the single quotes around the {} ? I don't think I have seen that before and I want to understand it before I save it in my notes. I have often wanted to perform the same task but I did not know if there was a way. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Best SCSI or SAS RAID for a NAS?
We're looking for opinions on what the best RAID controller would be for maximizing throughput on a drive array serving as a NAS using NFS. It needs to be either SCSI based or SAS based. Right now, we're using an LSI MegaRAID with 512MB RAM, which was the best at the time, but we're experiencing throughput issues and are looking for what might be better. Thanks! Mike Sweetser -- Mike Sweetser | Systems Administrator Adhost Internet 140 Fourth Avenue North, Suite 360, Seattle, Washington 98109 USA P 206.404.9023T 888.234.6781 (ADHOST-1)F 206.404.9050 E [EMAIL PROTECTED]W adhost.com Our brand new Adhost West data center is open - contact us for a tour at 1-888-234-6781 (ADHOST-1) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Samba, windows PDC and BDC
Greetings, I currently have a NT4 Server running as the Primary Domain Controller (PDC) on my windows based network. The hardware that this is running on is quite old and starting to come apart. To address this, I have decided not to do AD yet, and defintely not do NT4. I have installed 6.2-release on a newer server, and would like to install Samba on the machine. Set it up as Backup Domain Controller and then change its roll to Primary Domain Controller. This is so I can get the existing security, accounts, etc from the existing domain to the new machine. Anybody have a good tutorial or link ? Google yielded lots of neat stuff, but nothing that hit home on this situation. thanks for any help, Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: imap-uw / cclient SSL cert question
Worked like a charm! Thanks! (the self-signed thing is OK.. but there was no way I was going to show it to the VP with the 'Domain Name Mismatch' error.) From: Tommy Scheunemann [EMAIL PROTECTED] To: brad davison [EMAIL PROTECTED] Subject: Re: imap-uw / cclient SSL cert question Date: Mon, 10 Sep 2007 21:20:42 +0200 You can copy: /usr/ports/mail/imap-uw/files/imapd-uw.cnf to a temporary directory like /tmp and edit the .cnf file to match your needs. Your problem is the host line: 1.commonName_value = localhost change the localhost string to match your host. Then run: openssl req -new -x509 -days 365 -nodes -config /tmp/imap-uw.cnf -out /usr/local/certs/imapd.pem -keyout /usr/local/certs/imapd.pem Replace /tmp with the temporary directory you used. Then: openssl x509 -subject -dates -fingerprint -noout -in /usr/local/certs/imapd.pem chmod 700 /usr/local/certs/imapd.pem ln -s /usr/local/certs/imapd.pem /usr/local/certs/ipop3d.pem Please note that client will still complain about a self-signed certificate. Good luck On Mon, 10 Sep 2007 brad davison [EMAIL PROTECTED] babbled: I had installed imap-uw port # cd /usr/ports/mail/imap-uw # make -DWITH_SSL_AND_PLAINTEXT install then i create a certificate with # make cert Generating a 1024 bit RSA private key ++ ++ writing new private key to '/usr/local/certs/imapd.pem' - You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. - Country Name (2 letter code) [NO]:us State or Province Name (full name) [Some-State]: Locality Name (eg, city) []: Organization Name (eg, company) [FooBar Inc.]: Organizational Unit Name (eg, section) []: Common Name (FQDN of your server) []:[FQDN of our server] Common Name (default) []:localhost subject= /C=us/ST=/L=/O=/OU=/CN=[FQDN]/CN=localhost notBefore=Sep 10 16:15:54 2007 GMT notAfter=Sep 9 16:15:54 2008 GMT The field Common Name (default) which is localhost is automatically put in there. When you connect to the mail server with SSL turned on, you examine the cert, and the CN is coming up as Localhost, not the name of our server. Is there a way to generate one that wont cause the Domain Name Mismatch error? I am very new to SSL, so any help or direction on this issue would be most appreciated. Thanks! Brad _ Get a FREE small business Web site and more from Microsoft® Office Live! http://clk.atdmt.com/MRT/go/aub0930003811mrt/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Life is like a Gladiators fight. First you drink together, then you fight each other. -- Lucius Annaeus Seneca (On Anger) - 41 AD _ Test your celebrity IQ. Play Red Carpet Reveal and earn great prizes! http://club.live.com/red_carpet_reveal.aspx?icid=redcarpet_hotmailtextlink2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba, windows PDC and BDC
Does this not address your question?: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NT4Migration.html On 9/10/07, Darryl Hoar [EMAIL PROTECTED] wrote: Greetings, I currently have a NT4 Server running as the Primary Domain Controller (PDC) on my windows based network. The hardware that this is running on is quite old and starting to come apart. To address this, I have decided not to do AD yet, and defintely not do NT4. I have installed 6.2-release on a newer server, and would like to install Samba on the machine. Set it up as Backup Domain Controller and then change its roll to Primary Domain Controller. This is so I can get the existing security, accounts, etc from the existing domain to the new machine. Anybody have a good tutorial or link ? Google yielded lots of neat stuff, but nothing that hit home on this situation. thanks for any help, Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chmod / files and directories
At 1:38 PM -0400 9/10/07, Philip M. Gollucci wrote: Daniel Bye wrote: On Mon, Sep 10, 2007 at 10:01:35PM +0530, Shantanoo Mahajan wrote: # find /usr/local/www/data/wp -type f -exec chmod 644 '{}' \; # find /usr/local/www/data/wp -type d -exec chmod 755 '{}' \; To be on safer side. :) Oh? Safer how? I've never come across that idiom before. If imange the file or directory name has spaces, (){}-, etc.. in it or even \. This is not necessary with -exec in the 'find' command, and the single-quotes wouldn't have any effect. The {} is a parameter which is seen by the find command itself. If you add single-quotes around the {}, those quotes are stripped off by the *shell* before handing the parameter off to the 'find' command. Dangerous characters are more of an issue if you do not use the '-exec' option, and instead you have 'find' print out the filenames and then use those filenames with some other command. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best SCSI or SAS RAID for a NAS?
Mike Sweetser - Adhost wrote: We're looking for opinions on what the best RAID controller would be for maximizing throughput on a drive array serving as a NAS using NFS. It needs to be either SCSI based or SAS based. Right now, we're using an LSI MegaRAID with 512MB RAM, which was the best at the time, but we're experiencing throughput issues and are looking for what might be better. Thanks! Mike Sweetser -- Mike Sweetser | Systems Administrator Adhost Internet 140 Fourth Avenue North, Suite 360, Seattle, Washington 98109 USA P 206.404.9023T 888.234.6781 (ADHOST-1)F 206.404.9050 E [EMAIL PROTECTED]W adhost.com Our brand new Adhost West data center is open - contact us for a tour at 1-888-234-6781 (ADHOST-1) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Its not just the controller you should be checking. The drives RPM speed, how many drives in the array, are you using RAID 0+1 or just RAID 5 for the array. Could you give more details on these issues? -- Sean Murphy Senior Network Technician, California Institute of the Arts +1 (661) 253-7732 voice ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chmod / files and directories
On Mon, 10 Sep 2007 15:59:31 -0400 Garance A Drosihn [EMAIL PROTECTED] wrote: At 1:38 PM -0400 9/10/07, Philip M. Gollucci wrote: Daniel Bye wrote: On Mon, Sep 10, 2007 at 10:01:35PM +0530, Shantanoo Mahajan wrote: # find /usr/local/www/data/wp -type f -exec chmod 644 '{}' \; # find /usr/local/www/data/wp -type d -exec chmod 755 '{}' \; To be on safer side. :) Oh? Safer how? I've never come across that idiom before. If imange the file or directory name has spaces, (){}-, etc.. in it or even \. This is not necessary with -exec in the 'find' command, and the single-quotes wouldn't have any effect. The {} is a parameter which is seen by the find command itself. If you add single-quotes around the {}, those quotes are stripped off by the *shell* before handing the parameter off to the 'find' command. And special characters in the filenames aren't a problem since find passes the arguments directly to chmod as an array of null-terminated strings, so they don't get interpreted by the shell. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sadly, my tinker-time has run out....
On Mon, 3 Sep 2007, Pollywog wrote: On Sunday 02 September 2007 23:37:49 Andrew Gould wrote: Don't feel guilty. Keep a FreeBSD server running at home while you travel! You can backup your data securely and use it remotely via tightvnc. Andrew There must be some trick to accessing a FreeBSD server via VNC. I have done it on Linux but I could not get it to work in FreeBSD. I am using tightvnc-1.2.9_1 on FreeBSD and the windows versions of tightvnc on win2k and windows XP Pro. On FreeBSD I only have used vncviewer running the server on the winders boxes. I am using FreeBSD 6.2. The only issue I had was the screen quality with XP Pro which went away with the latest version of the tightvnc windows software. On Mac OS/X I am running Vine VNC from Redstone Software. The thing that I have not tried is going from windows/mac to FreeBSD, using ssh for that. Is that the issue for you? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba, windows PDC and BDC
Darryl Hoar ha scritto: I have installed 6.2-release on a newer server, and would like to install Samba on the machine. Set it up as Backup Domain Controller and then change its roll to Primary Domain Controller. This is so I can get the existing security, accounts, etc from the existing domain to the new machine. AFAIK samba cannot do BDC to a Windows PDC, so you'll have to find another way. bye av. P.S. You might get better results if you asking on the samba mailing list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh forwarding question
On Mon, 3 Sep 2007, Beech Rintoul wrote: On Monday 03 September 2007, Pollywog said: On Tuesday 04 September 2007 00:13:13 Pollywog wrote: On Monday 03 September 2007 23:08:45 Predrag Punosevac wrote: Pollywog wrote: bind: Can't assign requested address channel_setup_fwd_listener: cannot listen to port: 15901 Could not request local forwarding. It seems to me that you have a problem with a firewall. Look at your own message. It looks like port 15901 is closed for listening. Here is another clue. Something seems to be wrong with the loopback: lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 ripple# ping localhost Yes that was the problem. I did this: ifconfig lo0 127.0.0.1 netmask 255.0.0.0 Make sure you have this line in /etc/rc.conf: ifconfig_lo0=inet 127.0.0.1 This is new with 7.0? I have the above in none of many rc.conf's 4.11 -- 6.2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh forwarding question
doug wrote: This is new with 7.0? I have the above in none of many rc.conf's 4.11 -- 6.2. grep ifconfig /etc/rc.conf ifconfig_em0=DHCP grep lo0 /etc/defaults/rc.conf ifconfig_lo0=inet 127.0.0.1 # default loopback device configuration. uname -a FreeBSD philip.hq.rws 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Jul 26 16:44:37 EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 -- Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Disk errors when copying
ad10: WARNING - READ_DMA48 UDMA ICRC error (retrying request) LBA=435128800 ad10: FAILURE - READ_DMA48 status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=435128800 g_vfs_done():ad10s2g[READ(offset=175562145792, length=131072)]error = 5 One of the rules of thumb when you have hardware problems with a new system (I'm assuming of course that these UDMA errors have been happening since the system was built) In my case it happened once and did not recur. But looking at the SMART log on the disk it appears that it might have happened before without my noticing. I was copying the disk before moving it to a different machine, so I probably won't be able to test it further. I'm sending a PR. -- Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Disk errors when copying
geometry is meaningless in LBA mode. The drive and BIOS mfgr agree on a convenient fiction to reduce support calls. Don't forget that running under FreeDOS your running in real mode not protected mode. In real mode the segmented BIOS functions are actually used and it could be they are even used for addressing the disk, and the disk controller chipset emulates a MFM controller. (esentially) In the protected mode UNIX runs in, most of that BIOS code is useless, the disk driver talks directly to the disk controller chipset. There is probably some undocumented misbehavior that Microsoft got told about and so put it in their disk driver code, but that the FreeBSD developers didn't get told about. Ted -Original Message- From: Lars Eighner [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 2:30 AM To: Ted Mittelstaedt Cc: freebsd-questions@freebsd.org Subject: RE: Disk errors when copying On Sun, 9 Sep 2007, Ted Mittelstaedt wrote: From: Lars Eighner [mailto:[EMAIL PROTECTED] I wish I'd known that before I trashed my disc and spent a couple of weeks and hundreds of bucks building a new system. One of the rules of thumb when you have hardware problems with a new system (I'm assuming of course that these UDMA errors have been happening since the system was built) is to search both the FreeBSD questions mailing list archives, and the PR database - both closed and open PRs. Particularly closed PRs are a wealth of information because so many of them are closed for lack of followup. I got the (disc) manufacture's utilities (which run on a bootable FreeDOS CD) and ran every test over and over. It kept telling me the disc was fine. I should have believed. I always feel a little weird about discs because although the manufacture and the BIOS agree on the geometry, FreeBSD always (over three or four boxes with a half-dozen different discs) tells me the geometry is wrong. It seems so confident about it, I generally let it do what it wants. But what does FreeBSD know about the disc that the manufacture and the BIOS don't? -- 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 [EMAIL PROTECTED]
Re: Sadly, my tinker-time has run out....
On Monday 10 September 2007 22:21:58 doug wrote: On Mon, 3 Sep 2007, Pollywog wrote: I am using tightvnc-1.2.9_1 on FreeBSD and the windows versions of tightvnc on win2k and windows XP Pro. On FreeBSD I only have used vncviewer running the server on the winders boxes. I am using FreeBSD 6.2. The only issue I had was the screen quality with XP Pro which went away with the latest version of the tightvnc windows software. On Mac OS/X I am running Vine VNC from Redstone Software. The thing that I have not tried is going from windows/mac to FreeBSD, using ssh for that. Is that the issue for you? The issue for me was connecting from FreeBSD to FreeBSD, but it is working now. The problem was that on the FreeBSD laptop from which I was connecting, the lo0 interface was not actually up. If I set the IP address 127.0.0.1 to lo0 and then tried to connect via SSH, it worked. I fixed the problem with a small edit of /etc/rc.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh forwarding question
On Monday 10 September 2007 22:39:53 doug wrote: On Mon, 3 Sep 2007, Beech Rintoul wrote: On Monday 03 September 2007, Pollywog said: On Tuesday 04 September 2007 00:13:13 Pollywog wrote: On Monday 03 September 2007 23:08:45 Predrag Punosevac wrote: Pollywog wrote: bind: Can't assign requested address channel_setup_fwd_listener: cannot listen to port: 15901 Could not request local forwarding. It seems to me that you have a problem with a firewall. Look at your own message. It looks like port 15901 is closed for listening. Here is another clue. Something seems to be wrong with the loopback: lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 ripple# ping localhost Yes that was the problem. I did this: ifconfig lo0 127.0.0.1 netmask 255.0.0.0 Make sure you have this line in /etc/rc.conf: ifconfig_lo0=inet 127.0.0.1 This is new with 7.0? I have the above in none of many rc.conf's 4.11 -- Yes, this is a laptop running FreeBSD 7 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sadly, my tinker-time has run out....
On Monday 10 September 2007 23:42:43 Pollywog wrote: On Monday 10 September 2007 22:21:58 doug wrote: On Mon, 3 Sep 2007, Pollywog wrote: I am using tightvnc-1.2.9_1 on FreeBSD and the windows versions of tightvnc on win2k and windows XP Pro. On FreeBSD I only have used vncviewer running the server on the winders boxes. I am using FreeBSD 6.2. The only issue I had was the screen quality with XP Pro which went away with the latest version of the tightvnc windows software. On Mac OS/X I am running Vine VNC from Redstone Software. The thing that I have not tried is going from windows/mac to FreeBSD, using ssh for that. Is that the issue for you? The issue for me was connecting from FreeBSD to FreeBSD, but it is working now. The problem was that on the FreeBSD laptop from which I was connecting, the lo0 interface was not actually up. If I set the IP address 127.0.0.1 to lo0 and then tried to connect via SSH, it worked. I fixed the problem with a small edit of /etc/rc.conf My 6.2 system never had this problem, only the laptop running FreeBSD 7 had the problem. It is possible I messed something up during the initial install or when I updated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't `make index` on 4.11-STABLE
I have a problem trying to `make index` on a machine running 4.11-STABLE after cvsup-ing the ports tree. Make sure you have cvsup'd your ports tree with the RELEASE_4_EOL tag Then as you are not planning on installing anything multimedia rm /usr/ports/multimedia/gstreamer-plugins/Makefile.common touch /usr/ports/multimedia/gstreamer-plugins/Makefile.common should allow you to make index. (worked for me anyways). -- Kenny Dail [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: subversion 1.4.4_1: svnserve.in missing
Giorgos Keramidas wrote: On 2007-09-10 07:20, Kyle Allender [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: [...] === Installing for subversion-1.4.4_1 ** Missing /usr/ports/devel/subversion/files/svnserve.in for subversion-1.4.4_1. *** Error code 1 The path to `svnserve.in' points to the `files/' subdirectory of the `devel/subversion' port. You seem to be missing parts of the Ports tree: [EMAIL PROTECTED]:/usr/ports/devel/subversion# ls -l files/svnserve.in -rwxr-xr-x 1 root wheel - 824 Jul 18 11:03 files/svnserve.in [EMAIL PROTECTED]:/usr/ports/devel/subversion# Try to CVSup your /usr/ports tree once more, and see if you will then get the missing file. I had used portsnap to retrieve the changes earlier and you were correct - for some reason it had not retrieved the files subdirectory. subversion now builds and has been installed with the latest port version: 1.4.4_1. Cool :) However, when trying to use subversion to checkout a known good repository, I receive this error now: sia# svn co http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk CalendarServer /libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined symbol initialize_asn1_error_table_r I think you have to rebuild subversion and all its dependencies to resolve this. You ran a build which includes Kerberos support, some of the subversion dependencies compiled correctly and reference symbols from /usr/lib/libkrb5.so and now subversion was compiled with different options. I have followed the advice here: http://www.bsdforums.org/forums/showthread.php?t=39998 This is fairly incomplete and somewhat misleading advice. What you should try is to rebuild subversion and all its dependencies with the -R and -f option of portupgrade: portupgrade -vu -N -R -f subversion The critical options here are -R and -f, which will *force* a rebuild of subversion and _all_ the ports on which subversion depends, using the same options. This should result in a working subversion binary. - Giorgos I let the build complete during the day while away at work and found this when I arrived home: [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 479 packages found (-0 +1) . done] --- Reinstallation of devel/subversion ended at: Mon, 10 Sep 2007 08:53:04 -0500 (consumed 00:12:50) --- ** Upgrade tasks 9: 9 done, 0 ignored, 0 skipped and 0 failed --- Listing the results (+:done / -:ignored / *:skipped / !:failed) + lang/perl5.8 (perl-5.8.8) + textproc/expat2 (expat-2.0.0_1) + converters/libiconv (libiconv-1.9.2_2) + devel/gettext (gettext-0.16.1_3) + www/neon (neon-0.26.4) + databases/gdbm (gdbm-1.8.3_3) + databases/db42 (db42-4.2.52_5) + devel/apr-svn (apr-gdbm-db42-1.2.8_1) + devel/subversion (subversion-1.4.4_1) --- Packages processed: 9 done, 0 ignored, 0 skipped and 0 failed --- Session ended at: Mon, 10 Sep 2007 08:53:20 -0500 (consumed 01:11:48) sia# pwd /home/kylea/calendarserver sia# svn co http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk CalendarServer /libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined symbol initialize_asn1_error_table_r sia# ps -aux | grep sv root 29279 0.0 0.3 1588 872 p0 S+8:29PM 0:00.00 grep sv sia# ps -aux | grep subv root 29281 0.0 0.1 372 220 p0 R+8:29PM 0:00.00 grep subv So the (re)build itself was successful, but subversion still won't run. I'm still stuck it looks like - it's the same error as before the rebuild so I'm not sure I've gained anything here except a clean build of kerberos, perl and some other ports. Am I missing something obvious here? K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sadly, my tinker-time has run out....
doug wrote: On Mon, 3 Sep 2007, Pollywog wrote: On Sunday 02 September 2007 23:37:49 Andrew Gould wrote: Don't feel guilty. Keep a FreeBSD server running at home while you travel! You can backup your data securely and use it remotely via tightvnc. Andrew There must be some trick to accessing a FreeBSD server via VNC. I have done it on Linux but I could not get it to work in FreeBSD. I am using tightvnc-1.2.9_1 on FreeBSD and the windows versions of tightvnc on win2k and windows XP Pro. On FreeBSD I only have used vncviewer running the server on the winders boxes. I am using FreeBSD 6.2. The only issue I had was the screen quality with XP Pro which went away with the latest version of the tightvnc windows software. On Mac OS/X I am running Vine VNC from Redstone Software. The thing that I have not tried is going from windows/mac to FreeBSD, using ssh for that. Is that the issue for you? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You just need to do sshd_enable=YES in your rc.conf file Speaking of which SSVNC is the newest version of TightVNC and is in ports ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: natd / ipfw services on internal interface
Joe wrote: I have a question about natd/ and ipfw. I am running natd on my external interface and I have some services on my internal interface. The services seem to be getting their ip addresses nat'd and some of them work and some of them dont. Any idea how to prevent things from going into natd? You should specify more information about your setup, but generally you should be able to just insert a rule like ipfw add xxx allow ip from mynet/mask to mynet/mask, where xxx is the rule-number BEFORE your natd redirection rule-number and mynet/mask describes your internal network. signature.asc Description: OpenPGP digital signature
Re: nvidia-driver rebooting machine on X startup
Same driver different hw, same os version... blackguy# cat /etc/sysctl.conf security.bsd.see_other_uids=0 net.link.ether.inet.log_arp_wrong_iface=0 net.inet6.ip6.v6only=0 kern.ipc.shmall=32768 kern.ipc.shmmax=67108864 vfs.usermount=1 FreeBSD blackguy.unixtechs.org 6.2-STABLE FreeBSD 6.2-STABLE #22: Mon Aug 13 23:00:44 EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BLACKGUY i386 blackguy# dmesg ~ Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #22: Mon Aug 13 23:00:44 EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BLACKGUY Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP 3000+ (2162.74-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x6a0 Stepping = 0 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc0400800SYSCALL,MMX+,3DNow+,3DNow real memory = 3221159936 (3071 MB) avail memory = 3142520832 (2996 MB) ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: Nvidia AWRDACPI on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0 cpu0: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 Correcting nForce2 C1 CPU disconnect hangs agp0: NVIDIA nForce2 AGP Controller mem 0xe000-0xe3ff at device 0.0 on pci0 pci0: memory, RAM at device 0.1 (no driver attached) pci0: memory, RAM at device 0.2 (no driver attached) pci0: memory, RAM at device 0.3 (no driver attached) pci0: memory, RAM at device 0.4 (no driver attached) pci0: memory, RAM at device 0.5 (no driver attached) isab0: PCI-ISA bridge at device 1.0 on pci0 isa0: ISA bus on isab0 pci0: serial bus, SMBus at device 1.1 (no driver attached) ohci0: OHCI (generic) USB controller mem 0xe8001000-0xe8001fff irq 11 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: OHCI (generic) USB controller mem 0xe8002000-0xe8002fff irq 4 at device 2.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: OHCI (generic) USB controller on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ehci0: NVIDIA nForce2 USB 2.0 controller mem 0xe8003000-0xe80030ff irq 3 at device 2.2 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: NVIDIA nForce2 USB 2.0 controller on ehci0 usb2: USB revision 2.0 uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 6 ports with 6 removable, self powered nve0: NVIDIA nForce MCP2 Networking Adapter port 0xe000-0xe007 mem 0xe800-0xe8000fff irq 10 at device 4.0 on pci0 nve0: Ethernet address 00:11:2f:b5:c2:41 miibus0: MII bus on nve0 rlphy0: RTL8201L 10/100 media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto nve0: Ethernet address: 00:11:2f:b5:c2:41 pcib1: ACPI PCI-PCI bridge at device 8.0 on pci0 pci1: ACPI PCI bus on pcib1 rl0: RealTek 8139 10/100BaseTX port 0xd000-0xd0ff mem 0xe701-0xe70100ff irq 11 at device 7.0 on pci1 miibus1: MII bus on rl0 rlphy1: RealTek internal media interface on miibus1 rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:50:ba:44:04:89 ath0: Atheros 5212 mem 0xe700-0xe700 irq 5 at device 8.0 on pci1 ath0: Ethernet address: 00:12:17:6c:5f:0d ath0: mac 5.9 phy 4.3 radio 3.6 pcm0: Creative CT5880-C port 0xd400-0xd43f irq 7 at device 9.0 on pci1 pcm0: TriTech TR28602 AC97 Codec pcm0: Playback: DAC2 / Record: ADC atapci0: nVidia nForce2 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 9.0 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0 pci2: ACPI PCI bus on pcib2 nvidia0: Unknown mem 0xe400-0xe4ff,0xd000-0xdfff,0xe500-0xe5ff irq 11 at device 0.0 on pci2 nvidia0: [GIANT-LOCKED] fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 pmtimer0 on isa0 orm0: ISA Option ROMs at iomem 0xd-0xd3fff,0xd4000-0xd57ff on isa0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles,
Re: Net-snmp dying with an ld-elf error at start on brand new FreeBSD install
Philip B wrote: Starting snmpd. /libexec/ld-elf.so.1: /usr/local/sbin/snmpd: Undefined symbol PL_markstack_ptr I've Googled on PL_markstack_ptr snmpd and got back only 5 hits, none which seem to explain this problem at runtime. I don't know even where to begin to dig. It's usually symptomatic of having stale or otherwise incompatible libraries dynamically linked to new programs. One example can be trying to run binaries built on 7.x on a 6.x system. I'd recommend rebuilding your application (snmpd) *and* all dependencies it has, e.g. portupgrade -R snmpd. signature.asc Description: OpenPGP digital signature
Re: GEOM ELI: MD5 hash mismatch for /dev/mirror/gm0s1f
Thomas Hobbes wrote: Hi, what is this kind of error's meaning? Usually it means your data is corrupted. Some possible reasons are: - bad sectors or media deficiencies - power failures or fluctuations that affected the drive and/or the controller - bad cables - bugs, either in hardware (motherboard, controller) or software (geli). It's impossible to tell which one of these is more likely without more information (e.g. did you receive any other messages, such as CRC errors on the drive?) signature.asc Description: OpenPGP digital signature
Re: LVS (IPVS) on 6.2?
Ovi wrote: Hello I've tried to compile ipvs port on 6.2 but it seems it works only on 5.3 and 5.4. Anybody have an ideea if is a similar project to IPVS (LVS's Linux) on 6.2? I don't know about LVS/IPVS but its function seems similar to what CARP does: http://www.freebsd.org/cgi/man.cgi?query=carp signature.asc Description: OpenPGP digital signature
Re: Texvc
On Mon, Sep 10, 2007, John Andrewartha wrote: Hi and thanks for your time, I would like to install on FreeBSD 6.2 Stable texvc which, is needed to use the mathematical features of mediawiki. My current installed version of TeX is TeX (Web2C 7.2) 3.14159 kpathsea version 3.2 straight out of the ports tree. Unfortunately it does not include texvc and texvc is not a port. texvc is part of mediawiki, you can install it from ports, www/mediawiki(you will need ocaml to compile texvc). Or another choice, mimetex, www/mimetex(standalone cgi need not TeX system). Edward ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
build and install a kernel to another mounted system
Hi guys, I hope I'm posting in the right place. My situation is that I've got a laptop thats booted with a live-cd FreeSBIE. My laptops HD (/dev/ad0s1a) is mounted on /tmp/fixed and I'm trying to build and install a kernel to that mounted filesystem, with home, tmp, var and usr mounted on /tmp/fixed/home etc. I've got the kernel sources extracted to /tmp/fixed/usr/src/ by the following: # cd /path-to/6.2-RELEASE/src # cat ssys.[a-d]* | tar -zxvf - -C /tmp/fixed/usr/src # cat sbase.[a-d]* | tar -zxvf - -C /tmp/fixed/usr/src/ My custom kernel is in /tmp/fixed/root/kernels/CUSTOM, with a symlink from /tmp/fixed/usr/src/sys/i386/conf/CUSTOM pointing to it. But I'm getting errors when from /tmp/fixed/usr/src I run # make buildkernel KERNCONF=CUSTOM I've tried to run that under a chroot too: # chroot /tmp/fixed # setenv MAKEOBJDIRPREFIX /usr/obj2 # setenv DESTDIR / # make buildkernel KERNCONF=CUSTOM But I'm still getting errors, mainly with ACPI. Is it possible to do what I'm looking at? ie build a custom kernel using sources from a mounted filesystem, and install it to that mounted filesystem? Thanks plenty. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]