Re: /tmp getting full form portmanager
On Feb 7, 2007, at 9:32 PM, Noah wrote: From rc.conf(5): clear_tmp_enable (bool) Set to ``YES'' to have /tmp cleaned at startup. Why not setup a parallel (background) task with a wrapper script to delete some files when upgrading ports? Either that or find a (more) free partition and symlink /var/tmp to it. yeah out of all the ideas this seems the easiest to implement and just makes sense but I am having difficulties creating the sym link for /tmp ns1# df -k Filesystem 1K-blocksUsed Avail Capacity Mounted on /dev/ad0s1a507630 16307630394435%/ devfs 1 1 0 100%/dev /dev/ad0s1e507630 -6467026-0%/tmp /dev/ad0s1f 150732286 7152956 131520748 5%/usr /dev/ad0s1d 2011694 129230 1721530 7%/var ns1# umount /dev/ad0s1e umount: unmount of /tmp failed: Device busy ns1# clues please? Cheers, Noah Like many things, when playing with a live filesystem your hands are pretty much tied. Booting into single user mode and remounting your / slice fixes that though ;). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Packet rate limiter
Jan Sebosik wrote: Hi is there any way how to limit packet per second [PPS] rate to specified IP (group of IP) ? Linux can achieve this via IPtables. I`ve searched a lot of web, but nothing interesting found (for PF, IPFilter, and IPFW). On Feb 7, 2007, at 10:43 AM, Justin Robertson wrote: Newp. You're stuck to good old bps with ipfw or bps/cpse (connections per second established) with pf. The other method would be to use cisco netflow export data from a router being polled - then limiting traffic with one of the methods mentioned above... or just place pps limits on your router itself. Try man dummynet(4). It is a traffic shaper used with IPFW. -- Guido Demmenie http://www.rottnic.nl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Serious Bind issue
Dear mailinglist members, I have an serious issue with bind. System information: Dual P3 1 GHz 6.1-RELEASE-p12 FreeBSD SMP kernel I'm running BIND 9.3.2 on this box (the one that is standard delivered with 6.1) And when the named is running for a copple of hours. Bind doesn't accept TCP connections and i see this in my /var/log/messages: Feb 8 06:44:13 gms01 named[417]: /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1876: unexpected error: Feb 8 06:44:13 gms01 named[417]: internal_accept: accept() failed: Invalid argument Feb 8 06:46:55 gms01 named[417]: /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1876: unexpected error: Feb 8 06:46:55 gms01 named[417]: internal_accept: accept() failed: Invalid argument Feb 8 06:47:43 gms01 named[417]: /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1876: unexpected error: Feb 8 06:47:43 gms01 named[417]: internal_accept: accept() failed: Invalid argument Feb 8 07:00:08 gms01 named[417]: /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1876: unexpected error: Feb 8 07:00:08 gms01 named[417]: internal_accept: accept() failed: Invalid argument Feb 8 07:00:13 gms01 named[417]: /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1876: unexpected error: Feb 8 07:00:13 gms01 named[417]: internal_accept: accept() failed: Invalid argument Does anybody knows what this is ? I have an exact copy this server running next to this one. But that server is not SMP and it doesn't have this problems. Kind regards, Steven Bens CEO Unix-Solutions www.Unix-Solutions.be ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: memory above 4Gb ignored
you might check your bios settings for some weird memory reallocation but otherwise file a PR on this. Ted - Original Message - From: Thomas Sparrevohn [EMAIL PROTECTED] To: Bill Moran [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Wednesday, February 07, 2007 6:12 PM Subject: Re: memory above 4Gb ignored On 6 Feb 2007, at 12:23, Bill Moran wrote: I don't know whether its related - I just got a brand new Dell XPS 710 H2C with a QX6700 - The system uses the Nvidia 590 chipset - It has 4GB memory and Two GTX 8800 7xx MB graphics cards even with PAE enabled it only finds 2,5GB - However I am not sure how well the Nvidia 590 for Intel Works - Identcpu states that there is only 4MB of cache etc In response to Jim Pazarena [EMAIL PROTECTED]: I do not see any reference to resolving the 786432K of memory above 4Gb ignored anywhere in Google or otherwise. I see references to it for FreeBSD 4.XX, but I am running 6.2, and have the same problem. Is there any easy solution? For a hoot, I installed SuSe 10.2 on my machine and it recognized the full 4Gb; FreeBSD does not. Your searches didn't find this?: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/ troubleshoot.html#PAE -- Bill Moran Collaborative Fusion Inc. ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Assembly language on FreeBSD
openssl also uses assembler in some of it's files Ted - Original Message - From: Daniel Molina Wegener [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Cc: Rico Secada [EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 3:07 PM Subject: Re: Assembly language on FreeBSD On Wednesday 07 February 2007 19:45, Rico Secada wrote: Hi I am brushing up on my assembler language and I wonder if anyone could recommend any particular reading well suited for FreeBSD? Try looking as(1) manual page, the gas info page (info gas) and looking on the internet for guides regarding ATT assembler syntax. Also, is assembler code in the kernel source, the X.Org distribution and some multimedia tools that are using mmx, sse 3dnow instruction sets. Best and kind regards, Rico Secada. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Regards, -- .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | BSD Linux User| Standards Rocks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Routing problem
I have FreeBSD 6.2 box with 1 NIC and 2 IPs. The first IP is to access internet, the second is for the ISP's LAN. Unfortunately I have internet, but no access to the other network. I made a test. I assigned to the NIC only the local IP and removed the defaultrouter. Then, of course, I have no internet but was able to access the ISP's network. I've tried everything I know, but still nothing -- George Vanev ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: User Monitoring
On Tue, 6 Feb 2007 14:09:55 +0800 David Schulz [EMAIL PROTECTED] wrote: Hello all, i would like to provide a SSH Login for selected people on a dedicated Machine, to be a little bit of a playground to some who dont have any Unix experience and so on. Without a doubt i will get the one or the other trying to do something nasty to the Box, so my question is how to keep track of what Users are doing? Using process accounting as described http:// www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/security- accounting.html in the handbook? Can you share some easy to implement tricks to keep the worst from happening to my Machine? Hello :) I think you really have 2 issues : 1) how to prevent them breaking havoc on your machine. 2) how to know what they are doing. 2) : answered on the other posts. 1) normal users shouldn't have access to break many things (nothing system related actually)..but, since paranoid we must be, why not just install a jail (or set of jails if you want to provide for maximum separation) and give them access to the jails ? They'll be able to do most stuff a newbie would do (and an advanced user too :) ) , and u can even give them root in the jail :). Best, _ {Beto|Norberto|Numard} Meijome What you are afraid to do is a clear indicator of the next thing you need to do. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 'borrowing' 6.1 drivers for use in 6.2 (sata)
- Original Message - From: Steve Franks [EMAIL PROTECTED] To: Ted Mittelstaedt [EMAIL PROTECTED] Cc: FreeBSD Users Questions freebsd-questions@freebsd.org; [EMAIL PROTECTED] Sent: Sunday, February 04, 2007 8:38 AM Subject: Re: 'borrowing' 6.1 drivers for use in 6.2 (sata) On 2/3/07, Ted Mittelstaedt [EMAIL PROTECTED] wrote: Hi Steve, I should have been more clear, sorry! You cannot just replace a .ko file that is a binary file. You have to install the kernel sources, then go into the directory that the driver .c and .h files are, back those up, and replace them, then recompile the kernel. Here's probably what you want to do: Go to here: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/ examine the files. For example, assume it was ata-disk.c Examine the history by clicking on the file you will see the different changes. For example according to this revision 1.189.2.5 was used for 6.2-release, revision 1.189.2.4 was used for 6.1-release. If the bug is in this file it was introduced in one of the intermediate revisions between these 2. You will note this cooresponds with: /sys/dev/ata on your system assuming you installed the kernel sources. If you wanted to backrev this driver you would install sources, recompile the kernel and install it and reboot to make sure you know how to build a running kernel, then you would go to this directory, replace the file you want (ata-disk.c for example) and recompile the kernel and install it and reboot and cross your fingers. Rebuilding the kernel is covered in the online handbook on the website. It most likely won't work the first time. You will need to try this with several files. You also want to try newer revisions of this file. Or you can get bold and tar up the entire directory from a 6.1-release system and move /sys/dev/ata to /sys/dev/ata.bak and untar the old directory into your 6.2 system than try that. Obviously you need a 6.1 system around for this. If Soren has a guess to this he may send you patches to one or more of these files for testing, you will need to apply them and rebuild and reboot to see if it works. This sort of thing can take a lot of time. But it is really critical that you get on it right away. Since right now there wern't many changes between the drivers and it will be very easy to narrow it down to precisely what revision change causes the problem. It is much worse when people post things like such-and-such piece of hardware worked under FreeBSD 2.2 5 years ago and not under 6.2 today. Ted - Original Message - From: Steve Franks [EMAIL PROTECTED] To: Ted Mittelstaedt [EMAIL PROTECTED] Cc: FreeBSD Users Questions freebsd-questions@freebsd.org Sent: Saturday, February 03, 2007 10:19 AM Subject: Re: 'borrowing' 6.1 drivers for use in 6.2 (sata) Ted, I emailed [EMAIL PROTECTED] with that info, since that was who was under man ata. In the meantime, I replaced /boot/kernel/atapci.ko with the one from my 6.1 install cd, and it seriously #$%#^'ed my system. Restored now, but, do you suggest I need ata*.ko, not just atapci.ko? Or am I on the wrong track entirely? Also, where do I find info on the server and folder structure I should be looking for in cvs when you mention getting the latest thing? Steve On 2/3/07, Ted Mittelstaedt [EMAIL PROTECTED] wrote: You shouldn't have any trouble downgrading to the 6.1 drivers but I would suggest instead that you e-mail Soren the maintainer of the SATA driver before doing anything. He may have patched it already. At least, try the current driver from CVS first. All you really have to do is copy the current driver to a backup file then download the older driver from the cvs webinterface on freebsd.org and recompile your kernel. If you really want this fixed, find the exact revision in cvs where the support broke, obviously it will be between 6.1-release and 6.2-release, and let Soren know. It will take a few kernel recompiles to do that. Fortunately your system boot isn't on the controller, not many folks I'm sure have that setup. When you do figure it out, please create a PR using send-pr Ted - Original Message - From: Steve Franks [EMAIL PROTECTED] To: FreeBSD Users Questions freebsd-questions@freebsd.org Sent: Saturday, February 03, 2007 7:57 AM Subject: 'borrowing' 6.1 drivers for use in 6.2 (sata) If anyone has read my earlier posts, they know the acer/uli/asus motherboard sata chipset simply won't work in 6.2. It worked fine in 6.1, so I wonder if I can steal the driver from a 6.1 install? Or do I just have to downgrade? Having my server offline (even though it's only my personal files) is simply not an option. FYI, several others
Re: /tmp getting full form portmanager
On Wednesday February 07, 2007 at 07:43:01 (PM) Noah wrote: I dont think this is an adequate solution. /tmp is filling up during the portmanager run. in other words - while I am running /tmp fills up. so it needs to be erased periodically while portmanager is running or else no other packages can be downloaded Please don't top post. If you don't know what that means, Google for it. Exactly how much space are these files taking up? I run portmanager weekly and have never, ever seen this phenomena. Yes, it does produce some temporary files to keep track of what it is doing, files to be excluded, etc., but they are relatively small. I would certainly not recommend that you delete them while portmanager is actually running though. What are you referring to by: while portmanager is running or else no other packages can be downloaded. I can log in as a different user, or simply run portmanager in the background and then proceed to download files or do virtually anything else I desire, with the possible exception of running another instance of portmanager. Exactly how are you being affected? Have you tried cleaning out the /usr/ports/distfiles directory after doing an update? Those files are not needed any more. They can take up a considerable amount of space. Perhaps you could be a little more specific about what you are attempting to do. Also, would you include the output of: df -h I would be interested in what your drive looks like. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
transparent Squid + pf
System: P-IV 3.06 GHz with Intel Original motherboard. Hard Disk: SATA 80 GB. Squid runs on this system nicely in non-transparent mode. I am trying Transparent Squid with FreeBSD 6.2. The two NICs are rl0 and dc0. rl0 is configured as : 192.168.x.x 255.255.255.0 # my internal interface for pf dc0 is configured as : DHCP # my external interface for pf The squid configuration is : http_port 127.0.0.1:3128 dns_nameserver x.x.x.x x.x.x.x visible_hostname xx Kernel options that I have applied, recompiled and installed are: options INET device bpf device pf device pflog device pfsync I can ping my internal internal interface and interface (when external interface is assigned an IP address). Kernel gives message: kernel:arp: 192.168.1.X is on rl0 but got reply from xx:xx:xx:xx:xx on dc0. Squid gives error : ipcache_init: DNS name lookup tests failed I tried to ping my dns server. I get error: ping: no route to host. I read at http://freebsdonline.com; to allow squid to access pf device, following commands are to be given, chgrp _squid /dev/pf chmod g+rw /dev/pf Out of this the fist command does not work as it is, it has worked as under; chgrp squid /dev/pf Her is my pf.conf. and rc.conf for perusal please. I am in no hurry, please advise me to set the things right. My /etc/rc.conf: _ # -- sysinstall generated deltas -- # Fri May 5 07:17:11 2006 # Created: Fri May 5 07:17:11 2006 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. #REMOVED: ifconfig_rl0=inet 192.168.1.1 netmask 255.255.255.0 #defaultrouter=192.168.1.1 gateway_enable=YES hostname=wildcat.dishs.net ifconfig_rl0=inet 192.168.1.13 netmask 255.255.255.0 media 10baseT/UTP ipv6_enable=YES keymap=us.iso linux_enable=YES moused_enable=YES sshd_enable=YES usbd_enable=YES pf_enable=YES pf_rules=/etc/pf.conf pf_flags= pflog_enable=YES pflog_logfile=var/log/pflog pflog_flags= # -- sysinstall generated deltas -- # Mon Feb 5 19:43:03 2007 ipv6_enable=YES media 10baseT/UTP # external interface ifconfig_dc0=DHCP #defaultrouter=192.168.1.1 hostname=wildcat.dishs.net My pf.conf: _ # Macros: define common values, so they can be referenced and changed easily. ext_if=dc0# replace with actual external interface name i.e., dc0 int_if=rl0# replace with actual internal interface name i.e., dc1 tcp_services = { 22, 443 } # define our networks inet = { 192.168.1.0/16 } extaddr = 1.2.3.4 icmp_types = echoreq natone = int_if allproto = {tcp, udp, ipv6, icmp, esp, ipencap } privnets = { 127.0.0.0/8, 192.168.0.0/16 172.16.0.12, 10.0.0.0/8 } set loginterface $ext_if scrub on ext_if from $int_if:network to any - ($ext_if) #HTTP, HTTPS, to natone rdr on $ext_if proto tcp from any to any port 80 - $natone #ssh to natone rdr on $ext_if proto tcp from any to any port 22 - $natone #internal_net=10.1.1.1/8 #external_addr=192.168.1.1 # Tables: similar to macros, but more flexible for many addresses. #table foo { 10.0.0.0/8, !10.1.0.0/16, 192.168.0.0/24, 192.168.1.18 } # Options: tune the behavior of pf, default values are given. #set timeout { interval 10, frag 30 } #set timeout { tcp.first 120, tcp.opening 30, tcp.established 86400 } #set timeout { tcp.closing 900, tcp.finwait 45, tcp.closed 90 } #set timeout { udp.first 60, udp.single 30, udp.multiple 60 } #set timeout { icmp.first 20, icmp.error 10 } #set timeout { other.first 60, other.single 30, other.multiple 60 } #set timeout { adaptive.start 0, adaptive.end 0 } #set limit { states 1, frags 5000 } #set loginterface none #set optimization normal #set block-policy drop #set require-order yes #set fingerprints /etc/pf.os # Normalization: reassemble fragments and resolve or reduce traffic ambiguities. #scrub in all # Queueing: rule-based bandwidth control. #altq on $ext_if bandwidth 2Mb cbq queue { dflt, developers, marketing } #queue dflt bandwidth 5% cbq(default) #queue developers bandwidth 80% #queue marketing bandwidth 15% # Translation: specify how addresses are to be mapped or redirected. # nat: packets going out through $ext_if with source address $internal_net will # get translated as coming from the address of $ext_if, a state is created for # such packets, and incoming packets will be redirected to the internal address. nat on $ext_if from $internal_net to any - ($ext_if) # rdr: packets coming in on $ext_if with destination $external_addr:1234 will # be redirected to 10.1.1.1:5678. A state is created for such packets, and # outgoing packets will be translated as coming from the external address. # my rules start here rdr on $int_if inet proto tcp from any to any port www - 127.0.0.1 port 3128 pass in on $int_if inet proto tcp from any to 127.0.0.1 port 3128 keep state pass out on $ext_if inet proto tcp from any to any port www keep state #rdr pass on $int_if inet
Re: Packet rate limiter
Jan Sebosik [EMAIL PROTECTED] writes: is there any way how to limit packet per second [PPS] rate to specified IP (group of IP) ? The closest I can think of off the top of my head is defining a PF rule set with queues (ALTQ), however you will be specifying bandwidth, that is in bits per second (or k,M,G multiples of) of percentage of available bandwidth, not number of packets. Your groups of source addresses could be maintained as tables for easy manipulation. -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/ First, we kill all the spammers The Usenet Bard, Twice-forwarded tales delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: toggle between english and french (how?)
On 2007-02-08 00:38, Peter [EMAIL PROTECTED] wrote: Le Mercredi 7 F?vrier 2007 16:03, Giorgos Keramidas a ?crit : Yes, I tried fr.iso.acc.kbd fr.iso.kbd fr_CA.iso.acc.kbd Maybe I need to inform FreeBSD about the layout of my keyboard. All I get are beeps when I hit the special French accent keys. This usually means that you are typing 8-bit (i.e. French) characters at a shell prompt, but you have not set or configured any locale environment yet, or you have the wrong locale environment. If this is true, and you are hearing the beeps when typing at a shell prompt, then please tell us which shell you are using and what you see by typing: % locale This is what I get: LANG= LC_CTYPE=C LC_COLLATE=C LC_TIME=C LC_NUMERIC=C LC_MONETARY=C LC_MESSAGES=C LC_ALL= Right. You haven't set any LANG or LC_xxx environment variables. Try using one of the French locales, and set the following in your shell startup scripts: LANG='C' LC_COLLATE='fr_CA.ISO8859-1' LC_CTYPE='fr_CA.ISO8859-1' If you are using GNU bash, you can set in your `.bashrc' file: export LANG='C' export LC_COLLATE='fr_CA.ISO8859-1' export LC_CTYPE='fr_CA.ISO8859-1' If you are using tcsh, the commands for `.cshrc' are slightly different: setenv LANG 'C' setenv LC_COLLATE 'fr_CA.ISO8859-1' setenv LC_CTYPE 'fr_CA.ISO8859-1' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PF Source routing of IPSEC tunnel ESP packets.
Hi, I am having some problems with source routing using PF, I tried the PF mailing list but got no responses. The network layout is available at: http://www.tomjudge.com/tmp/tunnels.png From the diagram Host A and B both have there default gateway set as ISP A's router, and have a PF rule that should route traffic from ISP B's addresses to ISP B's router. This seems to work for all traffic except the IPSEC ESP packets which always get transmitted to the default gateway that is set on the host. It seems that they do not pass through the firewall or for some reason do not match the route-to rule. Can anyone suggest a solution to this problem? PF rule Host A: (First rule in rule set) pass out quick on bge1 route-to ( bge1 112.0.0.1 ) inet from 112.0.0.2 to ! 112.0.0.0/27 keep state PF rule Host B: (First rule in rule set) pass out quick on bge1 route-to ( bge1 114.0.0.1 ) inet from 114.0.0.2 to ! 114.0.0.0/27 keep state Thanks Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: recovery after power outage
On Thursday 08 February 2007 03:08, Marty Landman wrote: On 2/7/07, Pieter de Goeje [EMAIL PROTECTED] wrote: ad1s1c is a partition that contains the entire disk or slice in this case. Dangerously dedicated is when you have no slices: ad1a, ad1b, ad1c etc. You should _only_ fsck the individual partitions (ad0s1a), never the complete disk (ad0) or individual slices (ad0s1). You may risk destroying your filesystem(s) if you do so. Unless ofcourse you know what you're doing and you have placed a filesystem directly on either the disk or the slice it self. I see, thanks for explaining that. If I can recover this disk then I'll partition it into a couple of slices and mount each of those instead of what I was now doing. /dev/ad1s1c: NOT LABELED AS A BSD FILE SYSTEM (unused) Yes, ad1s1c is normally not used as a filesystem, so you would better not fsck it. Oops, then what can I do? Well it looks like fsck detected it and didn't do any harm here. I'm not really sure though. Also it won't reboot now, although I've run fsck complete including on ads0. Do I have to edit /etc/fstab so ads1 isn't mounted to get a good boot? Unfortunately /usr isn't getting mounted and I have not editor available afaik. It should not be necessary to edit /etc/fstab. However after what you've described above it might be necessary to restore the partition table, mbr and slice table to get your system booting again. Could you please be more explicit Pieter? I don't know how to do any of that. Yikes! If the slice and partition table are still intact (as they were before the outage), a normal fsck -F on /dev/ad1s1a will get the pc booting again. You can do this from a FreeBSD live cd such as FreesBIE or the fixit cd. You can then fsck the the rest of the filesystems in single user mode. You may also want to use the live CD to backup the important bits before, ehm, further corrupting/restoring the filesystems. ;) If the above doesn't work, probably something in either your slice table or partition table is wrong. If you have dedicated the entire disk to FreeBSD during the installation process, and chose the default disk layout, it should be possible to regenerate both using sysinstall (the freebsd installer) from the FreeBSD CD. However, if you made changes to the default setup, and you do not remember exactly what they were, and you do not have a backup of the output of bsdlabel ad1s1 things will get really tough here. In any case, I think you'll find the last section of http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disk-organization.html a useful read on FreeBSD disk organisation. Regards, Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
3com network card
I found out recently most vendors here in Malaysia, they've stop selling any model 3com NIC's, 3com Corp. itself stop all the 3com NIC's production they added. I've read a few article on the internet and 3com web, they officially announce no more end-user product in their next business plan (include NIC's). We've been using their NIC's for quite sometimes on heavy load traffic machine and it's really good in performance and last long compare to the cheapo NIC's like Realtek, Linksys, Dlink, SMC etc. I really disappointed with their decision recently. Other good NIC's is Intel Pro, but it's very rare here, really hard to get. Even Ingram Micro here don't carry them. Unless you buy branded server's (nevertheless you just got it built-in though). Do you guys have any tips/idea any good and reliable NIC's beside 3com and Intel Pro to work under *BSD / UNIX ? NOTE: I don't subscribe to the FreeBSD.org mailing list, please CC to me as well. --- EPedas Sdn. Bhd. (http://www.epedas.com.my) (wholly owned subsidiary of Safeguards Corporation Bhd.) -+-+-+-+-+-+-+ DISCLAIMER -+-+-+-+-+-+-+ This message is intended only for the ordinary use by the person to whom it is addressed and may contain information that is confidential and privileged under applicable laws, or otherwise protected by work product immunity or other legal rules. No one else may copy or forward all or any of it in any form. If you are not the intended recipient,you are ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error compiling/upgrading Azureus
Running FreeBSD 6.2-STABLE .. ran CVSUP Today so all my ports/src is all up to date. No matter what i try i cant get the new version of Azureus to compile .. any ideas/suggestions would be appreciated. == [javac] symbol : method setSortColumn(org.eclipse.swt.widgets.TableColumn) [javac] location: class org.eclipse.swt.widgets.Table [javac] table.setSortColumn(tc); [javac] ^ [javac] /usr/ports/net-p2p/azureus/work/org/gudy/azureus2/ui/swt/views/configsections/ConfigSectionPlugins.java:409: cannot find symbol [javac] symbol : method setSortDirection(int) [javac] location: class org.eclipse.swt.widgets.Table [javac] table.setSortDirection(ascending ? SWT.UP : SWT.DOWN); [javac] ^ [javac] /usr/ports/net-p2p/azureus/work/org/gudy/azureus2/ui/swt/views/file/FileInfoView.java:394: cannot find symbol [javac] symbol : method getMinHeight() [javac] location: class org.eclipse.swt.custom.ScrolledComposite [javac] if (sc.getMinHeight() != iNeededHeight) { [javac] ^ [javac] /usr/ports/net-p2p/azureus/work/org/gudy/azureus2/ui/swt/views/peer/PeerInfoView.java:400: cannot find symbol [javac] symbol : method getMinHeight() [javac] location: class org.eclipse.swt.custom.ScrolledComposite [javac] if (sc.getMinHeight() != iNeededHeight) { [javac] ^ [javac] /usr/ports/net-p2p/azureus/work/org/gudy/azureus2/platform/macosx/NativeInvocationBridge.java:46: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cast to java.lang.Class for a varargs call [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning [javac] Object newInstance = Class.forName(org.gudy.azureus2.platform.macosx.access.cocoa.CocoaJavaBridge).getConstructor(null).newInstance(null); [javac] ^ [javac] /usr/ports/net-p2p/azureus/work/org/gudy/azureus2/platform/macosx/NativeInvocationBridge.java:46: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cast to java.lang.Object for a varargs call [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning [javac] Object newInstance = Class.forName(org.gudy.azureus2.platform.macosx.access.cocoa.CocoaJavaBridge).getConstructor(null).newInstance(null); [javac] ^ [javac] Note: * uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 36 errors [javac] 2 warnings BUILD FAILED /usr/ports/net-p2p/azureus/work/build.xml:22: Compile failed; see the compiler error output for details. Total time: 40 seconds *** Error code 1 Stop in /usr/ports/net-p2p/azureus. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.63107.6 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=azureus-2.5.0.0 UPGRADE_PORT_VER=2.5.0.0 make DEPENDS_TARGET=package ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Routing problem
In response to George Vanev [EMAIL PROTECTED]: I have FreeBSD 6.2 box with 1 NIC and 2 IPs. The first IP is to access internet, the second is for the ISP's LAN. Unfortunately I have internet, but no access to the other network. I made a test. I assigned to the NIC only the local IP and removed the defaultrouter. Then, of course, I have no internet but was able to access the ISP's network. I've tried everything I know, but still nothing Consider providing more details, such as the output of ifconfig and netstat -rn. Sure sounds like a routing issue, but I doubt anyone can say anything more without details. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Routing problem
On 2/8/07, Bill Moran [EMAIL PROTECTED] wrote: In response to George Vanev [EMAIL PROTECTED]: I have FreeBSD 6.2 box with 1 NIC and 2 IPs. The first IP is to access internet, the second is for the ISP's LAN. Unfortunately I have internet, but no access to the other network. I made a test. I assigned to the NIC only the local IP and removed the defaultrouter. Then, of course, I have no internet but was able to access the ISP's network. I've tried everything I know, but still nothing Consider providing more details, such as the output of ifconfig and netstat -rn. Sure sounds like a routing issue, but I doubt anyone can say anything more without details. -- Bill Moran Collaborative Fusion Inc. You are right. ifconfig -- rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 212.25.37.96 netmask 0xff00 broadcast 212.25.37.255 inet 192.168.67.41 netmask 0xfc00 broadcast 192.168.67.255 ether 00:17:31:e7:92:18 media: Ethernet autoselect (100baseTX full-duplex) status: active rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 10.0.0.1 netmask 0xff00 broadcast 10.0.0.255 ether 00:50:bf:d5:f1:33 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet 127.0.0.1 netmask 0xff00 Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default212.25.37.1UGS 0 458268rl0 10/24 link#2 UC 00rl1 10.0.0.2 00:15:60:ae:f7:61 UHLW1 231827rl1922 10.0.0.3 00:17:08:2d:08:26 UHLW1 1686rl1 1004 10.0.0.255 ff:ff:ff:ff:ff:ff UHLWb 1 67rl1 127.0.0.1 127.0.0.1 UH 00lo0 192.168.64/22 link#1 UC 00rl0 192.168.64.1 00:02:a5:90:a9:b6 UHLW10rl0 1200 192.168.64.3 00:17:08:58:83:8d UHLW10rl0 1113 212.25.37 link#1 UC 00rl0 212.25.37.100:02:a5:90:a9:b6 UHLW20rl0 1195 In this case I can't access nothing from 192.168.64/22 rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 192.168.67.41 netmask 0xfc00 broadcast 192.168.67.255 ether 00:17:31:e7:92:18 media: Ethernet autoselect (100baseTX full-duplex) status: active rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 10.0.0.1 netmask 0xff00 broadcast 10.0.0.255 ether 00:50:bf:d5:f1:33 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet 127.0.0.1 netmask 0xff00 Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire 10/24 link#2 UC 00rl1 10.0.0.2 00:15:60:ae:f7:61 UHLW1 232034rl1784 10.0.0.3 00:17:08:2d:08:26 UHLW1 1712rl1866 10.0.0.255 ff:ff:ff:ff:ff:ff UHLWb 1 67rl1 127.0.0.1 127.0.0.1 UH 00lo0 192.168.64/22 link#1 UC 00rl0 In this case I don't have internet, but I can access 192.168.64/22 -- George Vanev ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Anyone running FreeBSD 6.x on HP DL320 G5?
Hello, If anyone is running FreeBSD 6.x on a HP DL320 G5, can they please hit me off-list with their stories? Kind Regards, Will ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /tmp getting full form portmanager
On Wed, Feb 07, 2007 at 09:32:53PM -0800, Noah wrote: From rc.conf(5): clear_tmp_enable (bool) Set to ``YES'' to have /tmp cleaned at startup. Why not setup a parallel (background) task with a wrapper script to delete some files when upgrading ports? Either that or find a (more) free partition and symlink /var/tmp to it. yeah out of all the ideas this seems the easiest to implement and just makes sense but I am having difficulties creating the sym link for /tmp ns1# df -k Filesystem 1K-blocksUsed Avail Capacity Mounted on /dev/ad0s1a507630 16307630394435%/ devfs 1 1 0 100%/dev /dev/ad0s1e507630 -6467026-0%/tmp /dev/ad0s1f 150732286 7152956 131520748 5%/usr /dev/ad0s1d 2011694 129230 1721530 7%/var ns1# umount /dev/ad0s1e umount: unmount of /tmp failed: Device busy ns1# Probably several processes have something open in /tmp. Anyway, you must not be CDed to /tmp to unmount it. And if there are other processes with something open, they will have to be dealt with. Probably the easiest thing is to just go to single user and only mount root and the filesystem where you intend to put the extra large /tmp - I think you mentioned /var/tmp. Then do:/ln -s /var/tmp /tmp jerry clues please? Cheers, Noah -Garrett ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low-cost dedicated FreeBSD server or non-jail VPS?
On Wed, Feb 07, 2007 at 05:34:47PM -0800, Jay Chandler wrote: Derek Ragona wrote: FreeBSD runs on most i386 based hardware as long as you have 64 MB ram or more. So you can recycle an old desktop PC to run FreeBSD and then have at it. Or buy a cheap new desktop or refurbished. -Derek The problem with this approach is that it doesn't get you a static IP with proper rDNS and a host of other things... It does if you buy an ISP account that includes a static IP and does DNS for you or you set up your own DNS and register the server. jerry I'd have interest in the answer to this question as well, as a jailed environment isn't quite what I want either. -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / [EMAIL PROTECTED] Today's Excuse: Too many interrupts ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Routing problem
In response to George Vanev [EMAIL PROTECTED]: On 2/8/07, Bill Moran [EMAIL PROTECTED] wrote: In response to George Vanev [EMAIL PROTECTED]: I have FreeBSD 6.2 box with 1 NIC and 2 IPs. The first IP is to access internet, the second is for the ISP's LAN. Unfortunately I have internet, but no access to the other network. I made a test. I assigned to the NIC only the local IP and removed the defaultrouter. Then, of course, I have no internet but was able to access the ISP's network. I've tried everything I know, but still nothing Consider providing more details, such as the output of ifconfig and netstat -rn. Sure sounds like a routing issue, but I doubt anyone can say anything more without details. You are right. ifconfig -- rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 212.25.37.96 netmask 0xff00 broadcast 212.25.37.255 inet 192.168.67.41 netmask 0xfc00 broadcast 192.168.67.255 ether 00:17:31:e7:92:18 media: Ethernet autoselect (100baseTX full-duplex) status: active rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 10.0.0.1 netmask 0xff00 broadcast 10.0.0.255 ether 00:50:bf:d5:f1:33 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet 127.0.0.1 netmask 0xff00 Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default212.25.37.1UGS 0 458268rl0 10/24 link#2 UC 00rl1 10.0.0.2 00:15:60:ae:f7:61 UHLW1 231827rl1922 10.0.0.3 00:17:08:2d:08:26 UHLW1 1686rl1 1004 10.0.0.255 ff:ff:ff:ff:ff:ff UHLWb 1 67rl1 127.0.0.1 127.0.0.1 UH 00lo0 192.168.64/22 link#1 UC 00rl0 192.168.64.1 00:02:a5:90:a9:b6 UHLW10rl0 1200 192.168.64.3 00:17:08:58:83:8d UHLW10rl0 1113 212.25.37 link#1 UC 00rl0 212.25.37.100:02:a5:90:a9:b6 UHLW20rl0 1195 In this case I can't access nothing from 192.168.64/22 Nothing? You're able to arp 192.168.64.1 and 192.168.64.3, can you ping them? Since you have an RFC-1918 address on both the inside and the outside, I assume you're running nat on this machine to translate internal machine traffic. It looks like you have all the routes you need, so my _guess_ at this point is that when the public address is up, the nat is preventing traffic from going out that interface without being translated. Once it has a public address, it can't route properly on the 192.168.64/22 space. Have a look at what you're using for nat. If you can't see anything obviously at odds, post your nat/firewall/related config. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual Core Or Dual CPU - What's the real difference in performance?
On Wed, Feb 07, 2007 at 07:22:26PM -0800, Garrett Cooper wrote: Andrew Hammond wrote: On 2/7/07, Nicole Harrington [EMAIL PROTECTED] wrote: Hello all, I have been building/using servers that were dual CPU AMD Opteron systems for some time. (usually 246 Opteron cpu's) Now of course the world is shifting to Dual Core. Using FreeBSD, what is really the difference, besides power and ability to shove in more memory, between having the two seperate CPUS's? Well, you also have two additional HT buses for memory access. And one additional HT bus for peripheral access although most motherboard manufacturers don't actually do anything with it. What if I did 2, Dual Core cpu's? Would the SMP overhead and sharing to a [Giant Locked] disk and or network erase any benefits? Benefits to what? Your computer can idle quite effectively with a 386 processor while consuming less power, producing less heat and requiring much less capital outlay than any Opteron box. I'm not sure where you got that info, but for the Pentium processor line at least, you're MUCH better off getting a Core Duo compared to the Pentium 4 HT enabled equivalent. I think you took his intended humor too seriously. His point really was that the poster did not indicate what the system would be used for and thus it was not really possible to say much about the benefit. If the system was mostly sitting idle, one CPU is about the same as another CPU in so far as what it gets done. But if it has a load that distributes well over dual cores, then it makes a very big difference. jerry Intel's power system (at least at the hardware level) is pretty good about shutting down cores when not in use, and actually it's better power wise to get a dual core processor compared to a dual processor machine, since on a dual processor machine both processors are fired up at the same time. Besides, with dual cores it's a shorter path electrically core to core, compared to a processor. The only OS that actually performs better with a dual single core processor setup compared to a single dual core processor would be Mac OSX (believe it or not). But that's because they use a mach kernel instead of a monolithic kernel like FreeBSD, Linux, and Windows. Look up previous discussions on this list for the mach kernel and OSX if you're curious, or just look up the article on wikipedia. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: READ_DMA48 error interpretation
On Wed, 7 Feb 2007, Richard Lynch wrote: [I've tried to snip away a lot of stuff, without losing any context...] I'll prune a bit too, but will backtrack to earlier context, so thanks. On Tue, February 6, 2007 2:50 am, Ian Smith wrote: On Mon, 5 Feb 2007 01:13:31 -0600 (CST) Richard Lynch [EMAIL PROTECTED] wrote: On Tue, January 16, 2007 3:21 pm, Chuck Swiger wrote: On Jan 16, 2007, at 1:13 PM, Richard Lynch wrote: ... +ad1: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=404955007 +ad1: FAILURE - READ_DMA48 status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=404955007 +g_vfs_done():ad1s1[READ(offset=207336931328, length=16384)]error = 5 Looks like a not ready error maybe. The only value in your ad1.txt that looks like it's ever been anywhere near any error threshold is ID# 11, Calibration_Retry_Count, and its current value is fine. Power glitch? Are you getting any other hard looking errors in /var/log/messages? Is fsck happy? It never hurts to run 'fsck -n' whenever you feel the urge. Try installing the sysutils/smartmontools port and run a drive self- I ran the short test on the problem drives, and it said everything was fine. I'll try the long test at a later date. Only your ad3.txt referred to below shows a (short) test having been completed and logged. You might check the smartctl -a results after running at least short tests initially (looks like the long ones will take 4-5 hours for your 4 drives) as Chuck has since suggested. #2. Sequences like this show up a fair amount: Device: /dev/ad2, SMART Prefailure Attribute: 3 Spin_Up_Time changed from 152 to 153 Device: /dev/ad2, SMART Prefailure Attribute: 3 Spin_Up_Time changed from 153 to 152 Device: /dev/ad0, SMART Prefailure Attribute: 8 Seek_Time_Performance changed from 251 to 250 I'm not sure of the degree of logging you're having smartd use here, but these small changes of value, especially up and down by 1 but a long way from any error threshold, seem to be excessive and relatively trivial perhaps debug-level detail?, ie most likely nothing of any concern. I suggest reading man smartctl under '-A, --attributes' and then you'll know as much as I do about what these may mean, and maybe worry less .. Here are all the smartctl -a outputs: http://l-i-e.com/ad0.txt http://l-i-e.com/ad1.txt http://l-i-e.com/ad2.txt http://l-i-e.com/ad3.txt ad3 is giving the most errors... ad1 gives a fair amount though Do you mean according to that fine-detail attribute changes logging? Or real read/write/seek etc errors being logged to messages? And the ad0 and ad2 seem to be giving the spinup errors. None of those reports seem to indicate any problems really, though if anyone else cares to peek and notices any anomalies, I'm all eyes. As for temperatures, the readings for all 4 drives seem very cool, but then it is winter over there .. Temperature Celcius for ad0 to ad3 being 36, 27, 22 and 18 degrees C, each present and worst value well clear of error thresholds .. did you interprete those values as temperatures? ad0 is pretty much full ad1 is the one I'm filling up currently ad2 and ad3 have no actual content on them yet, but will soon All the drives are kind of in an old PC tower (XT? AT???), except the outer casing is, errr, not there... Just the framework. Might be worth checking that your power supply is up to handling 4 big drives, but they weren't running more than mildly warm when reported. ad2 and ad3 are in one of these Thermaltake iCage things: http://www.performance-pcs.com/catalog/index.php?main_page=product_infocPath=257products_id=3533 which converts the old-school floppy drive[s] bay into an IDE bay, and puts a big honking fan blowing on them. These too were running nice and cool, 22 and 18C, when reported. Cf my 40GB laptop drive (at smartctl version 5.36 [i386-portbld-freebsd5.5], rather more recent than your 5.33 freebsd6.0) this afternoon: 194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 40 (Lifetime Min/Max 13/49) I'm not claiming it's good enough but I tried. I left the iCage bay between them empty for airflow/cooling. ad0 and ad1 are in the usual IDE bay of a tower. I have a fan in there, but without the cover to shape the airflow, perhaps that is not doing much useful... Perhaps it wasn't properly warmed up when you ran those reports, but on the data you've provided you don't have any sort of temperature problem. I can touch the exposed front and back top (above IDE cable) and lay my finger along it. It's hot but not like, ouch hot :-) Over 70C or so is too hot to touch except momentarily. You're cool :) I don't think it's 100C+ hot, as that's boiling -- but perhaps the thermometer is somewhere inside or... Seems more likely, though, that that number is Fahrenheit (sp?) and not
Re: Routing problem
Nothing? You're able to arp 192.168.64.1 and 192.168.64.3, can you ping them? Since you have an RFC-1918 address on both the inside and the outside, I assume you're running nat on this machine to translate internal machine traffic. It looks like you have all the routes you need, so my _guess_ at this point is that when the public address is up, the nat is preventing traffic from going out that interface without being translated. Once it has a public address, it can't route properly on the 192.168.64/22 space. Have a look at what you're using for nat. If you can't see anything obviously at odds, post your nat/firewall/related config. -- Bill Moran Collaborative Fusion Inc. No I can't ping them. Just to be sure I switched off the natd... It's the same. I want the FreeBSD box to connect to both - internet and 192.168.64/22 and the I'll think of the nat -- George Vanev ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: READ_DMA48 error interpretation
Ian Smith wrote: On Wed, 7 Feb 2007, Richard Lynch wrote: [I've tried to snip away a lot of stuff, without losing any context...] I'll prune a bit too, but will backtrack to earlier context, so thanks. On Tue, February 6, 2007 2:50 am, Ian Smith wrote: On Mon, 5 Feb 2007 01:13:31 -0600 (CST) Richard Lynch [EMAIL PROTECTED] wrote: On Tue, January 16, 2007 3:21 pm, Chuck Swiger wrote: On Jan 16, 2007, at 1:13 PM, Richard Lynch wrote: ... +ad1: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=404955007 +ad1: FAILURE - READ_DMA48 status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=404955007 +g_vfs_done():ad1s1[READ(offset=207336931328, length=16384)]error = 5 Looks like a not ready error maybe. The only value in your ad1.txt that looks like it's ever been anywhere near any error threshold is ID# 11, Calibration_Retry_Count, and its current value is fine. Power glitch? Are you getting any other hard looking errors in /var/log/messages? Is fsck happy? It never hurts to run 'fsck -n' whenever you feel the urge. Try installing the sysutils/smartmontools port and run a drive self- I ran the short test on the problem drives, and it said everything was fine. I'll try the long test at a later date. Only your ad3.txt referred to below shows a (short) test having been completed and logged. You might check the smartctl -a results after running at least short tests initially (looks like the long ones will take 4-5 hours for your 4 drives) as Chuck has since suggested. #2. Sequences like this show up a fair amount: Device: /dev/ad2, SMART Prefailure Attribute: 3 Spin_Up_Time changed from 152 to 153 Device: /dev/ad2, SMART Prefailure Attribute: 3 Spin_Up_Time changed from 153 to 152 Device: /dev/ad0, SMART Prefailure Attribute: 8 Seek_Time_Performance changed from 251 to 250 I'm not sure of the degree of logging you're having smartd use here, but these small changes of value, especially up and down by 1 but a long way from any error threshold, seem to be excessive and relatively trivial perhaps debug-level detail?, ie most likely nothing of any concern. I suggest reading man smartctl under '-A, --attributes' and then you'll know as much as I do about what these may mean, and maybe worry less .. Here are all the smartctl -a outputs: http://l-i-e.com/ad0.txt http://l-i-e.com/ad1.txt http://l-i-e.com/ad2.txt http://l-i-e.com/ad3.txt ad3 is giving the most errors... ad1 gives a fair amount though Do you mean according to that fine-detail attribute changes logging? Or real read/write/seek etc errors being logged to messages? And the ad0 and ad2 seem to be giving the spinup errors. None of those reports seem to indicate any problems really, though if anyone else cares to peek and notices any anomalies, I'm all eyes. As for temperatures, the readings for all 4 drives seem very cool, but then it is winter over there .. Temperature Celcius for ad0 to ad3 being 36, 27, 22 and 18 degrees C, each present and worst value well clear of error thresholds .. did you interprete those values as temperatures? ad0 is pretty much full ad1 is the one I'm filling up currently ad2 and ad3 have no actual content on them yet, but will soon All the drives are kind of in an old PC tower (XT? AT???), except the outer casing is, errr, not there... Just the framework. Might be worth checking that your power supply is up to handling 4 big drives, but they weren't running more than mildly warm when reported. ad2 and ad3 are in one of these Thermaltake iCage things: http://www.performance-pcs.com/catalog/index.php?main_page=product_infocPath=257products_id=3533 which converts the old-school floppy drive[s] bay into an IDE bay, and puts a big honking fan blowing on them. These too were running nice and cool, 22 and 18C, when reported. Cf my 40GB laptop drive (at smartctl version 5.36 [i386-portbld-freebsd5.5], rather more recent than your 5.33 freebsd6.0) this afternoon: 194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 40 (Lifetime Min/Max 13/49) I'm not claiming it's good enough but I tried. I left the iCage bay between them empty for airflow/cooling. ad0 and ad1 are in the usual IDE bay of a tower. I have a fan in there, but without the cover to shape the airflow, perhaps that is not doing much useful... Perhaps it wasn't properly warmed up when you ran those reports, but on the data you've provided you don't have any sort of temperature problem. I can touch the exposed front and back top (above IDE cable) and lay my finger along it. It's hot but not like, ouch hot :-) Over 70C or so is too hot to touch except momentarily. You're cool :) I don't think it's 100C+ hot, as that's boiling -- but perhaps the thermometer is somewhere inside or... Seems more likely, though, that that number is
Re: Can't Login at the Console on FreeBSD 6.0 Release
JP [EMAIL PROTECTED] writes: So I'm not quite sure what happened here, someone with root access, who probably shouldn't have had it managed to make a mess of things. He claims he was trying to install source files and on reboot he could no longer login to the system. I am able to boot into single user mode, I see that login is core-dumping on signal 11 and as such I can't login to the box. Ftp, SSH, and other services are not responsive and don't even attempt to allow me to login remotely. I'd like to be able to login at the console, and be able to FTP into the box so I can pull everything down and do a fresh install. Any suggesitons on how to do this? I already did a passwd root and created a new password thinking it would fix things, but it didn't. At the console, it just asks for Login, and then password and then keeps looping if though I am putting in the right information. If it were my machine to fix, I would start with a binary upgrade off of CD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /tmp getting full form portmanager
On Wed, 07 Feb 2007 21:32:53 -0800 Noah [EMAIL PROTECTED] wrote: From rc.conf(5): clear_tmp_enable (bool) Set to ``YES'' to have /tmp cleaned at startup. And also daily_clean_tmps_enable (in periodic.conf) Why not setup a parallel (background) task with a wrapper script to delete some files when upgrading ports? Either that or find a (more) free partition and symlink /var/tmp to it. yeah out of all the ideas this seems the easiest to implement and just makes sense but I am having difficulties creating the sym link for /tmp That doesn't make sense to me, it just sweeps the problem under the carpet. At the moment I'm in the middle of an upgrade with portmanager, and the *total* space used on /tmp is 1MB. How much of /tmp is actually in use by portmanager. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using SSL certificates instead of password
I am trying to set up one of my servers so that it can be accessed only by a user with a proper SSL certificate. I want to disable the use of passwords completely. I cannot seem to locate a good 'How To' regarding this. In addition, the server, a FreeBSD-6.2 machine, will be accessed by WinXP machines using Putty. Where can I locate some good information on how to set up such a configuration? Thanks! -- White Hat [EMAIL PROTECTED] Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual Core Or Dual CPU - What's the real difference in performance?
In message [EMAIL PROTECTED], Mike Meyer writes: Generally, more processors means things will go faster until you run out of threads. However, if there's some shared resource that is the bottleneck for your load, and the resource doesn't support simultaneous access by all the cores, more cores can slow things down. Of course, it's not really that simple. Some shared resources can be managed so as to make things improve under most loads, even if they don't support simultaneous access. Generally speaking the performance increase is not linear. At some point there is no benefit to adding more processors. In a former life when I was an MVS systems programmer the limit was seven processors in a System/370. Today we can use 16, 32, even 64 processors with a standard operating system and current hardware, unless one of the massively parallel architectures is used. To answer the original posters question, there are architectural differences mentioned here, e.g. shared cache, I/O channel, etc., but the reason the chip manufacturers make them is that they're more cost effective than two CPUs. The AMD X2 series of chips (I have one), they're not truely a dual processor chip. They're analogous to the single processor System/370 with an AP (attached processor) in concept. What this means is that both processors can execute all instructions and are just as capable in every way except external interrupts, e.g. I/O interrupts, are handled by the processor 0 as only that processor is wired to be interrupted in case of external interrupt. I can't comment about Intel's Dual Core CPUs as I don't know their architecture but I'd suspect the same would be true. Chips in which there are two dual core CPUs on the same die, I believe one of each of the dual core CPUs can handle external interrupts. From an operating system perspective an AP means that processor 0 will receive the interrupt and put it on it's queue. Then either processor 0 or processor 1 would take the interrupt off the queue and do something with it. To add another dimension to this discussion, hyperthreading uses spare cycles in a single processor to pretend there are two processors, increasing performance for some apps and reducing performance for other apps. For example Sun T2000 systems have multiple CPUs each with multiple cores and each core capable of hyperthreading, presenting to Solaris 32 processors where in fact there are only two CPU chips (I may have the numbers wrong as I spend most of my time in management mode at work and you know managers don't have brains). Generally speaking, dual core is an inexpensive way to get SMP into the hands of people who could not normally afford SMP technology as it was. I have a mortgage so spending money on computers is not a high priority in relation to that priority but dual core does give me an opportunity to enter the market relatively inexpensively and get good value for the money I spend on the technology. That's really what it's all about, how much performance you get for the money you spend. -- Cheers, Cy Schubert [EMAIL PROTECTED] FreeBSD UNIX: [EMAIL PROTECTED] Web: http://www.FreeBSD.org e**(i*pi)+1=0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Quick project, need help, happy to pay...
All, Sorry if this is the wrong list, but this is the most basic of questions: Can someone help me get a software package up and running? The package: http://www.openemm.org/wiki/OpenEMM_Wiki_Home (these are the installation instructions for Linux systems - I know others have gotten the package running on FreeBSD, but there are no specific installation instructions for that platform). What I provide: * A brand-spankin'-new FreeBSD 6.2 install * SSH access (you may have to talk me through correct config - it was (strangely!) not working after base install) * A donation to FreeBSD or payment directly to you - your choice! What you provide: * Installation of the OpenEMM package * A few tests to make sure it works * An email address where I can PayPal your payment to If interested, drop me a note directly (I'm not subscribed to the list), along with an estimate of the cost and when you can get started. Some idea of your experience (even a reference or two) would be grand as well. Many thanks, Greg Brooks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Quick project, need help, happy to pay...
Free of charge, opennms freebsd 6.2 howto: http://joshuafruge.com/wordpress/?p=7 -- Joshua Frugé Louisiana State University Information Technology Services Phone: 225.578.3363 Email: [EMAIL PROTECTED] On Thu, 2007-02-08 at 07:08 -0800, [EMAIL PROTECTED] wrote: All, Sorry if this is the wrong list, but this is the most basic of questions: Can someone help me get a software package up and running? The package: http://www.openemm.org/wiki/OpenEMM_Wiki_Home (these are the installation instructions for Linux systems - I know others have gotten the package running on FreeBSD, but there are no specific installation instructions for that platform). What I provide: * A brand-spankin'-new FreeBSD 6.2 install * SSH access (you may have to talk me through correct config - it was (strangely!) not working after base install) * A donation to FreeBSD or payment directly to you - your choice! What you provide: * Installation of the OpenEMM package * A few tests to make sure it works * An email address where I can PayPal your payment to If interested, drop me a note directly (I'm not subscribed to the list), along with an estimate of the cost and when you can get started. Some idea of your experience (even a reference or two) would be grand as well. Many thanks, Greg Brooks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /tmp getting full form portmanager
RW writes: clear_tmp_enable (bool) Set to ``YES'' to have /tmp cleaned at startup. And also daily_clean_tmps_enable (in periodic.conf) Before doing this, understand the consequences, There's stuff in my /tmp ... I understand /who/ put it there, but not /why/. Until I affirmatively know it's safe to delete, not going to blindly reap the directory. 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: Dual Core Or Dual CPU - What's the real difference in performance?
In [EMAIL PROTECTED], Cy Schubert [EMAIL PROTECTED] typed: In message [EMAIL PROTECTED], Mike Meyer writes: Generally, more processors means things will go faster until you run out of threads. However, if there's some shared resource that is the bottleneck for your load, and the resource doesn't support simultaneous access by all the cores, more cores can slow things down. Of course, it's not really that simple. Some shared resources can be managed so as to make things improve under most loads, even if they don't support simultaneous access. Generally speaking the performance increase is not linear. At some point there is no benefit to adding more processors. When some other resources becomes the bottleneck. Which resource depends on the workload. In some cases, adding processors will slow things down. To add another dimension to this discussion, hyperthreading uses spare cycles in a single processor to pretend there are two processors, increasing performance for some apps and reducing performance for other apps. I think hyperthreading gets a bad rap. It shares lots of resources - like the computing units - so there are lots of workloads that cause things to get worse when you add a processor. But the general case should still be that it gets faster. Generally speaking, dual core is an inexpensive way to get SMP into the hands of people who could not normally afford SMP technology as it was. Gee, I thought it was a reaction to losing the clock rate war. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.4 on a Pentium 4
Hi all, Just wondering if anyone could help me out with an issue on FreeBSD which has been puzzling me for a while and only now do I have the time to go and figure it out. We currently have version 5.4 installed but understand that the architecture it is set up for is a generic i386. How do I go about optimising my base system and/or installed ports to recognise my CPU as an i686 and therefore make use of this type of CPU. I have enclosed the first part of my dmesg output to identify the CPU. CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.12-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf41 Stepping = 1 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 1064501248 (1015 MB) avail memory = 1032130560 (984 MB) Many thanks in advance for any feedback on this issue. Regards Philip Radford ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low-cost dedicated FreeBSD server or non-jail VPS?
I'm looking to rent a low-cost FreeBSD dedicated server or VPS with root access. For a VPS, I realize this is really psuedo-root access. I once rented a VPS on a FreeBSD box that was split into virtual boxes using jail, but wasn't happy with it. So, if it's not a dedicated box, I'm looking for something like Virtuozzo, Xen, vmware running FreeBSD as a guest OS, etc. The box doesn't have to be super-fast or have lots of disk space: just looking for something that will let me play around with ports, pf, run experiments, etc Does anyone have any suggestions? Not sure if it's low-cost, but I've had a box at layeredtech.com for over a year now and been pretty happy with them... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 on a Pentium 4
On Thursday 08 February 2007 11:16, Philip Radford wrote: Hi all, Just wondering if anyone could help me out with an issue on FreeBSD which has been puzzling me for a while and only now do I have the time to go and figure it out. We currently have version 5.4 installed but understand that the architecture it is set up for is a generic i386. How do I go about optimising my base system and/or installed ports to recognise my CPU as an i686 and therefore make use of this type of CPU. I have enclosed the first part of my dmesg output to identify the CPU. CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.12-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf41 Stepping = 1 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MC A,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs Add CPUTYPE?=pentium4 to /etc/make.conf. Remove the cpu I486_CPU and cpu I586_CPU lines from your kernel config (if present), leaving only cpu I686_CPU. Rebuild your kernel, world, and ports. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: eterm/port
Olivier Regnier [EMAIL PROTECTED] writes: Hello :) Yesterday and today, i tried to install eterm with the ports tree with this command: portinstall eterm but everytime, i get an error that says Stop in /usr/ports/x11/eterm.! x11/eterm (linker error) Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed You can see the result in the file called eterm-result. I don't understand. What happened ? I don't use eterm, but I'm seeing it too when I looked into it. Strangely, neither eterm nor imlib2 have changed in a couple of months, and the sandbox built them properly since then. Can you help me please ? Thank you in advance ;) -- Cheers, Olivier Regnier --- Installing 'eterm-0.9.4' from a port (x11/eterm) --- Building '/usr/ports/x11/eterm' === Cleaning for man2html-3.0.1_1 === Cleaning for imlib2-20060926_1,1 === Cleaning for libast-0.7 === Cleaning for libiconv-1.9.2_2 === Cleaning for xorg-libraries-6.9.0_1 === Cleaning for perl-5.8.8 === Cleaning for pkg-config-0.21 === Cleaning for freetype2-2.2.1_1 === Cleaning for jpeg-6b_4 === Cleaning for png-1.2.14 === Cleaning for tiff-3.8.2_1 === Cleaning for libungif-4.1.4_2 === Cleaning for libid3tag-0.15.1b === Cleaning for pcre-7.0 === Cleaning for libtool-1.5.22_3 === Cleaning for imake-6.9.0_1 === Cleaning for libdrm-2.0.2 === Cleaning for fontconfig-2.3.2_6,1 === Cleaning for gmake-3.81_1 === Cleaning for expat-2.0.0_1 === Cleaning for gettext-0.14.5_2 === Cleaning for eterm-0.9.4 === Vulnerability check disabled, database not found === Found saved configuration for eterm-0.9.4 === Extracting for eterm-0.9.4 = MD5 Checksum OK for Eterm-0.9.4.tar.gz. = SHA256 Checksum OK for Eterm-0.9.4.tar.gz. === Patching for eterm-0.9.4 === Applying FreeBSD patches for eterm-0.9.4 === eterm-0.9.4 depends on executable in : man2html - found === eterm-0.9.4 depends on shared library: Imlib2.3 - found === eterm-0.9.4 depends on shared library: ast.2 - found === eterm-0.9.4 depends on shared library: iconv.3 - found === eterm-0.9.4 depends on shared library: X11.6 - found === Configuring for eterm-0.9.4 configure: WARNING: you should use --build, --host, --target checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes /usr/ports/x11/eterm/work/Eterm-0.9.4/missing: Unknown `--run' option Try `/usr/ports/x11/eterm/work/Eterm-0.9.4/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for preferred libtoolize... libtoolize checking for preferred aclocal... aclocal checking for preferred autoconf... autoconf checking for preferred autoheader... autoheader checking for preferred automake... automake grep: ./src/netdisp.c: No such file or directory checking build system type... i386-portbld-freebsd6.2 checking host system type... i386-portbld-freebsd6.2 checking for i386-portbld-freebsd6.2-gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for AIX... no checking for library containing strerror... none required checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i386-portbld-freebsd6.2-g++... c++ checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking how to run the C++ preprocessor... c++ -E checking for i386-portbld-freebsd6.2-g77... no checking for
Re: eterm/port
Lowell Gilbert [EMAIL PROTECTED] writes: I don't use eterm, but I'm seeing it too when I looked into it. Strangely, neither eterm nor imlib2 have changed in a couple of months, and the sandbox built them properly since then. Hmm. imlib2 isn't deleting properly, either. pkg_delete: file '/usr/local/bin/imlib2_bumpmap' doesn't exist pkg_delete: file '/usr/local/bin/imlib2_colorspace' doesn't exist pkg_delete: file '/usr/local/bin/imlib2_grab' doesn't exist pkg_delete: file '/usr/local/bin/imlib2_poly' doesn't exist pkg_delete: file '/usr/local/bin/imlib2_show' doesn't exist pkg_delete: file '/usr/local/bin/imlib2_test' doesn't exist pkg_delete: file '/usr/local/bin/imlib2_view' doesn't exist pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) Doesn't seem related, though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Quantum tape drives?
Hello everyone, Does anyone know (or work with) if the LTO-3 tape drives from Quantum are supported? These are Ultra 160 SCSI drives as far as I know. Thanks (again) in advance Reuben A. Popp -- Reuben A. Popp Systems Administrator Information Technology Department East Central College 1+ 636 583 5195 x2480 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low-cost dedicated FreeBSD server or non-jail VPS?
On 2/7/07, John Nielsen [EMAIL PROTECTED] wrote: On Wednesday 07 February 2007 23:10, Peter Clark wrote: Is this up your alley? http://www.johncompanies.com/jc_vps.html I use this service and highly recommend it, but it definitely falls under the jail category. They've modified the stock FreeBSD jails pretty heavily and most of the time it's not obvious you're running in a jail, but if you want to do anything like create virtual interfaces, use your own mountpoints or (as the OP mentioned) experiment with firewall setups you'll be out of luck. JC does also offer dedicated servers on which they're more than happy to install and support FreeBSD, but I'm not sure that meets the low-cost requirement. JN I would second the John Companies. Also another good one to look at is sevenl.net I had a Ubuntu server there for a while and they were great. They only have FreeBSD as a dedicated option though, no VPS. The dedicated starts at $81 a month, so that may be a little more than you want to spend. Preston ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Quantum tape drives?
Reuben A. Popp wrote: Does anyone know (or work with) if the LTO-3 tape drives from Quantum are supported? These are Ultra 160 SCSI drives as far as I know. SCSI Tape drives are supported, yes. Bus speed, tape capacity, manufacturer etc. doesn't really have a great deal of bearing on whether the drive will work or not. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: /tmp getting full form portmanager
On Thu, 8 Feb 2007 10:59:28 -0500 Robert Huff [EMAIL PROTECTED] wrote: RW writes: clear_tmp_enable (bool) Set to ``YES'' to have /tmp cleaned at startup. And also daily_clean_tmps_enable (in periodic.conf) Before doing this, understand the consequences, There's stuff in my /tmp ... I understand /who/ put it there, but not /why/. Until I affirmatively know it's safe to delete, not going to blindly reap the directory. It's not really doing it blindly, it only removes directories and ordinary files that haven't been accessed for three days (or whatever daily_clean_tmps_days is set to). There is also a list of things to ignore. It's safer than setting clear_tmp_enable with a /tmp linked to /var/tmp, since that's the proper place for temporary files that should survive a reboot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using SSL certificates instead of password
On 2007/02/08 6:07, White Hat seems to have typed: I am trying to set up one of my servers so that it can be accessed only by a user with a proper SSL certificate. I want to disable the use of passwords completely. I cannot seem to locate a good 'How To' regarding this. In addition, the server, a FreeBSD-6.2 machine, will be accessed by WinXP machines using Putty. Where can I locate some good information on how to set up such a configuration? See: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/openssh.html Section 14.11.6 See also: http://www.freebsd.org/cgi/man.cgi?query=sshd_configsektion=5manpath=OpenBSD+3.9 Section PubkeyAuthentication Section PasswordAuthentication Its actually pretty easy to setup. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compiling error - /usr : filesystem full
Here's some additional Information I have been able to find. The narrative is just to further explain what I was doing. - I was in the process of rebuilding a new kernel for one of my laptops. I did the whole cvsup_without-gui. I created a new kernel called LAPTOP and commented all unnecessary drivers and options. When I ran make buildkernel KERNCONF=LAPTOP, the process eventually died with an error. I neglected to write down the exact error, but it was something like {objcopy) /usr : filesystem full As you can see /usr is choking. I have not turned off the laptop. Based on the information below, what can I delete to free up some space. I use the word delete in broad terms. Much like the windows world where you should 'uninstall' as opposed to simply deleting a folder...I am not sure what to do...ie how to free up space. The only thing I can think of is to simply # rm /usr/ports ... for lack of a better example. # du -ak /usr |sort -nr | /tmp/file2.txt This file had 24,000 lines so I deleted much of the file. Your thoughts/suggestions will be much appreciated. ### output from running # df -m /tmp/file1.txt ### where -m is MB Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/ad0s1a 495 55 40012%/ devfs 00 0 100%/dev /dev/ad0s1e 495 10 445 2%/tmp /dev/ad0s1f 2300 2286 -170 108%/usr /dev/ad0s1d 1098 58 952 6%/var devfs 00 0 100%/var/named/dev ### output from running # du -ak /usr |sort -nr | /tmp/file2.txt ### where -a is 'display entry for each file in file hierarchy ### where -k is 'display block count in kilobyte' 2341378/usr 636728/usr/obj 636726/usr/obj/usr 636724/usr/obj/usr/src 428576/usr/src 402064/usr/ports 289070/usr/X11R6 273156/usr/local 232342/usr/obj/usr/src/sys 230268/usr/obj/usr/src/sys/LAPTOP 204636/usr/src/contrib 170340/usr/obj/usr/src/sys/LAPTOP/modules 170338/usr/obj/usr/src/sys/LAPTOP/modules/usr 170336/usr/obj/usr/src/sys/LAPTOP/modules/usr/src 170334/usr/obj/usr/src/sys/LAPTOP/modules/usr/src/sys 170332/usr/obj/usr/src/sys/LAPTOP/modules/usr/src/sys/modules 148210/usr/X11R6/lib 129236/usr/compat 129234/usr/compat/linux 116012/usr/compat/linux/usr 106724/usr/obj/usr/src/gnu 105986/usr/obj/usr/src/tmp 101880/usr/src/sys 100536/usr/obj/usr/src/tmp/usr 88956/usr/compat/linux/usr/lib 88856/usr/obj/usr/src/gnu/usr.bin 86464/usr/X11R6/share 83186/usr/local/share 79184/usr/local/lib 78854/usr/share 67228/usr/compat/linux/usr/lib/locale 61072/usr/obj/usr/src/lib 59326/usr/local/freebsd-update 59324/usr/local/freebsd-update/work 56616/usr/X11R6/lib/X11 52090/usr/obj/usr/src/tmp/usr/src 49418/usr/obj/usr/src/tmp/usr/src/gnu 49416/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin 47864/usr/src/contrib/gcc 45808/usr/obj/usr/src/gnu/usr.bin/cc 44264/usr/X11R6/lib/X11/fonts 43932/usr/ports/distfiles 40422/usr/X11R6/share/doc 39098/usr/src/sys/dev 38956/usr/obj/usr/src/usr.sbin 37694/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc 33638/usr/share/doc 32104/usr/ports/devel 31654/usr/local/lib/perl5 31646/usr/lib 31414/usr/X11R6/lib/firefox 31082/usr/local/freebsd-update/work/4 30496/usr/compat/linux/usr/lib/locale/locale-archive 30218/usr/share/doc/en_US.ISO8859-1 28974/usr/local/lib/perl5/5.8.8 28080/usr/src/contrib/binutils 26840/usr/ports/www 26692/usr/src/crypto 26288/usr/local/share/doc 26166/usr/local/freebsd-update/work/3 25830/usr/X11R6/bin 24344/usr/bin 24190/usr/compat/linux/usr/share 24124/usr/X11R6/include 23604/usr/X11R6/share/doc/qt 23602/usr/X11R6/share/doc/qt/html 23142/usr/share/doc/en_US.ISO8859-1/books 21592/usr/X11R6/lib/firefox/components 21436/usr/local/bin 21240/usr/ports/games 20528/usr/obj/usr/src/usr.bin 19966/usr/src/lib 19820/usr/obj/usr/src/tmp/usr/lib 19572/usr/obj/usr/src/secure 19552/usr/ports/INDEX-6.db 19072/usr/obj/usr/src/sys/LAPTOP/kernel.debug 18534/usr/src/share 18488/usr/share/man 18464/usr/obj/usr/src/lib/libc 17866/usr/obj/usr/src/gnu/lib 16902/usr/src/contrib/bind9 16500/usr/obj/usr/src/secure/lib 16206/usr/src/sys/contrib 15788/usr/src/contrib/gdb 15758/usr/libexec 15666/usr/X11R6/include/firefox 15590/usr/obj/usr/src/gnu/usr.bin/cc/cc_int 15538/usr/local/freebsd-update/work/4/rollback 15538/usr/local/freebsd-update/work/4/install 15462/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int 15348/usr/obj/usr/src/gnu/usr.bin/gdb 15312/usr/src/usr.sbin 15208/usr/ports/net 14984/usr/X11R6/lib/X11/fonts/100dpi 14934/usr/X11R6/share/locale 14688/usr/ports/graphics 14546
RE: compiling error - /usr : filesystem full
Hell Don: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Don Munyak Sent: Thursday, February 08, 2007 10:58 AM To: FreeBSD Questions Subject: Re: compiling error - /usr : filesystem full Here's some additional Information I have been able to find. The narrative is just to further explain what I was doing. - I was in the process of rebuilding a new kernel for one of my laptops. I did the whole cvsup_without-gui. I created a new kernel called LAPTOP and commented all unnecessary drivers and options. When I ran make buildkernel KERNCONF=LAPTOP, the process eventually died with an error. I neglected to write down the exact error, but it was something like {objcopy) /usr : filesystem full As you can see /usr is choking. I have not turned off the laptop. Based on the information below, what can I delete to free up some space. I use the word delete in broad terms. Much like the windows world where you should 'uninstall' as opposed to simply deleting a folder...I am not sure what to do...ie how to free up space. The only thing I can think of is to simply # rm /usr/ports ... for lack of a better example. # du -ak /usr |sort -nr | /tmp/file2.txt This file had 24,000 lines so I deleted much of the file. Your thoughts/suggestions will be much appreciated. ### output from running # df -m /tmp/file1.txt ### where -m is MB Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/ad0s1a 495 55 40012%/ devfs 00 0 100%/dev /dev/ad0s1e 495 10 445 2%/tmp /dev/ad0s1f 2300 2286 -170 108%/usr /dev/ad0s1d 1098 58 952 6%/var devfs 00 0 100%/var/named/dev ### output from running # du -ak /usr |sort -nr | /tmp/file2.txt ### where -a is 'display entry for each file in file hierarchy ### where -k is 'display block count in kilobyte' 2341378/usr 636728/usr/obj 636726/usr/obj/usr 636724/usr/obj/usr/src snip This is from http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html 4.6 Remove /usr/obj As parts of the system are rebuilt they are placed in directories which (by default) go under /usr/obj. The directories shadow those under /usr/src. You can speed up the make buildworld process, and possibly save yourself some dependency headaches by removing this directory as well. Some files below /usr/obj may have the immutable flag set (see chflags(1) for more information) which must be removed first. # cd /usr/obj # chflags -R noschg * # rm -rf * --- That might get you enough room. Regards, Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Routing problem
On Thu, Feb 08, 2007 at 12:10:07PM +0200, George Vanev wrote: I have FreeBSD 6.2 box with 1 NIC and 2 IPs. The first IP is to access internet, the second is for the ISP's LAN. Unfortunately I have internet, but no access to the other network. We need network IP configuration details; ie addresses, netmasks, et al. -- Jonathan Chen [EMAIL PROTECTED] -- Opportunity does not knock, it presents itself when you beat down the door - W.E. Channing ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PF + if_bridge + rdr: rdr to bridge?
Hi all, I have a network set up as such: 192.168.12.14 -em1-em0- | A |---| B |---| C | - - - 192.168.12.13 192.168.12.15 B is bridging with if_bridge. C hosts a webserver. A is the client. I'm trying to selectively redirect connections from A - C to instead talk to a service listening on B's bridge0. Nothing I try seems to work, though I could have sworn that I'd gotten this working before. Currently, connections simply hang when the rdr rule is in effect. They pass through fine if I remove the rule or disable pf. pf.conf: ext_if=em0 int_if=em1 bridge_if=bridge0 local_addr=(bridge0) rdr pass on $int_if proto tcp from any to any port 80 - $local_addr port 80 pass in all pass out all output of ifconfig: --- em0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU ether 00:30:48:43:7d:f8 media: Ethernet autoselect (1000baseTX full-duplex) status: active em1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU ether 00:30:48:43:7d:f9 media: Ethernet autoselect (1000baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.12.14 netmask 0xff00 broadcast 192.168.12.255 ether ce:ea:e5:cd:48:bb priority 32768 hellotime 2 fwddelay 15 maxage 20 member: em1 flags=3LEARNING,DISCOVER member: em0 flags=3LEARNING,DISCOVER rc.conf: usbd_enable=YES sendmail=NONE cloned_interfaces=bridge0 ifconfig_bridge0=inet 192.168.12.14 addm em0 addm em1 up ifconfig_em0=up ifconfig_em1=up pf_enable=YES And I'll attach my dmesg. Does anyone have any ideas or suggestions? Thanks, Erik Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: IntelR AWRDACPI Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 2.00GHz (2000.35-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf29 Stepping = 9 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x4400CNTX-ID,b14 real memory = 528416768 (503 MB) avail memory = 507670528 (484 MB) ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: IntelR AWRDACPI on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: Intel 82845G (845G GMCH) SVGA controller mem 0xe000-0xe7ff,0xec10-0xec17 irq 16 at device 2.0 on pci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0xb800-0xb81f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0xb000-0xb01f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0xb400-0xb41f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: Intel 82801DB/L/M (ICH4) USB 2.0 controller mem 0xec18-0xec1803ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: Intel 82801DB/L/M (ICH4) USB 2.0 controller on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0 pci1: ACPI PCI bus on pcib1 em0: Intel(R) PRO/1000 Network
Re: Anyone running FreeBSD 6.x on HP DL320 G5?
If anyone is running FreeBSD 6.x on a HP DL320 G5 ? The following URL contains good information on running FreeBSD on Compaq/HP systems. http://people.freebsd.org/~jcagle/ HTH, David -- David Robillard UNIX systems administrator Oracle DBA CISSP, RHCE Sun Certified Security Administrator Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: toggle between english and french (how?)
Le Jeudi 8 Février 2007 06:16, Giorgos Keramidas a écrit : On 2007-02-08 00:38, Peter [EMAIL PROTECTED] wrote: Le Mercredi 7 F?vrier 2007 16:03, Giorgos Keramidas a ?crit : Yes, I tried fr.iso.acc.kbd fr.iso.kbd fr_CA.iso.acc.kbd Maybe I need to inform FreeBSD about the layout of my keyboard. All I get are beeps when I hit the special French accent keys. This usually means that you are typing 8-bit (i.e. French) characters at a shell prompt, but you have not set or configured any locale environment yet, or you have the wrong locale environment. If this is true, and you are hearing the beeps when typing at a shell prompt, then please tell us which shell you are using and what you see by typing: % locale This is what I get: LANG= LC_CTYPE=C LC_COLLATE=C LC_TIME=C LC_NUMERIC=C LC_MONETARY=C LC_MESSAGES=C LC_ALL= Right. You haven't set any LANG or LC_xxx environment variables. Try using one of the French locales, and set the following in your shell startup scripts: LANG='C' LC_COLLATE='fr_CA.ISO8859-1' LC_CTYPE='fr_CA.ISO8859-1' If you are using GNU bash, you can set in your `.bashrc' file: export LANG='C' export LC_COLLATE='fr_CA.ISO8859-1' export LC_CTYPE='fr_CA.ISO8859-1' Thanks a lot Giorgos. It works now. I used the bash method and then set up a couple of aliases: alias french='/usr/sbin/kbdcontrol -l fr_CA.iso.acc.kbd' alias english='/usr/sbin/kbdcontrol -l us.iso.acc.kbd' PM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /tmp getting full form portmanager
I sym linked /tmp to /var/tmp things are happy. thank you for everybody's help. cheers, Noah RW wrote: On Wed, 07 Feb 2007 21:32:53 -0800 Noah [EMAIL PROTECTED] wrote: From rc.conf(5): clear_tmp_enable (bool) Set to ``YES'' to have /tmp cleaned at startup. And also daily_clean_tmps_enable (in periodic.conf) Why not setup a parallel (background) task with a wrapper script to delete some files when upgrading ports? Either that or find a (more) free partition and symlink /var/tmp to it. yeah out of all the ideas this seems the easiest to implement and just makes sense but I am having difficulties creating the sym link for /tmp That doesn't make sense to me, it just sweeps the problem under the carpet. At the moment I'm in the middle of an upgrade with portmanager, and the *total* space used on /tmp is 1MB. How much of /tmp is actually in use by portmanager. ___ 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]
freebsd and anti-virus
hi all: i have a freebsd server and used as file storage. some of files being stored on that server are virus infected. how could I clean them up? could the norton anti-virus software on my laptop clean up the virus when i download those files from the server? does norton do that with ftp/ssh? tia Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://videogames.yahoo.com/platform?platform=120121 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low-cost dedicated FreeBSD server or non-jail VPS?
Jerry McAllister wrote: The problem with this approach is that it doesn't get you a static IP with proper rDNS and a host of other things... It does if you buy an ISP account that includes a static IP and does DNS for you or you set up your own DNS and register the server. jerry I wish that I had that option. I live three blocks away from DisneyLand, and can't get DSL. That leaves Time Warner Cable, and they want highway robbery for a static IP-- at least $120 a month. For that much I'll colocate. -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / [EMAIL PROTECTED] Today's Excuse: Too many interrupts ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT: Your comments about this web site is appreciated, if you got few minutes.
Hi All http://www.domesticonservation.kk5.org/ A buddy of mine who did is in his 9th grade, this is his school project along with 2 others Please leave your honest opinion on this web site, content, presentation etc whatever you think is relevant. Please click on the message board and click leave a message and click new post. Will appreciate your comments before this Friday, as it gives them points towards their grade. Thanks Dak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd and anti-virus
Hello, gahn schrieb: i have a freebsd server and used as file storage. some of files being stored on that server are virus infected. how could I clean them up? could the norton anti-virus software on my laptop clean up the virus when i download those files from the server? does norton do that with ftp/ssh? why don't you want to use a virus scanner on the freebsd server? You could use ClamAV which exists in the port collection: /usr/ports/security/clamav Kind regards, Oliver -- Oliver Koch Phone: +49-(0)5323-72-2626 Computer Center Fax:+49-(0)5323-72-3536 Clausthal University of Technology E-Mail: [EMAIL PROTECTED] Erzstraße 51 Web: http://www.rz.tu-clausthal.de 38678 Clausthal-Zellerfeld, Germany signature.asc Description: OpenPGP digital signature
Re: FreeBSD 5.4 on a Pentium 4
On Thu, Feb 08, 2007 at 11:55:24AM -0500, John Nielsen wrote: On Thursday 08 February 2007 11:16, Philip Radford wrote: Hi all, Just wondering if anyone could help me out with an issue on FreeBSD which has been puzzling me for a while and only now do I have the time to go and figure it out. We currently have version 5.4 installed but understand that the architecture it is set up for is a generic i386. How do I go about optimising my base system and/or installed ports to recognise my CPU as an i686 and therefore make use of this type of CPU. I have enclosed the first part of my dmesg output to identify the CPU. CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.12-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf41 Stepping = 1 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MC A,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs Add CPUTYPE?=pentium4 to /etc/make.conf. Remove the cpu I486_CPU and cpu I586_CPU lines from your kernel config (if present), leaving only cpu I686_CPU. Rebuild your kernel, world, and ports. Correct as far as it goes, but the OP will see a much bigger performance gain by updating to 6.x than the negligible gains from recompiling with different compiler optimizations. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: toggle between english and french (how?)
Le Jeudi 8 Février 2007 14:44, Peter a écrit : Le Jeudi 8 Février 2007 06:16, Giorgos Keramidas a écrit : On 2007-02-08 00:38, Peter [EMAIL PROTECTED] wrote: Le Mercredi 7 F?vrier 2007 16:03, Giorgos Keramidas a ?crit : Yes, I tried fr.iso.acc.kbd fr.iso.kbd fr_CA.iso.acc.kbd Maybe I need to inform FreeBSD about the layout of my keyboard. All I get are beeps when I hit the special French accent keys. This usually means that you are typing 8-bit (i.e. French) characters at a shell prompt, but you have not set or configured any locale environment yet, or you have the wrong locale environment. If this is true, and you are hearing the beeps when typing at a shell prompt, then please tell us which shell you are using and what you see by typing: % locale This is what I get: LANG= LC_CTYPE=C LC_COLLATE=C LC_TIME=C LC_NUMERIC=C LC_MONETARY=C LC_MESSAGES=C LC_ALL= Right. You haven't set any LANG or LC_xxx environment variables. Try using one of the French locales, and set the following in your shell startup scripts: LANG='C' LC_COLLATE='fr_CA.ISO8859-1' LC_CTYPE='fr_CA.ISO8859-1' If you are using GNU bash, you can set in your `.bashrc' file: export LANG='C' export LC_COLLATE='fr_CA.ISO8859-1' export LC_CTYPE='fr_CA.ISO8859-1' Thanks a lot Giorgos. It works now. I used the bash method and then set up a couple of aliases: alias french='/usr/sbin/kbdcontrol -l fr_CA.iso.acc.kbd' alias english='/usr/sbin/kbdcontrol -l us.iso.acc.kbd' Darn. Now I see that these commands cannot be used via an xterm (remotely via SSH). Any ideas? PM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low-cost dedicated FreeBSD server or non-jail VPS?
LayeredTech.com (https://order.layeredtech.com/servers.lt?categoryId=4). If your not in a hurry watch to forums at layeredtech for specials. One special for $59.00, just sold out (http://layer0.layeredtech.com/showthread.php?t=5016) . - Original Message - From: Kelly Jones [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, February 07, 2007 8:01 PM Subject: Low-cost dedicated FreeBSD server or non-jail VPS? I'm looking to rent a low-cost FreeBSD dedicated server or VPS with root access. For a VPS, I realize this is really psuedo-root access. I once rented a VPS on a FreeBSD box that was split into virtual boxes using jail, but wasn't happy with it. So, if it's not a dedicated box, I'm looking for something like Virtuozzo, Xen, vmware running FreeBSD as a guest OS, etc. The box doesn't have to be super-fast or have lots of disk space: just looking for something that will let me play around with ports, pf, run experiments, etc Does anyone have any suggestions? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ 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]
em(1) 6.2.9 driver on FreeBSD 5.5?
Hello, I have a HP ProLiant server with Intel PCI express gigabit ethernet card. Relevant output of pciconf -v -l: [EMAIL PROTECTED]:0:0: class=0x02 card=0x10838086 chip=0x10b98086 rev=0x06 hdr=0x00 vendor = 'Intel Corporation' class= network subclass = ethernet I have FreeBSD 5.5 and the FreeBSD kernel driver doesn't want to load it. If I download the driver from Intel pages and try to compile it, I get this: [EMAIL PROTECTED]:~/em-6.2.9# make cd src; make Warning: Object directory not changed from original /root/em-6.2.9/src @ - /usr/src/sys machine - /usr/src/sys/i386/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h touch opt_bdg.h cc -O -pipe -DLM -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include -finline-limit=8000 -fno-common -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 if_em.c if_em.c: In function `em_detach': if_em.c:615: warning: implicit declaration of function `if_free' if_em.c:615: warning: nested extern declaration of `if_free' if_em.c: In function `em_resume': if_em.c:674: error: structure has no member named `if_drv_flags' if_em.c:674: error: `IFF_DRV_RUNNING' undeclared (first use in this function) if_em.c:674: error: (Each undeclared identifier is reported only once if_em.c:674: error: for each function it appears in.) if_em.c: In function `em_start_locked': if_em.c:700: error: structure has no member named `if_drv_flags' if_em.c:700: error: `IFF_DRV_RUNNING' undeclared (first use in this function) if_em.c:700: error: `IFF_DRV_OACTIVE' undeclared (first use in this function) if_em.c:718: error: structure has no member named `if_drv_flags' if_em.c: In function `em_start': if_em.c:737: error: structure has no member named `if_drv_flags' if_em.c:737: error: `IFF_DRV_RUNNING' undeclared (first use in this function) if_em.c: In function `em_ioctl': if_em.c:774: error: structure has no member named `if_drv_flags' if_em.c:774: error: `IFF_DRV_RUNNING' undeclared (first use in this function) if_em.c:835: error: structure has no member named `if_drv_flags' if_em.c:844: error: structure has no member named `if_drv_flags' if_em.c:854: error: structure has no member named `if_drv_flags' if_em.c:916: error: structure has no member named `if_drv_flags' if_em.c: In function `em_watchdog': if_em.c:953: error: structure has no member named `if_drv_flags' if_em.c:953: error: `IFF_DRV_RUNNING' undeclared (first use in this function) if_em.c: In function `em_init_locked': if_em.c:1077: error: structure has no member named `if_drv_flags' if_em.c:1077: error: `IFF_DRV_RUNNING' undeclared (first use in this function) if_em.c:1078: error: structure has no member named `if_drv_flags' if_em.c:1078: error: `IFF_DRV_OACTIVE' undeclared (first use in this function) if_em.c: In function `em_intr': if_em.c:1182: error: structure has no member named `if_drv_flags' if_em.c:1182: error: `IFF_DRV_RUNNING' undeclared (first use in this function) if_em.c:1201: error: structure has no member named `if_drv_flags' if_em.c: In function `em_local_timer': if_em.c:1863: error: structure has no member named `if_drv_flags' if_em.c:1863: error: `IFF_DRV_RUNNING' undeclared (first use in this function) if_em.c: In function `em_update_link_status': if_em.c:1902: warning: implicit declaration of function `if_link_state_change' if_em.c:1902: warning: nested extern declaration of `if_link_state_change' if_em.c:1911: warning: nested extern declaration of `if_link_state_change' if_em.c:1902: warning: redundant redeclaration of 'if_link_state_change' if_em.c:1902: warning: previous implicit declaration of 'if_link_state_change' was here if_em.c: In function `em_stop': if_em.c:1941: error: structure has no member named `if_drv_flags' if_em.c:1941: error: `IFF_DRV_RUNNING' undeclared (first use in this function) if_em.c:1941: error: `IFF_DRV_OACTIVE' undeclared (first use in this function) if_em.c: In function `em_setup_interface': if_em.c:2188: warning: implicit declaration of function `if_alloc' if_em.c:2188: warning: nested extern declaration of `if_alloc' if_em.c:2188: warning: assignment makes pointer from integer without a cast if_em.c: In function `em_txeof': if_em.c:2879: error: structure has no member named `if_drv_flags' if_em.c:2879: error: `IFF_DRV_OACTIVE' undeclared (first use in this function) if_em.c: In function `em_rxeof': if_em.c:3202: error: structure has no member named `if_drv_flags' if_em.c:3202: error: `IFF_DRV_RUNNING' undeclared (first use in this function) *** Error code 1 Stop in /root/em-6.2.9/src. *** Error code 1 which is quite understandable since it says that it is only for 6.x version of FreeBSD. Any ideas
Re: Serious Bind issue
In the future, please don't cross post to both freebsd-questions, and another list at the same time. Thanks. Steven Bens wrote: Dear mailinglist members, I have an serious issue with bind. System information: Dual P3 1 GHz 6.1-RELEASE-p12 FreeBSD SMP kernel I'm running BIND 9.3.2 on this box (the one that is standard delivered with 6.1) And when the named is running for a copple of hours. Bind doesn't accept TCP connections In an ideal world you would upgrade to the latest RELENG_6 and pick up all the bug fixes in the OS, plus the latest version of BIND. If that's not possible for some reason, your best bet is to upgrade to the latest BIND from the ports, make sure that you build it WITHOUT threads, and see if that resolves the issue for you. If it doesn't resolve your issue, you'd be better off sending a message to the [EMAIL PROTECTED] list. hth, Doug -- This .signature sanitized for your protection ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Serious Bind issue
On Feb 8, 2007, at 3:46 PM, Doug Barton wrote: In the future, please don't cross post to both freebsd-questions, and another list at the same time. Thanks. Steven Bens wrote: Dear mailinglist members, I have an serious issue with bind. System information: Dual P3 1 GHz 6.1-RELEASE-p12 FreeBSD SMP kernel I'm running BIND 9.3.2 on this box (the one that is standard delivered with 6.1) And when the named is running for a copple of hours. Bind doesn't accept TCP connections In an ideal world you would upgrade to the latest RELENG_6 and pick up all the bug fixes in the OS, plus the latest version of BIND. If that's not possible for some reason, your best bet is to upgrade to the latest BIND from the ports, make sure that you build it WITHOUT threads, and see if that resolves the issue for you. FWIW, I was running BIND 9.3.2 for a while and in awe at the amount of memory it would use, and how it would go CPU bound after it hit any operating system imposed memory quotas. I went back to BIND 8.latest, and my problems went away. -jav ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to get etoile running?
Hello, I hope my email won't be guillotined by my mail provider this time... = :( I made some progress in having etoile working under xdm. - First (and this should be corrected I think), the setup.sh and setdo= wn.sh scripts must be extracted from the source code. setup.sh should be = used to create links to etoile applications at the right place. - Get GNUstep running (that's tricky as well). I still have issues wit= h GNUstep libraries not loaded by the applications even though ldconfig k= nows were they are (I created a file under /usr/local/libdata/ldconfig) - Create .xsession with the command 'etoile_system' Daniel Läs det senaste om = alla våra kändisar. Var de har varit, vad det har gjort och med vem. = På Spray Mingel har vi full uppsikt. [1]Till Spray Mingel References 1. 3Dhttp://www.spray.se/liv___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: toggle between english and french (how?)
O/H Peter έγραψε: Darn. Now I see that these commands cannot be used via an xterm (remotely via SSH). Any ideas? I always change the locale settings in ~/.login_conf For example for the greek language I use : me:\ :charset=iso-8859-7:\ :lang=el_GR.UTF-8: -- RTFM and STFW before anything bad happens - Thanasis Rizoulis Electronic Computing Systems Engineer Larissa, Greece Linux User #358384 FreeBSD/PCBSD user ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compiling error - /usr : filesystem full
{objcopy) /usr : filesystem full The only thing I can think of is to simply # rm /usr/ports ... for lack of a better example. # du -ak /usr |sort -nr | /tmp/file2.txt This file had 24,000 lines so I deleted much of the file. Your thoughts/suggestions will be much appreciated. 1) make the above: du -k | sort -nr | head -n 30 Whatever's causing your problem is likely to reveal itself in the list of the 30 largest directories. Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/ad0s1a 495 55 40012%/ devfs 00 0 100%/dev /dev/ad0s1e 495 10 445 2%/tmp /dev/ad0s1f 2300 2286 -170 108%/usr 2) Depending on your installation, 2gb is _small_ for /usr. IF that's what you have, then you need to be ruthlessly pro-active about purging unneeded files. Start by running the command above as a cron job once a day; mail yourself the output. 3) As others mentioned, rm -r /usr/obj/* before make buildworld. On my system, it takes up 863 mb. 4)a Install ports-mgt/portupgrade. b run /usr/local/sbin/portsclean -CDD 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: Re: Intel Core Duo. SMP kernel but still only 50% load while using make on ports...
Hello Bill, Thanks for your answer I have at my disposal an Inspiron 9400 with an Intel CoreFreeBSD 6.2 is installed and rebuilt to fit the processor. The kerne l is in SMP mode. I noticed something strange: When I compile using ma in the ports tree, I only have 50% load. CPU1 is used at CPU0 is idle... How do you know this? With 'top' I tried make -j2 but it did not work, Any idea? -j2 does not guarantee that you'll use both CPUs. It's entirely possible that the IO is slow enough that both of the processes are waiting on disk and only able to push the overall system usage to 50%. Try make -j99. Also, there are places in the build process where it's only possible to run one process at a time, so you can't just take a single snapshot of it, you have to watch it over time. I think it's more that the port tree does not really like parallel processes... I'm still not convinced anything is wrong: *) Does dmesg show the second CPU starting? Yes *) Does top show a column for CPU binding? Are different processes bound to different CPUs? Yes *) Are these hyperthreaded CPUs? If so, is hyperthreading enabled? HT is disabled by default on FreeBSD, and overall usage will never go above 50% if HT is off. No, it's a Dual Core Daniel Förena nytta med nöje. Koppla av och ha kul samtidigt som du har chansen att vinna pengar på din skicklighet. På Spray spel kan du tävla mot andra och den som är bäst kan vinna mycket pengar. Till spelen: http://www.spray.se/underhallning/spel/___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to get GNUstep working?
Hello, It seems that the message I went yesterday got screwed up = somehow... Anyway, here are some information and questions: - The G= NUstep.sh daemon starts automatically. No need of rc.conf - csh.cshrc = and profile must be augmented by the sourcing to GNUstep.csh and GNUstep.= sh respectively - the ldconfig list must be augmented.: I created a fi= le in usr local libdata ldconfig where I specified where the GNUstep libr= aries are located. The machine is rebooted afterward I still have = an issue though: etoile_system started from .xsession while running xd= m does not find the GNUStep libraries. Daniel Spray Crazy samlar nä= tets roligaste filmer just nu. Gå in och titta eller ladda upp ditt ege= t bidrag på [1]http://crazy.spray.se/ References 1. 3Dhttp://crazy.spray.se/; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re: Intel Core Duo. SMP kernel but still only 50% load while using make on ports...
I noticed something strange: When I compile using ma in the ports tree, I only have 50% load. CPU1 is used at CPU0 is idle... As was already pointed out, ports do not compile with make -j X by default. You can do so for ports that will build cleanly (not all of them will), by adding something similar to the following to your make.conf: .if ${.CURDIR:M*/ImageMagick*} MAKE_ARGS+=-j4 .endif A while back I found which ports I had installed that would play nice with make -j, so I updated make.conf with a bunch of similar entries to the above. Works fairly well, and there are actually quite a few ports that will compile with make -j. If you're interested, let me know and I'll throw my make.conf up somewhere. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel Core Duo. SMP kernel but still only 50% load while using make on ports...
In response to Josh Carroll [EMAIL PROTECTED]: I noticed something strange: When I compile using ma in the ports tree, I only have 50% load. CPU1 is used at CPU0 is idle... As was already pointed out, ports do not compile with make -j X by default. You can do so for ports that will build cleanly (not all of them will), by adding something similar to the following to your make.conf: .if ${.CURDIR:M*/ImageMagick*} MAKE_ARGS+=-j4 .endif A while back I found which ports I had installed that would play nice with make -j, so I updated make.conf with a bunch of similar entries to the above. Works fairly well, and there are actually quite a few ports that will compile with make -j. If you're interested, let me know and I'll throw my make.conf up somewhere. You know, it'd be cool if there were a knob in the ports framework that allowed port maintainers to specify this, something like PARALLEL_MAKE=yes in the Makefile ... Or is that a dumb idea for some reason I don't understand? -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Weird perms with linux_base-gentoo-stage3
I'm using linux_base-gentoo-stage3-2006.0_2 for my 6.2-RELEASE system's Linux emulation. It works perfectly for my Linux apps - better than the recommend linux_base-fc4 port, in fact - but has a strange problem. Whenever I install new software using Gentoo's emerge tool, the resulting binaries have weird permissions. For example: $ ls -la /compat/linux/usr/bin/pcretest rwS--T 1 root wheel 33828 Feb 8 17:13 /compat/linux/usr/bin/pcretest I found a similar question in the freebsd-emulation list (URL:http://lists.freebsd.org/pipermail/freebsd-emulation/2006-December/002937.html), and it seems that the problem is trigged by the utimes() syscall. Has anyone found a workaround to this problem? It doesn't look like it's been patched in FreeBSD itself yet, and I haven't gotten a reply from the author of the above post when I asked him if he'd solved the problem. Neither was I able to find the patch he mention. Any pointers would be most appreciated! I'm getting tired of manually fixing the permissions on every file I install (and hoping that 755 for exes is correct). -- Kirk Strauser pgpUTzlDPmnNl.pgp Description: PGP signature
Re: Intel Core Duo. SMP kernel but still only 50% load while using make on ports...
You know, it'd be cool if there were a knob in the ports framework that allowed port maintainers to specify this, something like PARALLEL_MAKE=yes in the Makefile ... Or is that a dumb idea for some reason I don't understand? I personally don't think it's a dumb idea at all. The problem is the sheer volume of ports out there. I don't see why the hooks couldn't be put in place, though, and let the port maintainers add to it slowly. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: toggle between english and french (how?)
Le Jeudi 8 Février 2007 16:32, Apatewna a écrit : O/H Peter έγραψε: Darn. Now I see that these commands cannot be used via an xterm (remotely via SSH). Any ideas? I always change the locale settings in ~/.login_conf For example for the greek language I use : me:\ :charset=iso-8859-7:\ :lang=el_GR.UTF-8: I guess I'm achieving the same thing via ~/.profile. I just need a way to change keyboard layouts remotely. PM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel Core Duo. SMP kernel but still only 50% load while using make on ports...
On Thu, 8 Feb 2007, Josh Carroll wrote: You know, it'd be cool if there were a knob in the ports framework that allowed port maintainers to specify this, something like PARALLEL_MAKE=yes in the Makefile ... Or is that a dumb idea for some reason I don't understand? I personally don't think it's a dumb idea at all. The problem is the sheer volume of ports out there. I don't see why the hooks couldn't be put in place, though, and let the port maintainers add to it slowly. Josh I agree with both you guys. Having this option would greatly reduce compile times which would be beneficial for everyone. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Guidance requested for multimedia conversion
Hi all, Being much more a system programmer / database person than a multi media type I am requesting a 'recipe' from a video media expert. I need to convert an 8 minute .avi file into a basic dvd. No menus or anything, just a dumb as possible 'load it, press play' disk. As long as I can do that, and also get the dvd player to do loop play, its fine. I have a dvd burner, have used it via command line and k3b to burn data Cds and data DVDs. I am quite happy to load a list of ports to do the conversion, layout and burning for the video DVD... I just need a list of ports to load, and the sequence of command lines to execute. FreeBSD 5.4 Release, KDE 3.5.4. Ports tree within 1 week of current, normally use portmanager for port installs, but direct make is ok too. Thanks Murray T --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Guidance requested for multimedia conversion
On Friday, 9 February 2007 at 11:04:58 +1100, Murray Taylor wrote: Hi all, Being much more a system programmer / database person than a multi media type I am requesting a 'recipe' from a video media expert. I need to convert an 8 minute .avi file into a basic dvd. No menus or anything, just a dumb as possible 'load it, press play' disk. As long as I can do that, and also get the dvd player to do loop play, its fine. I'm working on just such a HOWTO, but I'm currently missing the first step: convert the AVI to MPEG-2. Maybe mencoder (part of mplayer) can help you there. I'm planning to do this step some time soon as well, so I'd be interested in hearing what you use. The rest is described at http://www.lemis.com/grog/HOWTO/dvdburn.html. Sorry about the format, which describes more the problems you'll find than how to do it; I'm working on a new description, but it's not finished yet. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpYOQhhkfnoH.pgp Description: PGP signature
Can't get make buildworld to work with recent cvsup.
This seems to be my week for problems. I installed onto a 2 CPU AMD system FreeBSD 6.2-REL amd64 Disk. cvsupped and tried to make buildworld. Any suggestions appreciatted. Thanks Nicole /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/MKnames.awk /usr/src/lib/libncurses/../../contrib/ncurses/include/Caps awk -f /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/MKnames.awk /usr/src/lib/libncurses/../../contrib/ncurses/include/Caps cat namehdr boolnames boolfnames numnames numfnames strnames strfnames nameftr names.c AWK=awk sh /usr/src/lib/libncurses/../../contrib/ncurses/include/MKncurses_def.sh /usr/src/lib/libncurses/../../contrib/ncurses/include/ncurses_defs ncurses_def.h sed /usr/src/lib/libncurses/../../contrib/ncurses/include/MKterm.h.awk.in MKterm.h.awk -e /@NCURSES_MAJOR@/s%%5% -e /@NCURSES_MINOR@/s%%2% -e /@NCURSES_CONST@/s%%const% -e /@NCURSES_XNAMES@/s%%1% awk -f MKterm.h.awk /usr/src/lib/libncurses/../../contrib/ncurses/include/Caps term.h.new sh /usr/src/lib/libncurses/../../contrib/ncurses/include/edit_cfg.sh /usr/src/lib/libncurses/ncurses_cfg.h term.h.new ** edit: HAVE_TCGETATTR 1 ** edit: HAVE_TERMIOS_H 1 ** edit: HAVE_TERMIO_H 0 ** edit: BROKEN_LINKER 0 mv -f term.h.new term.h cc -o make_keys -O2 -fno-strict-aliasing -pipe -march=opteron -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c /usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lc *** Error code 1 Stop in /usr/src/lib/libncurses. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual Core Or Dual CPU - What's the real difference in performance?
--- Cy Schubert [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Mike Meyer writes: Generally, more processors means things will go faster until you run out of threads. However, if there's some shared resource that is the bottleneck for your load, and the resource doesn't support simultaneous access by all the cores, more cores can slow things down. Of course, it's not really that simple. Some shared resources can be managed so as to make things improve under most loads, even if they don't support simultaneous access. Generally speaking the performance increase is not linear. At some point there is no benefit to adding more processors. In a former life when I was an MVS systems programmer the limit was seven processors in a System/370. Today we can use 16, 32, even 64 processors with a standard operating system and current hardware, unless one of the massively parallel architectures is used. To answer the original posters question, there are architectural differences mentioned here, e.g. shared cache, I/O channel, etc., but the reason the chip manufacturers make them is that they're more cost effective than two CPUs. The AMD X2 series of chips (I have one), they're not truely a dual processor chip. They're analogous to the single processor System/370 with an AP (attached processor) in concept. What this means is that both processors can execute all instructions and are just as capable in every way except external interrupts, e.g. I/O interrupts, are handled by the processor 0 as only that processor is wired to be interrupted in case of external interrupt. I can't comment about Intel's Dual Core CPUs as I don't know their architecture but I'd suspect the same would be true. Chips in which there are two dual core CPUs on the same die, I believe one of each of the dual core CPUs can handle external interrupts. Wow I love ansking questions without too many specifics as I learn so much more. With this however it really seems to be a love hate relationship with dual core. Based on what you stated above, would that mean that when using a dual core system, using polling interupts might be better or perhaps monumanally worse? I have a mortgage so spending money on computers is not a high priority in relation to that priority but dual core does give me an opportunity to enter the market relatively inexpensively and get good value for the money I spend on the technology. That's really what it's all about, how much performance you get for the money you spend. Tring to figure out the fud from reality is often the best way to make sure you really get the best value. However, it always seems to depend on many variables :) Thanks! Nicole -- Cheers, Cy Schubert [EMAIL PROTECTED] FreeBSD UNIX: [EMAIL PROTECTED] Web: http://www.FreeBSD.org e**(i*pi)+1=0 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 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]
Can't get make buildworld to work with recent cvsup. - Addl
Something setup wrong some place?? cd /usr/src/lib ; make . c -pg -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libftpio -Wall -DINET6 -c /usr/src/lib/libftpio/ftpio.c -o ftpio.po cc -pg -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libftpio -Wall -DINET6 -c ftperr.c -o ftperr.po building profiled ftpio library ranlib libftpio_p.a cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libftpio -Wall -DINET6 -c /usr/src/lib/libftpio/ftpio.c -o ftpio.So cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libftpio -Wall -DINET6 -c ftperr.c -o ftperr.So building shared library libftpio.so.6 gzip -cn /usr/src/lib/libftpio/ftpio.3 ftpio.3.gz === libgeom (all) cc -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libgeom -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libgeom/geom_getxml.c cc -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libgeom -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libgeom/geom_stats.c cc -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libgeom -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libgeom/geom_xml2tree.c /usr/src/lib/libgeom/geom_xml2tree.c:255: error: syntax error before '*' token /usr/src/lib/libgeom/geom_xml2tree.c:256: warning: type qualifiers ignored on function return type /usr/src/lib/libgeom/geom_xml2tree.c:256: warning: return type defaults to `int' /usr/src/lib/libgeom/geom_xml2tree.c:256: warning: function declaration isn't a prototype /usr/src/lib/libgeom/geom_xml2tree.c: In function `CharData': /usr/src/lib/libgeom/geom_xml2tree.c:260: error: `userData' undeclared (first use in this function) /usr/src/lib/libgeom/geom_xml2tree.c:260: error: (Each undeclared identifier is reported only once /usr/src/lib/libgeom/geom_xml2tree.c:260: error: for each function it appears in.) /usr/src/lib/libgeom/geom_xml2tree.c:262: error: `s' undeclared (first use in this function) /usr/src/lib/libgeom/geom_xml2tree.c:263: error: `len' undeclared (first use in this function) /usr/src/lib/libgeom/geom_xml2tree.c: In function `geom_xml2tree': /usr/src/lib/libgeom/geom_xml2tree.c:286: error: syntax error before parser /usr/src/lib/libgeom/geom_xml2tree.c:296: error: `parser' undeclared (first use in this function) /usr/src/lib/libgeom/geom_xml2tree.c:296: warning: implicit declaration of function `XML_ParserCreate' /usr/src/lib/libgeom/geom_xml2tree.c:301: warning: implicit declaration of function `XML_SetUserData' /usr/src/lib/libgeom/geom_xml2tree.c:302: warning: implicit declaration of function `XML_SetElementHandler' /usr/src/lib/libgeom/geom_xml2tree.c:303: warning: implicit declaration of function `XML_SetCharacterDataHandler' /usr/src/lib/libgeom/geom_xml2tree.c:304: warning: implicit declaration of function `XML_Parse' /usr/src/lib/libgeom/geom_xml2tree.c:307: warning: implicit declaration of function `XML_ParserFree' *** Error code 1 Stop in /usr/src/lib/libgeom. *** Error code 1 Stop in /usr/src/lib. ARGG!! Nicole The Large Print Giveth And The Small Print Taketh Away -- Anon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Guidance requested for multimedia conversion
On Friday 09 February 2007 00:04, Murray Taylor wrote: Hi all, Being much more a system programmer / database person than a multi media type I am requesting a 'recipe' from a video media expert. I need to convert an 8 minute .avi file into a basic dvd. No menus or anything, just a dumb as possible 'load it, press play' disk. As long as I can do that, and also get the dvd player to do loop play, its fine. I have a dvd burner, have used it via command line and k3b to burn data Cds and data DVDs. I am quite happy to load a list of ports to do the conversion, layout and burning for the video DVD... I just need a list of ports to load, and the sequence of command lines to execute. FreeBSD 5.4 Release, KDE 3.5.4. Ports tree within 1 week of current, normally use portmanager for port installs, but direct make is ok too. Thanks Murray T Start here... http://www.mplayerhq.hu/DOCS/HTML-single/en/MPlayer.html#menc-feat-vcd-dvd In particular, scroll down to section 14.8.5 for some recipes to create the DVD compatible video then you'll want multimedia/dvdauthor to create the disc image and finally sysutils/dvd+rw-tools for burning You might want to look at multimedia/dvdstyler as a GUI front end to dvdauthor and, depending on your set-up/dvd writer it might do the burning from the GUI too. It's not exactly point'n'shoot but all you need should be there. -- Dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
if_nfe on nVidia chipset
Hi Palle, I am having the same issue. I just installed FreeBSD 7.0 snapshot from January to see if that helps because the latest patch requires FreeBSD 6.2 and I had been running 6.1. But still getting (none) for the media type, but everything else *looks* like it is working. However nothing responds. Can you run pciconf -l -v and compare it to my IDs? [EMAIL PROTECTED]:16:0: class=0x068000 card=0xcb8410de chip=0x037310de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' device = 'MCP55 Ethernet' class = bridge [EMAIL PROTECTED]:17:0: class=0x068000 card=0xcb8410de chip=0x037310de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' device = 'MCP55 Ethernet' class = bridge Thanks, Brian Smith Hello, Sorry, there's no change, it still acts the same way. media: Ethernet autoselect (none) status: active and the network does not work. No mediaopts work. Regards, Palle ___ 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 get make buildworld to work with recent cvsup. - Addl
Nicole Harrington wrote: Something setup wrong some place?? cd /usr/src/lib ; make . c -pg -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libftpio -Wall -DINET6 -c /usr/src/lib/libftpio/ftpio.c -o ftpio.po cc -pg -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libftpio -Wall -DINET6 -c ftperr.c -o ftperr.po building profiled ftpio library ranlib libftpio_p.a cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libftpio -Wall -DINET6 -c /usr/src/lib/libftpio/ftpio.c -o ftpio.So cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libftpio -Wall -DINET6 -c ftperr.c -o ftperr.So building shared library libftpio.so.6 gzip -cn /usr/src/lib/libftpio/ftpio.3 ftpio.3.gz === libgeom (all) cc -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libgeom -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libgeom/geom_getxml.c cc -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libgeom -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libgeom/geom_stats.c cc -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libgeom -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libgeom/geom_xml2tree.c /usr/src/lib/libgeom/geom_xml2tree.c:255: error: syntax error before '*' token /usr/src/lib/libgeom/geom_xml2tree.c:256: warning: type qualifiers ignored on function return type /usr/src/lib/libgeom/geom_xml2tree.c:256: warning: return type defaults to `int' /usr/src/lib/libgeom/geom_xml2tree.c:256: warning: function declaration isn't a prototype /usr/src/lib/libgeom/geom_xml2tree.c: In function `CharData': /usr/src/lib/libgeom/geom_xml2tree.c:260: error: `userData' undeclared (first use in this function) /usr/src/lib/libgeom/geom_xml2tree.c:260: error: (Each undeclared identifier is reported only once /usr/src/lib/libgeom/geom_xml2tree.c:260: error: for each function it appears in.) /usr/src/lib/libgeom/geom_xml2tree.c:262: error: `s' undeclared (first use in this function) /usr/src/lib/libgeom/geom_xml2tree.c:263: error: `len' undeclared (first use in this function) /usr/src/lib/libgeom/geom_xml2tree.c: In function `geom_xml2tree': /usr/src/lib/libgeom/geom_xml2tree.c:286: error: syntax error before parser /usr/src/lib/libgeom/geom_xml2tree.c:296: error: `parser' undeclared (first use in this function) /usr/src/lib/libgeom/geom_xml2tree.c:296: warning: implicit declaration of function `XML_ParserCreate' /usr/src/lib/libgeom/geom_xml2tree.c:301: warning: implicit declaration of function `XML_SetUserData' /usr/src/lib/libgeom/geom_xml2tree.c:302: warning: implicit declaration of function `XML_SetElementHandler' /usr/src/lib/libgeom/geom_xml2tree.c:303: warning: implicit declaration of function `XML_SetCharacterDataHandler' /usr/src/lib/libgeom/geom_xml2tree.c:304: warning: implicit declaration of function `XML_Parse' /usr/src/lib/libgeom/geom_xml2tree.c:307: warning: implicit declaration of function `XML_ParserFree' *** Error code 1 Stop in /usr/src/lib/libgeom. *** Error code 1 Stop in /usr/src/lib. ARGG!! Nicole Doesn't look like it's compiling libgeom or geom related dependencies. What's your /etc/make.conf look like and what version are you trying to compile with buildworld? -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
strange troubles building 6.2
Folks, I finally begged a favor a got two working NIC's in what will be my emergency backup DNS server. The box is old and slow but the hardware is ++solid. It was easy getting my 5.3 CD upgraded to 5.5, but for unknown reasons,I'm having troubles moving up to 6.2-R. (I upgrades this server [tao] from 5.5 to 6.2-PRE without any problems. ) KERNEL=GENERIC on my backup server and I'm typing make buildworld make buildkernel make installkernel; Things hung up after buildworld, during buildkernel. Thanks to the , the buildworld finished successfully. I'm all but sure that the cvsup grabbed all 6.2 files. The troubles have only been happening in the past two or three days. Has anybody else seen thtis? tia, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ 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 get make buildworld to work with recent cvsup. - Addl
--- Garrett Cooper [EMAIL PROTECTED] wrote: Nicole Harrington wrote: Something setup wrong some place?? cd /usr/src/lib ; make . c -pg -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libftpio -Wall -DINET6 -c /usr/src/lib/libftpio/ftpio.c -o ftpio.po cc -pg -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libftpio -Wall -DINET6 -c ftperr.c -o ftperr.po building profiled ftpio library ranlib libftpio_p.a cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libftpio -Wall -DINET6 -c /usr/src/lib/libftpio/ftpio.c -o ftpio.So cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libftpio -Wall -DINET6 -c ftperr.c -o ftperr.So building shared library libftpio.so.6 gzip -cn /usr/src/lib/libftpio/ftpio.3 ftpio.3.gz === libgeom (all) cc -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libgeom -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libgeom/geom_getxml.c cc -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libgeom -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libgeom/geom_stats.c cc -O2 -fno-strict-aliasing -pipe -march=opteron -I/usr/src/lib/libgeom -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/lib/libgeom/geom_xml2tree.c /usr/src/lib/libgeom/geom_xml2tree.c:255: error: syntax error before '*' token /usr/src/lib/libgeom/geom_xml2tree.c:256: warning: type qualifiers ignored on function return type /usr/src/lib/libgeom/geom_xml2tree.c:256: warning: return type defaults to `int' /usr/src/lib/libgeom/geom_xml2tree.c:256: warning: function declaration isn't a prototype /usr/src/lib/libgeom/geom_xml2tree.c: In function `CharData': /usr/src/lib/libgeom/geom_xml2tree.c:260: error: `userData' undeclared (first use in this function) /usr/src/lib/libgeom/geom_xml2tree.c:260: error: (Each undeclared identifier is reported only once /usr/src/lib/libgeom/geom_xml2tree.c:260: error: for each function it appears in.) /usr/src/lib/libgeom/geom_xml2tree.c:262: error: `s' undeclared (first use in this function) /usr/src/lib/libgeom/geom_xml2tree.c:263: error: `len' undeclared (first use in this function) /usr/src/lib/libgeom/geom_xml2tree.c: In function `geom_xml2tree': /usr/src/lib/libgeom/geom_xml2tree.c:286: error: syntax error before parser /usr/src/lib/libgeom/geom_xml2tree.c:296: error: `parser' undeclared (first use in this function) /usr/src/lib/libgeom/geom_xml2tree.c:296: warning: implicit declaration of function `XML_ParserCreate' /usr/src/lib/libgeom/geom_xml2tree.c:301: warning: implicit declaration of function `XML_SetUserData' /usr/src/lib/libgeom/geom_xml2tree.c:302: warning: implicit declaration of function `XML_SetElementHandler' /usr/src/lib/libgeom/geom_xml2tree.c:303: warning: implicit declaration of function `XML_SetCharacterDataHandler' /usr/src/lib/libgeom/geom_xml2tree.c:304: warning: implicit declaration of function `XML_Parse' /usr/src/lib/libgeom/geom_xml2tree.c:307: warning: implicit declaration of function `XML_ParserFree' *** Error code 1 Stop in /usr/src/lib/libgeom. *** Error code 1 Stop in /usr/src/lib. ARGG!! Nicole Doesn't look like it's compiling libgeom or geom related dependencies. What's your /etc/make.conf look like and what version are you trying to compile with buildworld? Actually.. That seems to be happening with even no /etc/make.conf I even copied the /usr/src from another older server that built fine to this server (same server type) and it fails in the same way. It's just driving me crazy. Nicole Nicole -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: toggle between english and french (how?)
On 2007-02-08 15:09, Peter [EMAIL PROTECTED] wrote: Le Jeudi 8 F?vrier 2007 14:44, Peter a ?crit : Le Jeudi 8 F?vrier 2007 06:16, Giorgos Keramidas a ?crit : Try using one of the French locales, and set the following in your shell startup scripts: LANG='C' LC_COLLATE='fr_CA.ISO8859-1' LC_CTYPE='fr_CA.ISO8859-1' If you are using GNU bash, you can set in your `.bashrc' file: export LANG='C' export LC_COLLATE='fr_CA.ISO8859-1' export LC_CTYPE='fr_CA.ISO8859-1' Thanks a lot Giorgos. It works now. I used the bash method and then set up a couple of aliases: alias french='/usr/sbin/kbdcontrol -l fr_CA.iso.acc.kbd' alias english='/usr/sbin/kbdcontrol -l us.iso.acc.kbd' Darn. Now I see that these commands cannot be used via an xterm (remotely via SSH). Any ideas? When you are sitting on an xterm in machine A and you ssh into FreeBSD system B, it's the local client's responsibility to set a proper locale and internationalization environment for *displaying* stuff and its FreeBSD's responsibility for letting you type French if your FreeBSD locale is French too. Setting the console keyboard map with kbdcontrol on a remote FreeBSD system cannot affect your local xterm window. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: toggle between english and french (how?)
On 2007-02-08 18:57, Peter [EMAIL PROTECTED] wrote: Le Jeudi 8 F??vrier 2007 16:32, Apatewna a ??crit : O/H Peter έγραψε: Darn. Now I see that these commands cannot be used via an xterm (remotely via SSH). Any ideas? I always change the locale settings in ~/.login_conf For example for the greek language I use : me:\ :charset=iso-8859-7:\ :lang=el_GR.UTF-8: I guess I'm achieving the same thing via ~/.profile. I just need a way to change keyboard layouts remotely. Do you *really* have to? I'm setting an X11 keyboard layout on my FreeBSD laptop locally, and it works fine for remote servers which I access through ssh too... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual Core Or Dual CPU - What's the real difference in performance?
In message [EMAIL PROTECTED], Nicole Harrington wri tes: --- Cy Schubert [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Mike Meyer writes: Generally, more processors means things will go faster until you run out of threads. However, if there's some shared resource that is the bottleneck for your load, and the resource doesn't support simultaneous access by all the cores, more cores can slow things down. Of course, it's not really that simple. Some shared resources can be managed so as to make things improve under most loads, even if they don't support simultaneous access. Generally speaking the performance increase is not linear. At some point there is no benefit to adding more processors. In a former life when I was an MVS systems programmer the limit was seven processors in a System/370. Today we can use 16, 32, even 64 processors with a standard operating system and current hardware, unless one of the massively parallel architectures is used. To answer the original posters question, there are architectural differences mentioned here, e.g. shared cache, I/O channel, etc., but the reason the chip manufacturers make them is that they're more cost effective than two CPUs. The AMD X2 series of chips (I have one), they're not truely a dual processor chip. They're analogous to the single processor System/370 with an AP (attached processor) in concept. What this means is that both processors can execute all instructions and are just as capable in every way except external interrupts, e.g. I/O interrupts, are handled by the processor 0 as only that processor is wired to be interrupted in case of external interrupt. I can't comment about Intel's Dual Core CPUs as I don't know their architecture but I'd suspect the same would be true. Chips in which there are two dual core CPUs on the same die, I believe one of each of the dual core CPUs can handle external interrupts. Wow I love ansking questions without too many specifics as I learn so much more. With this however it really seems to be a love hate relationship with dual core. Based on what you stated above, would that mean that when using a dual core system, using polling interupts might be better or perhaps monumanally worse? No. CPU 0 would be interrupted. It would schedule the interrupt in the queue. Either CPU could service the interrupt once the interrupt was queued. Some devices need to be polled as they do not generate interrupts or they generate spurious interrupts. Otherwise allowing a device to interrupt the CPU is more efficient as it allows the CPU to do other work rather than spinning its wheels polling. This is the Von Neumann model. -- Cheers, Cy Schubert [EMAIL PROTECTED] FreeBSD UNIX: [EMAIL PROTECTED] Web: http://www.FreeBSD.org e**(i*pi)+1=0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Guidance requested for multimedia conversion
On Fri, 9 Feb 2007 01:15:21 + dgmm [EMAIL PROTECTED] wrote: On Friday 09 February 2007 00:04, Murray Taylor wrote: Hi all, Being much more a system programmer / database person than a multi media type I am requesting a 'recipe' from a video media expert. I need to convert an 8 minute .avi file into a basic dvd. No menus or anything, just a dumb as possible 'load it, press play' disk. As long as I can do that, and also get the dvd player to do loop play, its fine. I have a dvd burner, have used it via command line and k3b to burn data Cds and data DVDs. I am quite happy to load a list of ports to do the conversion, layout and burning for the video DVD... I just need a list of ports to load, and the sequence of command lines to execute. FreeBSD 5.4 Release, KDE 3.5.4. Ports tree within 1 week of current, normally use portmanager for port installs, but direct make is ok too. Thanks Murray T Start here... http://www.mplayerhq.hu/DOCS/HTML-single/en/MPlayer.html#menc-feat-vcd-dvd In particular, scroll down to section 14.8.5 for some recipes to create the DVD compatible video then you'll want multimedia/dvdauthor to create the disc image and finally sysutils/dvd+rw-tools for burning You might want to look at multimedia/dvdstyler as a GUI front end to dvdauthor and, depending on your set-up/dvd writer it might do the burning from the GUI too. It's not exactly point'n'shoot but all you need should be there. The multimedia/avidemux2 is a bit easier to use (IMO) than mencoder since its a gui-type video editor/converter that can produce the mpeg2 program streams from avi files for use with dvdstyler. Its really quite nice with lots of intuitive features. The ease in converting with any of the utilities will depend largely on the source material. Randy -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Guidance requested for multimedia conversion
On 2/8/07, Randy Pratt [EMAIL PROTECTED] wrote: On Fri, 9 Feb 2007 01:15:21 + dgmm [EMAIL PROTECTED] wrote: On Friday 09 February 2007 00:04, Murray Taylor wrote: Hi all, Being much more a system programmer / database person than a multi media type I am requesting a 'recipe' from a video media expert. I need to convert an 8 minute .avi file into a basic dvd. No menus or anything, just a dumb as possible 'load it, press play' disk. As long as I can do that, and also get the dvd player to do loop play, its fine. I have a dvd burner, have used it via command line and k3b to burn data Cds and data DVDs. I am quite happy to load a list of ports to do the conversion, layout and burning for the video DVD... I just need a list of ports to load, and the sequence of command lines to execute. FreeBSD 5.4 Release, KDE 3.5.4. Ports tree within 1 week of current, normally use portmanager for port installs, but direct make is ok too. Thanks Murray T Start here... http://www.mplayerhq.hu/DOCS/HTML-single/en/MPlayer.html#menc-feat-vcd-dvd In particular, scroll down to section 14.8.5 for some recipes to create the DVD compatible video then you'll want multimedia/dvdauthor to create the disc image and finally sysutils/dvd+rw-tools for burning You might want to look at multimedia/dvdstyler as a GUI front end to dvdauthor and, depending on your set-up/dvd writer it might do the burning from the GUI too. It's not exactly point'n'shoot but all you need should be there. The multimedia/avidemux2 is a bit easier to use (IMO) than mencoder since its a gui-type video editor/converter that can produce the mpeg2 program streams from avi files for use with dvdstyler. Its really quite nice with lots of intuitive features. The ease in converting with any of the utilities will depend largely on the source material. Randy -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] tovid (multimedia/tovid) will do it. -- The biggest problem with communication is the illusion that it has occurred. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: partition/cd recognition problem hal GNOME 2.16 FreeBSD RELEASE 6.2
On Mon, 2007-02-05 at 18:53 -0800, Charles Schaum wrote: Kudos to the GNOME FreeBSD team for continuing improvements. Problem: Hal no longer recognizes all vfat partitions. Two vfat partitions at ad0s1 and ad1s2 exist. Only ad0s1 now appears. CD burning now proceeds better via Nautilus. Before portsnap / portmaster that failed altogether. Now CD-R burning succeeds, whilst CD-RW burning can still hang the machine altogether. Gnomebaker, however, has worked consistently. Once burned, if not ejected, the CD is not recognized any more in the burning drive and in the auxiliary drive. Mac OS X can, however, recognize the CD. Indeed after burning a CD and closing the dialog (without ejecting) no CD or DVD of any kind was recognized any more, nor was any console error output generated. The devices simply ceased to communicate. Without the output of lshal, there is nothing we can do. Also be aware that CD burning uses cdrecord and/or growisofs for the underlying work. If those commands do not work on your system, then n-c-b won't work. n-c-b just uses HAL to detect burners and which media is in them. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: Trying to join an already exited pthread
Garrett Cooper wrote: Garrett Cooper wrote: On Feb 7, 2007, at 1:51 PM, Steve Watt wrote: In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: Just wondering: If I was to try and join a pthread that already exited, would there be an error message output and/or errno set to an error value, or would a system hang? Was the thread created with detach state set PTHREAD_CREATE_DETACHED or PTHREAD_CREATE_JOINABLE? If it was PTHREAD_CREATE_JOINABLE, has the thread already been joined? You should be able to join a thread that was created joinable, only once. If you join it again, or join a thread that was created detached, the results are unspecified in POSIX. There is an error status that may be returned, but it may do other bad things to your system. Note that pthread_join doesn't set errno; it returns an error value directly. I would never expect the system to hang, though the application might. If your application is hanging, make sure that you're not trying to call pthread_join from within a signal handler. It this variable on Unix OSes? That the results are unspecified? No. What unspecified means? Absolutely. --Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5 / 37N 20' 15.3 Internet: steve @ Watt.COM Whois: SW32-ARIN Free time? There's no such thing. It just comes in varying prices... I asked this because I was short on time and so was the person who asked me earlier. I'm going to try giving the pthread exit and join a shot just to see whether or not this is true or not and then I'll report my results to the list. Thanks for the insight though--hopefully my results will yield a solid positive or negative to this being a problem. -Garrett Under Suse Linux there were absolutely no errors when I tried to do this. I'll post a code snippet later. -Garrett Ok, here's a link to my code: http://students.washington.edu/youshi10/posted/thread_test.c My results (FreeBSD): [EMAIL PROTECTED] /home/gcooper]# ./tt Thread join detached Thread kill detached Joined thread yielded error code: 2 Trying to join the already joined thread yields error code: 0 My results (Suse Linux): # ./tt Thread join detached Thread kill detached Joined thread yielded error code: 0 Trying to join the already joined thread yields error code: 0 That was sure interesting.. is it supposed to error out or was it the remnant of an old error call? Probably the latter, but I was just curious.. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trying to join an already exited pthread
Garrett Cooper wrote: Garrett Cooper wrote: Garrett Cooper wrote: On Feb 7, 2007, at 1:51 PM, Steve Watt wrote: In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: Just wondering: If I was to try and join a pthread that already exited, would there be an error message output and/or errno set to an error value, or would a system hang? Was the thread created with detach state set PTHREAD_CREATE_DETACHED or PTHREAD_CREATE_JOINABLE? If it was PTHREAD_CREATE_JOINABLE, has the thread already been joined? You should be able to join a thread that was created joinable, only once. If you join it again, or join a thread that was created detached, the results are unspecified in POSIX. There is an error status that may be returned, but it may do other bad things to your system. Note that pthread_join doesn't set errno; it returns an error value directly. I would never expect the system to hang, though the application might. If your application is hanging, make sure that you're not trying to call pthread_join from within a signal handler. It this variable on Unix OSes? That the results are unspecified? No. What unspecified means? Absolutely. --Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5 / 37N 20' 15.3 Internet: steve @ Watt.COM Whois: SW32-ARIN Free time? There's no such thing. It just comes in varying prices... I asked this because I was short on time and so was the person who asked me earlier. I'm going to try giving the pthread exit and join a shot just to see whether or not this is true or not and then I'll report my results to the list. Thanks for the insight though--hopefully my results will yield a solid positive or negative to this being a problem. -Garrett Under Suse Linux there were absolutely no errors when I tried to do this. I'll post a code snippet later. -Garrett Ok, here's a link to my code: http://students.washington.edu/youshi10/posted/thread_test.c My results (FreeBSD): [EMAIL PROTECTED] /home/gcooper]# ./tt Thread join detached Thread kill detached Joined thread yielded error code: 2 Trying to join the already joined thread yields error code: 0 My results (Suse Linux): # ./tt Thread join detached Thread kill detached Joined thread yielded error code: 0 Trying to join the already joined thread yields error code: 0 That was sure interesting.. is it supposed to error out or was it the remnant of an old error call? Probably the latter, but I was just curious.. -Garrett Sorry--wrong list. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: toggle between english and french (how?)
Le Jeudi 8 Février 2007 21:24, Giorgos Keramidas a écrit : On 2007-02-08 18:57, Peter [EMAIL PROTECTED] wrote: Le Jeudi 8 F??vrier 2007 16:32, Apatewna a ??crit : O/H Peter έγραψε: Darn. Now I see that these commands cannot be used via an xterm (remotely via SSH). Any ideas? I always change the locale settings in ~/.login_conf For example for the greek language I use : me:\ :charset=iso-8859-7:\ :lang=el_GR.UTF-8: I guess I'm achieving the same thing via ~/.profile. I just need a way to change keyboard layouts remotely. Do you *really* have to? I'm setting an X11 keyboard layout on my FreeBSD laptop locally, and it works fine for remote servers which I access through ssh too... The French keyboard is significantly different. I suppose I could have a French keyboard by default but it would be quite annoying to work on. Is that what you're proposing? PM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone running FreeBSD 6.x on HP DL320 G5?
We are running a pretty busy mail hub on a DL320 G4 without trouble. Ted - Original Message - From: William [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Thursday, February 08, 2007 4:58 AM Subject: Anyone running FreeBSD 6.x on HP DL320 G5? Hello, If anyone is running FreeBSD 6.x on a HP DL320 G5, can they please hit me off-list with their stories? Kind Regards, Will ___ 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]
what's up with ftp-archive.freebsd.org ?
Sometimes it works, but very often: pkg_add -r db41-4.1.25_2 Error: FTP Unable to get ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/4.10-RELEASE/packages/Latest/db41-4.1.25_2.tgz: Not logged in pkg_add: unable to fetch 'ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/4.10-RELEASE/packages/Latest/db41-4.1.25_2.tgz' by URL Is not open for business all day? what are the hours? thanks Len ___ 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 get make buildworld to work with recent cvsup.
On Thu, Feb 08, 2007 at 04:26:37PM -0800, Nicole Harrington wrote: /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c /usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lc Usually means that your system clock is wrong. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what's up with ftp-archive.freebsd.org ?
On Fri, Feb 09, 2007 at 12:06:34AM -0600, Len Conrad wrote: Sometimes it works, but very often: pkg_add -r db41-4.1.25_2 Error: FTP Unable to get ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/4.10-RELEASE/packages/Latest/db41-4.1.25_2.tgz: Not logged in pkg_add: unable to fetch 'ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/4.10-RELEASE/packages/Latest/db41-4.1.25_2.tgz' by URL Is not open for business all day? what are the hours? It's probably just full. Kris pgpv9t7JIrd7w.pgp Description: PGP signature
Re: Can't Login at the Console on FreeBSD 6.0 Release
- Original Message - From: Lowell Gilbert [EMAIL PROTECTED] To: JP [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Thursday, February 08, 2007 6:54 AM Subject: Re: Can't Login at the Console on FreeBSD 6.0 Release JP [EMAIL PROTECTED] writes: So I'm not quite sure what happened here, someone with root access, who probably shouldn't have had it managed to make a mess of things. He claims he was trying to install source files and on reboot he could no longer login to the system. I am able to boot into single user mode, I see that login is core-dumping on signal 11 and as such I can't login to the box. Ftp, SSH, and other services are not responsive and don't even attempt to allow me to login remotely. I'd like to be able to login at the console, and be able to FTP into the box so I can pull everything down and do a fresh install. Any suggesitons on how to do this? I already did a passwd root and created a new password thinking it would fix things, but it didn't. At the console, it just asks for Login, and then password and then keeps looping if though I am putting in the right information. If it were my machine to fix, I would start with a binary upgrade off of CD. Same here - and make sure to delete and recreate the partitions for good measure. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low-cost dedicated FreeBSD server or non-jail VPS?
- Original Message - From: Jerry McAllister [EMAIL PROTECTED] To: Jay Chandler [EMAIL PROTECTED] Cc: FreeBSD Questions freebsd-questions@freebsd.org Sent: Thursday, February 08, 2007 5:28 AM Subject: Re: Low-cost dedicated FreeBSD server or non-jail VPS? On Wed, Feb 07, 2007 at 05:34:47PM -0800, Jay Chandler wrote: Derek Ragona wrote: FreeBSD runs on most i386 based hardware as long as you have 64 MB ram or more. So you can recycle an old desktop PC to run FreeBSD and then have at it. Or buy a cheap new desktop or refurbished. -Derek The problem with this approach is that it doesn't get you a static IP with proper rDNS and a host of other things... It does if you buy an ISP account that includes a static IP and does DNS for you or you set up your own DNS and register the server. But that might actually cost a whole extra $6 a month and isn't it preferable to spend $100 a month at some colo house? Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can I use an HP printer
Chris, Your HP 4550N is a real commercial printer with a PostScript interpreter in it, that is why you can just send the print jobs directly to it and the printer will do the work of rasterizing them. Bob doesen't have a PostScript printer like your 4550N His is a cheapie home winprinter that has no engine in the printer and can only do very limited processing. It definitely ain't going to understand PostScript fed to it, and likely not even ASCII. For Bob to get his printer to work means he's going to have to install Ghostscript, and a special driver that interprets the intermediate output from Ghostscript into something that the 2600n can digest. Here is a driver that someone wrote that can do this: http://foo2hp.rkkda.com/ I assume it's somewhere in the FreeBSD ports. What Bob needs to do to get his printer to work involves hours of labor and a lot of knowledge of how the various pieces fit together under FreeBSD. If he was installing it under Linux he could use these instructions: http://www.linuxprinting.org/show_printer.cgi?recnum=HP-Color_LaserJet_2600n but I'll repost the warning from that page here: ...the printer works like a charm, but for printing photos the colors are horrible - at least with the default settings and the driver dated May 18... In other words, after a Herculean effort he is only going to end up with something that works. Not something that works well. If he just bought this printer the smartest thing he could do is take it back to the store and get a better printer that could speak PostScript - like your 4550N. It will be a bit more expensive but it's not cost-justifyable in a business environment to waste the labor getting a non-PostScript printer to work with a UNIX like FreeBSD. I myself have an Epson C84 inkjet in my home that has the same issues. I bought it knowing all this full well, and I did in fact spend the time to get it to work, and it does work well. Since we only use the thing probably 6 times a year to print color (we also have a PostScript laserjet at home) I decided that since my labor was free that I'd rather spend my money on something other than a printer, so I bought a cheap printer. But, since that purchase a year ago I've seen at least 5 of these printers in excellent shape at the local Goodwill store. So I have to conclude that a lot of people out there have gone down the non-Postscript route, found it wanting, and said hell with it and went back to the store and got a real printer. The other thing that they don't tell you when you go the Ghostscript route, is that unless you have a screamingly fast CPU, it takes a long, LONG time for the driver to rasterize a page in your computer! Ted - Original Message - From: Chris Hill [EMAIL PROTECTED] To: Bob [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Monday, February 05, 2007 8:14 PM Subject: Re: Can I use an HP printer On Tue, 6 Feb 2007, Bob wrote: I recently purchased a Hewlett Packard Color LaserJet 2600n printer. It works perfectly under Windows XP but I cannot get it to work under FreeBSD 6.2. I have set it up as a network printer on a LAN and it has it's own permanent IP. I can ping the IP but that is all I can do. I have been using HP printers under FreeBSD for years now. Since your printer has an IP, I presume it has a JetDirect card. Can this printer actually be made to work or am I wasting my (and your) time even trying? You may need to set up some things in /etc/printcap. Here is the relevant portion of mine: # HP color laser lp|snow|snowball|lj|ps|HP ColorLaserJet 4550N:\ :sh:\ :sd=/var/spool/output/lpd:\ :mx#0:\ :lp=:rm=snowball:rp=auto: I'm using lpr, so I had to enable that in /etc/rc.conf. I also had to manually create the directory /var/spool/output/lpd. The snowball part is a hostname for the printer, which you can set up in /etc/hosts or a split DNS. (My printers are named after Devo songs.) HTH. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ 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]
restore: no memory to extend symbol table
When moving from one disk to another, I did a dump of a large filesystem, like this: mkdir ~/tmo cd ~/tmp dump -0f - /dev/devicenode | split So now I have 99G in 100 files named xaa through xdv However, when I try to restore it: mount /mountpoint cat ~/tmp/* | (cd /mountpoint restore -rf -) after cat spits out 2.18 GB (in the same spot every time), after restore creates a number of directories (but no files), I get the error: no memory to extend symbol table abort? [yn] I've seen two other posts about similar errors: http://groups.google.com/group/fa.freebsd.questions/browse_frm/ thread/c6fb6245f3f010dc/3b7762d8e1410102?lnk=stq=%22no+memory+to +extend+symbol+table%22rnum=5#3b7762d8e1410102 http://groups.google.com/group/info.bsdi.users/browse_frm/thread/ 4b547bccf96807bb/bb08c14f7aa4a5e6?lnk=stq=%22no+memory+to+extend +symbol+table%22rnum=4#bb08c14f7aa4a5e6 I'm sure that I have enough space on /tmp (since I symlinked it to a directory on a large disk), which is one proposed fix. Another proposed fix is to allow restore to get more than 512MB of RAM, but I'm not sure where to set that (since I'm not familiar with vm and I have no such limit in /etc/login.conf, and can find nothing in sysctl). It's not a RAM limit, because I have 1GB of RAM and 2.5 GB of swap. The other proposed fix is to use interactive mode and restore less at a time, but if I do that hardlinks between directories may be broken and I need to retain those (unless they wouldn't be broken between successive restores, in which case I can do that). Any ideas? I'm running 6.2-RELEASE -- David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can not move directory within FAT32 file-system
Hello, all. I am new to FreeBSD. I got my first question with FAT32 file-system. It seems quite strange. I install FreeBSD 6.2 in my asus notebook. When I mount windows file system, I cannot move directory even if as root. mount_msdosfs /dev/ad0s6 /mnt mkdir /mnt/1 mkdir /mnt2 mv /mnt/1 /mnt/2 The last step will complain not a directory. But the same steps work in my old pc. Thanks very much. -- Ronggui Huang Department of Sociology Fudan University, Shanghai, China ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]