Re: MythTV port compilation error
Greg 'groggy' Lehey wrote: [Format recovered--see http://www.lemis.com/email/email-format.html] Computer output unfolded. On Thursday, 31 May 2007 at 19:32:49 +0200, Hans Nieser wrote: I've been trying occasionally the past few weeks to compile MythTV, but it keeps failing. I have an updated ports tree. Does anyone know if this is a known problem, or how to fix it? This is probably better addressed to FreeBSD-questions. I'm copying that list and copying multimedia@ (the original mailing list) as Bcc. g++ -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -pthread -o mythcommflag main.o mmDetector2.o pgm.o EdgeDetector.o CannyEdgeDetector.o PGMConverter.o BorderDetector. omEventRelayer.o moc_CommDetectorBase.o moc_LogoDetectorBase.o moc_SceneChangeDetectorBlibavcodec -L../../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmythui -L hupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20 -lmythui-0.20 -lfreetype -lmp3lame -L/usr/loca main.o(.text+0x1f9c): In function `FlagCommercials(QString, QString)': /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053/programs/mythcommflag/main.cpp:4 *** Error code 1 OK, I've tried to reconstitute the output you quoted, but it looks as if you have truncated the lines. In particular, the important part of the last line seems to be missing. At first sight, this did look like a problem I've seen, but it's difficult to say. What do you have in /var/db/ports/mythtv/options? What revision of the port are you compiling (i.e. what is PORTREVISION in the Makefile)? What version of FreeBSD are you running? Yeah I was puzzled by what seems to be a truncated error message as well but this really seems to be all I was getting. The contents of the options file are: # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for mythtv-0.20 _OPTIONS_READ=mythtv-0.20 WITHOUT_LIRC=true WITHOUT_MYSQL_LOCAL=true The portrevision is 2 (PORTVERSION=0.20 and PORTREVISION= 2 in the Makefile). I'm running 6.1-RELEASE-p6 I'll try to recompile it again and make sure I did in fact copy paste the error correctly (I did resize my terminal window so maybe it somehow screwed up and truncated the lines or something) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Accessibility hardware for the blind
I'm teaching the Open Source Unix certification track at NJIT (using FreeBSD 6.2) to a group of physically challenged students. Some of my current students have extremely low vision and I have several candidates for the next rotation of the classes that have similar low-vision problems or are completely sightless. I need to know if an audio solution exists (in hardware or software) that will speak monitor output. I need something that will work independently of X windows. I've tried using gnopernicus in both KDE and Gnome and I've never gotten its audio component to work. I can turn on KDE's talking tools, but it only speaks commands and entered text in specific applications (like Koffice). I need a screen reader that will speak the entire screen (and terminal windows). I haven't found a software solution that addresses all the needs of a spoken command line environment so I'm looking for a hardware solution (appliance or device) that will speak the screen, but I haven't found one, yet. One of my students was an employee of ATT in their Unix division in NJ and is considering a job-offer from a consultant who will need him to administer servers using WebMin and a command line environment, but screen readers such as JAWS that work under Windows, do a poor job of interpreting WebMin and will not read the I/O from a terminal window created by Putty. So, in addtion to needing something that will speak console I/O, I need something that will properly interpret a Webmin environment. One portion of the course does teach using Lynx as a browser and Webmin (if one uses the simplest theme) will work in that environment. Any ideas, experiences, or recommendations that you have to share would be very much appreciated. Tim Kellers CPE/NJIT ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: The worst error message in history belongs to... BIND9!
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Huff Sent: Thursday, May 31, 2007 5:39 AM To: [EMAIL PROTECTED] Subject: The worst error message in history belongs to... BIND9! =?iso-8859-1?Q?Kyrre_Nyg=E5rd?= writes: It has to be the worst written error message in history. Not even close. I commend to you the Amiga's BSOD: IBM PS/2 POST messages were definitely the worst. Any error would simply issue a numeric code - no text whatsoever. You were to look the numeric code up in some manual or other. That was fine if the code came from a system on the motherboard. It was not fine if the code came from a non-IBM peripheral card since there was no master listing of 3rd party codes back in the old days. Here's a sample list: http://bioscentral.com/misc/ibmdiag.htm Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot enable VESA_800x600 raster text mode
On Thu, 2007-05-31 at 20:09 +0200, Harald Schmalzbauer wrote: Am Donnerstag, 31. Mai 2007 schrieb Zhang Weiwu: Dear list I have been using raster text mode for years and I really like it. All I need to do is to put these options in kernel options VESA options SC_PIXEL_MODE For one box I have 'Rage 3D LT Pro AGP 133MHz (BGA-312 Package)' display, This is an old problem because the VESA_800x600 Mode uses 4 bit color depth which ATI doesn't support. But maybe you can use vidcontrol MODE_261 vidcontrol: cannot active raster display: Operation not supported by device Besides the ATI problem I can't use the SC_PIXEL_MODE any more in -current. I think some time ago it has be broken when the higher resolution support has been added. Okay, I think I'll live with VGA_90x30. I prefer 100x37 though. If XGA is supported, I prefer 128x48. Hope someone can fix raster mode at 800x600x8 and also add support for raster mode 128x48 at XGA resolution. FreeBSD should be able to provide console driver that works at XGA resolution because there are so few SVGA display anywhere around (at least, few SVGA display still in use in China) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nvidia on am64
I am trying to get nvidia drivers for my am64 6.2 installation. The /usr/ports stuff indicates that there should be an nvidia-drivers port / package, but the system just fails when I try to install that. I found a source package on the nvidia website for FreeBSD drivers, but they don't want to compile on my box. I was really hoping that there would be binary drivers I could just pkg_add. Am I out to lunch? It should be that easy ... Could someone point me to a binary nvidia driver distribution for FreeBSD 6.2 am64? Thanks. -- Takis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Accessibility hardware for the blind
On Fri, 1 Jun 2007 17:04:31 +1000 Norberto Meijome [EMAIL PROTECTED] wrote: On Fri, 01 Jun 2007 01:21:58 -0400 Tim Kellers [EMAIL PROTECTED] wrote: [...] I haven't found a software solution that addresses all the needs of a spoken command line environment so I'm looking for a hardware solution (appliance or device) that will speak the screen, but I haven't found one, yet. [...] Hi Tim, I'm always surprised by the seemingly void for this kind of support in OSS. It's not an easy thing to do, and possibly there is a lack of standards (what with all the different X toolkits,etc...)... This is important project (and fully terminal-oriented): http://www.knopper.net/knoppix-adriane/index-en.html Nikola Lečić ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Accessibility hardware for the blind
On Fri, 01 Jun 2007 01:21:58 -0400 Tim Kellers [EMAIL PROTECTED] wrote: I need to know if an audio solution exists (in hardware or software) that will speak monitor output. I need something that will work independently of X windows. I've tried using gnopernicus in both KDE and Gnome and I've never gotten its audio component to work. I can turn on KDE's talking tools, but it only speaks commands and entered text in specific applications (like Koffice). I need a screen reader that will speak the entire screen (and terminal windows). I haven't found a software solution that addresses all the needs of a spoken command line environment so I'm looking for a hardware solution (appliance or device) that will speak the screen, but I haven't found one, yet. [...] Hi Tim, I'm always surprised by the seemingly void for this kind of support in OSS. It's not an easy thing to do, and possibly there is a lack of standards (what with all the different X toolkits,etc...)... There seems to be a FFox extension to read the pages, Fire Fox, http://www.firevox.clcworld.net/ , which may good enough for webmin. You may want to check http://en.wikipedia.org/wiki/Screen_reader and, possibly more to the point, http://en.wikipedia.org/wiki/List_of_screen_readers Let us know what you come up with :) Regards, _ {Beto|Norberto|Numard} Meijome We must openly accept all ideologies and systems as means of solving humanity's problems. One country, one nation, one ideology, one system is not sufficient. Dalai Lama. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Java on the BSD Desktop?
On 30/05/07, n j [EMAIL PROTECTED] wrote: I guess if everyone here on this list gives his/her two cents to this topic we're having a nice java advocacy flame war. ;-) The main characteristic of a flame war is to disparage other people's arguments while maintaining that your arguments are the best, no? That's why I'm not going to try and talk anyone out of their poison :-), be it C, Python, Perl or C#/Mono. That's the beauty of straddling the pale 'twix open source and Evil. Adoption notwithstanding . . . Rather, I would like to continue a constructive discussion by speaking from a personal experience. I apologize in advance if this is OT even though it is FreeBSD-related and this list does see a lot of shell/perl/... questions, so I don't see why a Java question should be illegitimate. Any specific toolkit (recalling that the zeroeth post was IRT a GUI [wrapper|front-end] to an extant tool), be it GTK, athena, QT, java, FLTK, whatever, will naturally exclude those of us who shudder at the thought of $THAT_GRAPHICAL_THING but (and given that this is a survey of exactly one person at a BAC of around 0.110) the broadest installed base on FreeBSD is probably GTK2. Java is easily an order of magnitude difficulter to download, compile, install, and run than almost anything else. Again: adoption v. wot-I-fnordin'-want! -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MythTV port compilation error
Hans Nieser wrote: Greg 'groggy' Lehey wrote: [Format recovered--see http://www.lemis.com/email/email-format.html] Computer output unfolded. On Thursday, 31 May 2007 at 19:32:49 +0200, Hans Nieser wrote: I've been trying occasionally the past few weeks to compile MythTV, but it keeps failing. I have an updated ports tree. Does anyone know if this is a known problem, or how to fix it? This is probably better addressed to FreeBSD-questions. I'm copying that list and copying multimedia@ (the original mailing list) as Bcc. g++ -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -pthread -o mythcommflag main.o mmDetector2.o pgm.o EdgeDetector.o CannyEdgeDetector.o PGMConverter.o BorderDetector. omEventRelayer.o moc_CommDetectorBase.o moc_LogoDetectorBase.o moc_SceneChangeDetectorBlibavcodec -L../../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmythui -L hupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20 -lmythui-0.20 -lfreetype -lmp3lame -L/usr/loca main.o(.text+0x1f9c): In function `FlagCommercials(QString, QString)': /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053/programs/mythcommflag/main.cpp:4 *** Error code 1 OK, I've tried to reconstitute the output you quoted, but it looks as if you have truncated the lines. In particular, the important part of the last line seems to be missing. At first sight, this did look like a problem I've seen, but it's difficult to say. What do you have in /var/db/ports/mythtv/options? What revision of the port are you compiling (i.e. what is PORTREVISION in the Makefile)? What version of FreeBSD are you running? Yeah I was puzzled by what seems to be a truncated error message as well but this really seems to be all I was getting. The contents of the options file are: # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for mythtv-0.20 _OPTIONS_READ=mythtv-0.20 WITHOUT_LIRC=true WITHOUT_MYSQL_LOCAL=true The portrevision is 2 (PORTVERSION=0.20 and PORTREVISION= 2 in the Makefile). I'm running 6.1-RELEASE-p6 I'll try to recompile it again and make sure I did in fact copy paste the error correctly (I did resize my terminal window so maybe it somehow screwed up and truncated the lines or something) Ah it does seem like the terminal I copied it from was borked. I have attached the actual error. From googling around a bit I can see that I'm not the only one with this problem and that it's not specific to FreeBSD, I couldn't find any solution unfortunately. g++ -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -pthread -o mythcommflag main.o CommDetectorFactory.o CommDetectorBase.o Histogram.o ClassicLogoDetector.o ClassicSceneChangeDetector.o ClassicCommDetector.o quickselect.o CommDetector2.o pgm.o EdgeDetector.o CannyEdgeDetector.o PGMConverter.o BorderDetector.o FrameAnalyzer.o TemplateFinder.o TemplateMatcher.o HistogramAnalyzer.o BlankFrameDetector.o SceneChangeDetector.o moc_SlotRelayer.o moc_CustomEventRelayer.o moc_CommDetectorBase.o moc_LogoDetectorBase.o moc_SceneChangeDetectorBase.o moc_ClassicCommDetector.o -L/usr/local/lib -L/usr/local/lib -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec -L../../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmythui -L../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.20 -lmythavformat-0.20 -lmythavutil-0.20 -lmythavcodec-0.20 -lmythfreemheg-0.20 -lmythupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20 -lmythui-0.20 -lfreetype -lmp3lame -L/usr/local/lib -lXinerama -lXv -lXxf86vm -lXrandr -lviaXvMC -lXvMC -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm main.o(.text+0x1f9c): In function `FlagCommercials(QString, QString)': /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053/programs/mythcommflag/main.cpp:495: undefined reference to `ProgramInfo::GetRecordFilename(QString const, bool) const' *** Error code 1 Stop in /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053/programs/mythcommflag. *** Error code 1 Stop in /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053/programs. *** Error code 1 Stop in /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053. *** Error code 1 Stop in /usr/ports/multimedia/mythtv. *** Error code 1 Stop in /usr/ports/multimedia/mythtv. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.38159.58 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mythtv-0.20 UPGRADE_PORT_VER=0.20 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! multimedia/mythtv (mythtv-0.20) (linker error) --- Packages processed: 0 done, 500 ignored, 0 skipped and 1 failed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: megacli and PERC5 (PowerEdge 1950) on 6.2
Hi, The following patch have been applied to my FreeBSD 6.2 system (amd64, PowerEdge 2950 box): http://patch.zabbadoz.net/freebsd/patchset/EXPERIMENTAL/20070319-01-mfi-MFC.diff Now, I call 'megacli -AdpAllInfo -aALL' and I get working output like: Adapter #0 == Versions Product Name: PERC 5/i Integrated Serial No : 12345 FW Package Build: 5.1.1-0040 FW Version : 1.03.10-0216 BIOS Version: MT28 Ctrl-R Version :1.04-017A Pending Images In Flash None PCI Info Vendor Id : 1028 Device Id : 0015 SubVendorId : 1028 SubDeviceId : 1f03 Host Interface : PCIE Number of Frontend Port: 0 Device Interface : PCIE Number of Backend Port: 8 Port : Address 05000c50001fe8535 15000c50001fd1fd9 25000c50001fe7879 35000c50001fe37fd 4 55000c50001fe76d9 6 7 HW Configuration SAS Address : 500188b04f104a00 BBU : Present Alarm : Absent NVRAM : Present Serial Debugger : Present Memory : Present Flash : Present Settings Current Time : 10:8:55 6/1, 2007 Predictive Fail Poll Interval: 300sec Interrupt Throttle Active Count : 16 Interrupt Throttle Completion: 50us Rebuild Rate : 30% PR Rate : 30% Resynch Rate : 30% Check Consistency Rate : 30% Reconstruction Rate : 30% Cache flush interval : 4s Max drives to spinup at one time : 2 Delay among spinup groups: 12s Physical drive coercion mode : 128MB Cluster mode : Disabled Alarm: Disabled Auto Rebuild : Enabled Battery Warning : Enabled Ecc Bucket Size : 15 Ecc Bucket Leak Rate : 1440 Minutes Restore HotSpare On Insertion: Disabled Expose Enclosure Devices : Disabled Maintain PD Fail History : Disabled Host Request Reordering : Enabled Capabilities RAID Level Supported : RAID0, RAID1, RAID5, RAID10, RAID50 Supported Drives : SAS, SATA Allowed Mixing: Mix In Enclosure Allowed Status ECC Bucket Count : 0 Limitations Max Arms Per VD : 32 Max Spans Per VD: 8 Max Arrays : 128 Max Number of VDs : 64 Max Parallel Commands : 1008 Max SGE Count : 80 Max Data Transfer Size : 8192 sectors Max Strips PerIO: 84 Min Stripe Size : 8kB Max Stripe Size : 128kB Device Present Virtual Drives: 1 Degraded: 0 Offline : 0 Physical Devices : 6 Disks : 5 Critical Disks : 0 Failed Disks: 0 Supported Adapter Operations Rebuild Rate: Yes CC Rate : Yes BGI Rate: Yes Reconstruct Rate: Yes Patrol Read Rate: Yes Alarm Control : Yes Cluster Support : No BBU : Yes Spanning: Yes Dedicated Hot Spare : Yes revertible Hot Spares : No Foreign Config Import : Yes Self Diagnostic : Yes Allow Mixed Redundancy On Array : No Global Hot Spares : Yes Deny SCSI Passthrough : No Deny SMP Passthrough: No Deny STP Passthrough: No Supported VD Operations Read Policy : Yes Write Policy : Yes IO Policy: Yes Access Policy: Yes Disk Cache Policy: Yes Reconstruction : Yes Deny Locate : No Deny CC : No Supported PD Operations Force Online : Yes Force Offline : Yes Force Rebuild : Yes Deny Force Failed : No Deny Force Good/Bad : No Deny Missing Replace : No Deny Clear: No Deny Locate : No Error Counters Memory Correctable Errors : 0 Memory Uncorrectable Errors : 0 Cluster Information Cluster Permitted : No Cluster Active: No Default Settings
Re: Wierd postfix/cyrus SASL error...
On 5/31/07, Paul Schmehl [EMAIL PROTECTED] wrote: I have a similar setup: smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = $myhostname smtpd_sasl_application_name = smtpd broken_sasl_auth_clients = yes permit_sasl_authenticated But I don't use a db password file. Have you tried re-running the postfix hash utility (postmap) on the db? That's the first thing that I would try. [...] Okay, after a lot of digging around, I got the error. Somehow something messed up during the portupgrade, and postfix started negotiating GSSAPI authentication with the smtp server. Since GSSAPI needs krb (kerberos) support, which was not configured, the auth failed. Adding the following lines to main.cf solved the problem, and postfix now happily chugs along: smtp_sasl_security_options = noanonymous, noplaintext smtp_sasl_mechanism_filter = login, ntlm Now it negotiates login or ntlm with the server, and the auth works fine. Thanks for all the help. My next stop is to figure out *what* changed during portupgrade (as my postfix config files were the same as before) that created this issue. -Amarendra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Static Routes, gateways and the end of my sanity
Reuben A. Popp wrote: Hello everyone, can someone please (_please_!!) let me know what I'm doing wrong in the following example? I am near my wits end on implementing this, any suggestions are greatly appreciated! The scenario is that I have a server here with twin nics, bce0 and bce1; I would like bce0 to be connected to our dmz network (192.168.x.x), while bce1 would be on our internal network. A jail will reside on the ip assigned to bce0, while the regular base system will bind to bce1. My current rc.conf consists of the following: --- defaultrouter=10.228.228.254 ifconfig_bce0=inet 192.168.4.80 netmask 255.255.255.0 ifconfig_bce1=inet 10.228.228.228 media 100BaseTX mediaopt full-duplex netmask 255.255.255.0 # Enable Jails for multi-homed box (video) jail_enable=YES jail_list=video jail_video_rootdir=/usr/local/jail/video jail_video_hostname=video.eastcentral.edu jail_video_ip=192.168.4.80 jail_named_exec_start=/bin/sh /etc/rc jail_video_devfs_enable=YES # Routed and gateway settings static_routes=net1 route_net1=-net 192.168.4.80/24 -netmask 255.255.255.0 192.168.4.254 -- Of course there's other things in there like binding various services (inetd, syslog, et al) to the internal ip. On bringing the machine up, I can ping both ips just fine; what I can't do is ssh to the dmz address. Yes, sshd is running inside the jail ;). The output of tcpdump shows a connect to that ip on bce0, but all responses appear to be going out on bce1. Again, any suggestions or comments are welcome and appreciated. For the record, the machine is a Dell PowerEdge 2950 running the amd64 6.2-RELEASE-p4 branch. I will gladly supply more info if this isn't enough. You can't bind both host and jail to the same IP. I'd suggest the following re-arrangement: ifconfig_bce0=inet 192.168.4.80 netmask 255.255.255.0 ifconfig_bce0_alias0=inet 192.168.4.81 netmask 255.255.255.255 ^^ ^ ^^^ ifconfig_bce1=inet 10.228.228.228 media 100BaseTX mediaopt full-duplex jail_enable=YES jail_list=video jail_interface=bce0 ^ jail_video_rootdir=/usr/local/jail/video jail_video_hostname=video.eastcentral.edu jail_video_ip=192.168.4.81 ^ jail_named_exec_start=/bin/sh /etc/rc jail_video_devfs_enable=YES In other words: Your host binds to bce0 (192.168.4.80) and bce1 (10.228.228.228). The jail binds to bce0_alias0 (192.168.4.81). Also jails will always try to bind to bce0 interface (jail_interface=bce0). You don't need any routes if your machine acts as a gateway. All traffic from 10.0.0.0/8 will find its way to 192.168.0.0/16 through bc1 and from other net via bc0. Hopefully I didn't misinterpret your problem. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
purging old mail
Hi all, I'm setting up a FreeBSD 5.4 system that need to run unattended for a year or more. I've noticed that the /var/mail/root file grows a bit over time. Do I need to configure the system in some way to prevent this file from growing indefinately, filling up the /var partition? If so - how? Mats Lindberg ___ This e-mail communication (and any attachment/s) may contain confidential or privileged information and is intended only for the individual(s) or entity named above and to others who have been specifically authorized to receive it. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others. Please notify the sender that you have received this e-mail in error by reply e-mail, and delete the e-mail subsequently. Please note that in order to protect the security of our information systems an AntiSPAM solution is in use and will browse through incoming emails. Thank you. _ Ce message (ainsi que le(s) fichier/s), transmis par courriel, peut contenir des renseignements confidentiels ou protégés et est destiné à l?usage exclusif du destinataire ci-dessus. Toute autre personne est par les présentes avisée qu?il est strictement interdit de le diffuser, le distribuer ou le reproduire. Si vous l?avez reçu par inadvertance, veuillez nous en aviser et détruire ce message. Veuillez prendre note qu'une solution antipollupostage (AntiSPAM) est utilisée afin d'assurer la sécurité de nos systems d'information et qu'elle furètera les courriels entrant. Merci. _ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MythTV port compilation error (solved)
Hans Nieser wrote: I've been trying occasionally the past few weeks to compile MythTV, but it keeps failing. I have an updated ports tree. Does anyone know if this is a known problem, or how to fix it? ... Ok, after reading http://linpvr.org/forum/viewtopic.php?p=6168sid=660d608693094519a305b939cc711e6e and especially this bit: For some packages, the already installed files for the package can impact the build. This is true for Myth., I decided to try uninstalling MythTV manually before trying to build it, and it worked. I nany case, thanks for your interest in my problem Greg and Torfinn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: startup / shutdown script (rc.d)
On Thu, 31 May 2007 14:06:45 -0700 (PDT) gmoniey [EMAIL PROTECTED] wrote: Hi, I was wondering if there is a simple way to create 1 script that will be called during startup and shutdown. Basically, I am looking for something like this: if startup run command 1 with params run command 2 with params run command 3 with params if shutdown run command 4 with params run command 5 with params run command 6 with params i have tried lookin up rc.d documentation, but it very vague and difficult to understand...thanks There are lots of existing scripts that do this kind of thing. A good example is /etc/rc.d/random which feeds entropy files to /dev/random on startup, and writes-out entropy on shutdown. It's pretty easy to see what's going-on. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP GD 5.2.2 portupgrade and xorg-libraries 6.9
Philippe Lang wrote: Is there a way to install PHP GD 5.2.2 without having to update xorg-libraries to version 7.2, as mentioned in /usr/ports/UPDATING? I'm running a FBSD 6.0 server, without X-Windows, which has xorg-libraries version 6.9. Everything worked just fine with PHP GD 5.2.1. WITHOUT_X11 works for me. -- Sphinx of black quartz judge my vow! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Download speed and TCPIP window sizing
Pang wrote (2007/05/31): I have asked many techs in Asianetcom and they blamed on TCPIP window sizing. I am not sure what it is, so I do a search in Google and find More typical problem than TCP window size is Ethernet connection itself, for example one side thinks it has 100 Mb/s half duplex and the second side thinks that it has 100 Mb/s full duplex, which results in speeds around 10 - 100 KB/s. -- Rudolf Cejka cejkar at fit.vutbr.cz http://www.fit.vutbr.cz/~cejkar Brno University of Technology, Faculty of Information Technology Bozetechova 2, 612 66 Brno, Czech Republic ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: purging old mail
[EMAIL PROTECTED] wrote: Hi all, I'm setting up a FreeBSD 5.4 system that need to run unattended for a year or more. I've noticed that the /var/mail/root file grows a bit over time. Do I need to configure the system in some way to prevent this file from growing indefinately, filling up the /var partition? Are you actually interested in reading root mail? Are you running sendmail? If so, in the /etc/mail/aliases file, change the root alias to an email address that someone actually POP's. If you don't want to read the email at all, change the root alias to point to /dev/null. Then run 'newaliases'. I've found that the postmaster account is much more prone to filling up a partition, so ensure that you redirect this address as well. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Squid and IPFW
On Thu, 31 May 2007 13:13:36 -0400 Spiros Papadopoulos [EMAIL PROTECTED] wrote: Dear all, I would like to setup a gw / firewall (IPFW) which will also run Squid, in order to restrict access to certain websites or to allow certain workstations to have full access to the internet. How can I redirect all traffic going to port 80 on the gw, to port 3128 on Squid Are you really sure you want to do that way? Squid wont be able to control access to https or ftp. And what about http on non-standard ports, e.g. http://easynews.com:81 without setting this on each workstation? http://wiki.squid-cache.org/SquidFaq/ConfiguringBrowsers has some options ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PHP GD 5.2.2 portupgrade and xorg-libraries 6.9
Hi, Is there a way to install PHP GD 5.2.2 without having to update xorg-libraries to version 7.2, as mentioned in /usr/ports/UPDATING? I'm running a FBSD 6.0 server, without X-Windows, which has xorg-libraries version 6.9. Everything worked just fine with PHP GD 5.2.1. Thanks Philippe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: PHP GD 5.2.2 portupgrade and xorg-libraries 6.9
[EMAIL PROTECTED] wrote: Philippe Lang wrote: Is there a way to install PHP GD 5.2.2 without having to update xorg-libraries to version 7.2, as mentioned in /usr/ports/UPDATING? I'm running a FBSD 6.0 server, without X-Windows, which has xorg-libraries version 6.9. Everything worked just fine with PHP GD 5.2.1. WITHOUT_X11 works for me. Hi, I tried this, but unfortunately, the GD library is then not visible anymore in phpinfo(). It is apparently disactivated. Philippe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nvidia on am64
On Fri, 1 Jun 2007 00:56:08 -0600 (CST) P. Takis Skagos [EMAIL PROTECTED] wrote: I am trying to get nvidia drivers for my am64 6.2 installation. The /usr/ports stuff indicates that there should be an nvidia-drivers port / package, but the system just fails when I try to install that. I found a source package on the nvidia website for FreeBSD drivers, but they don't want to compile on my box. I was really hoping that there would be binary drivers I could just pkg_add. Am I out to lunch? It should be that easy ... Could someone point me to a binary nvidia driver distribution for FreeBSD 6.2 am64? Either use the open source nv driver, or install the i386 version of FreeBSD. i386 is generally less trouble for Desktops anyway. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: purging old mail
On Friday 01 June 2007 14:11, Steve Bertrand wrote: [EMAIL PROTECTED] wrote: Hi all, I'm setting up a FreeBSD 5.4 system that need to run unattended for a year or more. I've noticed that the /var/mail/root file grows a bit over time. Do I need to configure the system in some way to prevent this file from growing indefinately, filling up the /var partition? Are you actually interested in reading root mail? Are you running sendmail? If so, in the /etc/mail/aliases file, change the root alias to an email address that someone actually POP's. If you don't want to read the email at all, change the root alias to point to /dev/null. What I've been caught by a couple of times is the periodic(8) routines, which quickly fill roots mailbox with daily, weekly and monthly status reports. If you're not going to forward these to a real user but still want to keep (some of) them available, put daily_output=/var/log/daily.log weekly_output=/var/log/weekly.log monthly_output=/var/log/monthly.log in /etc/periodic.conf. The relevant reports will be logged into the respective files, and newsyslog already knows to rotate these if they exist, so they won't grow endlessly (by default, /etc/newsyslog.conf keeps a week of dailys, 5 weeks of weeklys and a year of monthlys). Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPSec-NAT setup using racoon2
Hello! I could setup IPSec communication between two Peers in different network through NAT router using racoon-IKEv1. Now I would llike to set up IPSec communication between the peers using racoon2-IKEv2. The documentation of racoon2 doesnt describe the procedure to configure NAT-T parameters (in racoon2.conf file) like ''natt_ keepalive' ,'isakmp_nattt port' . I would like to know if IPSec-NATT setup can be made using racoon2 and the procedure for the same. I'm using racoon2 version racoon2-20061228a A--(Ikev2)-- NAT(Ikev2)- B Thanks for your time. Regards, Sethu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What happened to lomac(4)?
John Valko [EMAIL PROTECTED] writes: I've been trying to research the history of the lomac(4) (not mac_lomac) module in FreeBSD. I'm looking to figure out which versions of FreeBSD it existed in and the reason it was removed. If anyone can refer me to any relevant information it would be greatly appreciated. I've been looking through cvs but can't seem to find a trace of it. Just check the source repository. The web interface is probably the easiest way, if that's all you're trying to do; e.g., http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/modules/lomac/Attic/Makefile will probably give you all the dates you need. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Build with debug symbols
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 White Hat said the following on 20.05.2007 17:41: If I build a port with debugging information; i.e. 'make -g', is that debugging information stripped out when the program is installed? If so, is there anyway to prevent this from happening? I have been attempting to build 'claws-mail' with debugging information; however, when I run the program under 'gdb' that information does not appear to be present. I heard that there was a 'STRIP' flag I could set; however, I cannot find any definitive information regarding it. Look at /usr/ports/Mk/bsd.port.mk in this section: .if defined(WITH_DEBUG) !defined(WITHOUT_DEBUG) STRIP= #none STRIP_CMD= ${TRUE} DEBUG_FLAGS?= -g CFLAGS:=${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS} .endif As you can see, if WITH_DEBUG is defined, then $STRIP will be a empty, DEBUG_FLAGS and CFLAGS changes too. - -- Regards, Bogdan - --- KeyID: 0x84B8D5142569D30B Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B Keyserver: keyserver.pgp.com - --- -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGYCTmhLjVFCVp0wsRCtOiAJ9dBEzm2hpPusake0BB/2LHTbjXlACg38OC sk3fD4lK+mhzNP7XH/BYdX8= =/LwZ -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]
Multiple issues (FreeBSD 6.2 RELEASE)
Hardware: Compaq Presario 1200-XL118 AMD K6-2 500MHz 64MB of RAM Trident CyberBlade i7 video with 4MB shared RAM 6GB ATA66 HD Linksys 10/100 PCCard Ethernet (using ed driver) OS: FreeBSD 6.2-RELEASE using GENERIC kernel Issues: 1) The machine will not turn off when I try to soft-off it (ACPI S5 state, shutdown -r or -p). How do I fix this? 2) X gives me errors about not being able to open /dev/mem and /dev/io such as Operation not allowed. This occurs both when X is started directly as root and from xdm run from /etc/ttys. Again, how do I fix this? 3) Does anyone know if this machine supports S4BIOS? It lists S4 as a supported sleep state, but the hw.acpi.s4bios sysctl prints as 0. 4) How do you set sysctl tunables at boot time? Please CC me, as I am not subscribed to the list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple issues (FreeBSD 6.2 RELEASE)
Lucas (a.k.a T-Bird or bsdfan3) wrote: Hardware: Compaq Presario 1200-XL118 AMD K6-2 500MHz 64MB of RAM Trident CyberBlade i7 video with 4MB shared RAM 6GB ATA66 HD Linksys 10/100 PCCard Ethernet (using ed driver) OS: FreeBSD 6.2-RELEASE using GENERIC kernel Issues: 1) The machine will not turn off when I try to soft-off it (ACPI S5 state, shutdown -r or -p). How do I fix this? 2) X gives me errors about not being able to open /dev/mem and /dev/io such as Operation not allowed. This occurs both when X is started directly as root and from xdm run from /etc/ttys. Again, how do I fix this? 3) Does anyone know if this machine supports S4BIOS? It lists S4 as a supported sleep state, but the hw.acpi.s4bios sysctl prints as 0. 4) How do you set sysctl tunables at boot time? Please CC me, as I am not subscribed to the list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 1) I am not sure. 2) What secure you need to check your secure level. 3) I am not sure. 4) /etc/sysctl.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kill .Trash
Does anyone know how to DISABLE the Trash thing in KDE? I'm not a newbie, and I am decisive about deleting files. I don't need an annoying 'you can never be sure' functionality. rm -r for life! // i've seen hacks like chmod 000 .trash, not my choice ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple issues (FreeBSD 6.2 RELEASE)
Securelevel == 1 and thanks for the answer to the fourth question magikman wrote: Lucas (a.k.a T-Bird or bsdfan3) wrote: Hardware: Compaq Presario 1200-XL118 AMD K6-2 500MHz 64MB of RAM Trident CyberBlade i7 video with 4MB shared RAM 6GB ATA66 HD Linksys 10/100 PCCard Ethernet (using ed driver) OS: FreeBSD 6.2-RELEASE using GENERIC kernel Issues: 1) The machine will not turn off when I try to soft-off it (ACPI S5 state, shutdown -r or -p). How do I fix this? 2) X gives me errors about not being able to open /dev/mem and /dev/io such as Operation not allowed. This occurs both when X is started directly as root and from xdm run from /etc/ttys. Again, how do I fix this? 3) Does anyone know if this machine supports S4BIOS? It lists S4 as a supported sleep state, but the hw.acpi.s4bios sysctl prints as 0. 4) How do you set sysctl tunables at boot time? Please CC me, as I am not subscribed to the list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 1) I am not sure. 2) What secure you need to check your secure level. 3) I am not sure. 4) /etc/sysctl.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wierd postfix/cyrus SASL error...
--On Friday, June 01, 2007 14:55:23 +0530 Amarendra Godbole [EMAIL PROTECTED] wrote: Okay, after a lot of digging around, I got the error. Somehow something messed up during the portupgrade, and postfix started negotiating GSSAPI authentication with the smtp server. Since GSSAPI needs krb (kerberos) support, which was not configured, the auth failed. Adding the following lines to main.cf solved the problem, and postfix now happily chugs along: smtp_sasl_security_options = noanonymous, noplaintext smtp_sasl_mechanism_filter = login, ntlm Now it negotiates login or ntlm with the server, and the auth works fine. Thanks for all the help. My next stop is to figure out *what* changed during portupgrade (as my postfix config files were the same as before) that created this issue. Since Postfix is such a critical app, you might want to consider presetting the config you want in /usr/local/etc/pkgtools.conf to avoid surprises during portupgrade. -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: kill .Trash
--On Friday, June 01, 2007 17:04:16 +0200 [EMAIL PROTECTED] wrote: Does anyone know how to DISABLE the Trash thing in KDE? I'm not a newbie, and I am decisive about deleting files. I don't need an annoying 'you can never be sure' functionality. rm -r for life! // i've seen hacks like chmod 000 .trash, not my choice ___ KDE Control Center/File Manager/Behavior/Ask Confirmation For - uncheck Delete -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: startup / shutdown script (rc.d)
On Thu, May 31, 2007 at 09:05:17PM -0700, gmoniey wrote: Hi Noberto, I actually looked at the apache one, and it seemed so complicated, there were 2 files for it, one of which was relatively short and the other was significantly long. Now dont get me wrong, they aren't beyond comprehension, but i simply dont have the time right now to figure them out. I dont quite see how something as simple as apachectl start is expanded into so many lines. It is because those scripts take in to consideration so many possible different conditions. In addition, lines like: # PROVIDE: apache22 # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # KEYWORD: shutdown Deal with ordering of execution and integrating with other things. They could be meaningful, but are probably not needed in a simple routine like you seem to want. The basic scheme is that the system calls the scripts in rc.d one at a time. During startup it calls them with an argument of 'start' and when it is shutting down, it calls them with an argument of 'stop'. So, all you script has to do is look for a first argument (past the script name) and check for start or stop and possibly error if it is anything else. Presuming you have one routine to run at startup called /usr/local/bin/mystartuproutine and one routine to run at shutdown called /usr/local/bin/myshutdownroutine and these two files have execute permission, then something as simple as this would work. Put this little script in /usr/local/etc/rc.d/ with a name something like mystuff.sh and give it execute permission. #!/bin/sh case $1 in start) /usr/local/bin/mystartuproutine ;; stop) /usr/local/bin/myshutdownroutine ;; *) echo Usage: `basename $0` {start|stop} 2 exit 64 ;; esac You might want to add some other checks and conditions such as checking if those files exist and some niceties such as making variables of your routine names later. jerry maybe i will get some time in the near future to understand it... Norberto Meijome-2 wrote: On Thu, 31 May 2007 14:06:45 -0700 (PDT) gmoniey [EMAIL PROTECTED] wrote: I was wondering if there is a simple way to create 1 script that will be called during startup and shutdown. Basically, I am looking for something like this: the easiest way (for me) is to grab the rc script of anything that you know well (for example, apache) and modify it for your needs. anyway, at least you can learn from the one that is already made, without having to start from scratch. B _ {Beto|Norberto|Numard} Meijome People demand freedom of speech to make up for the freedom of thought which they avoid. Soren Aabye Kierkegaard I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/startup---shutdown-script-%28rc.d%29-tf3848895.html#a10906324 Sent from the freebsd-questions mailing list archive at Nabble.com. ___ 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: purging old mail
On Fri, Jun 01, 2007 at 09:45:49AM +0200, [EMAIL PROTECTED] wrote: Hi all, I'm setting up a FreeBSD 5.4 system that need to run unattended for a year or more. I've noticed that the /var/mail/root file grows a bit over time. Do I need to configure the system in some way to prevent this file from growing indefinately, filling up the /var partition? If so - how? You could either create a routine to rotate the file - maybe syslogd could do it. Or, set up an alias to forward the email messages to another place. These would be log and security messages. You could forward them to /bin/null, but I think it is bad form to automatically nuke security messages. Note also that /var/log will grow over time. The usual solution is to use the syslog utility to manage those files so they roll over at appropriate times and old ones eventually get removed at some interval you set. jerry Mats Lindberg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple issues (FreeBSD 6.2 RELEASE)
Lucas (a.k.a T-Bird or bsdfan3) wrote: Securelevel == 1 and thanks for the answer to the fourth question magikman wrote: Lucas (a.k.a T-Bird or bsdfan3) wrote: Hardware: Compaq Presario 1200-XL118 AMD K6-2 500MHz 64MB of RAM Trident CyberBlade i7 video with 4MB shared RAM 6GB ATA66 HD Linksys 10/100 PCCard Ethernet (using ed driver) OS: FreeBSD 6.2-RELEASE using GENERIC kernel Issues: 1) The machine will not turn off when I try to soft-off it (ACPI S5 state, shutdown -r or -p). How do I fix this? 2) X gives me errors about not being able to open /dev/mem and /dev/io such as Operation not allowed. This occurs both when X is started directly as root and from xdm run from /etc/ttys. Again, how do I fix this? 3) Does anyone know if this machine supports S4BIOS? It lists S4 as a supported sleep state, but the hw.acpi.s4bios sysctl prints as 0. 4) How do you set sysctl tunables at boot time? Please CC me, as I am not subscribed to the list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 1) I am not sure. 2) What secure you need to check your secure level. 3) I am not sure. 4) /etc/sysctl.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Drop the level down to 0. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cerc sata raid vs geom mirror
I have a question, both cerc(aac) sata raid and geom are software solutions. Can anybody tell if cerc(aac) has any advantages over geom? and what disadvantages does it have? can I still access the drives with smartmontools etc.? Thanks, Evren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble with samba
O/H Jonathan Horne έγραψε: /head scratching Could you post your /etc/rc.conf ? I have a headless installation of FreeBSD 6.2 p4 and Samba 3.0.24,1 I am just upgrading the installation to 3.0.25,1 I'll check if it makes any difference in the logs. -- RTFM and STFW before anything bad happens _ Thanos Rizoulis Electronic Computing Systems Engineer Larissa, Greece FreeBSD/PCBSD user ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for [EMAIL PROTECTED]). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to
Re: megacli and PERC5 (PowerEdge 1950) on 6.2
Trying this on a brand new PE2950 w/ the latest firmware... ~BAS On Fri, 1 Jun 2007, Mike wrote: Hi, The following patch have been applied to my FreeBSD 6.2 system (amd64, PowerEdge 2950 box): http://patch.zabbadoz.net/freebsd/patchset/EXPERIMENTAL/20070319-01-mfi-MFC.diff Now, I call 'megacli -AdpAllInfo -aALL' and I get working output like: Adapter #0 == Versions Product Name: PERC 5/i Integrated Serial No : 12345 FW Package Build: 5.1.1-0040 FW Version : 1.03.10-0216 BIOS Version: MT28 Ctrl-R Version :1.04-017A Pending Images In Flash None PCI Info Vendor Id : 1028 Device Id : 0015 SubVendorId : 1028 SubDeviceId : 1f03 Host Interface : PCIE Number of Frontend Port: 0 Device Interface : PCIE Number of Backend Port: 8 Port : Address 05000c50001fe8535 15000c50001fd1fd9 25000c50001fe7879 35000c50001fe37fd 4 55000c50001fe76d9 6 7 HW Configuration SAS Address : 500188b04f104a00 BBU : Present Alarm : Absent NVRAM : Present Serial Debugger : Present Memory : Present Flash : Present Settings Current Time : 10:8:55 6/1, 2007 Predictive Fail Poll Interval: 300sec Interrupt Throttle Active Count : 16 Interrupt Throttle Completion: 50us Rebuild Rate : 30% PR Rate : 30% Resynch Rate : 30% Check Consistency Rate : 30% Reconstruction Rate : 30% Cache flush interval : 4s Max drives to spinup at one time : 2 Delay among spinup groups: 12s Physical drive coercion mode : 128MB Cluster mode : Disabled Alarm: Disabled Auto Rebuild : Enabled Battery Warning : Enabled Ecc Bucket Size : 15 Ecc Bucket Leak Rate : 1440 Minutes Restore HotSpare On Insertion: Disabled Expose Enclosure Devices : Disabled Maintain PD Fail History : Disabled Host Request Reordering : Enabled Capabilities RAID Level Supported : RAID0, RAID1, RAID5, RAID10, RAID50 Supported Drives : SAS, SATA Allowed Mixing: Mix In Enclosure Allowed Status ECC Bucket Count : 0 Limitations Max Arms Per VD : 32 Max Spans Per VD: 8 Max Arrays : 128 Max Number of VDs : 64 Max Parallel Commands : 1008 Max SGE Count : 80 Max Data Transfer Size : 8192 sectors Max Strips PerIO: 84 Min Stripe Size : 8kB Max Stripe Size : 128kB Device Present Virtual Drives: 1 Degraded: 0 Offline : 0 Physical Devices : 6 Disks : 5 Critical Disks : 0 Failed Disks: 0 Supported Adapter Operations Rebuild Rate: Yes CC Rate : Yes BGI Rate: Yes Reconstruct Rate: Yes Patrol Read Rate: Yes Alarm Control : Yes Cluster Support : No BBU : Yes Spanning: Yes Dedicated Hot Spare : Yes revertible Hot Spares : No Foreign Config Import : Yes Self Diagnostic : Yes Allow Mixed Redundancy On Array : No Global Hot Spares : Yes Deny SCSI Passthrough : No Deny SMP Passthrough: No Deny STP Passthrough: No Supported VD Operations Read Policy : Yes Write Policy : Yes IO Policy: Yes Access Policy: Yes Disk Cache Policy: Yes Reconstruction : Yes Deny Locate : No Deny CC : No Supported PD Operations Force Online : Yes Force Offline : Yes Force Rebuild : Yes Deny Force Failed : No Deny Force Good/Bad : No Deny Missing Replace : No Deny Clear: No Deny Locate : No Error Counters Memory Correctable Errors : 0 Memory Uncorrectable Errors : 0 Cluster Information Cluster Permitted : No Cluster Active:
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: startup / shutdown script (rc.d)
thanks to both of youi will give those examples a shot tonight...thanks again! gmoniey wrote: Hi Noberto, I actually looked at the apache one, and it seemed so complicated, there were 2 files for it, one of which was relatively short and the other was significantly long. Now dont get me wrong, they aren't beyond comprehension, but i simply dont have the time right now to figure them out. I dont quite see how something as simple as apachectl start is expanded into so many lines. maybe i will get some time in the near future to understand it... Norberto Meijome-2 wrote: On Thu, 31 May 2007 14:06:45 -0700 (PDT) gmoniey [EMAIL PROTECTED] wrote: I was wondering if there is a simple way to create 1 script that will be called during startup and shutdown. Basically, I am looking for something like this: the easiest way (for me) is to grab the rc script of anything that you know well (for example, apache) and modify it for your needs. anyway, at least you can learn from the one that is already made, without having to start from scratch. B _ {Beto|Norberto|Numard} Meijome People demand freedom of speech to make up for the freedom of thought which they avoid. Soren Aabye Kierkegaard I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/startup---shutdown-script-%28rc.d%29-tf3848895.html#a10916941 Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RSA SecurID soft tokens under FreeBSD
I'm not sure this email is going to go to the proper place - I'm interested in monitoring RSA SecureID using Nagios. Mark Law Manager, EDT and Security Services Thomson Global Technology Infrastructure (TGTI) (734) 913-3775 Phone (734) 260-5740 Cell (734) 913- 3500 Fax [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: trouble with samba
On Friday 01 June 2007 11:54:19 Thanos Rizoulis wrote: O/H Jonathan Horne έγραψε: /head scratching Could you post your /etc/rc.conf ? I have a headless installation of FreeBSD 6.2 p4 and Samba 3.0.24,1 I am just upgrading the installation to 3.0.25,1 I'll check if it makes any difference in the logs. this is my current /etc/rc.conf: [EMAIL PROTECTED] ~]# cat /etc/rc.conf # -- sysinstall generated deltas -- # Fri Jun 16 12:58:58 2006 # Created: Fri Jun 16 12:58:58 2006 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname=athena.dfwlp.com ifconfig_bge0=DHCP devfs_system_ruleset=localrules sshd_enable=YES usbd_enable=YES ntpdate_enable=YES ntpdate_hosts=0.us.pool.ntp.org snmpd_enable=YES inetd_enable=YES inetd_flags=-wW -a 192.168.125.83 vsftpd_enable=YES webmin_enable=YES ntpd_enable=YES linux_enable=YES rpcbind_enable=YES nfs_server_enable=YES mountd_flags=-r nfs_client_enable=YES # vsftpd_enable=YES samba_enable=YES # apcupsd_enable=YES cupsd_enable=YES thanks, -- Jonathan Horne http://dfwlpiki.dfwlp.org [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: megacli and PERC5 (PowerEdge 1950) on 6.2
I'm buying free beer in unsound quantities for the commiter of this patch. And for the author, well... that's best discussed offline :} [EMAIL PROTECTED] ~]$ sudo megacli -AdpAllInfo -aALL Password: Adapter #0 == Versions Product Name: PERC 5/i Integrated Serial No : 12345 FW Package Build: 5.1.1-0040 FW Version : 1.03.10-0216 BIOS Version: MT28 Ctrl-R Version :1.04-017A Pending Images In Flash None PCI Info Vendor Id : 1028 Device Id : 0015 SubVendorId : 1028 SubDeviceId : 1f03 Host Interface : PCIE Number of Frontend Port: 0 Device Interface : PCIE Number of Backend Port: 8 Port : Address 05000c55dad19 15000c55da6e9 25000c50001cf9301 35000c50001cfb2c1 45000c500049065cd 55000c50001cf9d61 6 7 HW Configuration SAS Address : 50019b90cb771f00 BBU : Present Alarm : Absent NVRAM : Present Serial Debugger : Present Memory : Present Flash : Present Settings Current Time : 14:26:27 6/1, 2007 Predictive Fail Poll Interval: 300sec Interrupt Throttle Active Count : 16 Interrupt Throttle Completion: 50us Rebuild Rate : 30% PR Rate : 30% Resynch Rate : 30% Check Consistency Rate : 30% Reconstruction Rate : 30% Cache flush interval : 4s Max drives to spinup at one time : 2 Delay among spinup groups: 12s Physical drive coercion mode : 128MB Cluster mode : Disabled Alarm: Disabled Auto Rebuild : Enabled Battery Warning : Enabled Ecc Bucket Size : 15 Ecc Bucket Leak Rate : 1440 Minutes Restore HotSpare On Insertion: Disabled Expose Enclosure Devices : Disabled Maintain PD Fail History : Disabled Host Request Reordering : Enabled Capabilities RAID Level Supported : RAID0, RAID1, RAID5, RAID10, RAID50 Supported Drives : SAS, SATA Allowed Mixing: Mix In Enclosure Allowed Status ECC Bucket Count : 0 Limitations Max Arms Per VD : 32 Max Spans Per VD: 8 Max Arrays : 128 Max Number of VDs : 64 Max Parallel Commands : 1008 Max SGE Count : 80 Max Data Transfer Size : 8192 sectors Max Strips PerIO: 84 Min Stripe Size : 8kB Max Stripe Size : 128kB Device Present Virtual Drives: 2 Degraded: 0 Offline : 0 Physical Devices : 7 Disks : 6 Critical Disks : 0 Failed Disks: 0 Supported Adapter Operations Rebuild Rate: Yes CC Rate : Yes BGI Rate: Yes Reconstruct Rate: Yes Patrol Read Rate: Yes Alarm Control : Yes Cluster Support : No BBU : Yes Spanning: Yes Dedicated Hot Spare : Yes revertible Hot Spares : No Foreign Config Import : Yes Self Diagnostic : Yes Allow Mixed Redundancy On Array : No Global Hot Spares : Yes Deny SCSI Passthrough : No Deny SMP Passthrough: No Deny STP Passthrough: No Supported VD Operations Read Policy : Yes Write Policy : Yes IO Policy: Yes Access Policy: Yes Disk Cache Policy: Yes Reconstruction : Yes Deny Locate : No Deny CC : No Supported PD Operations Force Online : Yes Force Offline : Yes Force Rebuild : Yes Deny Force Failed : No Deny Force Good/Bad : No Deny Missing Replace : No Deny Clear: No Deny Locate : No Error Counters Memory Correctable Errors : 0 Memory Uncorrectable Errors : 0 Cluster Information Cluster Permitted : No Cluster Active: No Default Settings
Re: trouble with samba
O/H Jonathan Horne έγραψε: samba_enable=YES # apcupsd_enable=YES cupsd_enable=YES A quick search by google says that: [quote] Signal 6 is SIGABRT -- see /usr/include/sys/signal.h. A process dying with this signal is usually due to it calling the abort(3) function. That generally indicates that the process itself has found that some essential pre-requisite for correct function is not available and voluntarily killing itself, rather than the process being killed by the kernel because it ran over resource limits or looked at memory addresses funny or something. [/quote] Check the build config for samba3: cd /usr/ports/net/samba3 make config Does it include cups support? If yes, then cupsd should start before samba. -- RTFM and STFW before anything bad happens _ Thanos Rizoulis Electronic Computing Systems Engineer Larissa, Greece FreeBSD/PCBSD user ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
add route entries in freebsd os.
Hi, I want to add route entries in freebsd os. route [-n] command [-net | -host] destination gateway [netmask] route add -net 192.168.11.2 192.168.5.1 255.255.255.0 Problem :: I have two interface ,I want to specify device xlo or xl1 to route . -bsenthil. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble with samba
On Friday 01 June 2007 13:49:19 Thanos Rizoulis wrote: Does it include cups support? If yes, then cupsd should start before samba. well, i re-ordered cups and samba in the rc.conf, but it didnt seem to matter. 90 seconds after boot up, it starts back into the same behavior. [snip] # vsftpd_enable=YES cupsd_enable=YES samba_enable=YES # apcupsd_enable=YES [/snip] cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org [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: megacli and PERC5 (PowerEdge 1950) on 6.2
amd64/113232 opened http://www.freebsd.org/cgi/query-pr.cgi?pr=113232 ~BAS On Fri, 1 Jun 2007, Brian A. Seklecki wrote: I'm buying free beer in unsound quantities for the commiter of this patch. And for the author, well... that's best discussed offline :} [EMAIL PROTECTED] ~]$ sudo megacli -AdpAllInfo -aALL Password: Adapter #0 == Versions Product Name: PERC 5/i Integrated Serial No : 12345 FW Package Build: 5.1.1-0040 FW Version : 1.03.10-0216 BIOS Version: MT28 Ctrl-R Version :1.04-017A Pending Images In Flash None PCI Info Vendor Id : 1028 Device Id : 0015 SubVendorId : 1028 SubDeviceId : 1f03 Host Interface : PCIE Number of Frontend Port: 0 Device Interface : PCIE Number of Backend Port: 8 Port : Address 05000c55dad19 15000c55da6e9 25000c50001cf9301 35000c50001cfb2c1 45000c500049065cd 55000c50001cf9d61 6 7 HW Configuration SAS Address : 50019b90cb771f00 BBU : Present Alarm : Absent NVRAM : Present Serial Debugger : Present Memory : Present Flash : Present Settings Current Time : 14:26:27 6/1, 2007 Predictive Fail Poll Interval: 300sec Interrupt Throttle Active Count : 16 Interrupt Throttle Completion: 50us Rebuild Rate : 30% PR Rate : 30% Resynch Rate : 30% Check Consistency Rate : 30% Reconstruction Rate : 30% Cache flush interval : 4s Max drives to spinup at one time : 2 Delay among spinup groups: 12s Physical drive coercion mode : 128MB Cluster mode : Disabled Alarm: Disabled Auto Rebuild : Enabled Battery Warning : Enabled Ecc Bucket Size : 15 Ecc Bucket Leak Rate : 1440 Minutes Restore HotSpare On Insertion: Disabled Expose Enclosure Devices : Disabled Maintain PD Fail History : Disabled Host Request Reordering : Enabled Capabilities RAID Level Supported : RAID0, RAID1, RAID5, RAID10, RAID50 Supported Drives : SAS, SATA Allowed Mixing: Mix In Enclosure Allowed Status ECC Bucket Count : 0 Limitations Max Arms Per VD : 32 Max Spans Per VD: 8 Max Arrays : 128 Max Number of VDs : 64 Max Parallel Commands : 1008 Max SGE Count : 80 Max Data Transfer Size : 8192 sectors Max Strips PerIO: 84 Min Stripe Size : 8kB Max Stripe Size : 128kB Device Present Virtual Drives: 2 Degraded: 0 Offline : 0 Physical Devices : 7 Disks : 6 Critical Disks : 0 Failed Disks: 0 Supported Adapter Operations Rebuild Rate: Yes CC Rate : Yes BGI Rate: Yes Reconstruct Rate: Yes Patrol Read Rate: Yes Alarm Control : Yes Cluster Support : No BBU : Yes Spanning: Yes Dedicated Hot Spare : Yes revertible Hot Spares : No Foreign Config Import : Yes Self Diagnostic : Yes Allow Mixed Redundancy On Array : No Global Hot Spares : Yes Deny SCSI Passthrough : No Deny SMP Passthrough: No Deny STP Passthrough: No Supported VD Operations Read Policy : Yes Write Policy : Yes IO Policy: Yes Access Policy: Yes Disk Cache Policy: Yes Reconstruction : Yes Deny Locate : No Deny CC : No Supported PD Operations Force Online : Yes Force Offline : Yes Force Rebuild : Yes Deny Force Failed : No Deny Force Good/Bad : No Deny Missing Replace : No Deny Clear: No Deny Locate : No Error Counters Memory Correctable Errors : 0 Memory Uncorrectable Errors : 0 Cluster Information Cluster Permitted : No Cluster Active: No
Re: add route entries in freebsd os.
On Friday 01 June 2007 13:36:42 bsenthil wrote: Hi, I want to add route entries in freebsd os. route [-n] command [-net | -host] destination gateway [netmask] route add -net 192.168.11.2 192.168.5.1 255.255.255.0 Problem :: I have two interface ,I want to specify device xlo or xl1 to route . -bsenthil. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] i believe its already inteligent enough to decide which network goes to which interface... unless you mean that you have 2 nics on the same subnet in the same switch? cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org [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: Multiple issues (FreeBSD 6.2 RELEASE)
I tried changing securelevel to 0 in /etc/rc.conf and init changed it to 1 against my will. :( Relevant error/warning messages: (WW) checkDevMem: failed to open /dev/mem (Operation not permitted) (WW) xf86EnableIO: Failed to open /dev/io for extended I/O ((at two different points)) then finally (EE) No devices detected magikman wrote: Lucas (a.k.a T-Bird or bsdfan3) wrote: Securelevel == 1 and thanks for the answer to the fourth question magikman wrote: Lucas (a.k.a T-Bird or bsdfan3) wrote: Hardware: Compaq Presario 1200-XL118 AMD K6-2 500MHz 64MB of RAM Trident CyberBlade i7 video with 4MB shared RAM 6GB ATA66 HD Linksys 10/100 PCCard Ethernet (using ed driver) OS: FreeBSD 6.2-RELEASE using GENERIC kernel Issues: 1) The machine will not turn off when I try to soft-off it (ACPI S5 state, shutdown -r or -p). How do I fix this? 2) X gives me errors about not being able to open /dev/mem and /dev/io such as Operation not allowed. This occurs both when X is started directly as root and from xdm run from /etc/ttys. Again, how do I fix this? 3) Does anyone know if this machine supports S4BIOS? It lists S4 as a supported sleep state, but the hw.acpi.s4bios sysctl prints as 0. 4) How do you set sysctl tunables at boot time? Please CC me, as I am not subscribed to the list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 1) I am not sure. 2) What secure you need to check your secure level. 3) I am not sure. 4) /etc/sysctl.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Drop the level down to 0. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble with samba
Written by Jonathan Horne on 06/01/07 14:14 On Friday 01 June 2007 13:49:19 Thanos Rizoulis wrote: Does it include cups support? If yes, then cupsd should start before samba. well, i re-ordered cups and samba in the rc.conf, but it didnt seem to matter. 90 seconds after boot up, it starts back into the same behavior. [snip] # vsftpd_enable=YES cupsd_enable=YES samba_enable=YES # apcupsd_enable=YES [/snip] cheers, The order in rc.conf makes no difference, the order of rc file execution is determined by rcorder(8). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Recommendations for config file revision control
Hi everyone, I'm currently setting up a new server, and I'd like to keep track of all changes made to various config files (in /etc, /usr/local/etc, and a few other places perhaps). My first thought was to setup a subversion server which would contain the partial directory structure that matches that of the server's starting at /. It would contain versioned copies of all the configuration files that I want to keep track of in their appropriate locations. What I would do then is write a hook for subversion that will issue an automatic export command (don't want .svn directories everywhere) every time a commit is made to the repository. So to edit some configuration file I would first checkout a working copy of the repository to some other location, make the change and commit it. The server would be automatically updated with the new file and I would be able to keep track of every change. This seems like a decent strategy to me, but before I go off writing the scripts and setting up the server I wanted to ask what you guys might be using to keep track of the server configuration (backups don't count)? Is there an easier way of doing the same thing, for example, eliminating the need to do a working copy checkout first? Perhaps a way to monitor certain files for changes, and automatically commit them every time a change is saved. I'd be glad to hear any suggestions you might have in this regard. If possible, I'd like all the versioned files to contain an id string, so that it's easy to determine when the file was last changed and by whom, but this is optional. For the most part I just need a way of going back to previous versions. Thanks, Maxim Khitrov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kill .Trash
Paul Schmehl wrote: --On Friday, June 01, 2007 17:04:16 +0200 [EMAIL PROTECTED] wrote: Does anyone know how to DISABLE the Trash thing in KDE? I'm not a newbie, and I am decisive about deleting files. I don't need an annoying 'you can never be sure' functionality. rm -r for life! // i've seen hacks like chmod 000 .trash, not my choice ___ KDE Control Center/File Manager/Behavior/Ask Confirmation For - uncheck Delete That's just a confirmation. I prefer to press DEL, then ENTER to delete a file, SHIFT+DEL isn't so good. Disabling a confirmation does not disable the Trash thing. You accidentally forget to press SHIFT with DEL, and KDE starts moving a 12GB file from one partition to my home partition (oh and it has a 1G capacity). The hack disables writing to the Trash. How to disable the Move to Trash capability? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linksys WMP54G Version 4.1
Hey appreciate the info and would love to get mine up and running, but the version of the if_ral_pci.c that I have is 1.2.x.x something. I'm running 6.2 p4. Which cvs tag did you use to get the 1.5 version of the ral driver... Thanks, Christopher Prance On 5/31/07, Roland Smith [EMAIL PROTECTED] wrote: On Thu, May 31, 2007 at 09:42:33PM +0200, Christopher Prance wrote: Does anyone know if this card is supported in FreeBSD 7.0? Or if there is a way to get it to work in 6.2. I installed it with the ndisgen. Everything sets up fine, but as soon as it tries to send a packet, the kernel panics. Any info would be greatly appreciated! Looking at the zipfile for the windows driver, I see the following; Archive: WMP54G-EU_LA_DRUT.zip Length Date TimeName 51 12-12-06 02:19 WMP54G-EU_LA_DRUT/AUTORUN.INF 0 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/ 0 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.0/ 7878 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.0/RT2500.CAT 17386 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.0/Rt2500.INF 243328 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.0/rt2500.sys Version 4.0 has a RealTek 2500 chipset which is supported by if_ral(4). 0 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.1/ 7870 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.1/rt61.cat 17479 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.1/Rt61.INF 356096 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.1/rt61.sys Looking at rt61.sys with strings(1) reveals; rt2561.bin rt2561s.bin rt2661.bin Which indicates it uses a Ralink Technology RT2561 chip, which is also supported by if_ral(4) in -STABLE. I applied the patch from -STABLE to 6.2-RELEASE, and it works for me. I've got version 1.5 of if_ral_pci.c It is bloody annoying that you have to go plowing through the drivers to see what chip is inside. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- No one needs a smile as much as a person who fails to give one. - unknown ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: add route entries in freebsd os.
Thanks Horne, I have two interfaces eth0 - 192.168.1.5 (gateway - 192.168.1.2) eth1 -192.168.2.5 (gatwway - 192.168.2.2) and i try to add router entries in below order ... route add -net 192.168.100.5 192.168.4.2 255.255.255.0 (??? inteligent not enough to decide which network goes to which interface. which one it take eth0 / eth1) route add -net 192.168.3.5 192.168.1.2 255.255.255.0 (inteligent enough to decide which network goes to which interface) route add -net 192.168.4.5 192.168.2.2 255.255.255.0 (inteligent enough to decide which network goes to which interface) Problem : How the freebsd os handle the first router entries. - bsenthil Jonathan Horne wrote: On Friday 01 June 2007 13:36:42 bsenthil wrote: Hi, I want to add route entries in freebsd os. route [-n] command [-net | -host] destination gateway [netmask] route add -net 192.168.11.2 192.168.5.1 255.255.255.0 Problem :: I have two interface ,I want to specify device xlo or xl1 to route . -bsenthil. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] i believe its already inteligent enough to decide which network goes to which interface... unless you mean that you have 2 nics on the same subnet in the same switch? cheers, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portsdb error
Hi all, While running portsdb -uU, I'm getting the following: This is with no refuse files, nothing ignored, and a full up-to-date ports collection. Any ideas? saturn# portsdb -uU Updating the ports index ... Generating INDEX.tmp - please wait..=== arabic/ae_fonts_mono failed *** Error code 1 === accessibility/at-poke failed *** Error code 1 2 errors Before reporting this error, verify that you are running a supported version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you have a complete and up-to-date ports collection. (INDEX builds are not supported with partial or out-of-date ports collections -- in particular, if you are using cvsup, you must cvsup the ports-all collection, and have no refuse files.) If that is the case, then report the failure to [EMAIL PROTECTED] together with relevant details of your ports configuration (including FreeBSD version, your architecture, your environment, and your /etc/make.conf settings, especially compiler flags and WITH/WITHOUT settings). Note: the latest pre-generated version of INDEX may be fetched automatically with make fetchindex. *** Error code 1 Stop in /usr/ports. *** Error code 1 Stop in /usr/ports. failed to generate INDEX! portsdb: index generation error saturn# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: NFS tuning on FreeBSD
Hello: Devin Heckman wrote: [snip] Does anyone have any experience tuning NFS mounts on FreeBSD machines? [snip] Here's what we use for mount options in /etc/fstab, basically culled from the O'Reilly NFS book. rw,tcp,intr,noatime,nfsv3,-w=65536,-r=65536 You have to be careful with noatime if you have applications that use atime, but we didn't so that cuts down on the number of reads significantly. Regards, Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: add route entries in freebsd os.
Written by bsenthil on 06/01/07 15:03 Thanks Horne, I have two interfaces eth0 - 192.168.1.5 (gateway - 192.168.1.2) eth1 -192.168.2.5 (gatwway - 192.168.2.2) and i try to add router entries in below order ... route add -net 192.168.100.5 192.168.4.2 255.255.255.0 (??? inteligent not enough to decide which network goes to which interface. which one it take eth0 / eth1) You haven't laid out how to get to the 192.168.4/24 network, so the interface that is connected to the default route is the only legitimate choice the routing machinery has. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
get/set ifconfig entries through by programmatically
Is it possible to get/set ifconfig entries through by programmatically. If yes, please send me the code snippet ... I am trying to get/set ipaddress by executing the command ifconfig . ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: add route entries in freebsd os.
In response to bsenthil [EMAIL PROTECTED]: Thanks Horne, I have two interfaces eth0 - 192.168.1.5 (gateway - 192.168.1.2) eth1 -192.168.2.5 (gatwway - 192.168.2.2) and i try to add router entries in below order ... route add -net 192.168.100.5 192.168.4.2 255.255.255.0 (??? inteligent not enough to decide which network goes to which interface. which one it take eth0 / eth1) route add -net 192.168.3.5 192.168.1.2 255.255.255.0 (inteligent enough to decide which network goes to which interface) route add -net 192.168.4.5 192.168.2.2 255.255.255.0 (inteligent enough to decide which network goes to which interface) Problem : How the freebsd os handle the first router entries. It will send it via the default router, which you didn't mention. However, there is an -interface modifier that can be used to control what you want. I don't think you're doing what you think you're doing, or at least, you're describing it poorly. Why not provide us with your existing configuration and the resultant errors? -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsdb error
On Fri, Jun 01, 2007 at 03:55:14PM -0400, Matt Juszczak wrote: Hi all, While running portsdb -uU, I'm getting the following: This is with no refuse files, nothing ignored, and a full up-to-date ports collection. Any ideas? saturn# portsdb -uU Updating the ports index ... Generating INDEX.tmp - please wait..=== arabic/ae_fonts_mono failed *** Error code 1 === accessibility/at-poke failed *** Error code 1 2 errors What happens when you run make describe in those directories? Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kill .Trash
--On Friday, June 01, 2007 21:32:55 +0200 [EMAIL PROTECTED] wrote: Paul Schmehl wrote: --On Friday, June 01, 2007 17:04:16 +0200 [EMAIL PROTECTED] wrote: Does anyone know how to DISABLE the Trash thing in KDE? I'm not a newbie, and I am decisive about deleting files. I don't need an annoying 'you can never be sure' functionality. rm -r for life! // i've seen hacks like chmod 000 .trash, not my choice ___ KDE Control Center/File Manager/Behavior/Ask Confirmation For - uncheck Delete That's just a confirmation. I prefer to press DEL, then ENTER to delete a file, SHIFT+DEL isn't so good. Disabling a confirmation does not disable the Trash thing. You accidentally forget to press SHIFT with DEL, and KDE starts moving a 12GB file from one partition to my home partition (oh and it has a 1G capacity). The hack disables writing to the Trash. How to disable the Move to Trash capability? That seems a bit different question than your original one. KDE Control Center/File Manager/Behavior/Show 'Delete' context entries which bypass the trashcan? rm .trash; ln -s /dev/null .trash? -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: purging old mail
Hi there, I use an application that you can find in /usr/ports/mail/archmbox. Using it with crontab, you can make it delete you x days old mails from any file in mbox format. I use it in my newsletter mbox, so I don´t have to worry about old mail. 0 2 * * * /usr/local/bin/archmbox -k -o 30 /home/bsdserver/mail/FreeBSD-Questions []´s -- Rafael Mentz Aquino BSDServer - FreeBSD - Servidores - Internet [EMAIL PROTECTED] 51 - 4063 - 6269 51 - 9725 - 4311 -- Original Message --- From: Jerry McAllister [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Fri, 1 Jun 2007 11:51:31 -0400 Subject: Re: purging old mail On Fri, Jun 01, 2007 at 09:45:49AM +0200, [EMAIL PROTECTED] wrote: Hi all, I'm setting up a FreeBSD 5.4 system that need to run unattended for a year or more. I've noticed that the /var/mail/root file grows a bit over time. Do I need to configure the system in some way to prevent this file from growing indefinately, filling up the /var partition? If so - how? You could either create a routine to rotate the file - maybe syslogd could do it. Or, set up an alias to forward the email messages to another place. These would be log and security messages. You could forward them to /bin/null, but I think it is bad form to automatically nuke security messages. Note also that /var/log will grow over time. The usual solution is to use the syslog utility to manage those files so they roll over at appropriate times and old ones eventually get removed at some interval you set. jerry Mats Lindberg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Esta mensagem foi verificada pelo sistema de antivírus e acredita-se estar livre de perigo. --- End of Original Message --- -- Esta mensagem foi verificada pelo sistema de antivírus e acredita-se estar livre de perigo. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: get/set ifconfig entries through by programmatically
In message: [EMAIL PROTECTED] bsenthil [EMAIL PROTECTED] writes: : Is it possible to get/set ifconfig entries through by programmatically. : If yes, please send me the code snippet ... : : I am trying to get/set ipaddress by executing the command ifconfig . To get the addresses, use the ifconfig-in-a-box interface getifaddrs(3). To set the address, you'll need to use the functions described in networking(4), specifically the SIOCAIFADDR and SIOCDIFADDR ioctls. Warner ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble with samba
O/H Reid Linnemann έγραψε: The order in rc.conf makes no difference, the order of rc file execution is determined by rcorder(8). It is nice to learn a new thing every day, thank you! So this goes deeper than I originally thought. Looking at my /usr/local/etc/rc.d/samba I see that: # PROVIDE: nmbd smbd # REQUIRE: NETWORKING SERVERS DAEMON ldconfig resolv # BEFORE: LOGIN # KEYWORD: shutdown ...so probably some of the services in the REQUIRE line are slow to start for our friends' machines and samba detects this and exits with Signal 6. This is well beyond my skills already. I am merely speculating here, someone with greater experience should probably look into this. -- RTFM and STFW before anything bad happens _ Thanos Rizoulis Electronic Computing Systems Engineer Larissa, Greece FreeBSD/PCBSD user ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble with samba
Written by Thanos Rizoulis on 06/01/07 15:57 O/H Reid Linnemann έγραψε: The order in rc.conf makes no difference, the order of rc file execution is determined by rcorder(8). It is nice to learn a new thing every day, thank you! So this goes deeper than I originally thought. Looking at my /usr/local/etc/rc.d/samba I see that: # PROVIDE: nmbd smbd # REQUIRE: NETWORKING SERVERS DAEMON ldconfig resolv # BEFORE: LOGIN # KEYWORD: shutdown ...so probably some of the services in the REQUIRE line are slow to start for our friends' machines and samba detects this and exits with Signal 6. This is well beyond my skills already. I am merely speculating here, someone with greater experience should probably look into this. I'd suggest adding 'cupsd' to the 'REQUIRE' list. This will ensure that cupsd i started prior to samba. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Realtime File System Replication On FreeBSD How reliable is it?
Hi all, I found this site with instructions to setup what is basically a network RAID-1: http://phaq.phunsites.net/2006/08/11/realtime-file-system-replication-on-freebsd/ My question is: What experience does anyone have using this solution on a production environment? I will appreciate any thoughts or advise you may provide. Regards, Antonio Noriega ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linksys WMP54G Version 4.1
On Fri, Jun 01, 2007 at 09:32:41PM +0200, Christopher Prance wrote: Hey appreciate the info and would love to get mine up and running, but the version of the if_ral_pci.c that I have is 1.2.x.x something. I'm running 6.2 p4. Which cvs tag did you use to get the 1.5 version of the ral driver... It was a patch that I downloaded. I don't recall where exactly. Since I've still got the patch I can send it to you if you like. It's about 460k, so I won't post it on the list. :) Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpZYkkJpizZR.pgp Description: PGP signature
Re: kill .Trash
Paul Schmehl wrote: --On Friday, June 01, 2007 21:32:55 +0200 [EMAIL PROTECTED] wrote: Paul Schmehl wrote: --On Friday, June 01, 2007 17:04:16 +0200 [EMAIL PROTECTED] wrote: Does anyone know how to DISABLE the Trash thing in KDE? I'm not a newbie, and I am decisive about deleting files. I don't need an annoying 'you can never be sure' functionality. rm -r for life! // i've seen hacks like chmod 000 .trash, not my choice ___ KDE Control Center/File Manager/Behavior/Ask Confirmation For - uncheck Delete That's just a confirmation. I prefer to press DEL, then ENTER to delete a file, SHIFT+DEL isn't so good. Disabling a confirmation does not disable the Trash thing. You accidentally forget to press SHIFT with DEL, and KDE starts moving a 12GB file from one partition to my home partition (oh and it has a 1G capacity). The hack disables writing to the Trash. How to disable the Move to Trash capability? That seems a bit different question than your original one. KDE Control Center/File Manager/Behavior/Show 'Delete' context entries which bypass the trashcan? rm .trash; ln -s /dev/null .trash? Misunderstood. Ultimately I want to patch KDE, so that the word trash has no meaning, such as removing the trash:/ location, and so on. Just to give a feeling that I'm in control of my machine. I hate crappy software, or parts of good software that are crap (useless in this case). I said I wasn't a newbie: I had spent a considerable time to go through all settings. Everything is tweaked to my liking (only as much as possible). Hmm, good hack. Unfortunately, .trash isn't real, trash.desktop is a 'KDE link' to the KDE trash:/ location, if I'm right. I'll try anyway. THX, btw. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommendations for config file revision control
I keep track of my servers config files with CVS. Let's say I want to track a machine named 'box'. On this machine I have a working copy of the cvs module box in /root/box. I have a couple of scripts cvs-add and cvs-ci. 'cvs-add /etc/rc.conf' copies /etc/rc.conf to /root/box/etc/rc.conf and then adds it to the cvs repository. 'cvs-ci -m message /etc/rc.conf' verifies that /root/box/etc/rc.conf exists and that the two files are indeed different then makes the copy and checks it in the repository. Finally I install a cronjob which checks if the files in the working copy are indeed identical to the 'real' files they mirror. It's very simple but very handy. However I'd like to hear about alternative solutions. Regards, Thierry. On Friday 01 June 2007 21:27, Maxim Khitrov wrote: Hi everyone, I'm currently setting up a new server, and I'd like to keep track of all changes made to various config files (in /etc, /usr/local/etc, and a few other places perhaps). My first thought was to setup a subversion server which would contain the partial directory structure that matches that of the server's starting at /. It would contain versioned copies of all the configuration files that I want to keep track of in their appropriate locations. What I would do then is write a hook for subversion that will issue an automatic export command (don't want .svn directories everywhere) every time a commit is made to the repository. So to edit some configuration file I would first checkout a working copy of the repository to some other location, make the change and commit it. The server would be automatically updated with the new file and I would be able to keep track of every change. This seems like a decent strategy to me, but before I go off writing the scripts and setting up the server I wanted to ask what you guys might be using to keep track of the server configuration (backups don't count)? Is there an easier way of doing the same thing, for example, eliminating the need to do a working copy checkout first? Perhaps a way to monitor certain files for changes, and automatically commit them every time a change is saved. I'd be glad to hear any suggestions you might have in this regard. If possible, I'd like all the versioned files to contain an id string, so that it's easy to determine when the file was last changed and by whom, but this is optional. For the most part I just need a way of going back to previous versions. Thanks, Maxim Khitrov ___ 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]
/dev/psm0 and Xorg woes
Hi all, I've got an interesting problem which only just appeared today on my 6-STABLE laptop. Upon boot, gdm fails to load with the following error: gdm[874]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0 gdm[961]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0 gdm[965]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0 gdm[871]: Failed to start X server several times in a short time period; disabling display :0 Looking at the end of Xorg.0.log seems to indicate this is a problem with the Synaptics Touchpad on the notebook (/dev/psm0): (**) Option CorePointer (**) Synaptics Touchpad: Core Pointer (WW) default pointer: No Device specified, looking for one... (II) default pointer: Setting Device option to /dev/psm0 (--) default pointer: Device: /dev/psm0 (==) default pointer: Protocol: Auto (**) Option AlwaysCore (**) default pointer: always reports core events (==) default pointer: Emulate3Buttons, Emulate3Timeout: 50 (**) default pointer: ZAxisMapping: buttons 4 and 5 (**) default pointer: Buttons: 9 (II) XINPUT: Adding extended input device default pointer (type: MOUSE) (II) XINPUT: Adding extended input device Synaptics Touchpad (type: MOUSE) (II) XINPUT: Adding extended input device Acer TravelMate 4230 Integrated Keyboard (type: KEYBOARD) Synaptics DeviceInit called SynapticsCtrl called. Synaptics DeviceOn called (--) Synaptics Touchpad synaptics touchpad found (--) Synaptics Touchpad, model: 0 (--) Firmware: 6.2 (--) Sensor: 18 (--) new absolute packet format (--) Touchpad has extended capability bits (--) - multifinger detection (--) - palm detection (WW) fcntl(21, O_ASYNC): Inappropriate ioctl for device (EE) xf86OpenSerial: Cannot open device /dev/psm0 Device busy. (WW) default pointer: cannot open input device Fatal server error: Caught signal 11. Server aborting I do have hw.psm.synaptics_support=1 defined in /boot/loader.conf, and the kernel does identify it as a touchpad on boot: psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Synaptics Touchpad, device ID 0 Trying to do cat /dev/psm0 gives me the following error: cat: /dev/psm0: Resource temporarily unavailable To me (though I'd hardly say I'm qualified to say for sure) this seems to be the cause of the problem. I'm not running moused on this system, so there shouldn't be anything locking the device. Does anybody have any suggestions? It's quite frustrating, suddenly being unable to use Xorg on my notebook when it was working perfectly well just yesterday. But darned if I can think of what changes I made... FWIW, the touchpad does work fine under Windows. -- Regards, Paul Fraser http://furyc0de.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/psm0 and Xorg woes
El Vie, 1 de Junio de 2007, 18:13, Paul Fraser escribió: Hi all, Hello, I've got an interesting problem which only just appeared today on my 6-STABLE laptop. Upon boot, gdm fails to load with the following error: [SNIP] Fatal server error: Caught signal 11. Server aborting I do have hw.psm.synaptics_support=1 defined in /boot/loader.conf, and the kernel does identify it as a touchpad on boot: psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Synaptics Touchpad, device ID 0 Trying to do cat /dev/psm0 gives me the following error: cat: /dev/psm0: Resource temporarily unavailable To me (though I'd hardly say I'm qualified to say for sure) this seems to be the cause of the problem. I'm not running moused on this system, so there shouldn't be anything locking the device. Does anybody have any suggestions? It's quite frustrating, suddenly being unable to use Xorg on my notebook when it was working perfectly well just yesterday. But darned if I can think of what changes I made... Try to check if moused is running. If is running, check if /dev/sysmouse is present. If moused is running, set mouse device in Xorg to /dev/sysmouse. Also, moused is a better option on Xorg. FWIW, the touchpad does work fine under Windows. -- Regards, Paul Fraser http://furyc0de.net/ [SNIP] Regards, -- .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | BSD Linux User| Standards Rocks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble with samba
Reid Linnemann wrote: Written by Thanos Rizoulis on 06/01/07 15:57 O/H Reid Linnemann έγραψε: The order in rc.conf makes no difference, the order of rc file execution is determined by rcorder(8). It is nice to learn a new thing every day, thank you! So this goes deeper than I originally thought. Looking at my /usr/local/etc/rc.d/samba I see that: # PROVIDE: nmbd smbd # REQUIRE: NETWORKING SERVERS DAEMON ldconfig resolv # BEFORE: LOGIN # KEYWORD: shutdown ...so probably some of the services in the REQUIRE line are slow to start for our friends' machines and samba detects this and exits with Signal 6. This is well beyond my skills already. I am merely speculating here, someone with greater experience should probably look into this. I'd suggest adding 'cupsd' to the 'REQUIRE' list. This will ensure that cupsd i started prior to samba. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi, I dont think that it is related to cupsd, the reason i say this is that i have the exact same problem, but my samba was built *without* cups. I havnt touched my rc.conf since it was put in place a few months ago (when it worked fine), so something have changed in samba or something is broken in samba which is causing these problems ? i'm not running the most current version, currently 6.2-RELEASE-p3, but samba is the latest version (samba-3.0.25,1) Thanks. Grant. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Realtime File System Replication On FreeBSD How reliable is it?
Antonio wrote: Hi all, I found this site with instructions to setup what is basically a network RAID-1: http://phaq.phunsites.net/2006/08/11/realtime-file-system-replication-on-freebsd/ My question is: What experience does anyone have using this solution on a production environment? I will appreciate any thoughts or advise you may provide. I have used vinum for quite a while, never, ever had a problem. In fact, in RAID-1, I had a motherboard and a disk fail simultaneously. I popped the good drive into another box, and we were right back up after some very minor modifications. Of course, this is no solution to rotating backups though, but in addition to it, it handles well, easy to set up, and easy to document your setup. I also use it on a backup machine that has 6 72GB SCSI drives to span them together so that in addition to my tape backups, I have a 300GB storage facility (running on an old CacheFlow 3000) that I run Amanda on to hold my most critical information. vinum (gvinum) has worked good for me for a good couple years, at least. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommendations for config file revision control
On 6/1/07, Reid Linnemann [EMAIL PROTECTED] wrote: Written by Maxim Khitrov on 06/01/07 14:27 Hi everyone, I'm currently setting up a new server, and I'd like to keep track of all changes made to various config files (in /etc, /usr/local/etc, and a few other places perhaps). My first thought was to setup a subversion server which would contain the partial directory structure that matches that of the server's starting at /. It would contain versioned copies of all the configuration files that I want to keep track of in their appropriate locations. What I would do then is write a hook for subversion that will issue an automatic export command (don't want .svn directories everywhere) every time a commit is made to the repository. So to edit some configuration file I would first checkout a working copy of the repository to some other location, make the change and commit it. The server would be automatically updated with the new file and I would be able to keep track of every change. This seems like a decent strategy to me, but before I go off writing the scripts and setting up the server I wanted to ask what you guys might be using to keep track of the server configuration (backups don't count)? Is there an easier way of doing the same thing, for example, eliminating the need to do a working copy checkout first? Perhaps a way to monitor certain files for changes, and automatically commit them every time a change is saved. I'd be glad to hear any suggestions you might have in this regard. If possible, I'd like all the versioned files to contain an id string, so that it's easy to determine when the file was last changed and by whom, but this is optional. For the most part I just need a way of going back to previous versions. Thanks, Maxim Khitrov You might consider avoiding the excess labor of SVN and use RCS, since you're just tracking changes for individual files in place on one host. man rcsintro to see if this is more suitable for you. Hm... I think that while SVN would require more work initially, RCS would probably be more maintenance. The main problem I see is the requirement to execute commands on the server after each modification. This may not be always possible. With SVN I have a local copy of all the files, so as long as I'm able to commit I don't need to actually be logged in to the server. See my ideal solution would be to open a file via sftp, for example, make the change and upload it. The change is detected, the Id string is updated, and the old revision is saved. SVN is one step away from that because I need to checkout a working copy first. Also, I couldn't do all this directly on the server by just opening vi and editing the file. This solution, however, would require some sort of monitoring. I'm even considering writing a simple C app that would use gamin to track when versioned files have changed, but I don't know how well the whole thing will work. With too many files I'm afraid that this monitoring would put too much unnecessary load on the server. An alternative is to keep the server configuration files just as they are, but checkout a working copy of the repository on the server. Then a cron script could compare the two directory trees, checking contents of the files. If one changes, update the other one. Again... seems like too much work for something that should be rather simple in my opinion. I'll look a bit more into RCS, but it doesn't look like it offers anything major over subversion. Any other ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SysCP - Control Panel Software
Does anyone have any experience with SysCP ( http://www.syscp.org ) as a control panel in a virtual hosting environment? Any input on this would be great. Thanks, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/psm0 and Xorg woes
On 6/2/07, Daniel Molina Wegener [EMAIL PROTECTED] wrote: Yes... why shouldn't work? Try, and comment me the results. With moused you will have a mouse pointer in the console. Sometimes is usefull... Thanks for the help, Daniel. Now I do have a functioning mouse cursor and Xorg does indeed start, but the Synaptics driver won't load. I'm guessing because the touchpad is filtered via /dev/sysmouse and it can't pick up what it needs to run correctly. Now I get the following if I try and use the synaptics driver in Xorg: (EE) Synaptics Touchpad no synaptics touchpad detected and no repeater device (EE) Synaptics Touchpad Unable to query/initialize Synaptics hardware. (EE) PreInit failed for input device Synaptics Touchpad Then Xorg fails to start with the errors I mentioned earlier. For the moment I've reverted to the generic mouse driver - at least I can get to X, although the touchpad is still lacking all its wonderful goodies which made it a pleasure to use (scrolling, etc). (Also sending back to the list as I've got an annoying habit of hitting reply, instead of reply all) -- Regards, Paul Fraser http://furyc0de.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommendations for config file revision control
On 6/1/07, Maxim Khitrov [EMAIL PROTECTED] wrote: Hi everyone, I'm currently setting up a new server, and I'd like to keep track of all changes made to various config files (in /etc, /usr/local/etc, and a few other places perhaps). My first thought was to setup a subversion server which would contain the partial directory structure that matches that of the server's starting at /. It would contain versioned copies of all the configuration files that I want to keep track of in their appropriate locations. What I would do then is write a hook for subversion that will issue an automatic export command (don't want .svn directories everywhere) every time a commit is made to the repository. So to edit some configuration file I would first checkout a working copy of the repository to some other location, make the change and commit it. The server would be automatically updated with the new file and I would be able to keep track of every change. This seems like a decent strategy to me, but before I go off writing the scripts and setting up the server I wanted to ask what you guys might be using to keep track of the server configuration (backups don't count)? Is there an easier way of doing the same thing, for example, eliminating the need to do a working copy checkout first? Perhaps a way to monitor certain files for changes, and automatically commit them every time a change is saved. I'd be glad to hear any suggestions you might have in this regard. If possible, I'd like all the versioned files to contain an id string, so that it's easy to determine when the file was last changed and by whom, but this is optional. For the most part I just need a way of going back to previous versions. Thanks, Maxim Khitrov What is the objection to having the metadata directories (.svn) everywhere? devel/bazaar-ng is rather nice, and distributed vcs is very flexible. -- The biggest problem with communication is the illusion that it has occurred. G. B. Shaw www.thelastcitadel.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Realtime File System Replication On FreeBSD How reliable is it?
Steve Bertrand writes: I have used vinum for quite a while, never, ever had a problem. In fact, in RAID-1, I had a motherboard and a disk fail simultaneously. I popped He is not asking about disk RAID. I found this site with instructions to setup what is basically a network RAID-1: http://phaq.phunsites.net/2006/08/11/realtime-file-system-replication-on-freebsd/ Looking at the link it seems he is actually asking about geom_gate. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Flashplugin problem after xorg 7.2 upgrade
After i upgrated to xorg 7.2 i had firefox core-dump problem. It used to crast when i enter a site with a lot of flash plugin. And it uses a lot of CPU power! I removed flash plugin libs from /usr/local/lib/browser_plugins and plugins directory of firefox. Now i can surf without any core-dump error. when i try to reinstall flashplugin, firefox cant succedd to run them. What should i do? Any suggestions? -- Ozan Enginoğlu Mechanical Engineer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommendations for config file revision control
On 6/1/07, Kevin Downey [EMAIL PROTECTED] wrote: On 6/1/07, Maxim Khitrov [EMAIL PROTECTED] wrote: Hi everyone, I'm currently setting up a new server, and I'd like to keep track of all changes made to various config files (in /etc, /usr/local/etc, and a few other places perhaps). My first thought was to setup a subversion server which would contain the partial directory structure that matches that of the server's starting at /. It would contain versioned copies of all the configuration files that I want to keep track of in their appropriate locations. What I would do then is write a hook for subversion that will issue an automatic export command (don't want .svn directories everywhere) every time a commit is made to the repository. So to edit some configuration file I would first checkout a working copy of the repository to some other location, make the change and commit it. The server would be automatically updated with the new file and I would be able to keep track of every change. This seems like a decent strategy to me, but before I go off writing the scripts and setting up the server I wanted to ask what you guys might be using to keep track of the server configuration (backups don't count)? Is there an easier way of doing the same thing, for example, eliminating the need to do a working copy checkout first? Perhaps a way to monitor certain files for changes, and automatically commit them every time a change is saved. I'd be glad to hear any suggestions you might have in this regard. If possible, I'd like all the versioned files to contain an id string, so that it's easy to determine when the file was last changed and by whom, but this is optional. For the most part I just need a way of going back to previous versions. Thanks, Maxim Khitrov What is the objection to having the metadata directories (.svn) everywhere? Well to be honest, I just really don't like that design. I think the metadata should be separated out from the data, and placing .svn directories into each directory of the project seems like a bad idea to me. I understand why it was done this way, but I wish that some extra effort was put in to consolidate all that information into perhaps a single .svn directory in the root of the project. That, and since they keep copies of the original files it also creates additional storage requirements, but for storing configuration files I don't really care. I did just think of another thing I could do. What if I create a new directory on the server, and move all configuration files from their original location to this directory. I then make then make it into an svn working directory, and in place of the original files put symlinks that point to the corresponding file in the working directory. This would mean that I no longer have .svn directories all over the file system, there is just one working directory that is separate from everything else. Instead of an export operation I could have the hook script do an update, and this would also give me a rather simple way of editing the files locally on the server (plus it has the advantage of quick access to all important files without having to constantly move from /etc to /usr/local/etc). Does this seem like a decent idea to try and do? Might some software have a problem with its configuration file being a symlink to some other location? devel/bazaar-ng is rather nice, and distributed vcs is very flexible. Will take a look at this as well, thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.2 SCSI RAID controllers
Josef Grosch writes: What is the best SCSI/SATA/SAS RAID controller to use with 6.x? We have tried LSI for SAS and we are not that impressed with it. Catching up with the list.. and did not see an answer to your question. Have you tried adaptect? We have a couple of SCSI machines with it and they are working fine. the management utility does NOT work all that great (ie it hangs under some operations), but performance and stability of the machine has been great so far. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin problem after xorg 7.2 upgrade
Hello, On Sat, 02 Jun 2007 02:00:44 +0300 Ozan Enginoglu [EMAIL PROTECTED] wrote: After i upgrated to xorg 7.2 i had firefox core-dump problem. It used to crast when i enter a site with a lot of flash plugin. And it uses a lot of CPU power! I removed flash plugin libs from /usr/local/lib/browser_plugins and plugins directory of firefox. Now i can surf without any core-dump error. when i try to reinstall flashplugin, firefox cant succedd to run them. What should i do? Any suggestions? What flashplugin and wrapper do you use? If you use linux-flashplugin-7.0r69 with nspluginwrapper (you probably do, with native Firefox), you might need the following after Xorg upgrade: %ln -s ~/.mozilla/plugins ~/.mozilla/firefox/plugins That works for me. Before that you can of course consider to re-create nspluginwrapper's files, like this: %nspluginwrapper -v -a -r (remove old wrapper files) %nspluginwrapper -v -a -i (install all available plugins) Then check with about:plugins if all of them are recognised by Firefox. Nikola Lečić ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble with samba
On Friday June 01, 2007 at 06:23:16 (PM) Grant wrote: I dont think that it is related to cupsd, the reason i say this is that i have the exact same problem, but my samba was built *without* cups. I havnt touched my rc.conf since it was put in place a few months ago (when it worked fine), so something have changed in samba or something is broken in samba which is causing these problems ? i'm not running the most current version, currently 6.2-RELEASE-p3, but samba is the latest version (samba-3.0.25,1) The current version is 6.2-Release-p5 I believe. I read something in the Samba forum about problems updating Samba and FreeBSD. It seems that in certain situations the only approach that is guaranteed to work is: 1) Stopping Samba 2) Using pkg_delete to remove Samba 3) Reinstalling Samba 4) Reboot the system If nothing else works, you might give that a try. Be sure that all dependencies are updated as well. If you use 'portupgrade' or 'portmanager' that is relatively easy to do. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: get/set ifconfig entries through by programmatically
bsenthil wrote at 01:46 +0530 on Jun 2, 2007: Is it possible to get/set ifconfig entries through by programmatically. If yes, please send me the code snippet ... I am trying to get/set ipaddress by executing the command ifconfig . - use SIOCAIFADDR ioctl; man netintro(4) - see source code in /usr/src/sbin/ifconfig - the hacky approach using system(3): system(ifconfig fxp0 1.2.3.4/24); [cross-post to [EMAIL PROTECTED] removed] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble with samba
Gerard wrote: On Friday June 01, 2007 at 06:23:16 (PM) Grant wrote: I dont think that it is related to cupsd, the reason i say this is that i have the exact same problem, but my samba was built *without* cups. I havnt touched my rc.conf since it was put in place a few months ago (when it worked fine), so something have changed in samba or something is broken in samba which is causing these problems ? i'm not running the most current version, currently 6.2-RELEASE-p3, but samba is the latest version (samba-3.0.25,1) The current version is 6.2-Release-p5 I believe. I read something in the Samba forum about problems updating Samba and FreeBSD. It seems that in certain situations the only approach that is guaranteed to work is: 1) Stopping Samba 2) Using pkg_delete to remove Samba 3) Reinstalling Samba 4) Reboot the system If nothing else works, you might give that a try. Be sure that all dependencies are updated as well. If you use 'portupgrade' or 'portmanager' that is relatively easy to do. Yea p5 is the current, I just havnt updated mine yet.. I'm not able to test that approach you said.. as its allways in use (apart from holidays), so a reboot would be bad... so i might make up a test box to see what causes this strange problem. Thanks. Grant. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin problem after xorg 7.2 upgrade
Thanks for the quick reply, On Sat, 2007-06-02 at 02:01 +0200, Nikola Lecic wrote: Hello, On Sat, 02 Jun 2007 02:00:44 +0300 Ozan Enginoglu [EMAIL PROTECTED] wrote: After i upgrated to xorg 7.2 i had firefox core-dump problem. It used to crast when i enter a site with a lot of flash plugin. And it uses a lot of CPU power! I removed flash plugin libs from /usr/local/lib/browser_plugins and plugins directory of firefox. Now i can surf without any core-dump error. when i try to reinstall flashplugin, firefox cant succedd to run them. What should i do? Any suggestions? What flashplugin and wrapper do you use? If you use linux-flashplugin-7.0r69 with nspluginwrapper (you probably do, with native Firefox), you might need the following after Xorg upgrade: %ln -s ~/.mozilla/plugins ~/.mozilla/firefox/plugins That works for me. Before that you can of course consider to re-create nspluginwrapper's files, like this: %nspluginwrapper -v -a -r (remove old wrapper files) %nspluginwrapper -v -a -i (install all available plugins) Then check with about:plugins if all of them are recognised by Firefox. Nikola Lečić As a matter of fact, i used to play flash files without nspluginwrapper. Of course that was before upgrading. Now i installed it and did as you wrote above. I got another core dump error. Here is the output: [EMAIL PROTECTED]:/usr/ports/www/nspluginwrapper# nspluginwrapper -v -a -i Auto-install plugins from /usr/X11R6/lib/browser_plugins Looking for plugins in /usr/X11R6/lib/browser_plugins Auto-install plugins from /usr/X11R6/lib/firefox/plugins Looking for plugins in /usr/X11R6/lib/firefox/plugins Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin Looking for plugins in /usr/local/lib/npapi/linux-flashplugin Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so Auto-install plugins from /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux Looking for plugins in /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux Install plugin /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so Segmentation fault: 11 (core dumped) My firefox runs very normal right now but npwiever.bin uses a lot of cpu. Is it normal? And is there any way to play flash files without using nspluginwrapper? Thanks -- Ozan Enginoğlu Mechanical Engineer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin problem after xorg 7.2 upgrade
On Sat, 02 Jun 2007 04:13:59 +0300 Ozan Enginoglu [EMAIL PROTECTED] wrote: Thanks for the quick reply, Sure! On Sat, 2007-06-02 at 02:01 +0200, Nikola Lecic wrote: Hello, On Sat, 02 Jun 2007 02:00:44 +0300 Ozan Enginoglu [EMAIL PROTECTED] wrote: After i upgrated to xorg 7.2 i had firefox core-dump problem. It used to crast when i enter a site with a lot of flash plugin. And it uses a lot of CPU power! I removed flash plugin libs from /usr/local/lib/browser_plugins and plugins directory of firefox. Now i can surf without any core-dump error. when i try to reinstall flashplugin, firefox cant succedd to run them. What should i do? Any suggestions? What flashplugin and wrapper do you use? If you use linux-flashplugin-7.0r69 with nspluginwrapper (you probably do, with native Firefox), you might need the following after Xorg upgrade: %ln -s ~/.mozilla/plugins ~/.mozilla/firefox/plugins That works for me. Before that you can of course consider to re-create nspluginwrapper's files, like this: %nspluginwrapper -v -a -r (remove old wrapper files) %nspluginwrapper -v -a -i (install all available plugins) Then check with about:plugins if all of them are recognised by Firefox. Nikola Lečić As a matter of fact, i used to play flash files without nspluginwrapper. Of course that was before upgrading. Now i installed it and did as you wrote above. You can't use linux plugins with native FreeBSD apps without some sort of wrapper. I got another core dump error. Here is the output: [EMAIL PROTECTED]:/usr/ports/www/nspluginwrapper# nspluginwrapper -v -a -i Auto-install plugins from /usr/X11R6/lib/browser_plugins Looking for plugins in /usr/X11R6/lib/browser_plugins Auto-install plugins from /usr/X11R6/lib/firefox/plugins Looking for plugins in /usr/X11R6/lib/firefox/plugins Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin Looking for plugins in /usr/local/lib/npapi/linux-flashplugin Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so Auto-install plugins from /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux Looking for plugins in /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux Install plugin /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so Segmentation fault: 11 (core dumped) No, nspluginwrapper runs on a per-user basis, you should run it as an ordinary user. Step-by-step: (1) Make sure you didn't do any handiwork in /usr/local/lib/browser_plugins. Just make sure Firefox is aware of installed plugins (use about:plugins), add a symlink if necessary, but don't move or delete anything. If not sure, reinstall plugin ports. (2) You must have the following packages installed: firefox-2.0.0.3_1,1 nspluginwrapper-0.9.91.4_1 linux-flashplugin-7.0r69 Make sure you _don't_ have linuxpluginwrapper installed as it can collide with nspluginwrapper. Also, uninstall all other flash players to make situation easier. (3) Then, run 'nspluginwrapper -a -i -r' to clean old files (if any) and 'nspluginwrapper -a -i -v' as the user who uses Firefox. Then, list what is installed. On my box: %nspluginwrapper -l /home/nikola/.mozilla/plugins/npwrapper.libflashplayer.so Original plugin: /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so Wrapper version string: 0.9.91.4 /home/nikola/.mozilla/plugins/npwrapper.nphelix.so Original plugin: /usr/X11R6/lib/linux-mozilla/plugins/nphelix.so Wrapper version string: 0.9.91.4 /home/nikola/.mozilla/plugins/npwrapper.nppdf.so Original plugin: /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so Wrapper version string: 0.9.91.4 Of course, no seg fault should happen. If it does, that might be another problem, not related to flash player. I also have to add a symlink in ~/.mozilla after Xorg upgrade, as I desribed in my previous mail. Actually, I have two of them, like this: %ll ~/.mozilla/firefox total 18 drwx-- 10 nikola nyx 1024 Jun 2 04:11 jazuhv63.default lrwxr-xr-x 1 nikola nyx 16 May 27 03:41 pluginreg.dat - ../pluginreg.dat lrwxr-xr-x 1 nikola nyx 10 May 27 03:41 plugins - ../plugins -rw-r--r-- 1 nikola nyx 94 Feb 23 20:11 profiles.ini (4) Restart Firefox. In about:plugins page this entry should appear: Shockwave Flash Nom de fichier : npwrapper.libflashplayer.so Shockwave Flash 7.0 r69 (5) Open YouTube and enjoy. My firefox runs very normal right now but npwiever.bin uses a lot of cpu. Is it normal? How much? On my box 25%, and works smoothly. Maybe someone else can confirm. And is there any way to play flash files without using
Re: Flashplugin problem after xorg 7.2 upgrade
On Sat, 2 Jun 2007 04:35:33 +0200 Nikola Lecic [EMAIL PROTECTED] wrote: On Sat, 02 Jun 2007 04:13:59 +0300 Ozan Enginoglu [EMAIL PROTECTED] wrote: [...] And is there any way to play flash files without using nspluginwrapper? Only in linux versions (linux-opera, linux-firefox...). There is no way to use linux flashplugin in native browsers without a wrapper. Actually, yes, depends on what you need. You can use graphics/libflash with www/flashplugin-mozilla (supports flash files up to version 4) and graphics/gnash (GNU flash player, which is not actually a plugin; AFAIK still can't handle YouTube, but it will in the near future). At this moment, if you want to cover the most demanding flash sites, you have no choice but to use linux-flashplugin (with a wrapper), as described in the mail I've just sent. Nikola Lečić ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Computer hangs on reboot
On 5/28/07, Andrey Shuvikov [EMAIL PROTECTED] wrote: Hi, I posted this question originally to freebsd-acpi list but without much luck. Besides I'm not sure it's ACPI problem. I have a computer with SIS630E-based PCChips motherboard (M787CL+) and FreeBSD 6.2 (lately I upgraded to RELENG_6, but it didn't help). The problem is that when I try to reboot it just hangs. The last line I see on the screen is Rebooting..., then some vertical lines move across the screen (maybe video mode switch or something like that), and that's it. I tried to add some debug output to cpu_reset_real() code: printf(cpu_reset_real(): before keyboard reset\n); outb(IO_KBD + 4, 0xFE); printf(cpu_reset_real(): after keyboard reset\n); Then the last two lines I see on the screen when I try to reboot are: cpu_reset_real(): before keyboard reset c Also I tried to set BROKEN_KEYBOARD_RESET option but nothing changed (except I didn't see these debugging messages, obviously). The dmesg is at http://mysite.verizon.net/mr_hyro/acpi/dmesg.txt Booting with ACPI disabled doesn't help, neither does setting hw.acpi.disable_on_reboot and hw.acpi.handle_reboot to 1 (either one or both). Does anybody know how to fix this? Thank you, Andrey Tried to investigate further... Added code to print keyboard controller output port to make sure A20 is open. Got 0x0B. Does it mean that A20 is really open? If A20 is controlled by some kind of Fast A20 option, will keyboard controller still show the right status? And what else can I check? Thanks, Andrey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin problem after xorg 7.2 upgrade
On Sat, 2 Jun 2007 04:35:33 +0200 Nikola Lecic [EMAIL PROTECTED] wrote: On Sat, 02 Jun 2007 04:13:59 +0300 Ozan Enginoglu [EMAIL PROTECTED] wrote: [...] And is there any way to play flash files without using nspluginwrapper? Only in linux versions (linux-opera, linux-firefox...). There is no way to use linux flashplugin in native browsers without a wrapper. Actually, yes, depends on what you need. You can use graphics/libflash with www/flashplugin-mozilla (supports flash files up to version 4) and graphics/gnash (GNU flash player, which is not actually a plugin; AFAIK still can't handle YouTube, but it will in the near future). At this moment, if you want to cover the most demanding flash sites, you have no choice but to use linux-flashplugin (with a wrapper), as described in the mail I've just sent. Nikola Lečić ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to find disk slice layout
On 28/05/07, Robert Huff [EMAIL PROTECTED] wrote: Roland Smith writes: Note you do not back up the swap partition which is normally 'b' and don't do anything to the 'c' partition which is there only to describe the slice to the system and is not a true partition. You can probably skip backing up your /tmp also. What about /dev and /var? I'd backup /var, because it's usually small. And it also contains important things like your port options, and the database of installed packages. While everyone needs to e aware of their own circumstances ... most of /var _can_ be rebuilt with varying degrees of effort. Thanks to a dying disk, I lost /var/db/pkg/, and it is a fairly major pain to recreate. In essence, you have to reinstall everything under /usr/local, though portupgrade was reasonably helpful in that regard. 95% of /var/log/ can be safely lost, but ask which 5% to keep and you'll get a shrug. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
10/100/1000 Ethernet hardware recommendation
I'm about to build a Gigabit backend network for a few machines. This network will provide file and database services to a dedicated set of web application servers. My experience with Gigabit Ethernet leads me to like the Intel Pro/1000 cards which I believe use the em(4) driver in FreeBSD. Is this an appropriate NIC for a server or is there something better? Thanks in advance -- Chris -- __o All I was doing was trying to get home from work. _`\,_ -Rosa Parks ___(*)/_(*)___ Christopher Sean Hiltonchris | at | vindaloo.com pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]