Re: Question on Hardware support
dick wrote: I am trying to find the hardware support list for the releases and have been unsuccessful. Any ideas where to look for this? My reason is that I have a new computer with the ASUS motherboard in an Intel Core2 Duo configuration. This board has an ATTANSIC Technology Corp. L1 Gigabit Ethernet Adapter on it which apparently is fairly new and may not be supported. I have found with Linux that the Debian distros, the Gentoo distros and the SUSE distros all support this (Ubuntu, Mepis, Open SUSE, Sabayon, OpenGEU) while the Slackware ones will in the next release. I would like to use the BSD release if it can support this ethernet adapter but the older PC-BSD did not. Is there a release that does include this ethernet device? I have been looking for something that lists the hardware supported and I keep running into something that says check the release to see the hardware support info but so far all I find is that notice. I don't find the hardware support list anywhere. Thanks. Dick Thompson [EMAIL PROTECTED] You will find the relevant info here: http://www.freebsd.org/releases/7.0R/hardware.html Concerning the Attansic, my eeepc has a 100Mbit one, which is not supported. Yours is probably unsupported too. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Question on Hardware support
Hello fella, I am trying to find the hardware support list for the releases and have been unsuccessful. Any ideas where to look for this? My reason is that I have a new computer with the ASUS motherboard in an Intel Core2 Duo configuration. This board has an ATTANSIC Technology Corp. L1 Gigabit Ethernet Adapter on it which apparently is fairly new and may not be supported. I have found with Linux that the Debian distros, the Gentoo distros and the SUSE distros all support this (Ubuntu, Mepis, Open SUSE, Sabayon, OpenGEU) while the Slackware ones will in the next release. I would like to use the BSD release if it can support this ethernet adapter but the older PC-BSD did not. Is there a release that does include this ethernet device? I have been looking for something that lists the hardware supported and I keep running into something that says check the release to see the hardware support info but so far all I find is that notice. I don't find the hardware support list anywhere. You can see here for the hardware release notes: http://www.freebsd.org/releases/7.0R/relnotes.html However, your NIC is not included but there is development pending it in freebsd-current@ The direct link is to: http://lists.freebsd.org/pipermail/freebsd-current/2008-March/084174.htm l Chris Thanks. Dick Thompson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
incomplete 'portupgrade -a' command
Hello, I installed 'portupgrade' on my system the other day and was mentioned in this http://www.freebsd.org/doc/en/books/handbook/ports-using.htmldocument issued the following command after installlaing it. 'portupgrade -a'. After that my computer was like doing a hell lot of things which I suppose included updating the indices of the ports isn't it? Does 'portupgrade -a' updates only the indices of the various ports that are registered in the ports subdirectory or does it INSTALL all of them into the computer?If its the latter than I am kinda jacked I guess as I would have to see which ports have been installed and which ports have been left hanging and accordingly removed the unwanted ports and shred the stuff that has been downloaded without being installed. While it was working my other applications almost froze and I couldn't do nothing so I issued something like 'ctrl+alt+F9' (I do not remember which function key it was) and the computer rebooted(I suppose that combination means reboot on the xfce). Due to this the 'portupgrade -a' command was left in the middle. SO I assume that there could have been instances wherein the source code or other such things might have been fetched without being installed. Can I use the 'portsclean -C' command mentioned on the same page in that document to clean the work directories of all the installed ports? Hope to hear from you, Best Regards, Aijaz Baig. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: incomplete 'portupgrade -a' command
On Thu, 10 Apr 2008, Aijaz Baig wrote: Hello, I installed 'portupgrade' on my system the other day and was mentioned in this http://www.freebsd.org/doc/en/books/handbook/ports-using.htmldocument issued the following command after installlaing it. 'portupgrade -a'. After that my computer was like doing a hell lot of things which I suppose included updating the indices of the ports isn't it? Does 'portupgrade -a' updates only the indices of the various ports that are registered in the ports subdirectory or does it INSTALL all of them into the computer? Portupgrade -a will attempt to upgrade all ports that are installed where the installed version is not the current version. This can be an arduous and perilous task. Reading UPGRADING in /usr/ports is recommended before attempting it. If its the latter than I am kinda jacked I guess as I would have to see which ports have been installed and which ports have been left hanging and accordingly removed the unwanted ports and shred the stuff that has been downloaded without being installed. If you did not install an older version of the port, the port will not be installed. It is for *upgrading* as the name 'portupgrade' implies. While it was working my other applications almost froze and I couldn't do nothing so I issued something like 'ctrl+alt+F9' (I do not remember which function key it was) and the computer rebooted(I suppose that combination means reboot on the xfce). Due to this the 'portupgrade -a' command was left in the middle. SO I assume that there could have been instances wherein the source code or other such things might have been fetched without being installed. Can I use the 'portsclean -C' command mentioned on the same page in that document to clean the work directories of all the installed ports? Yes. However if you canceled portupgrade while it was updating the ports database, you could have hosed the database, and that could lead to problems. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0R freemind 0.8.1 crashes randomly
Kris Kennaway wrote: What do you expect is wrong with the 6.x jdk running under compatibility? I don't expect it, I'm talking from personal experience (confirmed by occasional reports on mailing lists). (What's wrong with it is that if it's not near 100% reliable, it's unusable, much like ZFS :), and for purely selfish reasons - if it crashes, I get called in the middle of the night to fix it). signature.asc Description: OpenPGP digital signature
Re: Pine and IMAP
Chris Maness wrote: I have been using a local pine client in conjunction with IMAP for years without issues. However, recently, it looks like when pine moves mail to the mbox file, it hoses up my ability to use my imap clients. Has something changed so that I cannot use pine as a local client? It looks like I might be able to use pine through IMAP ok, but not like I used to. Any suggestions as to what is causing this problem? Slightly offtopic, but have you tried pine's successor, alpine? signature.asc Description: OpenPGP digital signature
Re: 7.0R freemind 0.8.1 crashes randomly
Ivan Voras wrote: Kris Kennaway wrote: What do you expect is wrong with the 6.x jdk running under compatibility? I don't expect it, I'm talking from personal experience (confirmed by occasional reports on mailing lists). Fine, so in your personal experience, what is the problem? Just like with ZFS, bug reports that do not contain sufficient details are useless. It's sort of tiresome to keep receiving these vague complaints wrapped up in insinuations from someone with sufficient development experience to do better. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
7.0 and HP Proliant DL140 G3?
Hi. I am going to buy DL140 G3 (NHP-SATA) and I want FreeBSD on it. I found some reports of boot loader crashes, disk and ethernet performance issues among with this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/78339 Most of that happened with 5.x and 6.x. Has anyone had any problems with 7.0-RELEASE on it? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: QEMU networking quirkiness on 7.0
Yes, this needs to be setup on the host system. The way a bridge is configured has changed on 7. Here are the steps assuming that your external interface is em0: # ifconfig tap0 create # ifconfig tap0 up # ifconfig em0 up # ifconfig bridge0 create # ifconfig bridge0 addm tap0 addm em0 Now tap0 and em0 are bridged together. You should configure your external IP on the bridge instead of em0 as you normally would. If you use DHCP then: # dhclient bridge0 Forgot to add that you'll also need to create the /etc/qemu-ifup script, otherwise this won't work. That's what the script should look like: #!/bin/sh ifconfig ${1} up Don't forget to make it executable: # chmod 755 /etc/qemu-ifup And start qemu: # qemu -boot c -net nic -net tap -hda path_to_your_disk_image Now the VM should be able to see your LAN and get an IP from DHCP (if that's what you use on your LAN) -- accid.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0R freemind 0.8.1 crashes randomly
Kris Kennaway wrote: Ivan Voras wrote: Kris Kennaway wrote: What do you expect is wrong with the 6.x jdk running under compatibility? I don't expect it, I'm talking from personal experience (confirmed by occasional reports on mailing lists). Fine, so in your personal experience, what is the problem? Just like with ZFS, bug reports that do not contain sufficient details are useless. It's sort of tiresome to keep receiving these vague complaints wrapped up in insinuations from someone with sufficient development experience to do better. You're right, sorry about that. The thing is that I sometimes get carried away and try to use new shiny things in production, where I can't spend downtime debugging problems that, in theory, shouldn't exist. That's why my reports are sometimes (though not always - I've sent a lot of tracebacks and offered many kernel core dumps for ZFS) are vague. I find that many of the problems I encountered are difficult to reproduce in controlled environment. Yes, ZFS was always tagged experimental, and strictly speaking I really shouldn't use java on 7.0 at all since there are no Sun-blessed binaries. Though I think that as an early adopter my reports at least showed future users what *not* to do :) signature.asc Description: OpenPGP digital signature
Re: 7.0 and HP Proliant DL140 G3?
Ross wrote: I am going to buy DL140 G3 (NHP-SATA) and I want FreeBSD on it. I found some reports of boot loader crashes, disk and ethernet performance issues among with this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/78339 Most of that happened with 5.x and 6.x. Has anyone had any problems with 7.0-RELEASE on it? We've a number of these machines running 7.0 -- they're generally fine, except: *) There's no way of monitoring the status of the built-in mpt RAID (so we just configure it as a pair of drives and use gmirror) *) Disk IO performance is pretty bad unless you set hw.mpt.enable_sata_wc=1 in /boot/loader.conf -- but be aware this could potentially lead to data loss given certain scenarios. (I think this is no worse than the other types of drive where write caching is enabled by default under FreeBSD but ICBW) You might find the [EMAIL PROTECTED] mailing list of interest. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: QEMU networking quirkiness on 7.0
Hi Jim, I just CPed a huge section and tacked it on to the end of this mail. It says to do this within the emulator, but the emulator is supposedly running win2k. I take it this is done on the host system? Yes, this needs to be setup on the host system. The way a bridge is configured has changed on 7. Here are the steps assuming that your external interface is em0: # ifconfig tap0 create # ifconfig tap0 up # ifconfig em0 up # ifconfig bridge0 create # ifconfig bridge0 addm tap0 addm em0 Now tap0 and em0 are bridged together. You should configure your external IP on the bridge instead of em0 as you normally would. If you use DHCP then: # dhclient bridge0 And start qemu: # qemu -boot c -net nic -net tap -hda path_to_your_disk_image Now the VM should be able to see your LAN and get an IP from DHCP (if that's what you use on your LAN) Hope this helps, Andrew -- accid.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RAID-5/Stripe Size and verifying absolute disk stripe access
My problem is aligning reads/writes properly on a 3 disk RAID-5 volume with stripe size of 16384. Since my measurements all show the same relatively low read/write performance on the volume matter which offset i choose on the disklabel partition (i've tried with the granularity of a single sector and the results are the same). In FreeBSD 7.0-RELEASE, is there any way to find out a absolute read/write sector location for the beginning of filesystem within a disklabel partition? -- Sten Daniel Soersdal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: patch for kern_clock.c
On Thu, 10 Apr 2008 06:24:54 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: sent it as sent-pr, not to mailing list i think You can also do this from the website: http://www.freebsd.org/send-pr.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pine and IMAP
On Wed, 09 Apr 2008 21:39:26 -0700 Chris Maness [EMAIL PROTECTED] wrote: I have been using a local pine client in conjunction with IMAP for years without issues. However, recently, it looks like when pine moves mail to the mbox file, it hoses up my ability to use my imap clients. Has something changed so that I cannot use pine as a local client? It looks like I might be able to use pine through IMAP ok, but not like I used to. If you have a file called mbox in your home directory, pine will move the contents of your inbox there and treat the file as your inbox - the point is to avoid having large amounts of mail in a local spool directory. I presume that by hoses up my ability to use my imap clients you are just referring to the fact that pine has moved the mail offline. If you move the mail out of your pine inbox, you can then remove the empty file. Pine doesn't create this file by default, it was probably put there by another client - I have seen mutt do this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Huawei Technologies Mobile card
http://www.freebsd.org/releases/7.0R/hardware.html#USB says that Huawei Technologies Mobile card (3G) is supported via ubsa(4). Can someone here please tell me which model this refers too as I cannot find this particular card on the manufacturers home page. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
if_bridge - what i do wrong
[EMAIL PROTECTED] ~]# ifconfig bridge0 addm tap0 ifconfig: BRDGADD tap0: Invalid argument ^ why? [EMAIL PROTECTED] ~]# ifconfig bridge0 bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 2001:::::1 prefixlen 64 inet 10.255.245.1 netmask 0xff00 broadcast 10.255.245.255 ether 5a:81:5a:a6:e6:38 priority 32768 hellotime 2 fwddelay 15 maxage 20 [EMAIL PROTECTED] ~]# ifconfig tap0 tap0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::2bd:2cff:fe1d:0%tap0 prefixlen 64 scopeid 0x3 ether 00:bd:2c:1d:00:00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
qmail w/ SMTP auth using freebsd port
Is there a document on how to set up SMTP auth using the FreeBSD qmail port? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rpc.lockd leaking memory on 6.3
In response to Mark Lastdrager [EMAIL PROTECTED]: Recently we updated our main NFS server to FreeBSD 6.3. This machine serves about 10 netboot clients all running FreeBSD 6.2. Since the upgrade we are having some issues with locking. We tried to avoid running the lockd daemons at all but most software on the netboot clients (Apache, Postfix) refuses to run without it. On the 6.3 server rpc.lockd leaks memory, somewhat less than 1 meg per hour. This means that every few days we need to restart the daemon. This is quite annoying because we need to stop/start rpc.lockd on both the server and the clients in a controlled fashion. In most cases also the daemons using locking need to be restarted. Is this a known issue? I could not find a PR for it. Maybe a workaround? I found some recent posts on the -current list about a complete rewrite of the locking mechanism, will this be ported to 6-STABLE in the future? I can't say whether your issue is know, but I do have a suggested workaround until it can be tracked down and fixed. From the mount_nfs man page: -L Do not forward fcntl(2) locks over the wire. All locks will be local and not seen by the server and likewise not seen by other NFS clients. This removes the need to run the rpcbind(8) service and the rpc.statd(8) and rpc.lockd(8) servers on the client. This has been working acceptably for us for a while. I expect it will work for you unless you have applications that rely on locking for actual shared file access. As far as the actual issue ... sounds like you should open a PR. -- 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]
Poweredge 1950 IPMI
A while back I posted about reading the CPU temperature on a Dell Poweredge 1950. The proposed solution was to use ipmitool to read the temperature from the IPMI controller. This gives me a lot of readings, including ambient temperature, but it does not give me the temperature of the CPUs. It says disabled for the top four readings, which should be the CPU readings. After doing some research online, I found a possible alternate solution of using coretemp. There was a thread that said that the Xeon dual-core CPUs supported that. After checking the output of cpuid, I have confirmed that these CPUs definitely do not support coretemp. Here's the cpuid table (eax in 6 is for thermal monitoring capability --it's all 0s): eax ineax ebx ecx edx 0006 756e6547 6c65746e 49656e69 0001 0f64 04040800 e4bd bfebfbff 0002 605b5001 007d7040 0003 0004 0005 0040 0040 0006 8000 8008 8001 0001 20100800 8002 20202020 20202020 20202020 20202020 8003 6e492020 286c6574 58202952 286e6f65 8004 20294d54 20555043 30302e33 007a4847 8005 8006 08006040 8007 8008 3024 Here's the output from ipmitool: [EMAIL PROTECTED] /home/achristianson]# ipmitool sdr Temp | disabled | ns Temp | disabled | ns Temp | disabled | ns Temp | disabled | ns Ambient Temp | 24 degrees C | ok CMOS Battery | 0x00 | ok ROMB Battery | Not Readable | ns VCORE| 0x01 | ok VCORE| 0x01 | ok CPU VTT | 0x01 | ok 1.5V PG | 0x01 | ok 1.8V PG | 0x01 | ok 3.3V PG | 0x01 | ok 5V PG| 0x01 | ok 1.5V PXH PG | 0x01 | ok 5V Riser PG | 0x01 | ok Backplane PG | 0x01 | ok Linear PG| 0x01 | ok 0.9V PG | 0x01 | ok 0.9V Over Volt | 0x01 | ok CPU Power Fault | 0x01 | ok FAN MOD 1A RPM | 7350 RPM | ok FAN MOD 1B RPM | 7275 RPM | ok FAN MOD 1C RPM | 4575 RPM | ok FAN MOD 1D RPM | 4425 RPM | ok FAN MOD 2A RPM | 7500 RPM | ok FAN MOD 2B RPM | 7350 RPM | ok FAN MOD 2C RPM | 4725 RPM | ok FAN MOD 2D RPM | 4500 RPM | ok FAN MOD 3A RPM | 7800 RPM | ok FAN MOD 3B RPM | 7350 RPM | ok FAN MOD 3C RPM | 4800 RPM | ok FAN MOD 3D RPM | 4875 RPM | ok FAN MOD 4A RPM | 7500 RPM | ok FAN MOD 4B RPM | 7875 RPM | ok FAN MOD 4C RPM | 4800 RPM | ok FAN MOD 4D RPM | 4800 RPM | ok Presence | 0x01 | ok Presence | 0x01 | ok Presence | 0x01 | ok Presence | 0x02 | ok Presence | 0x01 | ok Presence | 0x01 | ok DRAC5 Conn 2 Cbl | Not Readable | ns PFault Fail Safe | Not Readable | ns Status | 0x80 | ok Status | 0x80 | ok Status | 0x01 | ok Status | Not Readable | ns Status | 0x01 | ok RAC Status | 0x00 | ok OS Watchdog | 0x00 | ok SEL | Not Readable | ns Intrusion| 0x00 | ok PS Redundancy| Not Readable | ns Fan Redundancy | 0x01 | ok CPU Temp Interf | Not Readable | ns Drive| 0x01 | ok Cable SAS A | 0x01 | ok Current 1| disabled | ns Current 2| disabled | ns Voltage 1| disabled | ns Voltage 2| disabled | ns System Level | disabled | ns Power Optimized | Not Readable | ns ECC Corr Err | Not Readable | ns ECC Uncorr Err | Not Readable | ns I/O Channel Chk | Not Readable | ns PCI Parity Err | Not Readable | ns PCI System Err | Not Readable | ns SBE Log Disabled | Not Readable | ns Logging Disabled | Not Readable | ns Unknown | 0xc0 | ok CPU Protocol Err | Not Readable | ns CPU Bus PERR | Not Readable | ns CPU Init Err | Not Readable | ns CPU Machine Chk | Not Readable | ns Memory Spared| Not Readable | ns Memory Mirrored | 0x01 | ok Memory RAID | 0x01 | ok Memory Added | Not Readable | ns Memory Removed
mount_nfs with Kerberos on FreeBSD7
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi group, I try to figure out which options I should pass to mount_nfs when I want to use Kerberos authentication instead of the classic sys permission. In some online man pages of V4 I find an option -K, I can't find anything like this on my 6 or 7 series versions however. Is there any documentation available about that somewhere? Google didn't help me so far. Or could anyone using Kerberos show me how to do it? thanks Adrian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH/iZmqpMUYrZbQBERAmmlAJ4086sf+5FhT18XLacOetELyVcruQCg1Nry U0+6Rf6OkkRTceH9wBFWVGc= =Rosv -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]
Error when compiling multimedia/x264
I'm lost. Can't find the answer when I google. Someone here that can shed some light on my problem? X86 -DSYS_FREEBSD -DHAVE_PTHREAD -s -fomit-frame-pointer -c -o common/x86/mc-c.o common/x86/mc-c.c cc -O4 -ffast-math -O2 -fno-strict-aliasing -pipe -Wall -I. -O2 -fno-strict-aliasing -pipe -fPIC -I/usr/local/include -I/usr/local/include -DHAVE_MMX -DARCH_X86 -DSYS_FREEBSD -DHAVE_PTHREAD -s -fomit-frame-pointer -c -o common/x86/predict-c.o common/x86/predict-c.c nasm -O2 -f elf -Icommon/x86/ -o common/x86/cabac-a.o common/x86/cabac-a.asm common/x86/cabac-a.asm:82: error: symbol `hidden' not defined before use gmake: *** [common/x86/cabac-a.o] Segmentation fault: 11 gmake: *** Deleting file `common/x86/cabac-a.o' *** Error code 2 Stop in /usr/ports/multimedia/x264. *** Error code 1 Stop in /usr/ports/multimedia/x264. - Thanks /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error when compiling multimedia/x264
On Thu, Apr 10, 2008 at 10:49 AM, Leslie Jensen [EMAIL PROTECTED] wrote: I'm lost. Can't find the answer when I google. Someone here that can shed some light on my problem? X86 -DSYS_FREEBSD -DHAVE_PTHREAD -s -fomit-frame-pointer -c -o common/x86/mc-c.o common/x86/mc-c.c cc -O4 -ffast-math -O2 -fno-strict-aliasing -pipe -Wall -I. -O2 -fno-strict-aliasing -pipe -fPIC -I/usr/local/include -I/usr/local/include -DHAVE_MMX -DARCH_X86 -DSYS_FREEBSD -DHAVE_PTHREAD -s -fomit-frame-pointer -c -o common/x86/predict-c.o common/x86/predict-c.c nasm -O2 -f elf -Icommon/x86/ -o common/x86/cabac-a.o common/x86/cabac-a.asm common/x86/cabac-a.asm:82: error: symbol `hidden' not defined before use gmake: *** [common/x86/cabac-a.o] Segmentation fault: 11 gmake: *** Deleting file `common/x86/cabac-a.o' *** Error code 2 Stop in /usr/ports/multimedia/x264. *** Error code 1 I fixed this a few hours ago, thanks for reporting! (update your ports or just install devel/yasm and rebuild x264) Stop in /usr/ports/multimedia/x264. - Thanks /Leslie ___ 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]
Fwd: incomplete 'portupgrade -a' command
Hello, -- Forwarded message -- From: Aijaz Baig [EMAIL PROTECTED] Date: Thu, Apr 10, 2008 at 10:55 AM Subject: Re: incomplete 'portupgrade -a' command To: Lars Eighner [EMAIL PROTECTED] Hello, Thank you for your advice lars. With regards to Lars' following quote: Yes. However if you canceled portupgrade while it was updating the ports database, you could have hosed the database, and that could lead to problems. does it mean that if I had used something like CTRL+Z to stop the execution of the 'portupgrade -a' process, it might have led to problems? To that end, I'd like to add that I had initially issued the same command then decided to some more work on the internet and hence issued the CTRL+Z command to stop it when I noticed that it was taking some time. Then after finishing my work I reissued the command only to find after an hour that it was still running and I wasn't able to do anything with my box (it almost froze)..and hence I resorted to the Reboot as said earlier. Do you think I might have hosed the database? (Whats Hosing a database by the way?)...Is there some way to remedy the problem if there is any? Hope to hear from you, Best regards, Aijaz Baig. On Thu, Apr 10, 2008 at 10:12 AM, Lars Eighner [EMAIL PROTECTED] wrote: On Thu, 10 Apr 2008, Aijaz Baig wrote: Hello, I installed 'portupgrade' on my system the other day and was mentioned in this http://www.freebsd.org/doc/en/books/handbook/ports-using.htmldocument issued the following command after installlaing it. 'portupgrade -a'. After that my computer was like doing a hell lot of things which I suppose included updating the indices of the ports isn't it? Does 'portupgrade -a' updates only the indices of the various ports that are registered in the ports subdirectory or does it INSTALL all of them into the computer? Portupgrade -a will attempt to upgrade all ports that are installed where the installed version is not the current version. This can be an arduous and perilous task. Reading UPGRADING in /usr/ports is recommended before attempting it. If its the latter than I am kinda jacked I guess as I would have to see which ports have been installed and which ports have been left hanging and accordingly removed the unwanted ports and shred the stuff that has been downloaded without being installed. If you did not install an older version of the port, the port will not be installed. It is for *upgrading* as the name 'portupgrade' implies. While it was working my other applications almost froze and I couldn't do nothing so I issued something like 'ctrl+alt+F9' (I do not remember which function key it was) and the computer rebooted(I suppose that combination means reboot on the xfce). Due to this the 'portupgrade -a' command was left in the middle. SO I assume that there could have been instances wherein the source code or other such things might have been fetched without being installed. Can I use the 'portsclean -C' command mentioned on the same page in that document to clean the work directories of all the installed ports? Yes. However if you canceled portupgrade while it was updating the ports database, you could have hosed the database, and that could lead to problems. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error when compiling multimedia/x264
Michael Johnson skrev: I fixed this a few hours ago, thanks for reporting! (update your ports or just install devel/yasm and rebuild x264) Thanks :-) It worked nicely. /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: QEMU networking quirkiness on 7.0
Yes, this needs to be setup on the host system. The way a bridge is configured has changed on 7. Here are the steps assuming that your external interface is em0: Well, it seems pretty calm, and hasn't tried to cut itself yet... But I think I can adapt. # ifconfig tap0 create # ifconfig tap0 up # ifconfig em0 up # ifconfig bridge0 create # ifconfig bridge0 addm tap0 addm em0 Could I mimic this in RC.conf? Or is this saved between restarts? Also, for the bridge, could I do this, correct? #existing rc.conf hostname=elrond.var-dev.net ifconfig_re0=inet 192.168.1.84 netmask 255.255.255.0 ifconfig_re0_alias0=192.168.1.85 netmask 255.255.255.255 defaultrouter=192.168.1.1 #adding... Should I use an IP not aliased by re0? ifconfig_bridge0=inet 192.168.1.85 netmask 255.255.255.0 Thanks for your help, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Release Build
Hello everyone, I am trying to create a customized release build. The idea is to have a NFS export which can be used during installation over the network. My build box is running the same version of BSD(6.2) as the NFS export I intend to create. So instead of mirroring the cvs repository (bandwidth woes :-S) I am using /usr/src. I have built the release using make release CHROOTDIR=/tmp/release BUILDNAME=FreeBSD-custom-6.2 EXTSRCDIR=/usr/src EXTPORTSDIR=/usr/ports WORLD_FLAGS='-j16 -march=prescott' KERNEL_FLAGS='-j16 -march=prescott' -DNOPORTS -DNODOC RELEASETAG=RELENG_6_2 This had completed successfully with my newly built release in /tmp/release/R/. The next thing I did was to export the disc1 folder inside cdrom over NFS and try to boot over the network. I have checked that my netboot works using a CDROM as a NFS export. This time it locks up with Extracting packages. Any clues about where I should start looking?? Thanks Subhro ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't login through ssh from 6.3 machine to 7.0 machine
Hello I have installed a fresh new machine running 7.0 and surprisingly I cannot log in from another machine through SSH ... I haven't modified the standard sshd configuration at install which is the same than my other 6.3 based machine ... All accounts are local. I canssh 7.0 -- 6.3 I cannot ssh 6.3 -- 7.0 ??? Thanks for any info. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't login through ssh from 6.3 machine to 7.0 machine
Frank Bonnet wrote: Hello I have installed a fresh new machine running 7.0 and surprisingly I cannot log in from another machine through SSH ... I haven't modified the standard sshd configuration at install which is the same than my other 6.3 based machine ... All accounts are local. I canssh 7.0 -- 6.3 I cannot ssh 6.3 -- 7.0 Please provide more information, such as 1) is sshd in fact running on 7.0 2) What command you run 3) error messages 4) packet traces Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache 2.2.8 and mod_ssl
Hello, I am currently running the Apache 2.2.8 port on the FreeBSD 6.3 platform with mod_ssl enabled. I received the following vulnerability scan results from my organization: Vulnerability: mod_ssl Off-By-One HTAccess Buffer Overflow Vulnerability Risk Level: Signature Group: Safe Description: The remote host is using a version of mod_ssl which is older than 2.8.10. This version is vulnerable to an off by one buffer overflow, which may allow a user with write access to .htaccess files to execute arbitrary code on the system with permissions of the web server. Resolution: Fixes have been made available by the affected vendor. We recommend upgrading mod_ssl to a more recent version that contains fixes addressing this issue. BugTraq: 5084 CVE: CVE-2002-0653 CVSS: 4.9 I referenced CVE-2002-0653, noting that it is from 2002, and noticed that there is no mention of this vulnerability affecting any version of apache paired with mod_ssl in the 2.x branches. I also can't find a version 2.8.10 or greater for Apache 2.2.8. I did find a site that mentioned certain distributions patched the apache software so that this vulnerability is no longer a concern. Could anyone give me some insight on this issue? Is there a document I overlooked that outlines remedial procedures, an updated ssl module, or has the software been patched to negate the vulnerability? I greatly appreciate any assistance on this matter, Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't login through ssh from 6.3 machine to 7.0 machine
On Thu, Apr 10, 2008 at 05:57:01PM +0200, Kris Kennaway wrote: Frank Bonnet wrote: Hello I have installed a fresh new machine running 7.0 and surprisingly I cannot log in from another machine through SSH ... I haven't modified the standard sshd configuration at install which is the same than my other 6.3 based machine ... All accounts are local. I canssh 7.0 -- 6.3 I cannot ssh 6.3 -- 7.0 Please provide more information, such as 1) is sshd in fact running on 7.0 2) What command you run 3) error messages 4) packet traces I think the most important, first, are checking 1 and providing 2 and 3. In fact, 2 and 3 should be pretty standard operating procedure when asking for help. Also . . . 1. Are the firewall settings different between the two systems? 2. Are the sshd_conf files the same? -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Thomas McCauley: The measure of a man's real character is what he would do if he knew he would never be found out. pgpc53RtB46DV.pgp Description: PGP signature
ZFS question...
Hello list, I have 3 external USB hard disks hooked to my server, serving media files via NFS, SSHFS and samba to my local network, laptops and Playstation 2, the sizes of these hard disks are 160Gb, 500Gb and 750Gb, the 160Gb has no space left, my archive of Movies is on it, the 500Gb will soon run out of space it has my archive of TV series and anime but the 750Gb is almost empty, it has only a few Gigs for my Mp3 collection anyway I hate to have movies/series everywhere so I thought of combining them into one big array... RAID0 isn't an option, RAID5 could be but since the smallest one is 160Gb the size of the array will be 320Gb which is ridiculous in my case... So I thought of having a ZFS over the 3 drives, but I don't know what size should I expect and how/where can I mirror or mirroring isn't possible for me?? Regards, -- Wael Nasreddine http://wael.nasreddine.com PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2 /o\ Love, n. A technical detail of secondary importance to the basis of /o\morality, the Ten Commandments. /o\ -- Hayward's Unabridged Dictionary, /o\ http://JonathansCorner.com/writings/hud/ pgpssqqv0H1NS.pgp Description: PGP signature
Re: finding BSD Unix users
Steve Franks wrote: On Sun, Apr 6, 2008 at 1:21 PM, Predrag Punosevac [EMAIL PROTECTED] wrote: Chad Perrin wrote: My area (northern Colorado) has an excellent Linux Users Group (NCLUG). There's a great bunch of guys there. Unfortunately, they're very Linux-centric. I'm kinda the resident BSD Unix heretic -- which is fine most of the time, but once in a while I'd like to be able to discuss stuff with people who primarily use BSD Unix systems instead of Linux-based systems. Unfortunately, there isn't a single Colorado BSD Users Group in Colorado that I can find. The closest I've been able to find mention of online at all is Laramie, Wyoming -- LWFUG, or Laramie, Wyoming Freenix Users Group. Their website seems to have become a domain squatter's portal site, though. So . . . does anyone here have any suggestions for how I might go about finding BSD Unix users somewhat local to me? Since there isn't a group already that I can find, I wonder if there are enough people interested in such a thing in this area to build a users group. Any suggestions for how to go about finding fellow BSD Unix users in my area would be appreciated, I'm sure. I would put an add in the local newspaper and ask if there are any BSD users around. That is exactly how the Tucson Free Unix Group started a decade ago. Unfortunately since then TFUG has become increasingly dominated by Linux users and Windows converts (who maybe run Ubuntu on a small partition or via VMware). As in your case that was fine for a while but at some point it became increasingly difficult for both sides to tolerate each other so I voluntarily sized all my activity in the group. The timing coincide with my decision to switch to OpenBSD:-) I do know of two other BSD users on TFUG (one NetBSD and another younger member is using FreeBSD) as well as few Solaris users but I didn't stay in touch with them. Cheers, Predrag P. S. There is a very strong local BSD group in Phoenix but they are much to far away from Tucson that I could participate in their activity. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I'm a Tucson FBSD user! We should meet at the safehouse or similar sometime! Steve I am all for it. Just contact me of the list whenever you have time to meet with me and we will figure out something. Best, Predrag ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
swapping hardware
I'm currently running FreeBSD 6.2 on a PIII 550 with 384 of ram and 10 gig drive- I got my hands a new box it's a PIV 1.8 with 1 gig of ram- I was wondering if it were possible to take the hard drive out from the older machine ( it's a dell dimension) and put it in the new tower- dell optiplex I know with older windows OS's 9x it would work fine just maybe have to update some drivers, where as with NT 2k XP etc.. it would not. Will this work in the BSD world? Or am I asking for more trouble than its worth? TIA J ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ZFS question...
In the last episode (Apr 10), Wael Nasreddine said: Hello list, I have 3 external USB hard disks hooked to my server, serving media files via NFS, SSHFS and samba to my local network, laptops and Playstation 2, the sizes of these hard disks are 160Gb, 500Gb and 750Gb, the 160Gb has no space left, my archive of Movies is on it, the 500Gb will soon run out of space it has my archive of TV series and anime but the 750Gb is almost empty, it has only a few Gigs for my Mp3 collection anyway I hate to have movies/series everywhere so I thought of combining them into one big array... RAID0 isn't an option, RAID5 could be but since the smallest one is 160Gb the size of the array will be 320Gb which is ridiculous in my case... So I thought of having a ZFS over the 3 drives, but I don't know what size should I expect and how/where can I mirror or mirroring isn't possible for me?? You don't necessarily need ZFS for this; gmirror would work just as well. You can split your 750GB drive into three partitions/slices/whatevers: 160GB - mirror this with your physical 160GB disk 500GB - mirror this with your physical 500GB disk 90GB - leftover unmirrored, use at your peril ZFS would let you take those two mirrored vdevs and stripe them into a single pool, but then again you could use gstripe or gconcat for that. The main benefit to ZFS would be if you regularly crash the system; fscking a 750gb UFS filesystem could take a while. -- Dan Nelson [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: swapping hardware
Jean-Paul Natola wrote: I'm currently running FreeBSD 6.2 on a PIII 550 with 384 of ram and 10 gig drive- I got my hands a new box it's a PIV 1.8 with 1 gig of ram- I was wondering if it were possible to take the hard drive out from the older machine ( it's a dell dimension) and put it in the new tower- dell optiplex I know with older windows OS's 9x it would work fine just maybe have to update some drivers, where as with NT 2k XP etc.. it would not. Will this work in the BSD world? Or am I asking for more trouble than its worth? TIA J Unless you've done something really *weird* with the kernel, it should work just fine. The Windows (2K/NT/XP) problem of booting in new hardware is caused by not having the specific IDE / ATA drivers installed. The FreeBSD ATA driver is in the kernel and can handle a long list of different PATA/SATA controllers. One thing that may change (and may cause you some trouble) is the device name (eg from ad0 to ad2), depending on the controller / channel you connect the new disk but this can easily be fixed in /etc/fstab You will of course have to reconfigure other changed devices, like sound cards, X -if the video card is different -, and network. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: swapping hardware
Jean-Paul Natola wrote: I'm currently running FreeBSD 6.2 on a PIII 550 with 384 of ram and 10 gig drive- I got my hands a new box it's a PIV 1.8 with 1 gig of ram- I was wondering if it were possible to take the hard drive out from the older machine ( it's a dell dimension) and put it in the new tower- dell optiplex I know with older windows OS's 9x it would work fine just maybe have to update some drivers, where as with NT 2k XP etc.. it would not. Will this work in the BSD world? Or am I asking for more trouble than its worth? TIA J Unless you've done something really *weird* with the kernel, it should work just fine. The Windows (2K/NT/XP) problem of booting in new hardware is caused by not having the specific IDE / ATA drivers installed. The FreeBSD ATA driver is in the kernel and can handle a long list of different PATA/SATA controllers. One thing that may change (and may cause you some trouble) is the device name (eg from ad0 to ad2), depending on the controller / channel you connect the new disk but this can easily be fixed in /etc/fstab You will of course have to reconfigure other changed devices, like sound cards, X -if the video card is different -, and network. -- Believe me , I wish I knew how to do something weird with the kernel- I'm still wet behind the ears in BSD land. This machine , believe it or not , I use a mail filter server- BSD/CLAM/SA and EXIM- and I only putty into it- no X no video nada- but it should* recognize and install the drivers for the video and nic? that is my main concern ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: swapping hardware
I got my hands a new box it's a PIV 1.8 with 1 gig of ram- I was wondering if it were possible to take the hard drive out from the older machine ( it's a dell dimension) and put it in the new tower- dell optiplex in FreeBSD kernel drives the hardware. if anything has to be changed - it will be kernel config. and possibly network device names in /etc/* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipfw denial log - what's this mean?
Hi Everyone, My 6.2-Release system coughed up a report of denied packets from ipfw in its daily security run: ipfw denied packets: +++ /tmp/security.gnkQg5CA Thu Apr 10 03:04:15 2008 +0020012 795 deny ip from any to 127.0.0.0/8 What does this mean? I understand that's the loopback interface, but I'm not terribly knowledgeable on ipfw. Is this some crack attempt, or normal background noise? I don't understand how lo0 would ever see any IP addresses other than its own?! The whole rule set looks like this: # ipfw show 00100 4749394 1011660210 allow ip from any to any via lo0 0020012 795 deny ip from any to 127.0.0.0/8 00300 0 0 deny ip from 127.0.0.0/8 to any 01005 17272713 2535346056 fwd 12.219.128.1 tcp from 12.219.128.39 to any out 65000 174044808 81045388703 allow ip from any to any 65535 1 328 deny ip from any to any -Thanks, Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ZFS question...
This One Time, at Band Camp, Dan Nelson [EMAIL PROTECTED] said, On Thu, Apr 10, 2008 at 01:14:02PM -0500: You don't necessarily need ZFS for this; gmirror would work just as well. You can split your 750GB drive into three partitions/slices/whatevers: 160GB - mirror this with your physical 160GB disk 500GB - mirror this with your physical 500GB disk 90GB - leftover unmirrored, use at your peril ZFS would let you take those two mirrored vdevs and stripe them into a single pool, but then again you could use gstripe or gconcat for that. The main benefit to ZFS would be if you regularly crash the system; fscking a 750gb UFS filesystem could take a while. That's not the desired behaviour actually, what I want is to gain the maximum space without the possibility of loosing data, I hear that ZFS is excellent at recovering data so I'm trying to figure out the perfect installation with these drives and of course while keeping the data safe... RAID0 is good for not wasting space at all but then again if one drive fails I'll lose everything :( What do you think guys? Should I do something or it's better just to leave them the way they are ( every drive has it's own, currently ext3, FS ) ?? -- Wael Nasreddine http://wael.nasreddine.com PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2 /o\ These days the necessities of life cost you about three times what they /o\ used to, and half the time they aren't even fit to drink. pgpFcQzK4qBVp.pgp Description: PGP signature
Re: swapping hardware
Jean-Paul Natola wrote: Believe me , I wish I knew how to do something weird with the kernel- I'm still wet behind the ears in BSD land. This machine , believe it or not , I use a mail filter server- BSD/CLAM/SA and EXIM- and I only putty into it- no X no video nada- but it should* recognize and install the drivers for the video and nic? that is my main concern No X -- No problem on video. The text console works on any graphics hardware. Since the network card will be different, you will have to redo the network settings. If you know the brand / type of the netcard in the new machine, have a look at the hardware list of 6.2 to see if it is supported. Have a look at your old network settings in /etc/rc.conf The following lines are of interest: ifconfig_drivername=inet xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx hostname=yourhost.yourdomain.something defaultrouter=xxx.xxx.xxx.xxx Hostname and defaultrouter will not change, what you will have to change is the drivername to match the new network card. You can redo the whole configuration from sysinstall (Configure - Networking - Interfaces) or simply find out the name of the network card from there and change it yourself. You will need to connect a keyboard and screen into the system, as your not - most probably - going to have networking at first boot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipfw denial log - what's this mean?
ipfw denied packets: +++ /tmp/security.gnkQg5CA Thu Apr 10 03:04:15 2008 +0020012 795 deny ip from any to 127.0.0.0/8 What does this mean? I understand that's the loopback interface, but I'm not terribly knowledgeable on ipfw. Is this some crack attempt, or normal background noise? I don't understand how lo0 would ever see any IP addresses other than its own?! while i don't use any of FreeBSD security scripts in cron, it probably jut copies non-zero count lines from ipfw show for rules marked with deny. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ZFS-Pool is lost after reboot ( amd64 )
Hi all, we want to use ZFS ( raidz2 without spares ) for store big amount of data on it. It's just a mirror so we don't give at damn if zfs is experimental ;-) I created some pool with the command: # zpool create x1 raidz2 aacd0 aacd1 aacd2 aacd3 aacd4 aacd5 It shows up correctly: # zpool status pool: x1 state: ONLINE scrub: none requested config: NAMESTATE READ WRITE CKSUM x1 ONLINE 0 0 0 raidz2ONLINE 0 0 0 aacd0 ONLINE 0 0 0 aacd1 ONLINE 0 0 0 aacd2 ONLINE 0 0 0 aacd3 ONLINE 0 0 0 aacd4 ONLINE 0 0 0 aacd5 ONLINE 0 0 0 errors: No known data errors ]# zpool list NAMESIZEUSED AVAILCAP HEALTH ALTROOT x1 816G230K816G 0% ONLINE - All is fine till I reboot. The pool is just disappearing :-/ Here are the relevant config stuff: # grep zfs /etc/rc.conf zfs_enable=YES # cat /boot/loader.conf geom_mirror_load=YES zfs_load=YES vm.kmem_size_max=512M vm.kmem_size=512M vfs.zfs.zil_disable=1 After reboot the module is loaded: # kldstat | grep zfs 21 0x80bc7000 f5a40zfs.ko But the pool is loast: # zpool list no pools available Some more infos about the system: # uname -v FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Some parts of dmesg: WARNING: ZFS is considered to be an experimental feature in FreeBSD. Timecounters tick every 1.000 msec hptrr: no controller detected. aacd0: Volume on aac0 aacd0: 139890MB (286494720 sectors) aacd1: Volume on aac0 aacd1: 139890MB (286494720 sectors) aacd2: Volume on aac0 aacd2: 139890MB (286494720 sectors) aacd3: Volume on aac0 aacd3: 139890MB (286494720 sectors) aacd4: Volume on aac0 aacd4: 139890MB (286494720 sectors) aacd5: Volume on aac0 aacd5: 139890MB (286494720 sectors) aacd6: Volume on aac0 aacd6: 139890MB (286494720 sectors) aacd7: Volume on aac0 aacd7: 139890MB (286494720 sectors) ZFS filesystem version 6 ZFS storage pool version 6 GEOM_MIRROR: Device mirror/gm0 launched (2/2). SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #7 Launched! Cheers, Norman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Invoking ldconfig without arguments wipes all hints and makes me very sad
Greetings list. I'm a new user to FreeBSD and I just managed to introduce myself to ldconfig's default behavior. I'm currently locked out of my remote server since bash isn't statically compiled and will have to get physical access to correct my blunder. :( As a new user to FreeBSD, ldconfig's default behavior makes about as much sense to me as rm adding -fr ~ or kill adding -9 1 in the absence of arguments. I hate to sound ignorant but I have to ask, is there any particular reason FreeBSD's ldconfig defaults to this seemingly unintuitive and non-newbie-safe behavior? Would a patch that changes the behavior of ldconfig to assume -r in the absence of command line arguments and adds a new parameter like -e[rase]|-d[estroy]|-w[ipe]|-z[ap]|-l[olnewbie] to enable the original behavior be likely to gain any acceptance? Regards, Shelby Cain signature.asc Description: This is a digitally signed message part
Re: ipfw denial log - what's this mean?
In the last episode (Apr 10), Rob said: Hi Everyone, My 6.2-Release system coughed up a report of denied packets from ipfw in its daily security run: ipfw denied packets: +++ /tmp/security.gnkQg5CAThu Apr 10 03:04:15 2008 +0020012 795 deny ip from any to 127.0.0.0/8 What does this mean? I understand that's the loopback interface, but I'm not terribly knowledgeable on ipfw. Is this some crack attempt, or normal background noise? I don't understand how lo0 would ever see any IP addresses other than its own?! The whole rule set looks like this: # ipfw show 00100 4749394 1011660210 allow ip from any to any via lo0 0020012 795 deny ip from any to 127.0.0.0/8 Since rule 100 matches any lo0 packets, rule 200 actually matches packets destined to 127.0.0.1 from a _non-loopback_ interface, which isn't usually possible unless an external machine directly injects those packets onto the network. You can try changing that rule to a deny log, then watch /var/log/security for hits. --- rc.firewall 20 Feb 2008 01:39:04 - +++ rc.firewall 21 Feb 2008 21:51:44 - @@ -83,8 +83,8 @@ # Only in rare cases do you want to change these rules # ${fwcmd} add 100 pass all from any to any via lo0 - ${fwcmd} add 200 deny all from any to 127.0.0.0/8 - ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any + ${fwcmd} add 200 deny log all from any to 127.0.0.0/8 + ${fwcmd} add 300 deny log ip from 127.0.0.0/8 to any } if [ -n ${1} ]; then -- Dan Nelson [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: Invoking ldconfig without arguments wipes all hints and makes me very sad
On Thu, Apr 10, 2008 at 02:30:12PM -0500, Shelby Cain wrote: Greetings list. I'm a new user to FreeBSD and I just managed to introduce myself to ldconfig's default behavior. I'm currently locked out of my remote server since bash isn't statically compiled and will have to get physical access to correct my blunder. :( It is unwise to use a port as a root shell. What if /usr or /usr/local is on a separate partition which isn't mounted in single user mode? Do you know that there are a lot of statically linked binaries available in /rescue just for this eventuality? And that there are two shells amongst them; (t)csh and sh? As a new user to FreeBSD, ldconfig's default behavior makes about as much sense to me as rm adding -fr ~ or kill adding -9 1 in the absence of arguments. I hate to sound ignorant but I have to ask, is there any particular reason FreeBSD's ldconfig defaults to this seemingly unintuitive and non-newbie-safe behavior? Would a patch that changes the behavior of ldconfig to assume -r in the absence of command line arguments and adds a new parameter like -e[rase]|-d[estroy]|-w[ipe]|-z[ap]|-l[olnewbie] to enable the original behavior be likely to gain any acceptance? Can you specify what exactly you mean? Calling ldconfig without arguments doesn't do anything to the hints file: slackbox# ll /var/run/ld-elf.so.hints -r--r--r-- 1 root wheel 287 Apr 8 19:40 /var/run/ld-elf.so.hints slackbox# cp /var/run/ld-elf.so.hints /var/run/ld-elf.so.hints.orig slackbox# ldconfig slackbox# ll /var/run/ld-elf.so.hints -r--r--r-- 1 root wheel 287 Apr 10 22:03 /var/run/ld-elf.so.hints slackbox# diff -u /var/run/ld-elf.so.hints.orig /var/run/ld-elf.so.hints slackbox# So there was no change to the file. Did you perchance delete the hints file, or unmounted the filesystem where /var is located? 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) pgp0GGJm2k3hS.pgp Description: PGP signature
Re: Way way way OT: Some interesting facts about politics, campaigns, and servers
On Thu, Apr 03, 2008 at 06:10:24PM +1000, Da Rock wrote: I picked this up on fedora list, and of course they were cheering the linux results, but I was rather pleased with the FreeBSD results- particularly on the democrats chart. http://www.douglaskarr.com/2007/06/23/2008-elections-by-server/ Looking at this now, I'm beginning to think that if Obama isn't assassinated before November 5th, it'll be FreeBSD that wins the election, rather than Linux as Doug Karr predicts on that page. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Ben Franklin: As we enjoy great Advantages from the Inventions of others we should be glad of an Opportunity to serve others by any Invention of ours, and this we should do freely and generously. pgp4BHZ1BSIti.pgp Description: PGP signature
Re: Invoking ldconfig without arguments wipes all hints and makes me very sad
On Thu, 2008-04-10 at 22:14 +0200, Roland Smith wrote: It is unwise to use a port as a root shell. What if /usr or /usr/local is on a separate partition which isn't mounted in single user mode? This is just a toy system I set up to learn about FreeBSD and zfs so I didn't bother using multiple partitions. Regardless, it wouldn't matter at this point as root logins via ssh are disabled so there is still no effective way I'm aware of the access the system remotely since I can't log in as myself first to su/sudo. Do you know that there are a lot of statically linked binaries available in /rescue just for this eventuality? And that there are two shells amongst them; (t)csh and sh? I was unaware of /rescue. Thanks for pointing this out. Can you specify what exactly you mean? Calling ldconfig without arguments doesn't do anything to the hints file: So there was no change to the file. Sorry, you are of course correct. Experimenting with a vm, it turns out that I had mistakenly executed ldconfig path without -m followed by ldconfig -v instead of ldconfig -vr. Did you perchance delete the hints file, or unmounted the filesystem where /var is located? Nope, I was attempting to inspect the current configuration and I just screwed up. Regards, Shelby Cain signature.asc Description: This is a digitally signed message part
Re: ZFS-Pool is lost after reboot ( amd64 )
Am Donnerstag, den 10.04.2008, 20:07 + schrieb Christian Walther: On 10/04/2008, Norman Maurer [EMAIL PROTECTED] wrote: Hi all, [...] All is fine till I reboot. The pool is just disappearing :-/ Did you try to import the pool? # zpool import x1 hmm this works, but shouldn't it work with run import manually after reboot ? I just miss something ? Cheers, Norman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Invoking ldconfig without arguments wipes all hints and makes me very sad
I just wrote to the list about the SAME thing. I totally agree. This is like the saying 'rm' command without arguments will delete every file on your computer. I did the same thing. I wish it was a virtual system I did it to as well :) On Thu, Apr 10, 2008 at 3:30 PM, Shelby Cain [EMAIL PROTECTED] wrote: Greetings list. I'm a new user to FreeBSD and I just managed to introduce myself to ldconfig's default behavior. I'm currently locked out of my remote server since bash isn't statically compiled and will have to get physical access to correct my blunder. :( As a new user to FreeBSD, ldconfig's default behavior makes about as much sense to me as rm adding -fr ~ or kill adding -9 1 in the absence of arguments. I hate to sound ignorant but I have to ask, is there any particular reason FreeBSD's ldconfig defaults to this seemingly unintuitive and non-newbie-safe behavior? Would a patch that changes the behavior of ldconfig to assume -r in the absence of command line arguments and adds a new parameter like -e[rase]|-d[estroy]|-w[ipe]|-z[ap]|-l[olnewbie] to enable the original behavior be likely to gain any acceptance? Regards, Shelby Cain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd-questions Digest, Vol 210, Issue 6
On Wednesday 09 April 2008 06:43:23 Tim DeBoer wrote: -- Message: 16 Date: Tue, 8 Apr 2008 21:24:58 +0200 From: Mel [EMAIL PROTECTED] Subject: Re: Apache22 Port Install Problem To: freebsd-questions@freebsd.org Cc: Tim DeBoer [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 On Tuesday 08 April 2008 07:11:47 Tim DeBoer wrote: The install goes fine, no obvious errors anyway, when I do apachectl configtest, I get # apachectl configtest Syntax error on line 117 of /usr/local/etc/apache22/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not snip Is this line present and active? LoadModule authz_host_module libexec/apache22/mod_authz_host.so -- Mel Problem with today's modular software: they start with the modules and never get to the software part. No. I do have LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so though. I tried recompiling again without auth_basic, and used the authz options instead, but it's not actually installing them for some reason. # make deinstall === Deinstalling for www/apache22 === Deinstalling apache-2.2.8 pkg_delete: file '/usr/local/libexec/apache22/mod_authz_dbm.so' doesn't exist pkg_delete: file '/usr/local/libexec/apache22/mod_authz_default.so' doesn't exist pkg_delete: file '/usr/local/libexec/apache22/mod_authz_groupfile.so' doesn't exist pkg_delete: file '/usr/local/libexec/apache22/mod_authz_host.so' doesn't exist Well, authz_host is the module that provides the Order directive, so the only reason I can think of that it didn't get installed after redoing make config is that you didn't make clean so that it just reinstalled the previously built version. If you're sure thats not the case, could you show: cat /var/db/ports/apache22/options and the output of: cd /usr/ports/www/apache22 make -V CONFIGURE_ARGS -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Invoking ldconfig without arguments wipes all hints and makes me very sad
On Thursday 10 April 2008 22:50:31 Edward Capriolo wrote: I just wrote to the list about the SAME thing. I totally agree. This is like the saying 'rm' command without arguments will delete every file on your computer. I did the same thing. I wish it was a virtual system I did it to as well :) First of all, running ldconfig without arguments does nothing bad. Running ldconfig without flags and with arguments does. Secondly, what is the command: ldconfig /usr/lib supposed to do, according to newbie friendly logic? Because it should be possible to just have the linker create hints for one directory. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ZFS-Pool is lost after reboot ( amd64 )
At Thu, 10 Apr 2008 21:22:42 +0200, Norman Maurer wrote: All is fine till I reboot. The pool is just disappearing :-/ have you tried to import the pool? zpool import x1 or just zpool import to list pools available to import. maybe the pool isn't imported on boot, which should not happen, but who knows... zfs should remember the import/export status of the pool, so if the pool is imported and you reboot, it should also get imported on the subsequent boot. hth toni -- If you understand what you're doing, you're | toni at stderror dot at not learning anything. | Toni Schmidbauer -- Anonymous| ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IP Aliasing
This may be a dumb question, but I'm puzzled by the following (taken from the Virtual Hosts section in the Handbook): For example, consider the case where the fxp0 interface is connected to two networks, the 10.1.1.0 network with a netmask of 255.255.255.0 and the 202.0.75.16 network with a netmask of 255.255.255.240. IP aliasing I get, but two different networks on the same interface? What would this be plugged into to make that work? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: buildkernel:Stop in /usr/src/sys/modules/oltr
On Wednesday 09 April 2008 07:06:03 dotyao wrote: from 6.3 pre to 6.3 reselase,buildkernel error: === oltr (all) uudecode /usr/src/sys/modules/oltr/../../contrib/dev/oltr/i386-elf.trlld.o.uu cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/mm21645/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/mm21645 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/oltr/../../contrib/dev/oltr/if_oltr.c cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/mm21645/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/mm21645 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/oltr/../../contrib/dev/oltr/trlldbm.c cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/mm21645/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/mm21645 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/oltr/../../contrib/dev/oltr/trlldhm.c /usr/src/sys/modules/oltr/../../contrib/dev/oltr/trlldhm.c:1453:8: invalid suffix xf7 on integer constant I don't have those sources handy, but there should be a 0xf7 on that line that I think got corrupted to 8xf7 somehow. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Invoking ldconfig without arguments wipes all hints and makes me very sad
On Thu, 2008-04-10 at 23:09 +0200, Mel wrote: First of all, running ldconfig without arguments does nothing bad. Running ldconfig without flags and with arguments does. Secondly, what is the command: ldconfig /usr/lib supposed to do, according to newbie friendly logic? Because it should be possible to just have the linker create hints for one directory. Your example seems perfectly reasonable should one wish to create hints for only one directory. However, in my particular case it seems that my blunder of running ldconfig -v (and not ldconfig by itself as I had assumed - my bad) is sufficient to render it impossible to log in as my regular user account since I had set my default login shell to bash. That, in conjunction with root being disallowed by default in sshd effectively locked me out of my machine once I closed my only open ssh session. Modifying my original suggestion slightly, is there any reason why it would be a bad thing for ldconfig to assume -r when either -v with no other arguments (or no arguments at all) is passed to ldconfig or is there some specific reason for the current behavior? Regards, Shelby Cain signature.asc Description: This is a digitally signed message part
Re: Adobe Flash Player Petition
Da Rock, of course. But I have no idea where to leave the howto. Where do such articles go for FreeBSD? I just found the official doku on the freebsd.org page, also some articles there. Though I can make a website on my server for it, but it seems to be a kind of overkill, for just such installing sequence.. Any hints? herbs Flashplayer on FreeBSD and Firefox Good to know. I was going to have a crack at it again once I got the chance... Can you whip up a how-to for a newbie so we can direct them to there in the future? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Comments on DRAC IV, V, VI w/ FreeBSD 6.3, 7.0
Your correct the DRAC is OS independent. The compatibility is for the management functions using Dell Open Manage or whatever they could be calling it today. Al Date: Thu, 10 Apr 2008 13:17:50 +1000 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: Comments on DRAC IV, V, VI w/ FreeBSD 6.3, 7.0 Philip M. Gollucci wrote: Hi All, Does anybody have any comments, suggestion, feedback, compatability notes, etc with DRAC and FreeBSD? As far as I am aware we are using DRAC successfully on Dell Machines at the moment. I believe it is O/S independent though so not sure why there would be any issues with compatibility? -- Regards, Terry Sposato [EMAIL PROTECTED] http://www.sucked-in.com GnuPG Key : 0xB7643BC8 Fingerprint: EE92 D9E1 C98E 759F 5991 DFF6 70CE 8936 B764 3BC8 _ More immediate than e-mail? Get instant access with Windows Live Messenger. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pine and IMAP
I have been using a local pine client in conjunction with IMAP for years without issues. However, recently, it looks like when pine moves mail to the mbox file, it hoses up my ability to use my imap clients. Has something changed so that I cannot use pine as a local client? It looks like I might be able to use pine through IMAP ok, but not like I used to. If you have a file called mbox in your home directory, pine will move the contents of your inbox there and treat the file as your inbox - the point is to avoid having large amounts of mail in a local spool directory. I presume that by hoses up my ability to use my imap clients you are just referring to the fact that pine has moved the mail offline. If you move the mail out of your pine inbox, you can then remove the empty file. Pine doesn't create this file by default, it was probably put there by another client - I have seen mutt do this. Yep, the old UNIX mail client generated the box years ago. The IMAP daemon also recognizes this file as the inbox once it is created. However, now it serves the index, but when I try to open one of the e-mail with an IMAP client it chokes out. I have stopped using pine as a movemail type of client and set it up to do IMAP too. However, as you mention, it leaves the inbox on the spool (I don't like this for obvious reasons). I am just wondering what changed to cause me to not be able to use pine in this manor any longer. Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: QEMU networking quirkiness on 7.0
On Thursday 10 April 2008 12:33:29 Jim Stapleton wrote: Yes, this needs to be setup on the host system. The way a bridge is configured has changed on 7. Here are the steps assuming that your external interface is em0: Well, it seems pretty calm, and hasn't tried to cut itself yet... But I think I can adapt. # ifconfig tap0 create # ifconfig tap0 up # ifconfig em0 up # ifconfig bridge0 create # ifconfig bridge0 addm tap0 addm em0 Could I mimic this in RC.conf? Or is this saved between restarts? Also, for the bridge, could I do this, correct? #existing rc.conf hostname=elrond.var-dev.net ifconfig_re0=inet 192.168.1.84 netmask 255.255.255.0 ifconfig_re0_alias0=192.168.1.85 netmask 255.255.255.255 defaultrouter=192.168.1.1 #adding... Should I use an IP not aliased by re0? ifconfig_bridge0=inet 192.168.1.85 netmask 255.255.255.0 Thanks for your help, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have a virtual Linux (Fedora 5) and winedows (XP) machines in QEMU and they are both network functional. I use qemu-launch because it does everything you need to create a virtual machine. Here are my pertinent configs: 1) # rc.conf ifconfig_re0=up polling - no IP here ! autobridge_interfaces=bridge0 autobridge_bridge0=tap0 re0 - important even if tap0 does not exist yet cloned_interfaces=bridge0 # the bridge gets the IP ifconfig_bridge0=inet 10.10.10.2 netmask 255.255.255.0 2) tell QEMU launch to open a tap device 3) tap up script to run when invoking the machine(s). # qemu-net #!/usr/local/bin/bash $1 = tap ifac created /sbin/ifconfig $1 up # test if tap is already added TEST=`ifconfig -a | grep -A 6 bridge | grep $1` if [ $TEST == ]; then /sbin/ifconfig bridge0 addm $1 fi # add a route to the virtual machine /sbin/route add -host 10.10.10.100 -iface bridge0 Set the gateway on both machines to the same gateway of the host. That's all. This works perfectly for me. If I want both virtual machines up, I have to add another route to the IP of the second machine through the bridge. I did not need to set up samba to access the local drives because I already have a samba server on the gateway and both the host and the guests can see it, and of course, is one less thing to set up at the host. My 2 cents. Hope it helps ! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Invoking ldconfig without arguments wipes all hints and makes me very sad
The command ldconfig -v Wipes your hints without saying a thing about it. I would not call that verbose. If you want to know what I think it should output I suggest. ldconfig -v Number of paths specified 0 News Hints Size: 0 On Thu, Apr 10, 2008 at 5:44 PM, Shelby Cain [EMAIL PROTECTED] wrote: On Thu, 2008-04-10 at 23:09 +0200, Mel wrote: First of all, running ldconfig without arguments does nothing bad. Running ldconfig without flags and with arguments does. Secondly, what is the command: ldconfig /usr/lib supposed to do, according to newbie friendly logic? Because it should be possible to just have the linker create hints for one directory. Your example seems perfectly reasonable should one wish to create hints for only one directory. However, in my particular case it seems that my blunder of running ldconfig -v (and not ldconfig by itself as I had assumed - my bad) is sufficient to render it impossible to log in as my regular user account since I had set my default login shell to bash. That, in conjunction with root being disallowed by default in sshd effectively locked me out of my machine once I closed my only open ssh session. Modifying my original suggestion slightly, is there any reason why it would be a bad thing for ldconfig to assume -r when either -v with no other arguments (or no arguments at all) is passed to ldconfig or is there some specific reason for the current behavior? Regards, Shelby Cain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Re: Quick+easy port redirect
In the last episode (Mar 28), Tuc at T-B-O-H.NET said: Is there a quick/easy (cookbook?) way to do port redirects. Basically I want that anything that leaves a specific interface to any ip on port 80 go to 192.168.0.1 port 87. I'm using ipfw for some other things so it has to work and play well with that. Make sure options IPFIREWALL_FORWARD is in your kernel config: ipfw add 500 forward 192.168.0.1 tcp from any to any 80 Note that this is a routing-style forward. The source and destination addresses are unchanged, so you will likely need another ipfw fwd rule at the destination machine to capture the traffic and force-forward it to 127.0.0.1:87 (or wherever you want it to go). If you're planning on passing the traffic to squid, there's a big FAQ section with some alternate methods: http://wiki.squid-cache.org/SquidFaq/InterceptionProxy Hi, I tried that (Well, 192.168.0.1,87) and it seem to have any effect, as you said that its a routing style forward. It hits my router and that ignores it and keeps on processing normally. I really am looking for a NAT type situation here. I already use the InterceptionProxy wiki to get it to pass it to Squid, thats been running great. My problem is when my primary Wireless Broadband goes down, it needs to take satellite. When it takes satellite, to get a Web acceleration thing going, I need to force it to the satellite modem port 80. SO, as clunky as it is, I used a rule that anything outbound on tun1 (OpenVPN over the satellite) goes to 127.0.0.1,87, which rinetd outta ports sends it to 192.168.0.1,87. Thanks, Tuc I ended up ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: if_bridge - what i do wrong
On Thursday 10 April 2008 10:02:55 Wojciech Puchar wrote: ifconfig: BRDGADD tap0: Invalid argument I had this problem once because my kernel was out of sync with userland. When I recompiled world, the problem went away. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Adobe Flash Player Petition
herbert langhans writes: Da Rock, of course. But I have no idea where to leave the howto. Where do such articles go for FreeBSD? I just found the official doku on the freebsd.org page, also some articles there. Though I can make a website on my server for it, but it seems to be a kind of overkill, for just such installing sequence.. If you have things working for Flash 9, enough people /will/ be interested this is not overkill. My suggestion: 1) create a web page; present the steps (with commentary is appropriate) in an easily readable format; _date the page_. 2) post the URL to questions@, ports@, and possibly www@ and multimedia@ in separate posts. Make the subject line something relevant - this is not about Adobe Flash Player Petition. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Invoking ldconfig without arguments wipes all hints and makes me very sad
On Thursday 10 April 2008 23:44:39 Shelby Cain wrote: On Thu, 2008-04-10 at 23:09 +0200, Mel wrote: First of all, running ldconfig without arguments does nothing bad. Running ldconfig without flags and with arguments does. Secondly, what is the command: ldconfig /usr/lib supposed to do, according to newbie friendly logic? Because it should be possible to just have the linker create hints for one directory. Your example seems perfectly reasonable should one wish to create hints for only one directory. However, in my particular case it seems that my blunder of running ldconfig -v (and not ldconfig by itself as I had assumed - my bad) is sufficient to render it impossible to log in as my regular user account since I had set my default login shell to bash. That, in conjunction with root being disallowed by default in sshd effectively locked me out of my machine once I closed my only open ssh session. Modifying my original suggestion slightly, is there any reason why it would be a bad thing for ldconfig to assume -r when either -v with no other arguments (or no arguments at all) is passed to ldconfig or is there some specific reason for the current behavior? It translates to be verbose about restoring factory settings, because without arguments it will restore the built-in set. The 'alias' shell command is suitable for user protection: alias ldconfig='/sbin/ldconfig -r' This will default to -r if called as ldconfig. If you really do want to modify the search path on the command line, you can type the full path to the ldconfig binary, as in: /sbin/ldconfig -vm /usr/local/lib. Similar: alias rm='rm -i' alias cp='cp -i' -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
listing attached devices
I feel like I'm missing something obvious. When I plug in a compact flash card reader, I can check /var/log/messages to see what devices it has recently detected. What I'd like to be able to do, however, is just enter a simple command at the shell prompt and get a list of what devices are connected -- preferably with some control over which devices are listed so I can narrow it down to storage devices that aren't mounted (even if only via grep). -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Phillip J. Haack: Productivity is not about speed. It's about velocity. You can be fast, but if you're going in the wrong direction, you're not helping anyone. pgp2CCBH2M3JO.pgp Description: PGP signature
Re: ZFS question...
In the last episode (Apr 10), Wael Nasreddine said: This One Time, at Band Camp, Dan Nelson [EMAIL PROTECTED] said, On Thu, Apr 10, 2008 at 01:14:02PM -0500: You don't necessarily need ZFS for this; gmirror would work just as well. You can split your 750GB drive into three partitions/slices/whatevers: 160GB - mirror this with your physical 160GB disk 500GB - mirror this with your physical 500GB disk 90GB - leftover unmirrored, use at your peril ZFS would let you take those two mirrored vdevs and stripe them into a single pool, but then again you could use gstripe or gconcat for that. The main benefit to ZFS would be if you regularly crash the system; fscking a 750gb UFS filesystem could take a while. That's not the desired behaviour actually, what I want is to gain the maximum space without the possibility of loosing data, I hear that ZFS is excellent at recovering data so I'm trying to figure out the perfect installation with these drives and of course while keeping the data safe... RAID0 is good for not wasting space at all but then again if one drive fails I'll lose everything :( Thae above config will give you RAID1, not RAID0, since you're mirroring each small drive onto a part of your large drive. You'll end up with 160+500 = 660GB of mirrored storage, with 90gb of unmirrored space left over. If you use ZFS, you would do something like this: Replace /dev/md* with your usb devices, obviously :) # mdconfig -a -t swap -s 160G md1 # mdconfig -a -t swap -s 500G md2 # mdconfig -a -t swap -s 750G md3 # disklabel -R /dev/md3 /dev/stdin DONE d: 160G * unknown e: 500G * unknown f: * * unknown DONE # zpool create usb mirror /dev/md1 /dev/md3d mirror /dev/md2 /dev/md3e # zpool list usb NAMESIZEUSED AVAILCAP HEALTH ALTROOT usb 655G112K655G 0% ONLINE - # zpool status usb pool: usb state: ONLINE scrub: none requested config: NAMESTATE READ WRITE CKSUM usb ONLINE 0 0 0 mirrorONLINE 0 0 0 md1 ONLINE 0 0 0 md3dONLINE 0 0 0 mirrorONLINE 0 0 0 md2 ONLINE 0 0 0 md3eONLINE 0 0 0 errors: No known data errors # df -k /usb Filesystem 1024-blocks Used Avail Capacity Mounted on usb 6760856320 676085632 0%/usb -- Dan Nelson [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: Invoking ldconfig without arguments wipes all hints and makes me very sad
At 02:30 PM 4/10/2008, Shelby Cain wrote: Greetings list. I'm a new user to FreeBSD and I just managed to introduce myself to ldconfig's default behavior. I'm currently locked out of my remote server since bash isn't statically compiled and will have to get physical access to correct my blunder. :( As a new user to FreeBSD, ldconfig's default behavior makes about as much sense to me as rm adding -fr ~ or kill adding -9 1 in the absence of arguments. I hate to sound ignorant but I have to ask, is there any particular reason FreeBSD's ldconfig defaults to this seemingly unintuitive and non-newbie-safe behavior? Would a patch that changes the behavior of ldconfig to assume -r in the absence of command line arguments and adds a new parameter like -e[rase]|-d[estroy]|-w[ipe]|-z[ap]|-l[olnewbie] to enable the original behavior be likely to gain any acceptance? Regards, Shelby Cain I can't speak about ldconfig but will say that most utilities you run as root have inherent dangers. Many of us that have worked with various flavors of unix have the scars from doing dumb things. I myself made the common mistake of doing rm -rf while in the / directory on a server. Boy it was fun reloading that server ;-) Do some reading, and check man pages before you execute new utilities. As for bash, you can compile and install it statically linked from the ports. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: listing attached devices
On Friday 11 April 2008 00:50:00 Chad Perrin wrote: I feel like I'm missing something obvious. When I plug in a compact flash card reader, I can check /var/log/messages to see what devices it has recently detected. What I'd like to be able to do, however, is just enter a simple command at the shell prompt and get a list of what devices are connected -- preferably with some control over which devices are listed so I can narrow it down to storage devices that aren't mounted (even if only via grep). usbdevs? glabel really is your friend though. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
StartKde
Hi all. I'm not sure if this is the proper place for this posting, but I am trying to determine what is causing my KDE problems. Here's what I get u85 50 ps -ef |grep kde bjwalker 11622 11076 0 17:45 pts/200:00:00 grep kde u85 51% startkde xset: bad font path element (#104), possible causes are: Directory does not exist or has wrong permissions Directory missing fonts.dir Incorrect font server address or syntax startkde: Starting up... After about 5 minutes of waiting, thats all I get. I've looked around to see where else I may have kde things running and think I've killed them all. I've also moved my .kde directory and allowed for the build of a new one. I'm currently in a gnome session but I would like to run KDE apps like Kile for example. Any help of where to start looking or things to do to help diagonose the problem would be appreciated. thanks b ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IP Aliasing
David Allen wrote: This may be a dumb question, but I'm puzzled by the following (taken from the Virtual Hosts section in the Handbook): For example, consider the case where the fxp0 interface is connected to two networks, the 10.1.1.0 network with a netmask of 255.255.255.0 and the 202.0.75.16 network with a netmask of 255.255.255.240. IP aliasing I get, but two different networks on the same interface? What would this be plugged into to make that work? Ethernet most likely these days. In a perfect world, where ipv4 addresses flowed like water, everyone managed to forecast everything perfectly, and nobody ever had to renumber a network, I doubt there'd be much call for it. And I'd never want to try make a case for it being terribly elegant. I'm personally acquainted with a couple of cases where it comes up: 1) Multi-homed networks with ipv4 addresses assignments too small to do something real like using BGP to advertise = /24 to multiple ISPs. So to talk via one ISP you use one address and via the other ISP you use the other. 2) You need to migrate to new addresses but can't afford to shut everything down long enough to change everything all at once. There are others. --Jon Radel smime.p7s Description: S/MIME Cryptographic Signature
Re: Adobe Flash Player Petition
Where do such articles go for FreeBSD? ... I can make a website on my server for it, but it seems to be a kind of overkill, for just such installing sequence.. If you have things working for Flash 9, enough people /will/ be interested this is not overkill. My suggestion: 1) create a web page; present the steps (with commentary is appropriate) in an easily readable format; _date the page_. 2) post the URL to questions@, ports@, and possibly www@ and multimedia@ in separate posts. Make the subject line something relevant - this is not about Adobe Flash Player Petition. and/or send a PR, including the content (not just the URL), to have it added to the Handbook or the FAQ. That way, even if the website goes away before a doc committer gets to it, it's archived in the PR database. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]