'make release' on ZFS filesystem fails: chflags: operation not permitted
I followed the steps making a release on FreeBSD 8.0-RC2/AMD64 on my box, the target CHROOTDIR is located on a ZFS volume. I searched the list for a solution, but did not find any. sysctl kern.securelevel shows kern.securelevel: -1 Is there any solution? I guess those with complete ZFS infrastructure will not be able performing a make release, or do they? Thanks in advance, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 'make release' on ZFS filesystem fails: chflags: operation not permitted
O. Hartmann wrote: I followed the steps making a release on FreeBSD 8.0-RC2/AMD64 on my box, the target CHROOTDIR is located on a ZFS volume. I searched the list for a solution, but did not find any. sysctl kern.securelevel shows kern.securelevel: -1 Is there any solution? I guess those with complete ZFS infrastructure will not be able performing a make release, or do they? Odd I though flags were now supported on the newer zfs versions. Try NO_SCHG=yes in /etc/make.conf as a workaround. Vince Thanks in advance, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
SLIM and XFCE4
Hi all, I want to use SLIM (Graphical login manager for X11) with XFCE4. After the installation, I have enabled it with the line slim_enable=YES in /etc/rc.conf When I log in (from SLIM), the language in XFCE is english. If I don't use SLIM, I log in on TTY and use %startx, XFCE language is in French (I have configured it). Here my config files : .dmrc (of my user) [Desktop] Session=Xfce4 Language=fr_FR.UTF-8 .login_conf (of my user) me:\ :charset=ISO-8859-15:\ :lang=fr_FR.ISO8859-15:\ .xinitrc (of my user) /usr/local/bin/startxfce4 I want to use SLIM to launch XFCE4 in French. Thanks for your help. Alexandre. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/etc/fstab + embedded spaces
I was attempting to create this entry in the /etc/fstab file. It is to a WinXP machine. //u...@bios/My Documents /laptop smbfs rw,noauto 0 0 It fails because 'fstab' does not allow embedded spaces in device names, not does it allow enclosing the name in quotes. I did some Googling and discovered that I am not the only one annoyed by this behavior. I discovered this patch that had been submitted awhile ago. http://lists.freebsd.org/pipermail/freebsd-bugs/2007-October/026469.html Changing the share name is not really an option. Is there some way of making this work in 'fstab'? I can use the name including spaces in 'mount_smbfs' so that is how I am currently mounting the share. It just seems strange that 'fstab' by not accepting the use of quoting is not in step with how FreeBSD usually operates. -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | It is much easier to suggest solutions when you know nothing about the problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: WPA: specify alternate config file in rc.conf
On Mon, Nov 02, 2009 at 06:57:41PM -0500, jhell wrote: This is not a option in rc.conf default or otherwise ATM. The proper place to look for changing this: etc/rc.d/wpa_supplicant where it is hard-written to the start-up script/routine. This should probably be something that is handled in the default rc.conf through wpa_supplicant_flags and a default set for them to start from so it can at least be changed on a per use basis. I could have swore this was already in place in earlier sources. Thanks. In retrospect, I probably should have looked in /etc/rc.d on my own. Thanks for pointing me in the right direction. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpIhqD7VezGI.pgp Description: PGP signature
Re: am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else
I'm sorry fellows. You guys have given me great support and apparently I didn't get back to you. I'm sorry, I'm not very polite some times. I will try to be more careful about this. Okay -- I was able to get my mouse working. I made a ServerFlags section in my xorg.conf and suddenly!, my mouse moved. (Here you can assume a remark not in evidence...) Next, I have wonderful X sessions now. Next, I am prepared to nuke the /usr/ports area if I am told to do that -- I know it can be mechanically rebuilt in about an hour. (A past note from Kenneth gave me this instruction and while I was a little nervous I did it; And wow!, I was so impressed as I watched it come back.) Question: Does the rebuild process examine the pkg_info results and load up the directory appropriately?. or is it one size fits all? Question: Does anyone have a solution for doing a general machine backup to one file? So that I can back the machine up and later, subsequently, perform a simple restore. Because I've been using the machine very heavily now, and I usually find that my own manual backups miss one thing or another... You've probably had the same experience. Now, I see others asking for such a feature/mechanism. What's possible? As for gcc44, I am fairly certain that it's actually broken -- that the port itself is broken and that it isn't my incompetence, that the port itself is mis-configured or mis-coded. Oh., and in a conversation with an HP technical representative recently, he told me that my taking down windoz to install FreeBSD constituted a machine downgrade. On Mon, Nov 2, 2009 at 11:13 PM, Kenneth Freidank kennet...@earthlink.netwrote: Here are partial listings of my config files. Add these entries to your config files and see if that does the trick. I can't be 100% sure that everything is required, but it is what I have, and it works. Attached is the xorg.conf file I generated. Place it in the directory /etc/X11/. When you have done these things, make sure your user belongs to the group wheel, then login. To start X, give the command: startx You should get 3 windows, one of them labeled login in the title bar. If you type exit while inside this window, then return, that will end your X session. You will have some fatal error messages in your console window when X finishes. Also, make sure you have installed the nvidia drivers per my other postings. You can check if you have the package installed by typing: pkg_info | grep nvidia You should see at a minimum: nidia-driver-185.18.29 NVidia graphics card binary drivers for hardware OpenGL ren You have to build this packages and install it. This process is documented in the NetBSD documents and my other postings for installing FreeBSD on a Compaq Presario CQ60. File /etc/rc.conf linux_enable=YES moused_enable=YES keyrate=fast saver=star hald_enable=YES dbus_enable=YES vesa_load=YES File /boot/loader.conf nvidia_load=YES -Original Message- From: Henry Olyer henry.ol...@gmail.com Sent: Oct 26, 2009 2:53 AM To: freebsd-questions@freebsd.org Cc: Kenneth kennet...@earthlink.net, Chris Whitehouse cwhi...@onetel.com Subject: am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else 'everything; is dying in /usr/ports/lang/gcc44 I know, (in all likelihood,) I'll have to scratch this area and do a complete re-install. Fine. The thing is, I didn't change anything to mess this area up in the first place. I've just been going to various directories in /usr/ports and saying, make install clean and now this... I was trying to put up octave when this happened. So I could use a little help here, please... I also want/need to run X, and my X session (just put up,) doesn't yet let me move the mouse. I installed hal and dbus but what do I do now? And where or where do I put the ServerFlags entry in my xorg.conf file. I'm sorry, I just don't know these things... === Building for gcc-4.4.2.20091006 echo stage3 stage_final gmake[1]: Entering directory `/usr/ports/lang/gcc44/work/build' gmake[2]: Entering directory `/usr/ports/lang/gcc44/work/build' gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build' rm -f stage_current gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build' gmake[2]: Leaving directory `/usr/ports/lang/gcc44/work/build' gmake[2]: Entering directory `/usr/ports/lang/gcc44/work/build' gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libiberty' gmake[4]: Entering directory `/usr/ports/lang/gcc44/work/build/libiberty/testsuite' gmake[4]: Nothing to be done for `all'. gmake[4]: Leaving directory `/usr/ports/lang/gcc44/work/build/libiberty/testsuite' gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libiberty' gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/intl' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
Re: Eclipse Java 1.5
* Chuck Robey schrieb: Alex Huth wrote: Hi! I want to change my laptop system from Debian to FreeBSD. After installing 8.0 RC2 in a virtual machine i have tried to install eclipse and changed the Java version in the makefile to 1.5, but it still want to install the 1.6 jdk. I need the 1.5 version for several reasons, for example VPN account. This surprises me a bit, as I'd understood that the differences between 1.5 and 1.6 were strictly limited to bugfixes, and changed the interface not at all. Reason that this might make some difference to you is that, at least for me (using FreeBSD-current) the jdk16 port and eclipse, from ports, are absolutely rock stable. Do you really have some reports saying that jdk16 doesn't work in your situation? Yes, for example access over Juniper Netscreen VPN requires flash and java 1.5. Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ask for help on a strange question
Hi friend, I've set up a FreeBSD virtual machine with VmWare Player. After configuring networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I got command not found error: jove# pwd /opt/lampp jove# ls RELEASENOTESerror lampp logssbin backup etc lib modules share bin htdocs libexec phpmyadmin tmp cgi-bin icons licensesphpsqliteadmin var jove# ./lampp start ./lampp: Command not found. jove# If you know the reason which caused the error could you please kindly tell me by replying this email? Many thanks, Jove ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ask for help on a strange question
On 2009-11-03 23:08, Jove James wrote: jove# ./lampp start ./lampp: Command not found. I'm assuming that you've ensured that lampp has the executable bit set. When I ran into this myself, it was because I was trying to run an executable that the kernel didn't recognize (x86_64 on x86). Try running file lampp to see what kind of file it is. -- Matthew Anthony Kolybabi (Mak) m...@kolybabi.com () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ask for help on a strange question
On Tue, 3 Nov 2009, Jove James wrote: I've set up a FreeBSD virtual machine with VmWare Player. After configuring networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I got command not found error: jove# pwd /opt/lampp jove# ls RELEASENOTESerror lampp logssbin backup etc lib modules share bin htdocs libexec phpmyadmin tmp cgi-bin icons licensesphpsqliteadmin var jove# ./lampp start ./lampp: Command not found. jove# If you know the reason which caused the error could you please kindly tell me by replying this email? There's probably a FAQ entry, but I couldn't find it. In the meantime, the short version (third entry): http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3252+0+archive/2009/freebsd-chat/20091018.freebsd-chat More detail: man -P 'less +/rehash' csh -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ask for help on a strange question
On Tue, Nov 3, 2009 at 9:08 AM, Jove James freej...@gmail.com wrote: Hi friend, I've set up a FreeBSD virtual machine with VmWare Player. After configuring networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I got command not found error: jove# pwd /opt/lampp jove# ls RELEASENOTESerror lampp logssbin backup etc lib modules share bin htdocs libexec phpmyadmin tmp cgi-bin icons licensesphpsqliteadmin var jove# ./lampp start ./lampp: Command not found. jove# If you know the reason which caused the error could you please kindly tell me by replying this email? Many thanks, Jove If you really want to run a web server plus script lang plus on freebsd, you should just install the native packages and ports. There is the handbook which covers installation and configuration of each part of the stack, perhaps this is unlike you're previous os. http://www.freebsd.org/doc/en/books/handbook/network-apache.html You might even check for the port of the particular app you're trying to run and install that directly. It should pull in the dependencies directly. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /etc/fstab + embedded spaces
carmel_ny wrote: I was attempting to create this entry in the /etc/fstab file. It is to a WinXP machine. //u...@bios/My Documents /laptop smbfs rw,noauto 0 0 It fails because 'fstab' does not allow embedded spaces in device names, not does it allow enclosing the name in quotes. I did some Googling and discovered that I am not the only one annoyed by this behavior. I discovered this patch that had been submitted awhile ago. http://lists.freebsd.org/pipermail/freebsd-bugs/2007-October/026469.html Changing the share name is not really an option. Is there some way of making this work in 'fstab'? I can use the name including spaces in 'mount_smbfs' so that is how I am currently mounting the share. It just seems strange that 'fstab' by not accepting the use of quoting is not in step with how FreeBSD usually operates. Don't know if this works for fstab, but the normal way to escape spaces is with a \, like this: //u...@bios/My\ Documents /laptop smbfs rw,noauto 0 0 May not work in fstab but you can try it and see. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: please help me make sense of top's CPU output
Dan Nelson wrote: Junior Hacker Project: add an instantaneous-CPU value (calculated by subtracting successive ki_runtime values) to the list of things top calculates and toggle it and weighted-CPU when pressing C. The toggling code is already there; it just toggles between two different weighted-cpu values at the moment. Makes sense, thank you. If I want to hack a port program, I go to the work directory, edit the source, and rebuild. How do I hack a non-port program like top? Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: please help me make sense of top's CPU output
2009/11/3 Chris Stankevitz cstankev...@toyon.com: Dan Nelson wrote: Junior Hacker Project: add an instantaneous-CPU value (calculated by subtracting successive ki_runtime values) to the list of things top calculates and toggle it and weighted-CPU when pressing C. The toggling code is already there; it just toggles between two different weighted-cpu values at the moment. Makes sense, thank you. If I want to hack a port program, I go to the work directory, edit the source, and rebuild. How do I hack a non-port program like top? Chris Look in the Makefile for /usr/src/usr.bin/top, and you'll see the source is in /usr/src/contrib/top Hack away! Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ZFS non-zero checksum and permanent error with deleted file
Hello, I couldn't find a dedicated FreeBSD/ZFS mailing list, so I hope this is the right place to ask. I'd like some advice if I should rely on one of my ZFS pools: [u...@host ~]$ sudo zpool clear zpool01 ... [u...@host ~]$ sudo zpool scrub zpool01 ... [u...@host ~]$ sudo zpool status -v zpool01 pool: zpool01 state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://www.sun.com/msg/ZFS-8000-8A scrub: none requested config: NAMESTATE READ WRITE CKSUM zpool01 ONLINE 0 0 4 raidz1ONLINE 0 0 4 ad12ONLINE 0 0 0 ad14ONLINE 0 0 0 ad16ONLINE 0 0 0 ad18ONLINE 0 0 0 errors: Permanent errors have been detected in the following files: zpool01:0x3736a How can there be an error in a file that does not seem to exist ? How can I clear / recover from the error ? I have read the corresponding documentation and did the obligatory research, but so far, the only option I can see is a full destroy/create cycle - which seems an overkill, considering the pool size and the fact that there seems to be only one (deleted ?) file involved. [u...@host ~]$ df -h /mnt/zpool01/ FilesystemSizeUsed Avail Capacity Mounted on zpool01 1.3T1.2T133G90%/mnt/zpool01 [u...@host ~]$ uname -a FreeBSD host.domain 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Cheers, ssc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /etc/fstab + embedded spaces
On Tue 2009-11-03 06:57:12 UTC-0500, carmel_ny (carmel...@hotmail.com) wrote: I was attempting to create this entry in the /etc/fstab file. It is to a WinXP machine. //u...@bios/My Documents /laptop smbfs rw,noauto 0 0 It fails because 'fstab' does not allow embedded spaces in device names, not does it allow enclosing the name in quotes. A workaround may be to run mount_smbfs from /etc/crontab (or perhaps the root user's crontab), eg. @reboot /usr/sbin/mount_smbfs -N //u...@bios/My Documents /laptop or similar. Regards Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ZFS disk replacement questions
Hello list, I plan on rebuilding my home fileserver next month with FreeBSD 8.0 x64 and will be using 4x 2TB drives in an external eSATA hotswap enclosure using RAIDZ. I have played around with FreeBSD in VirtualBox just to see how easy it is to deal with ZFS, but a few questions have come up for this configuration. 1) In the event of a disk failure, how do I trace back the name such as adX to a physical drive in the enclosure? Is there a way to take the drive offline then use atacontrol to spin it down or something so it is easy to identify? 2) In the event that I do experience a failure and manage to replace a working disk instead of the failed disk, am I now completely hosed or can I put the working disk back in and try pulling another drive which is hopefully the bad drive? 3) Finally, does the extra load of resilvering the replaced drive 'age' the good drives causing them to fail quicker? Any tips would be greatly appreciated. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS disk replacement questions
Derrick Ryalls wrote: On Tue, Nov 3, 2009 at 10:21 AM, Steve Polyack kor...@comcast.net wrote: Derrick Ryalls wrote: 1) In the event of a disk failure, how do I trace back the name such as adX to a physical drive in the enclosure? Is there a way to take the drive offline then use atacontrol to spin it down or something so it is easy to identify? In my opinion you are best off using glabel(8) to give names to the disks. This way you can name them in a way that makes sense to you. Additionally, when you create the ZFS pool you will use the glabel'd names. This means that the pool will still come up properly if something causes your devices to be numbered differently (i.e. a drive dies and you happen to reboot the system). I believe ZFS does this automatically. Supposedly, if you take a working set of RAIDZ drives from one machine and put it in another, ZFS will figure out the drives since they get labelled by ZFS internally. My question concerns how to identify the physical disk in question based on the adX or glabel name? Different name in software is fine, but if the drive fails I want to make sure I pull the correct drive. This is possible, but I don't remember reading that ZFS handles this anywhere, and I've seen glabel(8) recommended elsewhere for the same reason. Either way, you can add your drives one-by-one and label them on the enclosure arraydrive00 and then glabel the individual disks with the same name. This way when ZFS tells you arraydrive03 is dead/offline, you can look at your enclosure and pull the drive with the arraydrive03 label. Depending on your controller it is also probably worth it to use one of the SATA-specific drivers in FreeBSD 8 - these are ones like ahci(4) and siis(4). While the generic ata(4) driver will work for pretty much everything, the updated AHCI drivers can take advantage of some more features. Enable the modules at boot to use them. I will look into it, thanks. The machine in question is 2 year old hardware currently with a 3ware raid card. I will be going software raid only, but FreeBSD already recognizes the eSATA drive I have attached as a backup device so I know the O/S can at least talk to sata drives attached to the mobo. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS disk replacement questions
Derrick Ryalls wrote: 1) In the event of a disk failure, how do I trace back the name such as adX to a physical drive in the enclosure? Is there a way to take the drive offline then use atacontrol to spin it down or something so it is easy to identify? In my opinion you are best off using glabel(8) to give names to the disks. This way you can name them in a way that makes sense to you. Additionally, when you create the ZFS pool you will use the glabel'd names. This means that the pool will still come up properly if something causes your devices to be numbered differently (i.e. a drive dies and you happen to reboot the system). Depending on your controller it is also probably worth it to use one of the SATA-specific drivers in FreeBSD 8 - these are ones like ahci(4) and siis(4). While the generic ata(4) driver will work for pretty much everything, the updated AHCI drivers can take advantage of some more features. Enable the modules at boot to use them. Any tips would be greatly appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /etc/fstab + embedded spaces
On Tue, 03 Nov 2009 12:13:24 -0500 Michael Powell nightre...@hotmail.com replied: carmel_ny wrote: I was attempting to create this entry in the /etc/fstab file. It is to a WinXP machine. //u...@bios/My Documents /laptop smbfs rw,noauto 0 0 It fails because 'fstab' does not allow embedded spaces in device names, not does it allow enclosing the name in quotes. I did some Googling and discovered that I am not the only one annoyed by this behavior. I discovered this patch that had been submitted awhile ago. http://lists.freebsd.org/pipermail/freebsd-bugs/2007-October/026469.html Changing the share name is not really an option. Is there some way of making this work in 'fstab'? I can use the name including spaces in 'mount_smbfs' so that is how I am currently mounting the share. It just seems strange that 'fstab' by not accepting the use of quoting is not in step with how FreeBSD usually operates. Don't know if this works for fstab, but the normal way to escape spaces is with a \, like this: //u...@bios/My\ Documents /laptop smbfs rw,noauto 0 0 May not work in fstab but you can try it and see. Thanks for the suggestion. Unfortunately, it doesn't work either. -- Jerry ges...@yahoo.com |=== |=== |=== |=== | The most winning woman I ever knew was hanged for poisoning three little children for their insurance money. Sherlock Holmes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
100.0% OT [almost]
will anybody interested in checkiing out my html/php [koff, koff] skills please look at http://journey.thought.org/home and get back to me *offlist*? need help. Any ideas why this renders slightly differently in freebsd and the linux on my laptop? both using firefox3. it isn't critical that this renders Exactly the same regardless, but it wouldn't hurt. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Does hybernate/wakeup work?
On Tue, Nov 3, 2009 at 7:56 PM, Yuri y...@rawbw.com wrote: Paul B Mahol wrote: On 10/23/09, Yuri y...@rawbw.com wrote: I tried to make system hybernate with 'acpiconf -s4' on my laptop. It quickly turned off, but when I press the power button it boots like no hybernate and begins to check disks. What can be wrong? OS S4 is not implemented, but BIOS S4 is possible on some machines ... And on 8.0 and 9.0 i386 SMP doesnt resume properly (amd64 works). 'acpiconf -s4' also brings laptop to unwakeable state. Power button begins to flash, when I press any button there is some disk activity, power button light turns on. And nothing happens. 'apm -z' produces similar result. Maybe it's better to ask what works? Is there any way I can use suspend/sleep mode? Any basic way to make it sleep? Yuri acpiconf -s3 should put it to sleep .. you can also set hw.acpi.lid_switch_state: S3 in /etc/sysctl.conf so you can close the lid and send the laptop to S3 ... the problem might be getting the system to resume .. Best Regards Gonzalo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Does hybernate/wakeup work?
Paul B Mahol wrote: On 10/23/09, Yuri y...@rawbw.com wrote: I tried to make system hybernate with 'acpiconf -s4' on my laptop. It quickly turned off, but when I press the power button it boots like no hybernate and begins to check disks. What can be wrong? OS S4 is not implemented, but BIOS S4 is possible on some machines ... And on 8.0 and 9.0 i386 SMP doesnt resume properly (amd64 works). 'acpiconf -s4' also brings laptop to unwakeable state. Power button begins to flash, when I press any button there is some disk activity, power button light turns on. And nothing happens. 'apm -z' produces similar result. Maybe it's better to ask what works? Is there any way I can use suspend/sleep mode? Any basic way to make it sleep? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Packets delays
Hello! We have a problem... Dlink 3426 is core of our network. DGS 3612 - routers, which are connected to core (users). Core is connected to bridge. There are three interfaces igb0, igb1, igb2 on bridge: igb0 - local network igb1 - border1 igb2 - border2 Bridge is are shaper (ipfw). border1 and border2 are connected to bridge. Border1: FreeBSD 7.0-STABLE-200807 i386 Border2: FreeBSD 7.2-STABLE-200906 i386 Bridge: FreeBSD 7.2-STABLE-200906 amd64 Traffic is devided between two borders. We have not got any problems with border2. But on border1 we have: ping through border1 from users and from bridge ping ya.ru PING ya.ru (93.158.134.8): 56 data bytes 64 bytes from 93.158.134.8: icmp_seq=0 ttl=58 time=95.083 ms 64 bytes from 93.158.134.8: icmp_seq=1 ttl=58 time=102.876 ms 64 bytes from 93.158.134.8: icmp_seq=2 ttl=58 time=113.630 ms 64 bytes from 93.158.134.8: icmp_seq=3 ttl=58 time=90.352 ms 64 bytes from 93.158.134.8: icmp_seq=4 ttl=58 time=127.349 ms 64 bytes from 93.158.134.8: icmp_seq=5 ttl=58 time=115.942 ms 64 bytes from 93.158.134.8: icmp_seq=6 ttl=58 time=103.753 ms 64 bytes from 93.158.134.8: icmp_seq=7 ttl=58 time=124.507 ms But in border1 we have: ping ya.ru PING ya.ru (213.180.204.8): 56 data bytes 64 bytes from 213.180.204.8: icmp_seq=0 ttl=61 time=3.130 ms 64 bytes from 213.180.204.8: icmp_seq=1 ttl=61 time=2.909 ms 64 bytes from 213.180.204.8: icmp_seq=2 ttl=61 time=3.791 ms 64 bytes from 213.180.204.8: icmp_seq=3 ttl=61 time=2.953 ms 64 bytes from 213.180.204.8: icmp_seq=4 ttl=61 time=3.298 ms 64 bytes from 213.180.204.8: icmp_seq=5 ttl=61 time=3.096 ms bridge: 1). netstat -w1d -I igb0 input(igb0)output packets errs bytes packets errs bytes colls 32442 0 19375201 29681 0 232202910 31894 0 19334182 29124 0 230439420 31566 0 18885017 28558 0 223900160 31810 0 19200993 28768 0 222706870 31879 0 19347245 29145 0 227954400 31697 0 18997706 29274 0 226519270 32042 0 18963695 29634 0 235081030 30674 0 18123997 28432 0 228902820 31654 0 18519433 28860 0 229187990 31961 0 19145696 29418 0 232380310 32056 0 19053994 29723 0 237752150 32367 0 18952231 29771 0 237740540 2). netstat -w1d -I igb1 input(igb1)output packets errs bytes packets errs bytes colls 21378 0 19903174 21410 0 9866489 0 21444 0 19948761 21752 0 102668690 21435 0 19972984 21825 0 102892650 21318 0 19748715 21431 0 102386960 21606 0 19855988 21467 0 104830230 21825 0 19956737 21750 0 104526410 21665 0 19805016 21980 0 107113570 20937 0 18983521 21357 0 105067640 21241 0 19280484 21992 0 107130080 21469 0 19652542 21667 0 103914240 21235 0 19538130 21524 0 107575720 20779 0 18963762 21003 0 105252450 20853 0 18854491 21312 0 105598900 Those commands on border1: 1). internal netstat -w1d -I em1 input (em1)output packets errs bytes packets errs bytes colls 9862 0 82864638226 0 4172860 0 10060 0 86034607209 0 3184874 0 9290 0 77816487709 0 3672720 0 9720 0 83113917208 0 3545028 0 10256 0 86691298232 0 4678531 0 9509 0 81401507715 0 3878637 0 9554 0 80817667199 0 3512477 0 9426 0 80462177721 0 3867273 0 9795 0 81778037721 0 3729722 0 9637 0 82979937199 0 3766607 0 9671 0 82752107202 0 3510855 0 9451 0 83061227196 0 3535604 0 9324 0 80090447202 0 3092661 0 9715 0 82652377364 0 3575433 0 9908 0 82159787499 0 3911766 0 9776 0 82704328086 0 4178572 0 2). external netstat -w1d -I em0 input (em0)output packets errs bytes packets errs bytes colls 8253 0 46406779803 0 8495567 0 7897 0 4878726 10041 0 7322200 0 8368 0 47762209832 0 8565609 0 7650 0 42859859283 0 7717595 0 7891 0 43524739797 0 8134889 0 8606
linux emulation problems
I'm using linux_base-f10. During the installation of ports. The error comes to to use at least base-f8. Ports have been updated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /etc/fstab + embedded spaces
On Tue 2009-11-03 14:07:37 UTC-0600, Adam Vande More (amvandem...@gmail.com) wrote: windows path's have alternate eg c:\Test~1 Yes, files and paths may all have an MS-DOS 8.3 equivalent (I think this option can be disabled in NTFS), however Windows SMB shares do not. \\host\My Documents is valid, but not \\host\MYDOCU~1. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Salvage files from harddrive
On Tue, 6 Oct 2009 20:50:39 -0400 jhell jh...@dataix.net wrote: If you can mount this disk in single user mode your best bet to be safe is just glabel it to something else that your second system is not before you take the disk out of the machine. Even though I don't think it should/would be a problem I can not speak of a authoritative nature on this subject because I have not had to test such cases. Personally, I don't think this practise of labelling partitions with names like var makes any sense. fstab exists to keep track of what devices map to which mount points, the point of glabel is to give those devices unique names that are independent of where and when they are detected. I think people get the idea that if they use labels like var they'll never need to edit fstab again. The benefit of that is negligible, it's much easier and less confusing to make minor changes to fstab when you copy it to a new disk than it is to shuffle labels around. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: WPA: specify alternate config file in rc.conf
On Tuesday 03 November 2009 00:57:41 jhell wrote: On Mon, 2 Nov 2009 17:27, onemda@ wrote: On 11/2/09, Chad Perrin per...@apotheon.com wrote: If I want to start wpa_supplicant directly, and specify a particular configuration file, I can do something like this: wpa_supplicant -i iwi0 -c /path/to/wpa_alternate.conf How would I specify the use of /path/to/wpa_alternate.conf in my rc.conf ifconfig line, rather than just going with the default /etc/wpa_supplicant.conf file? Look into /etc/defaults/rc.conf for hint. This is not a option in rc.conf default or otherwise ATM. It is on 8. Looks pretty safe to apply: svn diff -c 178022 svn://svn.freebsd.org/base/stable/8 -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: system() call causes core dump
On Saturday 31 October 2009 21:52:37 Peter Steele wrote: In UNIX it is not safe to perform arbitrary actions after forking a multi-threaded process. You're basically expected to call exec soon after the fork, although you can do certain other work if you are very careful. The reason for this is that after the fork, only one thread will be running in the child, and if that thread tries to acquire a lock or other formerly-shared resource it may deadlock or crash, because the child process is no longer accessing the same memory location as the threads in the parent process (it gets a separate copy of the address space at the time of fork, which may not be in a consistent state from the point of view of the thread library). I am not calling fork explicitly. The thread I'm running in was created with pthread_create(). The fork() in the stack trace in my original email is being called by the system() function as it spawns off the process it is supposed want to run. Is there a safe way to call system() within a pthread? Either I'm very lucky, or popen is better suited for this, as I have this running on various machines, 24/7: #define PING_CMD \ ping -n -c 50 %s 2/dev/null|egrep 'round-trip|packets received' /* worker thread main loop */ void *monitor_host(void *data) { ... if( -1 == asprintf(cmd, PING_CMD, ip) ) { warnl(Failed to construct command); *ex = EX_OSERR; return(ex); } while( !signalled ) { if( (cmd_p = popen(cmd, r)) == NULL ) { warnl(Failed to run command %s, cmd); *ex = EX_OSERR; return(ex); } EV_SET(ch, fileno(cmd_p), EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, NULL); for( ;; ) { int nev; if( signalled || (nev = kevent(kq, ch, 1, ev, 1, timeout)) == -1 ) { if( signalled == SIGHUP ) goto closeproc; else goto cleanup; } if( nev ) break; } /* read fp, store in db */ } } -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ask for help on a strange question
On Tue, Nov 03, 2009 at 11:08:25PM +0800, Jove James wrote: Hi friend, I've set up a FreeBSD virtual machine with VmWare Player. After configuring networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I got command not found error: jove# pwd /opt/lampp jove# ls RELEASENOTESerror lampp logssbin backup etc lib modules share bin htdocs libexec phpmyadmin tmp cgi-bin icons licensesphpsqliteadmin var jove# ./lampp start ./lampp: Command not found. Assuming that lampp is a script with the exec bit set, you may want to check that the first line references a script-interpreter that exists, eg #!/usr/bin/perl. Cheers. -- Jonathan Chen j...@chen.org.nz --- One, with God, is always a majority, but many a martyr has been burned at the stake while the votes were being counted. -- Thomas B. Reed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SLIM and XFCE4
Alexandre L. wrote: Hi all, I want to use SLIM (Graphical login manager for X11) with XFCE4. After the installation, I have enabled it with the line slim_enable=YES in /etc/rc.conf When I log in (from SLIM), the language in XFCE is english. If I don't use SLIM, I log in on TTY and use %startx, XFCE language is in French (I have configured it). Here my config files : .dmrc (of my user) [Desktop] Session=Xfce4 Language=fr_FR.UTF-8 .login_conf (of my user) me:\ :charset=ISO-8859-15:\ :lang=fr_FR.ISO8859-15:\ .xinitrc (of my user) export LANG fr_FR.UTF-8 /usr/local/bin/startxfce4 I want to use SLIM to launch XFCE4 in French. -- 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 freebsd-questions-unsubscr...@freebsd.org
mounting media with policykit and hald
How do I mount smartmedia and other media types without the use of camcontrol? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else
I believe ports and packages to be 2 separate items. pkg_info hasto do with what packages you have installed. The ports system has to = do with creating the packages. Different mechanisms are available to manage the source tree that t he ports system uses to create packages. I believe each of these diff= erent mechanisms start with an entire tree in your /usr/ports directory, an= d then makes incremental changes to it based on published changes. Yo= u can even build or rebuild any of these ports at any time, even if you don= 't have the latest ports tree updates, or never install the built port.nbs= p; So, I believe the answer to your 1st question is that you begin wit= h a one size fits all, followed by updates that you manage. So far, I have not talked about installing yet. Once a port has been built, you can install it. Unless you save th= e built port as a package (the 'make package' command), you will not be abl= e to reinstall the built port if you clean it (the 'make clean' command).n= bsp; You can save as many built ports as packages as you want. = Each time you install a built port (the 'make install' command), the packag= es database gets updated in your system. This database is what pkg_in= fo uses. Some commands in the different mechanisms you have availablen= bsp;to manage your ports source, can be used to help select which pack ages need updating when you install an update to a package. About your 2nd question, I have no idea. I keep track of how to bu ild a system, keeping copies of config files, then I make backups= of file or data systems on an ongoing basis. Re gc44. FreeBSD 7.2 comes with 4.2 already installed. Maybe= when you installed 4.4 on top of it, something got messed up, or an option must be set for both to co-exist. I don't know, but I would try to k eep with the version that came with the system ( just an unjustified p= hobia I have about mixing new compiler binaries with old compiler binaries = ). -Original Message- From: Henry Olyer Sent: Nov 3, 2009 8:21 AM To: Kenneth Freidank Cc: freebsd-questions@freebsd.org, Chris Whitehouse Subject: Re: am I the only one, wrt gcc44 -- it is fa= iling and I can't build octave or much else I'm sorry fellows. You guys have given me great support and apparently I didn't get back = to you. I'm sorry, I'm not very polite some times. I will try t= o be more careful about this. Okay -- I was able to get my mouse working. I made a ServerFlags section in my xorg.conf and suddenly!, my mouse m= oved. (Here you can assume a remark not in evidence...) Next, I have wonderful X sessions now. Next, I am prepared to nuke the /usr/ports area if I am told to do tha= t -- I know it can be mechanically rebuilt in about an hour. (A past = note from Kenneth gave me this instruction and while I was a little nervous= I did it; And wow!, I was so impressed as I watched it come back.) Question: Does the rebuild process examine the pkg_info results = and load up the directory appropriately?. or is it one size fits all? Question: Does anyone have a solution for doing a general machin= e backup to one file? So that I can back the machine up and later, su bsequently, perform a simple restore. Because I've been using the mac= hine very heavily now, and I usually find that my own manual backups miss o= ne thing or another... You've probably had the same experience. = ;Now, I see others asking for such a feature/mechanism. What's possib= le? As for gcc44, I am fairly certain that it's actually broken -- that th= e port itself is broken and that it isn't my incompetence, that the port it= self is mis-configured or mis-coded. Oh., and in a conversation with an HP technical representative recentl= y, he told me that my taking down windoz to install FreeBSD constituted a = machine downgrade. On Mon, Nov 2, 2009 at 11:13 PM, Kenneth Freidank [1]kennet...@earthlink.net wrote: Here are partial listings of my co= nfig files. Add these entries to your config files and see if that do= es the trick. I can't be 100% sure that everything is required, but i= t is what I have, and it works. Attached is the xorg.conf file I gene= rated. Place it in the directory /etc/X11/. When you have done = these things, make sure your user belongs to the group wheel, then login.= To start X, give the command: startx You should get 3 wi= ndows, one of them labeled login in the title bar. If you type exi= t while inside this window, then return, that will end your X session. nb= sp;You will have some fatal error messages in your console window when X = finishes. Also, make sure you have installed the nvidia drivers per = my other postings. You can
Re: Why trying to create file on ntfs-mounted directory always causes No such file or directory error?
Hi Yuri, You wrote: I have r/w mounted ntfs. And 'touch x' there produces an error. Why would this be? I've had this too. The standard ntfs does not allow rw on the file system. You have to install fuse-ntfs from /usr/ports/sysutils (please check this on your system - I do not have a FreeBSD system in front of me just now). Then it must be mounted from the command line: ntfs-3g options /dev/disc_whatever /mount_point I could not get it to work from /etc/fstab. I'll check exactly how I do it tonight when I get home and re-post with more details. Cheers, Rob Hurle -- - Rob Hurle ANU, College of Asia and the Pacific School of Culture, History and Language e-mail: rob1...@gmail.com Telephone (ANU): +61 2 6125 3169 Mobile (in VN): +84 948 243 538 (Currently in Australia) Mobile (in OZ): +61 417 293 603 (Currently in Australia) - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
OpenWBEM for FreeBSD?
Anyone know if there is a port for OpenWBEM for FreeBSD? I did some searching but couldn't find anything, although I did find references saying that there is a FreeBSD port. I couldn't find anything in the usual places though... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
need help with nvidia drivers
I'm not able to use the glx settings on my computer. RGB comes back as a double buffer error. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
7.x on Dell R900?
Hello List, I cannot find any fresh information on compatibility of Dell PowerEdge R900 and FreeBSD after googling for several hours, so I decided to ask here. If this is not the right place, please redirect me to. All of our servers run FreeBSD with one exception - a CentOS machine, which adds to the overall maintenance workload and keeping up to date. Back in the day, after getting the R900 (without prior OS compatibility research), the word was that FreeBSD will not run on this hardware and we ended up installing CentOS. That was well over a year ago and I am wondering if anyone could share some insight into the current compatibility status, installation/operation pitfalls and any other tips that would allow me to get away from Linux on this R900 box and create a homogeneous server-space environment with FreeBSD 7.x. Here are some basic specs, I can provide more details if needed: 4 x 4-core 3.0 GHz Intel Xeon CPU's 32GB RAM LSILogic PERC 4e/Di Firmware 516A, BIOS H418, 256MB RAM PERC 6/i Rev: 1.11 Any creative help will be appreciated. Thank you. Best Regards, Matthew Szubrycht ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenWBEM for FreeBSD?
On Tue, Nov 3, 2009 at 5:40 PM, Peter Steele pste...@maxiscale.com wrote: Anyone know if there is a port for OpenWBEM for FreeBSD? I did some searching but couldn't find anything, although I did find references saying that there is a FreeBSD port. I couldn't find anything in the usual places though... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Supported platforms say no. Have you tried zabbix? I've had decent experience with it. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Why trying to create file on ntfs-mounted directory always causes No such file or directory error?
I have r/w mounted ntfs. And 'touch x' there produces an error. Why would this be? 8.0-RC2 Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Linux-realplayer missing from ports
Aloha, I am trying to get Linux-RealPlayer to install from updated ports collection on a FreeBSD 9 desktop box. (Xorg and www etc all installed fine on this test box.) Error says it cannot be found in our ports collection. Is there a way to locate the maintainer? This port is missing some components. Or can it be down loaded into distfiles? If so from where? Or has this been replaced by something else to play audio in ports. I would be glad to try any port for playing audio from web or files that is known to work. Thanks ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + email: n...@hdk5.net All that's really worth doing is what we do for others.- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS disk replacement questions
On Tue, Nov 3, 2009 at 10:21 AM, Steve Polyack kor...@comcast.net wrote: Derrick Ryalls wrote: 1) In the event of a disk failure, how do I trace back the name such as adX to a physical drive in the enclosure? Is there a way to take the drive offline then use atacontrol to spin it down or something so it is easy to identify? In my opinion you are best off using glabel(8) to give names to the disks. This way you can name them in a way that makes sense to you. Additionally, when you create the ZFS pool you will use the glabel'd names. This means that the pool will still come up properly if something causes your devices to be numbered differently (i.e. a drive dies and you happen to reboot the system). I believe ZFS does this automatically. Supposedly, if you take a working set of RAIDZ drives from one machine and put it in another, ZFS will figure out the drives since they get labelled by ZFS internally. My question concerns how to identify the physical disk in question based on the adX or glabel name? Different name in software is fine, but if the drive fails I want to make sure I pull the correct drive. Depending on your controller it is also probably worth it to use one of the SATA-specific drivers in FreeBSD 8 - these are ones like ahci(4) and siis(4). While the generic ata(4) driver will work for pretty much everything, the updated AHCI drivers can take advantage of some more features. Enable the modules at boot to use them. I will look into it, thanks. The machine in question is 2 year old hardware currently with a 3ware raid card. I will be going software raid only, but FreeBSD already recognizes the eSATA drive I have attached as a backup device so I know the O/S can at least talk to sata drives attached to the mobo. Any tips would be greatly appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /etc/fstab + embedded spaces
On Tue, Nov 3, 2009 at 2:20 PM, andrew clarke m...@ozzmosis.com wrote: On Tue 2009-11-03 14:07:37 UTC-0600, Adam Vande More ( amvandem...@gmail.com) wrote: windows path's have alternate eg c:\Test~1 Yes, files and paths may all have an MS-DOS 8.3 equivalent (I think this option can be disabled in NTFS), however Windows SMB shares do not. \\host\My Documents is valid, but not \\host\MYDOCU~1. google also say use \040 in place of space -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
linux-firefox
Hi, I have ran into a problem that I haven't encountered yet. I'm in process of reinstalling BSD after a hardware failure. I was using www/linux-firefox-devel at first because I wanted verision 3. After discouving www/linux-firefox has been changed from 2 to 3, I uninstalled the devel version and replaced it with linux-firefox. The devel version did worked. However when I type linux-firefox in xterm, nothing happens. It doesn't start and I receive no error messages. Now what do I do? I am using kernal 7.1, linprocfs is mounted, all of the listed dependences are meet and the ports tree is the most current version. I would try www/firefox35 but I am plugin happy. Thank you for help. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [SPAM] FreeBSD 7.2 ia64
That's not normal... but then, what is these days? You probably saved some webpage instead of the actual iso (or whatever other format you were trying for) As old video games used to say: 'Try again?' Cheers, Matt On Oct 30, 2009, at 3:09 PM, Clayton Wilhelm da Rosa wrote: Hi my name is Clayton Wilhelm da Rosa, I made the dowmload of FreeBSD 7.2 ia64 i wanna know if is normal the files of disc 2 and 3 have only 364Kb size. thank you very much. Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /etc/fstab + embedded spaces
On Tue, Nov 3, 2009 at 2:02 PM, andrew clarke m...@ozzmosis.com wrote: On Tue 2009-11-03 06:57:12 UTC-0500, carmel_ny (carmel...@hotmail.com) wrote: I was attempting to create this entry in the /etc/fstab file. It is to a WinXP machine. //u...@bios/My Documents /laptop smbfs rw,noauto 0 0 It fails because 'fstab' does not allow embedded spaces in device names, not does it allow enclosing the name in quotes. A workaround may be to run mount_smbfs from /etc/crontab (or perhaps the root user's crontab), eg. @reboot /usr/sbin/mount_smbfs -N //u...@bios/My Documents /laptop or similar. Regards Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org windows path's have alternate eg c:\Test~1 -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 100.0% OT [almost]
On Tue, Nov 3, 2009 at 8:05 PM, Gary Kline kl...@thought.org wrote: will anybody interested in checkiing out my html/php [koff, koff] skills please look at http://journey.thought.org/home and get back to me *offlist*? need help. Any ideas why this renders slightly differently in freebsd and the linux on my laptop? both using firefox3. it isn't critical that this renders Exactly the same regardless, but it wouldn't hurt. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php firefox firebug extension is the easiest method I have found of resolving this type of issue. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Does hybernate/wakeup work?
In freebsd-questions Digest, Vol 283, Issue 5, Message 13 On Tue, 03 Nov 2009 10:56:24 -0800 Yuri y...@rawbw.com wrote: Paul B Mahol wrote: On 10/23/09, Yuri y...@rawbw.com wrote: I tried to make system hybernate with 'acpiconf -s4' on my laptop. It quickly turned off, but when I press the power button it boots like no hybernate and begins to check disks. What can be wrong? OS S4 is not implemented, but BIOS S4 is possible on some machines ... And on 8.0 and 9.0 i386 SMP doesnt resume properly (amd64 works). 'acpiconf -s4' also brings laptop to unwakeable state. Power button begins to flash, when I press any button there is some disk activity, power button light turns on. And nothing happens. 'apm -z' produces similar result. Maybe it's better to ask what works? Is there any way I can use suspend/sleep mode? Any basic way to make it sleep? As Paul said, hibernation only works if the machine's BIOS supports it (hw.acpi.s4bios = 1) AND you've already prepared a suitable disk area, usually a separate slice (DOS partition) or as a file in a 'doze slice. To make even a vaguely informed guess as to whether hibernation and/or acpiconf -s3 (suspend/resume) might work, we'd need to know: What version of FreeBSD on which architecture? (output of 'uname -a') What make and model of laptop? (someone may know if that one works) Whether it runs a single or multiple CPUs? (see /var/run/dmesg.boot) The output of 'sysctl hw.acpi' ? cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
7.x on Dell R900?
Hello List, I cannot find any fresh information on compatibility of Dell PowerEdge R900 and FreeBSD after googling for several hours, so I decided to ask here. If this is not the right place, please redirect me to. All of our servers run FreeBSD with one exception - a CentOS machine, which adds to the overall maintenance workload and keeping up to date. Back in the day, after getting the R900 (without prior OS compatibility research), the word was that FreeBSD will not run on this hardware and we ended up installing CentOS. That was well over a year ago and I am wondering if anyone could share some insight into the current compatibility status, installation/operation pitfalls and any other tips that would allow me to get away from Linux on this R900 box and create a homogeneous server-space environment with FreeBSD 7.x. Here are some basic specs, I can provide more details if needed: 4 x 4-core 3.0 GHz Intel Xeon CPU's 32GB RAM LSILogic PERC 4e/Di Firmware 516A, BIOS H418, 256MB RAM PERC 6/i Rev: 1.11 Any creative help will be appreciated. Thank you. Best Regards, Matthew Szubrycht ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
7.x on Dell R900?
Hello List, I cannot find any fresh information on compatibility of Dell PowerEdge R900 and FreeBSD after googling for several hours, so I decided to ask here. If this is not the right place, please redirect me to. All of our servers run FreeBSD with one exception - a CentOS machine, which adds to the overall maintenance workload and keeping up to date. Back in the day, after getting the R900 (without prior OS compatibility research), the word was that FreeBSD will not run on this hardware and we ended up installing CentOS. That was well over a year ago and I am wondering if anyone could share some insight into the current compatibility status, installation/operation pitfalls and any other tips that would allow me to get away from Linux on this R900 box and create a homogeneous server-space environment with FreeBSD 7.x. Here are some basic specs, I can provide more details if needed: 4 x 4-core 3.0 GHz Intel Xeon CPU's 32GB RAM LSILogic PERC 4e/Di Firmware 516A, BIOS H418, 256MB RAM PERC 6/i Rev: 1.11 Any creative help will be appreciated. Thank you. Best Regards, Matthew Szubrycht ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Rebuild instructions for amd64 systems
Hi Richard, Kernel recompilation part of the handbook is fairly straightforward and should walk you through step-by-step without any snags: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html Just remember to use amd64 instead i386 in the examples @ the link above. You will need full source tree to play with kernel (sysinstall to the rescue if you don't). Disclaimer - the below worked for me multiple times and may or may not work for you. If you decide to follow the steps outlined below and it breaks your box, spills your coffee or converts the datacenter into a recycling center, you are responsible for it and I cannot be held accountable in any way. In other words - use at your own risk. The way I do it (6.0-RELEASE) - at this point you must be root: cd mkdir kernels cd /usr/src/sys/amd64/conf cp GENERIC ~/kernels/GENERIC.ORIG cp GENERIC NEWKERNEL vim NEWKERNEL, search for ident GENERIC and change to NEWKERNEL then, add the following line below all other 'options' lines: options PAE # large memory (4G) support then, find and comment out these two lines to avoid a conflict with PAE: device adv # Advansys SCSI adapters device adw # Advansys wide SCSI adapters I am not sure about the Advansys conflict in versions newer than 6.0. A total of 4 lines to edit on of my stock 6.0-RELEASE GENERIC kernel. Then: cd /usr/src make buildkernel KERNCONF=NEWKERNEL if compiles, install: make installkernel KERNCONF=NEWKERNEL once that's done, reboot and you should see your new kernel Here's a diff from my 6.0: [r...@banksy /usr/src/sys/i386/conf]# diff BANKSYPAE GENERIC 25c25 ident BANKSYPAE --- ident GENERIC 65c65 optionsPAE # 2006-12-12 Large memory support ma...@bmihosting.com --- 96,97c96,97 # conflicts with PAE deviceadv # Advansys SCSI adapters # conflicts with PAE deviceadw # Advansys wide SCSI adapters --- device adv # Advansys SCSI adapters device adw # Advansys wide SCSI adapters Good luck. Cheers, Matthew Szubrycht On Oct 29, 2009, at 8:52 PM, Richard Gehlbach wrote: I am installing FreeBSD 7.2 / amd64 on a new server (HP DL370 G6) with 2 quad Xeon processors and 16GB memory. I have worked with the i386 versions since version 3.x, but this is the first server large enough to need amd64. I have been trying to determine the correct procedures for rebuilding the world and kernel. I have not been able to find a location that had step by step instructions, similar to the handbook, for properly working with the amd64 version. Searches have turned up so many fragments of what needs to be done, that I cannot feel confident trying to put the pieces together. I need instructions for the command line compile options, conf file additions, and any special instructions. If anyone can point me to some applicable links or some specific instructions, it would be appreciated. TIA Richard -- Richard D. Gehlbach Gehlbach Consulting Services rdgeh...@gehlbach.com 3321 Pepperhill Ct. 859.269.6658 Fax 859.266.7446Lexington, KY 40502 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
8.0RC custom kernel not installing?
I compiled a custom kernel with ZFS enabled and installed it. Everything appeared to work fine, then I realized that I needed to make some more modifications (ALTQ, disabling ulpt). I made those configuration changes to the existing ZFS kernel config. After running make buildkernel kernconf=ZFS and make installkernel kernconf=ZFS (ZFS is the name of the kernel config file) I rebooted the machine but didn't see any change in the system config. I've also made sure I did the build/install as root. I doubled-checked the config in the kernel directory, the config is properly done. Any ideas? --Joseph ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Does hybernate/wakeup work?
Ian Smith wrote: As Paul said, hibernation only works if the machine's BIOS supports it (hw.acpi.s4bios = 1) AND you've already prepared a suitable disk area, usually a separate slice (DOS partition) or as a file in a 'doze slice. To make even a vaguely informed guess as to whether hibernation and/or acpiconf -s3 (suspend/resume) might work, we'd need to know: What version of FreeBSD on which architecture? (output of 'uname -a') What make and model of laptop? (someone may know if that one works) Whether it runs a single or multiple CPUs? (see /var/run/dmesg.boot) The output of 'sysctl hw.acpi' ? cheers, Ian Here is this information: FreeBSD-8.0-RC2 Laptop is Lenovo S10-2, single CPU, Intel Atom. --- sysctl hw.acpi output --- hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: NONE hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 43.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 0 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 102.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: -1 hw.acpi.thermal.tz0._TC2: -1 hw.acpi.thermal.tz0._TSP: 300 hw.acpi.battery.life: -1 hw.acpi.battery.time: -1 hw.acpi.battery.state: 7 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 hw.acpi.cpu.cx_lowest: C1 Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Does hybernate/wakeup work?
On Tue, 3 Nov 2009, Yuri wrote: Ian Smith wrote: As Paul said, hibernation only works if the machine's BIOS supports it (hw.acpi.s4bios = 1) AND you've already prepared a suitable disk area, usually a separate slice (DOS partition) or as a file in a 'doze slice. To make even a vaguely informed guess as to whether hibernation and/or acpiconf -s3 (suspend/resume) might work, we'd need to know: What version of FreeBSD on which architecture? (output of 'uname -a') What make and model of laptop? (someone may know if that one works) Whether it runs a single or multiple CPUs? (see /var/run/dmesg.boot) The output of 'sysctl hw.acpi' ? cheers, Ian Here is this information: FreeBSD-8.0-RC2 i386 or amd64? It matters, which is why we ask for uname -a .. obscure your hostname etc if needed. Some Atom models (230 and 330, I read) have feature 'LM' and so can run amd64; others don't and must run i386. Laptop is Lenovo S10-2, single CPU, Intel Atom. But with hyperthreading enabled or not? How many CPUs launched (dmesg)? Again, it matters. As I understand it, on 8.0 amd64 SMP suspend/resume (S3) should work, i386 SMP is currently broken, i386 non-SMP should (still) work, but I'm really not sure about the Atoms. head -50 /var/run/dmesg.boot (or so) should clear this up. We don't need the whole thing, but show anything to do with ACPI and CPU(s). --- sysctl hw.acpi output --- hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: NONE hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 So, hibernate won't work. There was talk of someone doing that for a Google SoC project but I've heard no more about it for a long while. hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 43.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 0 Slightly surprising, but again I know nothing about Atom BIOSes. hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 102.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: -1 hw.acpi.thermal.tz0._TC2: -1 hw.acpi.thermal.tz0._TSP: 300 hw.acpi.battery.life: -1 hw.acpi.battery.time: -1 hw.acpi.battery.state: 7 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 hw.acpi.cpu.cx_lowest: C1 If this is either i386 uniprocessor or amd64 SMP, suspend/resume should work, though possibly needing some settings tweaked and/or some modules unloaded/reloaded in /etc/rc.{suspend,resume} to do so successfully. If so, I'd next try the freebsd-mobile@ list where several people who should be able to advise on this tend to hang out. If not, you may be out of luck at this stage. cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org