Re: General questions regarding FreeBSD 10
Le Fri, 27 Sep 2013 12:47:08 -0500, Nikolas Britton nikolas.brit...@gmail.com a écrit : 10. How is the Java ecosystem on FreeBSD? Not bad IMO. I develop with maven/netbeans/openjdk in Java and Groovy on FreeBSD 9. That works. There is no profiler support in netbeans. And the JVM can't request huge memory page (may be this is fixed in 10?), so it could perform better : http://www.oracle.com/technetwork/java/javase/tech/largememory-jsp-137182.html Java is much slower than other apps when the box is busy (building a world for example) but I'm not sure if this specific to FreeBSD. (I have litle success with Eclipse on the past, I don't use it) Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cause of reboot
Le Mon, 30 Sep 2013 17:24:18 +0300, Emre Çamalan mail...@yandex.com a écrit : Hi, my server reboots every night and same o'clock last 10 days. But this machine's uptime was 96days. Suddenly reboot this machine and now this continue every night again and again. I didn't find any reason and I didn't change anything else. I looked last command, reboot ~ ~ AM 03.15 ~ The last time It happened (one month ago) to me it was the hard disk (periodic scripts read a large part of the disk). If the disk is smart capable try a full test with smartctl (sysutils/smartmontools) HTH, regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9.2-RELEASE stability?
Le Mon, 30 Sep 2013 13:01:26 -0600, Brett Glass br...@lariat.net a écrit : Hello, How stable are folks finding FreeBSD 9.2-RELEASE to be? The improvements are welcome, but there have been a few troubling messages about kernel panics and VM issues on the various mailing lists. It's never clear until the release drops whether these are actual problems with the software or hardware defects in individual systems, so I am eager to hear how the new release is working for everyone. I've seen two problems if you use poudriere (on ZFS only?) which occur in some loads (ie desktop running gvfsd). One fix is in 9-STABLE and the other one should be mfced soon. May be there will be an errata for 9.2-RELEASE for this ? I think that would be nice because 9.2 is stable as a Windows 3.11 with my load :-) Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
About Transparent Superpages and Non-transparent superapges
Hello, 1. Transparent Superpages was in FreeBSD for a few years. I would like to know if there is any benchmark or real world performance experience about this setting. 2. I have seen somewhere that non-transparent superpages was being developed in HEAD too. Any insight on it? Please correct me if it is not the case. Thanks and regards, Patrick Dung ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: The logo at boot (Nakatomi Socrates BSD 9.2)
On Wed, 4 Sep 2013, Lowell Gilbert wrote: Patrick Dung patrick_dkt at yahoo.com.hk writes: Do you know what is this logo means, or the story behind it? I thought the BSD daemon (logo) has been around for many years in the past. It's a movie reference (Die Hard). The Beastie logo is still there, in the /boot directory, if you want it. Or the standard orb, by setting it in /boot/loader.conf: loader_logo=orb Thanks for the info. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Question about those special (countdown numbers) at shutdown / sync
Hello! I am curious about the special (count down numbers) at shutdown / sync. Those nubmers is like 8 8 8 8 2 1 2 1 0 0 0 0. Actually what do those numbers mean? Thanks and regards, Patrick Dung ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Question about those special (countdown numbers) at shutdown / sync
Thanks for the answer. That is cool and unique. From: Polytropon free...@edvax.de To: Patrick Dung patrick_...@yahoo.com.hk Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Thursday, September 5, 2013 9:42 PM Subject: Re: Question about those special (countdown numbers) at shutdown / sync On Thu, 5 Sep 2013 21:30:29 +0800 (SGT), Patrick Dung wrote: I am curious about the special (count down numbers) at shutdown / sync. Those nubmers is like 8 8 8 8 2 1 2 1 0 0 0 0. Actually what do those numbers mean? Those numbers show you how many buffers have to be synced until the system is ready to finally shut down and power off. This makes sure no pending hard disk operations will be left and forgotten in memory. The important text displayed prior to the numbers is: Syncing disks, buffers remaining... You can find it here: /usr/src/sys/kern/kern_shutdown.c around line 330 (8-STABLE/i386 here). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
The logo at boot (Nakatomi Socrates BSD 9.2)
Hello, Do you know what is this logo means, or the story behind it? I thought the BSD daemon (logo) has been around for many years in the past. Thanks and regards, Patrick Dung ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: The logo at boot (Nakatomi Socrates BSD 9.2)
Oh I see. I have found that the logo was mentioned in news group org.freebsd.freebsd-chat back in 1997. From: Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org To: Patrick Dung patrick_...@yahoo.com.hk Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Wednesday, September 4, 2013 11:45 PM Subject: Re: The logo at boot (Nakatomi Socrates BSD 9.2) Patrick Dung patrick_...@yahoo.com.hk writes: Do you know what is this logo means, or the story behind it? I thought the BSD daemon (logo) has been around for many years in the past. It's a movie reference (Die Hard). The Beastie logo is still there, in the /boot directory, if you want it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Jail with public IP alias
On Thu, Aug 29, 2013 at 12:07 PM, Alejandro Imass aim...@yabarana.com wrote: On Thu, Aug 29, 2013 at 5:03 AM, Frank Leonhardt fra...@fjl.co.uk wrote: On 29/08/2013 09:52, Frank Leonhardt wrote: Hi Frank thanks for taking the time to try to replicate this. Here is all the detailed info 8.1-RELEASE em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC ether 00:31:88:bd:b9:3a inet xxx.yyy.52.74 netmask 0xff80 broadcast xxx.yyy.52.127 inet xxx.yyy.52.70 netmask 0xff80 broadcast xxx.yyy.52.127 inet xxx.yyy.52.71 netmask 0xff80 broadcast xxx.yyy.52.127 inet xxx.yyy.52.73 netmask 0xff80 broadcast xxx.yyy.52.127 media: Ethernet autoselect (1000baseT full-duplex) status: active I use rc.conf standard practice for aliases: ifconfig_em0=inet xxx.yyy.52.74 netmask 255.255.255.128 -tso ifconfig_em0_alias0=inet xxx.yyy.52.70 netmask 255.255.255.128 -tso ifconfig_em0_alias1=inet xxx.yyy.52.71 netmask 255.255.255.128 -tso ifconfig_em0_alias2=inet xxx.yyy.52.73 netmask 255.255.255.128 -tso nune# netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire defaultxxx.yyy.52.1 UGS 168 182183463em0 127.0.0.1 link#4 UH 00lo0 [... internal aliases to lo0 here...] xxx.yyy.52.0/25link#1 U 068581em0 xxx.yyy.52.70 link#1 UHS 014363lo0 xxx.yyy.52.71 link#1 UHS 064765lo0 xxx.yyy.52.73 link#1 UHS 00lo0 xxx.yyy.52.74 link#1 UHS 029170lo0 Note the Netif Expire on 71,73,74 are showing lo0 could this be the problem? nune# ssh -b xxx.yyy.52.71 foo@bar Password: w -n 3:15PM up 130 days, 22:30, 3 users, load averages: 0.00, 0.02, 0.00 USER TTY FROM LOGIN@ IDLE WHAT [...] foo pts/24 xxx.yyy.52.74 3:14PM - w -n I don't know why mine is showing 74 and from your example it should be showing 71. Did you see the article below? http://serverfault.com/questions/12285/when-ip-aliasing-how-does-the-os-determine-which-ip-address-will-be-used-as-sour This seems to be a pretty common issue or it's just a miss-configuration problem? Thanks! Alejandro Imass ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Aliases should have a netmask of 255.255.255.255. What you seeing is not typical behaviour on FreeBSD. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Jail with public IP alias
On Wed, Aug 28, 2013 at 7:25 AM, Alejandro Imass aim...@yabarana.com wrote: On Wed, Aug 28, 2013 at 5:42 AM, Frank Leonhardt fra...@fjl.co.uk wrote: On28/08/2013 00:19, Patrick wrote: On Tue, Aug 27, 2013 at 3:42 PM, Alejandro Imass aim...@yabarana.com wrote: [...] (Tidied up so all now bottom posted) I can confirm that you shouldn't be seeing this behaviour because I don't. I don't use EzJail - i prefer vi. Seriously, setting up a jail is very straightforward anyway, and when I tried ezjail I found it was doing stuff I didn't like, so dropped it early on. It was a long time ago and I've forgotten the specifics. I guess if you're using it your new to this particular game, so please excuse me pointing out a few basics here. We use Ezjail not because it's easy or because we're new to jails, I think you might be confused on what EzJail actually is and why people use it. We use it because we manage a private cloud exclusively based on FBSD with about a dozen servers with a couple dozen jails each. I use EzJail because it allows us to manage just shy of 300 separate environments with only a couple of sysadmins, and with optimized system resources. We use it because IT ROCKS. Although I can't exactly see how this would cause a problem, remember that many service will bind to ALL IP addresses when they start up, and if they [...] I can't see a mechanism that would get the results you're seeing, but I don't know what ezjail might be doing. I suspect your problem is with ezjail or something bizzare on your network config; can you try it manually? After my OP I immediately sent out second mail stating that the problem is not with Jails or EzJail and it's related to the way that aliases behave on a network interface card. When you have aliases that are on the same subnet, the source IP is the primary IP , that is the first IP set on that network device. You can test this with out jails with a simple ssh connection to another server and then typing who. Even if you force ssh to bind to a particular IP using -b it will still show the primary IP. If you have aliases on different subnets this will not happen. I don't think that's true though in the case of jails. On the host system, yes, but when a jail is bound to a particular IP, outbound connections originate from that bound IP. At least they do for me in all of my experience. Still wondering if you're using NAT with your jails, as that could change things. (FWIW, we use ezjail as well. It doesn't do anything special except make having lots of jails easy and lightweight.) Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Fatal trap 12 after upgrading from 8.2 to 8.4
I've got a system running on a VPS that I'm trying to upgrade from 8.2 to 8.4. It has a ZFS root. After booting the new kernel, I get: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x40 fault code = supervisor read data, page not present instruction pointer = 0x20:0x810d7691 stack pointer = 0x28:0xff81ba60 frame pointer = 0x28:0xff81ba90 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 1 (kernel) trap number = 12 panic: page fault cpuid = 0 KDB: stack backtrace: #0 0x8066cb96 at kdb_backtrace+0x66 #1 0x8063925e at panic+0x1ce #2 0x809c21d0 at trap_fatal+0x290 #3 0x809c255e at trap_pfault+0x23e #4 0x809c2a2e at trap+0x3ce #5 0x809a9624 at calltrap+0x8 #6 0x810df517 at vdev_mirror_child_select+0x67 #7 0x810dfacc at vdev_mirror_io_start+0x24c #8 0x810f7c52 at zio_vdev_io_start+0x232 #9 0x810f76f3 at zio_execute+0xc3 #10 0x810f77ad at zio_wait+0x2d #11 0x8108991e at arc_read+0x6ce #12 0x8109d9d4 at dmu_objset_open_impl+0xd4 #13 0x810b4014 at dsl_pool_init+0x34 #14 0x810c7eea at spa_load+0x6aa #15 0x810c90b2 at spa_load_best+0x52 #16 0x810cb0ca at spa_open_common+0x14a #17 0x810a892d at dsl_dir_open_spa+0x2cd Uptime: 3s Cannot dump. Device not defined or unavailable. I've booted back into the 8.2 kernel without any problems, but I'm wondering if anyone can suggest what I should try to get this working? I used freebsd-update to upgrade, and this was after the first freebsd-update install where it installs the kernel. My /boot/loader.conf has: zfs_load=YES vfs.root.mountfrom=zfs:zroot Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Jail with public IP alias
That's not the behaviour I see. My jail has a private and public IP. $ ifconfig bce1 bce1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=c01bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE ether a4:ba:db:29:7a:1b inet 192.168.42.23 netmask 0x broadcast 192.168.42.23 media: Ethernet autoselect (1000baseT full-duplex) status: active If I ssh into another host on the 192.168.42.0 network, I see: $ who patrick ttyp1Aug 27 15:21 (192.168.42.23) The host of the jail has multiple IPs on that private subnet: $ ifconfig bce1 bce1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=c01bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE ether a4:ba:db:29:7a:1b inet 192.168.42.17 netmask 0xff00 broadcast 192.168.42.255 inet 192.168.42.18 netmask 0x broadcast 192.168.42.18 inet 192.168.42.19 netmask 0x broadcast 192.168.42.19 inet 192.168.42.20 netmask 0x broadcast 192.168.42.20 inet 192.168.42.21 netmask 0x broadcast 192.168.42.21 inet 192.168.42.23 netmask 0x broadcast 192.168.42.23 inet 192.168.42.24 netmask 0x broadcast 192.168.42.24 media: Ethernet autoselect (1000baseT full-duplex) status: active Are you using NAT from your jail to the outside world? Patrick On Tue, Aug 27, 2013 at 2:21 PM, Alejandro Imass aim...@yabarana.com wrote: On Tue, Aug 27, 2013 at 4:59 PM, Alejandro Imass aim...@yabarana.com wrote: Hi, I have a machine with several public IPs on the same NIC and I bound one of those IPs to a jail created with EzJail. Suppose the scenario is something like this: em0 190.100.100.1 190.100.100.2 190.100.100.3 190.100.100.4 In the jail we are bound only to 190.100.100.4 The default router is correctly set on the jail, etc. But when we ssh out of that jail, or send an email, the receiving end always sees 190.100.100.1 not 190.100.100.4 which is the IP the jail is bound to. I think my problem is actually more basic than this. The problem actually occurs on the base system as well and I think it's because all the IPs are on the same subnet, then the kernel assumes to use the primary IP as the source address. For the sake and usefulness of the mail archives I will end this thread here and start another one with a more appropriate title, not before researching to see if this can be done with the routing table or if I need to use ipfw to re-write the source address. Thanks, -- Alejandro Imass ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Jail with public IP alias
Hi Alejandro, That's how I've got things setup, too, but I'm not seeing the same behaviour. So I was wondering if there was something different about your setup such as using NAT to allow a jail with a private IP to access the internet at large. Patrick On Tue, Aug 27, 2013 at 3:42 PM, Alejandro Imass aim...@yabarana.com wrote: On Tue, Aug 27, 2013 at 6:28 PM, Patrick gibblert...@gmail.com wrote: That's not the behaviour I see. My jail has a private and public IP. Hi Patrick, thanks for your reply. The issue is actually more basic and it's because the same network card has multiple IPs on the same subnet so the routing table always chooses the primary IP assigned to that interface. I'm trying to figure out if I can fix it in the routing table or will need IPFW to re-write the source address. Thanks, -- Alejandro Imass ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox: reproductible panic
Le Fri, 09 Aug 2013 23:06:01 +0200, David Demelier demelier.da...@gmail.com a écrit : Hello, I can reproduce a panic by just starting a virtual machine with VirtualBox 4.2.16_2. Unfortunately, as the kmod driver is not built with debug symbols I could not provide much information. Debug symbols are in option in the port (make config) It's hard to say without a bt. Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: php problems
Le Mon, 05 Aug 2013 23:33:08 -0400, Mark Moellering m...@msen.com a écrit : I discovered that all php scripts now generate a seg fault. I tried a simple hello world type program the actual code is : ?php echo test ? and the output was; testsegmentation fault The system is FreeBSD 8.2 and php 5.3 If anyone has any idea of what changes might have been made that could cause this, please let me know. My other thought was to try reinstalling / upgrading php. That could be a problem with the extensions order in php.ini (search google php + crash + freebsd) There is a script to fix the order, I have not tried it. http://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD website is not up to date
Le Wed, 24 Jul 2013 10:27:38 +0200, David Demelier demelier.da...@gmail.com a écrit : Hi, There is a problem between : http://www.freebsd.org/where.html and http://www.freebsd.org/fr/where.html On the second one, 9.1-RELEASE is available for ia64 while it's not for the english version. Sorry if this is not the best lists for that question. Hi David, the good list for this is freebsd-...@freebsd.org Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Upgrading from 8.0 to 8.4 with freebsd-update?
Is it possible to skip point releases using freebsd-update so that I can go from 8.0 to 8.4, or do I need to go 8.0 - 8.1 - 8.2 - 8.3 - 8.4? Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to manually start firewall after system completed boot.
Le Wed, 17 Apr 2013 08:25:46 -0400, Joe fb...@a1poweruser.com a écrit : Hello, I have special purpose situation where I need to wait until the boot process has completed the starting of the system and then start the firewall (ipfw or pf). Commenting out the firewall statements from the hosts /etc/rc.conf does stop the firewall from starting at boot time. Is there some format of the service command that could be used to manually start the selected firewall? You can use onestart/onestop if the service is not enabled in rc.conf. service pf onestart or /etc/rc.d/pf onestart Regard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [Solved] Youtube Flash Videos broken?
Le Sun, 7 Apr 2013 13:38:55 +0200, Jens Schweikhardt schwe...@schweikhardt.net a écrit : # We've had a thread about it in the forums, with a couple of workarounds: # http://forums.freebsd.org/showthread.php?t=38627 Thanks for this helpful link. It contained the solution to my problem: 1) In about:config, set dom.ipc.plugins.enabled to false 2) Exit and restart Firefox (really, just doing 1) did not work). Cool that works here too, nice. Thanks. I'm sure I was able to watch the following Youtube video without trick on 18 march 2013 : http://www.youtube.com/watch?v=re9TpkdTYGw Without dom.ipc.plugins.enabled=false, Youtube says that flash is not installed. (9.1-STABLE/amd64, firefox-17.0.4,1 (firefox-esr), linux-f10-flashplugin-11.2r202.275) Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re:
On 3/28/13 7:20 PM, ill...@gmail.com wrote: On 28 March 2013 18:03, Jeff Belyea jbely...@gmail.com wrote: I have a new computer with windows 8, which I hate with a passion. I don't play music and I don't do a lot of pictures. Basically I only search, some EBay and games. Can I replace win8 with BSD? Games? Games? Over 1100 of 'em!: http://www.freshports.org/games/ :-) P ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re:
On 3/28/13 8:01 PM, James D. Parra wrote: I have a new computer with windows 8, which I hate with a passion. I don't play music and I don't do a lot of pictures. Basically I only search, some EBay and games. Can I replace win8 with BSD? [pc/free]bsd *can* be used as a desktop system, but it's really aimed more at servers... a lot of common desktopy things aren't covered well. Based on the wording of your question it sounds like you're new to non-windows systems. I'd suggest you look into some flavor of linux instead (eg; ubuntu or mint): they'll be geared more towards what you'd be looking for I think. ~~~ Why not PC-BSD? Easy to install and has a great looking and functional desktop. http://www.pcbsd.org/ Best regards, James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org +1 for PCBSD. I put together a PCBSD system for my sister who is not very technical and she likes it. It does everything she needs. She even prefers the version of Open Office to the MS version she uses at work. P ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Current Way To Update Sources Rebuild World/Kernel?
Le Sun, 17 Mar 2013 15:07:35 -0700, Drew Tomlinson d...@mykitchentable.net a écrit : I've been away for a while. In the past, the proper way to update a system was to grab current sources via cvsup and then rebuild world and kernel. But now I see cvsup is no longer supported. The handbook talks about freebsd-update. I do not want binary upgrades but is this the tool to replace cvsup to update sources? How do I use it to replace the old way that went something like this: cvsup sources make buildworld make buildkernel make installkernel mergemaster make installworld Instead cvsup you have to use svn to retrieve the sources : http://www.freebsd.org/doc/handbook/svn.html The good way is (and was) mergemaster -p before make installworld and mergemaster after. regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox 4.1.22 and Bridged Network problems
Le Wed, 6 Feb 2013 15:03:36 +0100, CeDeROM cede...@tlen.pl a écrit : Hello, I cannot get Bridged Network setup in VBox 4.1.22 on my 9.1RC3 AMD64 - I get no traffic to the host interface at all. Did anyone noticed this or related problems? Works fine here (9.1-STABLE/amd64, virtual box 4.2.6). Be sure that the virbualbox kernel modules are in sync with your kernel (ie rebuilt virtualbox-ose-kmod). Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jails ip addresses
Le Thu, 24 Jan 2013 11:51:46 -0500, Fbsd8 fb...@a1poweruser.com a écrit : Is there any situation where assigning the same IP address to a new jail that has already been assigned to a previous jail valid? I think not, but want verification. What are your thoughts? I'm sure they are case of this. One example is poudriere (a package builder), it starts several jails to build the packages and all the jails are bound to 127.0.0.1. The jail IP enforces that the jailed processus cannot use another one IP but that's all. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: time_t definition
Le Tue, 15 Jan 2013 10:35:53 -0800, Thomas D. Dean tomd...@speakeasy.org a écrit : Hello, I am attempting to recompile some code from an older version. uname -a FreeBSD ZD7000 9.1-STABLE FreeBSD 9.1-STABLE #1: Sun Jan 13 23:44:33 PST 2013 root@ZD7000:/usr/obj/usr/src/sys/GENERIC i386 make gcc47 -O2 -pipe -I../../include -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c data-collection.c data-collection.c: In function 'main': data-collection.c:214:4: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' [-Werror=format] data-collection.c:234:4: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' [-Werror=format] cc1: all warnings being treated as errors *** [data-collection.o] Error code 1 cat data-collection.c ... #include time.h/* time_t */ #include sys/time.h/* gettimeofday() */ ... gettimeofday(spi_stop, tz); / * line 211 */ printf(Loop %d, SPI %ld %ld\n, loop, spi_stop.tv_sec, spi_stop.tv_usec); ... gettimeofday(disk_stop, tz);/* line 231 */ printf(Loop %d, Disk %ld %ld\n, loop, disk_stop.tv_sec, disk_stop.tv_usec); ... time.h defines time_t #ifndef _TIME_T_DECLARED typedef __time_ttime_t; #define _TIME_T_DECLARED #endif sys/time.h includes sys/types.h which includes sys/_types.h which includes machine/_types.h where __time_t is defined typedef __int32_t __time_t; /* time()... */ Question: Why do I see the error? Looks like gcc47 checks the printf format string (-Wformat) Disable this check or convert your time_t. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 9.1 - FTP_PASSIVE_MODE removed from login.conf?
Le Fri, 11 Jan 2013 09:13:27 +, Arthur Chance free...@qeng-ho.org a écrit : Hello, I see that the default environment in /etc/login.conf no longer contains FTP_PASSIVE_MODE=YES. I presume this is because ftp and fetch default to passive mode so it's deemed no longer necessary? MFH r237270: no need to specify passive mode, it is the default. http://freshbsd.org/commit/freebsd/r238485 freshbsd is great for these kind of questions. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Which k3b is recommended?
Le Thu, 03 Jan 2013 09:50:46 +0100, Leslie Jensen les...@eskk.nu a écrit : I need k3b on a newly installed 9.1-RELEASE system. I wonder if I miss out on some functionality if I go with version without KDE? Don't know. I use XFCE4 as my Desktop. Did you tried sysutils/xfburn? It is ligth but does the job. (nowadays I use cdrecord directly, but xfburn worked in the past...) Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bind 192.168.1.1 to all interfaces
Le Sun, 23 Dec 2012 14:17:47 +0200, Eugen Konkov kes-...@yandex.ru a écrit : Hello, Or s there any other method to prevent such ilegal DHCP servers on LAN? At work we use dhcp_probe http://www.net.princeton.edu/software/dhcp_probe/ It works quite fine, when someone plug a dhcp server it is detected and we shutdown the switch port. I don't know if it runs on FreeBSD, it runs on Centos 6. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: poudriere upgade perl in jail
Le Sat, 22 Dec 2012 16:56:09 +0100, Bas Smeelen b.smee...@ose.nl a écrit : I have poudriere setup on a server to compile packages for my old laptop, mini, and some friends laptops and it works great. How can I upgrade the perl version of the poudriere jail to perl-5.16, it is now perl-5.14? I tried startied the jail with poudriere jail -s -j and then try jail command=portmaster -o lang/perl5.16 lang/perl5.14 but can't get this to work. Should I just wipe the jail, then recreate and first build perl5.16 in it before building the other packages? I think PERL_VERSION=5.16.X in the poudriere jail's make.conf will do the trick. Then you will have to rebuild all the poudriere packages (not sure if this is safe else) Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
no more localhost name ?
Hello, (fresh 9.1-STABLE/amd64) Here localhost or 127.0.0.1 is not resolved anymore. I can see twith tcpdump hat a DNS request is sent to dns server. This is something new because a test case used to test name resolution on a home made application now fails. $ host localhost Host localhost not found: 3(NXDOMAIN) $ host 127.0.0.1 Host 1.0.0.127.in-addr.arpa. not found: 3(NXDOMAIN) The box uses dhclient. /etc/hosts ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain /etc/resolv.conf # Generated by resolvconf search univ-rennes1.fr nameserver 129.20.128.2 nameserver 129.20.128.39 nameserver 129.20.128.49 /etc/nsswitch.conf group: compat group_compat: nis hosts: files dns networks: files passwd: compat passwd_compat: nis shells: files services: compat services_compat: nis protocols: files rpc: files The configuration looks good... Any idea? Thanks regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
About QUOTA support in stock kernel
Hi, I would like to know why quota is not enabled in the stock kernel.. I remembered that it is not enabled since freebsd 3.5 or freebsd 4 generation. Now in freebsd 9.0, it still neeed a kernel rebuild. I have heard it has performance issue (GIANT lock) about quota. Regards, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Postgrey eats 100% CPU
Hello, FreeBSD 9.1 amd64, postgrey-1.34_4, perl-5.14.2_2 Here from time to time and since one or two months, postgrey starts to eat 100% of CPU, it always occurs juste after it cleans its bases. Then it does not accept any connection: Dec 2 03:11:49 net-110 postgrey[2252]: cleaning up old logs... Dec 2 03:11:49 net-110 postgrey[2252]: cleaning up old entries... The last time it occured, I deleted its bases because it didn't start at all. Does postgrey work for you? Any clue? I have used it for years without any problem :( Thanks. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: firefox i18n: no more french
Le Wed, 07 Nov 2012 00:14:09 +0400, Boris Samorodov b...@passap.ru a écrit : Hi, For and unknown reason here, Firefox (16.0 and ESR) doesn't want to be in french anymore. Does i18n work for you? I use directly the fr.xpi (cd /usr/ports/www/firefox-i18n, make extract), then I add the .xpi via the firefox addons menu. That worked like a charm before. The fr language pack is enabled but firefox is still in english. I've got this problem at work (firefox 16) and on my home laptop (firefox-esr). Any clue? Is Tools - Extensions - Languages - French LangPack enabled? Yes: The fr language pack is enabled but firefox is still in english. Does the ru pack works for you? It doesn't here. Thanks, regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: firefox i18n: no more french
Le Wed, 07 Nov 2012 11:52:51 +0100, Leslie Jensen les...@eskk.nu a écrit : Quite some time ago there was a solution posted where you had to go to addons and install from a file. The language file is downloaded to distfiles/xpi. So you just point to the file and choose to install it. Yes this is the way I do (far easier than install i18n package). That worked fine in the past. And if I remember correctly you also have to set the language again in about:config Ah yes. You win! The about:config variable to change is general.useragent.locale = fr-FR Thanks a lot. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
firefox i18n: no more french
Hello, For and unknown reason here, Firefox (16.0 and ESR) doesn't want to be in french anymore. Does i18n work for you? I use directly the fr.xpi (cd /usr/ports/www/firefox-i18n, make extract), then I add the .xpi via the firefox addons menu. That worked like a charm before. The fr language pack is enabled but firefox is still in english. I've got this problem at work (firefox 16) and on my home laptop (firefox-esr). Any clue? Thanks, regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why RELENG_9 branch is labeled as PRERELEASE and freebsd.org says FreeBSD is currently at 9.1-RC2 ?
Le Sat, 27 Oct 2012 16:54:45 -0700, Yuri y...@rawbw.com a écrit : RELENG_9 is supposed to represent the latest branch of 9.1. De facto, code says it is PRERELEASE (sys/conf/newvers.sh). But freebsd.org on its front page says 9.1 is at RC-2. So how can I get RC-2 through cvsup except through RELENG_9 which gives PRERELEASE ? RELENG_9 should be called 9-STABLE, if you want 9.1 use RELENG_9_1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Portupgrade now supports pkgng [/usr/ports/UPDATING]
Le Sat, 27 Oct 2012 21:22:32 +0300, Alexander Kapshuk alexander.kaps...@gmail.com a écrit : Having done all of the above, I ran portupgrade to update all the pkgs that needed upgrading on my system, and got the message below: root@box0:/root/tmp # portupgrade -varRP --batch -L '%s_%s' USING PKGNG Packages are not yet suported. Use pkg(8) directly. That doesn't sound like portupgrade supports pkgng, or did I misread the message in the UPDATING file? pkg is able to make packages upgrade by itself. I think the good way to update with packages is pkg updgrade then portupgrade to build the ports without packages avalaible. Anyway I had many problems with portupgrade and pkg (basically It was not able to build its database because of inconsistency in ports dependencies), portmaster with pkgng patch looks better. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why RELENG_9 branch is labeled as PRERELEASE and freebsd.org says FreeBSD is currently at 9.1-RC2 ?
Le Sun, 28 Oct 2012 11:48:19 -0700, Yuri y...@rawbw.com a écrit : RELENG_9 should be called 9-STABLE, if you want 9.1 use RELENG_9_1 Hm, if they wanted to keep RELENG_9 as stable 9.X branch, why then 9.1-PRERELEASE is there? Is PRERELEASE considered more stable than RC? This looks strange to me. This is because of the release process. At some point (beta) the stable branch (RELENG_9 here) is named -PRERELEASE. After (for release candidate) a new branch (RELENG_9_1) is created and named 9.1-XXX. This branch will be the 9.1 release and changes should be only bug fixes. RELENG_9 continues its own way. So yes, RELENG_9 should be named 9-STABLE. That will be fixed after the release. I guess nobody takes the time to change the name or they are too busy with the release of 9.1. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how many memory is needed for FreeBSD 9 ?
Le Mon, 22 Oct 2012 03:49:50 +1100, andrew clarke m...@ozzmosis.com a écrit : Hello, I'm updating an old laptop running FreeBSD 8.1 with 64 MB ram (44MB available) but now FreeBSD 9.1 panics at boot time: panic: kmem_malloc(4194304): kmem_map too small: 24584192 allocated? That's one very old laptop. I think you'll need to install more memory or downgrade FreeBSD to an earlier version. 1998, I think (HP Omnibook 900). I use it for small network testing and serial console access. It works well for this. Well I've put 8-STABLE on it (two days to make buildworld/buildkernel). Looks good. From my limited testing under VirtualBox, 96 MB RAM is about the lower limit that will allow FreeBSD 9.1-RC2 to boot before the swap partition is enabled. Any less and the kernel will freeze or panic at boot. This was with the amd64 version though, not i386. Thanks for this, regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
how many memory is needed for FreeBSD 9 ?
Hi, I'm updating an old laptop running FreeBSD 8.1 with 64 MB ram (44MB available) but now FreeBSD 9.1 panics at boot time: panic: kmem_malloc(4194304): kmem_map too small: 24584192 allocated? Any work-around? Thanks regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: poudriere amassing fetch errors
Le Sun, 14 Oct 2012 03:57:20 +0200, Christopher J. Ruwe c...@cruwe.de a écrit : Hello, for some time I have noticed that poudriere bulk build amass fetch errors, i.e., the corresponding distfile(s) cannot be fetched by the build jail and I have to fetch these manually. Does anybody know a fix to this unnerving condition? I don't see this problem. Missing resolv.conf ? /usr/local/etc/poudriere.conf # By default the jails have no /etc/resolv.conf, you will need to set # REVOLV_CONF to a file on your hosts system that will be copied has # /etc/resolv.conf for the jail, except if you don't need it (using an http # proxy for example) RESOLV_CONF=/etc/resolv.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: nvidia and flash plugin problem
Le Wed, 03 Oct 2012 19:13:11 +0930, Shane Ambler free...@shaneware.biz a écrit : I have a GT 520 with 9.0 amd64 and found that v304.43 refused to run my second monitor so I went back to v295. Did you check the resolution of the second monitor? Here on my box, v304 does not handle any more the previous resolution used: http://osdir.com/ml/freebsd-x11/2012-09/msg00067.html Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Rewrite redirects
You can probably do something like: RewriteRule ^([^/])\.html /content/$1.html [PT] ^ inside the square brackets means not, so a pattern matching anything but /. Or you could be go the other way: RewriteRule ^([a-zA-Z0-9_-]+)\.html /content/$1.html [PT] Where you explicitly include the characters that are used in your html filenames... Patrick On Fri, Sep 28, 2012 at 2:27 PM, Jack Stone ja...@sage-american.com wrote: On 9/28/2012 3:08 PM, Jack Stone wrote: I thought I had this figured out but discovered I have a BIG flaw with my .htaccess redirects After days of searching and experimenting, I still can't get this to do what I intended. I have moved all of the content on a web site from the web root to a different directory. Now I need toredirect the URL requests from the old location to the new one. Instead of issuing a 301 error, I want to first redirect to an info page, let's call it info.htm. Here's what I have now in the web root's .htaccess. Here's the way it was/is: ~webroot/lots_of.html and now changed to this: ~webroot/content/lots_of.html Using the apache mod_rewritein .htaccess RewriteEngine on RewriteRule /~webroot/(.*\.html) /^info.htm [PT] which is supposed to redirect any page with the extension .html to the info.htm page. BUT, alas any *.html page in any directory will redirect back to the info.htm page!! What I wanted is that only the *.html pages in the ~webroot to be redirected to the info page. I hope this make sense and I hope someone can give me a tip on how to limit the redirects to only the webroot pages. Thanks in advance. For the above, now this works if I use the following: RewriteBase /~webroot/ RewriteRule ^radio\.html$ /^info.htm [PT] RewriteRule ^v20\.html$ /^info.htm [PT] So, now if the above are requested: http://www.webroot/content/radio.html it doesn't redirect to the info page. That's what I want, but there are 100s of html files in webroot/content and I figured there MUST be a way to wildcard the syntax, something like ^.*\.html$ so I don't need to list every specific html file. I believe I'll have it if I can figure that out now. Any thoughts? -- -- All the best, Jack ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RFC 2385 TCP MD5 support on FreeBSD8.3
Le Thu, 6 Sep 2012 20:46:53 +0530, SivaReddy Obili sivareddy.ob...@gmail.com a écrit : Hello, Recently I've downloaded the FreeBSD 8.3 Release ISO Image (FreeBSD-8.3-RELEASE-i386-dvd1 (1).iso) and installed in our machine. Actually our requirement is to check the TCP MD5 support on FreeBSD8.3 . But we were not able to configure BGP MD5 on that machine. I've used TCP-MD5 signature for bgp between a FreeBSD 8.x and OpenBSD, using setkey(8) to enforce the signature between the peers. That worked (of course, then you shouldn't use tcp-md5 in openbgd). setkey(8): add -4 peer1 peer2 tcp 0x1000 -A tcp-md5 PASSWORD; add -4 peer2 peer1 tcp 0x1000 -A tcp-md5 PASSWORD; kernconf: # In order to enable IPSEC you MUST also add device crypto to # your kernel configuration options IPSEC #IP security (requires device crypto) device crypto options TCP_SIGNATURE #include support for RFC 2385 You should check that the signature is checked (ie if the signature is bad, bgpd rejects the connection), I've not test this. HTH. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to donate code
Le Wed, 18 Jul 2012 12:53:00 +0300, Виталий Туровец core...@corebug.net a écrit : Hello, The general advice is mail the patch to -hackers for review. If you don't get a reply or if people like it, submit a PR so it doesn't get lost. Be aware that the latency for some patches could be longer than you expect. :( I already realize that :( The secret is to not expect anything :) FWIW unified diff format patches are much preferred. (diff -u) Okay, i'll rewrite this code under -current OS build and mail the unified diff patch to -hackers list. I remember vaguely a thread on hacker@ about ifconfig and netmask, you may want to check it : http://unix.derkeiler.com/Mailing-Lists/FreeBSD/hackers/2011-04/msg00078.html (IPV4 non-CIDR netmasks are valid). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to donate code
Le Tue, 17 Jul 2012 12:16:12 +0300, Виталий Туровец core...@corebug.net a écrit : Hello, Hello, colleagues! How would one propose some code to current branch? I've made a little change to ifconfig ( a switch to display IPv4 network masks in CIDR format instead of HEX) and want to suggest this change to FreeBSD project. Also i've created a PR with my patch describing what is done and for what (http://www.freebsd.org/cgi/query-pr.cgi?pr=169072cat=), but maybe there's some other way to somehow push this code for review by FreeBSD developers? You may post to freebsd-current@ or freebsd-hacker@ mailing lists. A PR is always a good thing for the record. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: enable modeline in vim
Assuming you've installed vim from the ports tree, /usr/local/share/vim/vimrc is the shared vimrc file amongst all users. Have you tried setting it in there? On Monday, 16 July, 2012 at 09:37 , Victor Sudakov wrote: Виталий Туровец wrote: Do you know how to enable modelines in vim running from root? Even if I put set modeline in /root/.vimrc, the output of :set modeline? still shows nomodeline. At the same time, set modeline in ~/.vimrc works for all other accounts except root. Someone has protected the root account so tightly that I cannot even shoot myself in the leg. Do you know how I could override this protection? In my vimrc i have next: set modeline set modelines=3 As I said, in /root/.vimrc I have: set modeline set modelines=5 And it works, no matter from root or normal user. Hope this helps. And it does not work for root. vim-7.3.556_1 Surely I am doing something stupid but I cannot figure out what. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:suda...@sibptus.tomsk.ru (mailto:suda...@sibptus.tomsk.ru) ___ freebsd-questions@freebsd.org (mailto:freebsd-questions@freebsd.org) mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org (mailto:freebsd-questions-unsubscr...@freebsd.org) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: anyone here use poudriere ?
Le Fri, 13 Jul 2012 12:32:48 +0100, Vincent Hoffman vi...@unsane.co.uk a écrit : I've been playing with poudriere and pkg as per http://fossil.etoilebsd.net/poudriere/doc/trunk/doc/pkgng_repos.wiki in the hope that it will be an easier way to maintain a custom internal package repository for work not I'va managed to get a few FreeBSD boxes into service there. I'm liking it lots more than the traditional package build but I am having some problems working out how to set custom build options for ports. Does anyone else use poudriere for this and if so how do they handle this. You can copy options into your jail (see man poudriere). But I agree there is a lack of an interactive mode into poudriere. When I install a new port, I don't know which options are available and I would like to choose them once time. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
power failure, boot, and fsck
Hi, After a power failure at home, my FreeBSD server automatically starts again but fails to mount my UFS /boot disk because it was not properly unmounted. Here is my fstab: $ cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0s1a /boot-disk ufsrw 00 I'm using ZFS root with a USB UFS boot device. Anyway, I get an error that looks like (copied from another thread; devices and mount points don't match): UFS: /dev/ad10s3f (/usr) Automatic file system check failed, help! error aborting boo (sending sigtem to parent)! init: /bin/sh on /etc/rc terminated abnormally, going to single user mode. enter full pathname of shell or RETURN for /bin/sh: In single-user mode I just `fsck /dev/da0s1a` and reboot. That fixes the problem. However, I would like this to be automatic on boot. It would be annoying if I'm out-of-town and the server cannot recover without my help. Any tips? -- Patrick Donnelly ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
poudriere
Hello, I'm trying to switch my ports to pkgng, using poudriere to build packages: Few questions: - Is there a way to ask for options while building (ie make config)? - How to keep the workdir of the jail on failure? I see a failure with ant and I would like to look the build log (ant-diagnostics.log). openjdk6/work/apache-ant-1.8.3/bin/ant -version /wrkdirs/usr/ports/java/openjdk6/work/build/bsd-amd64/langtools/build/ant-diagnostics.log gmake[2]: *** [/wrkdirs/usr/ports/java/openjdk6/work/build/bsd-amd64/langtools/build/ant-diagnostics.log] Error 1 gmake[2]: Leaving directory `/wrkdirs/usr/ports/java/openjdk6/work/langtools/make' gmake[1]: *** [langtools-build] Error 2 gmake[1]: Leaving directory `/wrkdirs/usr/ports/java/openjdk6/work' gmake: *** [build_product_image] Error 2 *** Error code 1 Stop in /usr/ports/java/openjdk6. *** Error code 1 Stop in /usr/ports/devel/apache-ant. *** Error code 1 Thanks, regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Firewall, blocking POP3
See /usr/ports/security/py-fail2ban (http://www.fail2ban.org/). Used in conjunction with FreeBSD's ipfw or pf firewall facility, you can ban an attacking IP address for a set period of time after a configurable amount of failed attempts. Fail2ban watches your log files for you and then triggers some sort of action -- which can really be anything you can conceive of. Patrick On Wed, May 30, 2012 at 11:47 AM, Jorge Biquez jbiq...@intranet.com.mx wrote: Hello. Thanks a lot!. Simple an elegant solution. I just did that and of course it worked I just was wondering... what if I need to have the service working BUT want to block those break attemps? IN this and other services. ? My guess is that it is a never ending process? I mean, block one, block another, another, etc? What the people who has big servers running for hosting services are doing? Or you just have a policy of strng passworrds, server up-todate and let the attemps to try forever? Thanks for the solution Mr Robert. Jorge Biquez At 01:32 p.m. 30/05/2012, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Wed May 30 13:16:37 2012 Date: Wed, 30 May 2012 13:08:30 -0500 To: freebsd-questions@freebsd.org From: Jorge Biquez jbiq...@intranet.com.mx Cc: Subject: Firewall, blocking POP3 Hello all. I am sorry if the question is too basic. I have a personal small machine running FreeBSD 7.3-PRERELEASE #0: It runs as my web and email server for a cuple of domains. NO clients no other users have access to it. Is there any , easy/faster way to stop POP3 from being working. I am running qpopper to be able to download emailes. I decided to use sendmail since only a few accounts are there and I do not need more but in the last days the server has been under a big attack where people is trying to guess users and passwords. I am using a strong schema of passwords so no problem on that but I rather to be sure . The mail -server- you use is irrelevant to how users retrieve mail. you can use sendmail and qpopper, or sendmail and an IMAP server, or sendmail and webmail app, or postix and qpopper, or exim and qpopper, etc. All you have to do to disable qpopper is edit comment out the line in /etc/inetd.conf, and SIGHUP inetd. To re-enable when you need it, uncomment the line, and SIGHUP inetd again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pam_start(): system error
Le Fri, 25 May 2012 22:36:01 -0400, Tim Dunphy bluethu...@gmail.com a écrit : Hello, My freebsd 8.2 box has a new, interesting error. When I go to change any user password I see the message passwd: pam_start(): system error as in : [root@LBSD2:/etc/pam.d] #passwd Changing local password for root passwd: pam_start(): system error passwd is able to see it's libraries: you can try to reinstall the world and merge the pam configuration (/etc/pam.d). You can check the pam modules (.so) also (in /usr/lib/pam_*.so) Good luck, regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: question about milter software
I think you'll find Postfix to be much more modern and easy to work with for that kind of message rewriting. But what you're looking for is pretty complicated when you start having to deal with multipart messages; the messages have to be completely processed and separated into respective parts, and then once the rich part is found, you've got to parse the HTML and insert the footer into the right spot, and then recompile the message. And if the message is plain text only, you can't insert HTML and have it be displayed as such. In short, I doubt you'll have much success in doing this well. It would be better to configure this in the email client and lock that down somehow. Patrick On Fri, May 25, 2012 at 6:21 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: Does anyone know milter software (or maybe anything else) to add to sendmail that can rewrite outgoing mail and add HTML footer automatically? Please do not tell me about how stupid HTML mail is at all - i know it, it is not my idea. thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: question about milter software
On Fri, May 25, 2012 at 1:21 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: I think you'll find Postfix to be much more modern and easy to work with for that kind of message rewriting. you are actually wrong in that statement. In spite of hype that postscript started with, i am still using sendmail because it is actually easiest if you learn it. I guess it's pretty subjective, which is how I should have originally prefaced my statement. I used sendmail for a long time, and always hated working with m4 or direct sendmail configuration files. For me, Postfix is so much easier, but to each his own. For your immediate need, I'd look at http://www.ledge.co.za/software/disclaimermilter/ or MIMEDefang (http://www.mimedefang.org/) which appears to be able to add disclaimers. Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Is it worthy upgrading to 9.0 ?
Le Mon, 27 Feb 2012 16:52:32 -0800 (PST), sw2wolf czsq...@163.com a écrit : Hello, I am using 8.2 for a long time. And it works VERY well. If it works don't break it :) I don't use 9.0 on production server, but as far I can see on my desktops (at home and at work) that works fine (with USF2 journal and ZFS). This is the first step for me. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Usage of '@cwd' and '@srcdir' in a package list
All, Need a little direction on package creation. This issue is hitting me on both 8.0, 8.2 and 9.0 FreeBSD (amd64) releases. I'm trying to create a package using pkg_create with the intention of installing under /usr/local. However, my build environment is private (not under /usr/ports or /usr/src) and I *do not* install before creating the package file. My problem is that if I have the following in my package list file - @cwd /usr/local @srcdir . ... relative filepaths ... The the pkg_create fails with tar complaining about not being able to source the files, even though I invoke pkg_create at the top of the subtree and the files are relative to my current working directory. I have also tried the '-s `pwd`' option to pkg_create as well, with no success. Removing the @cwd line allows the package to be built. Reading the man page it states @srcdir directory Set the internal directory pointer for _creation only_ to directory. That is to say that it overrides @cwd for package creation but not extraction. Which seems to be what I want but why is it not overriding? Any pointers are welcomed. Thanks, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: issue with limiting java's memory usage
Le Sun, 29 Jan 2012 19:34:11 +, Alexander Best arun...@freebsd.org a écrit : hi there, Hello, maybe i'm missing something obvious, but i don't quite understand the following top(1) output: last pid: 13875; load averages: 0.73, 0.75, 0.68 65 processes: 2 running, 62 sleeping, 1 waiting CPU 0: 19.5% user, 0.0% nice, 13.3% system, 0.0% interrupt, 67.2% idle CPU 1: 20.3% user, 0.0% nice, 7.8% system, 0.0% interrupt, 71.9% idle Mem: 1365M Active, 185M Inact, 323M Wired, 69M Cache, 213M Buf, 32M Free Swap: 10G Total, 2494M Used, 7746M Free, 24% Inuse, 4K In PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 6913 1001 32 200 4252M 1312M uwait 0 18.3H 39.06% /usr/local/diablo-jdk1.6.0/bin/java -Xmx512m -jar JDownloade ...how can the size of the resident memory of pid 6913 be 512 megabytes? I don't know but you can inspect the java application with the java console (jconsole). There are several stats on memory usage. With JDownloader (doing nothing), I see 57 MB of non heap memory usage, and only 30 MB of heap memory. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: non-responsive FreeBSD-9.0 after dump command
Le Wed, 18 Jan 2012 16:42:10 -0700, Dale Scott dalesc...@shaw.ca a écrit : # mount /dev/ada0p2 on / (ufs, local, journaled soft-updates) devfs on /dev (devfs, local, multilabel) /dev/ad1as1d on /backup (ufs, local, soft-updates) # # cd /backup # dump -0aLf 20120118.dump / There is no output after hitting enter, and afterwards the system is generally unresponsive. A command (e.g., whoami) typed into the VirtualBox server console and an ssh terminal is echo'd, but that's all. I had started top in a seperate ssh terminal before issuing the dump command, and it shows mksnap_ffs running with 98%-100% WCPU for about 55 minutes, at which point top stops updating. I gave up after 70 minutes and yanked the virtual power cord. There are several reports that snapshots are broken on ufs+SUJ and dump takes a snapshot. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problem with ntfs and fusesf since upgrade to 9.0
Le Sun, 15 Jan 2012 10:01:04 +, Dave Morgan davemorgan...@btinternet.com a écrit : Hi, Hello, After upgrading from 8.2 to 9.0 I get the following and I am unable to access my external ntfs usb drive. KLD fuse.ko: depends on kernel - not available or version mismatch kldload: can't load /usr/local/modules/fuse.ko: File exists All ports were rebuilt with portupgrade -af and the sources do match the kernel. Have I done something wrong or is this a known problem or bug? It works for me (c). So I guess you have made something wrong. Double check that the source / kernel are uptodate and are the same as the release (ie cvsup RELENG_9_0). here (but with a hand built kernel) $ kldstat Id Refs AddressSize Name 1 44 0x8020 11cda30 kernel ... 131 0x8275a000 a96b fuse.ko $ uname -a FreeBSD roxette.lamaiziere.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Sat Jan 7 17:18:15 CET 2012 patr...@roxette.lamaiziere.net:/usr/obj/usr/src/sys/ROXETTE amd64 Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Problems building world with 9.0 RC3 [SOLVED]
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Patrick Mahan Sent: Monday, January 09, 2012 4:28 PM To: freebsd-questions@freebsd.org Subject: Problems building world with 9.0 RC3 All, I am having an issue with getting buildworld to work for me. It is failing while building zfs - cc -DADARA_OS - I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib /opensolaris/lib/libzpool/common - I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/compat/ opensolaris/include - I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/compat/ opensolaris/lib/libumem - I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/com pat/opensolaris - I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib /opensolaris/head - I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib /opensolaris/lib/libuutil/common - I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib /opensolaris/lib/libzfs/common - I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib /opensolaris/lib/libumem/common - I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib /opensolaris/lib/libnvpair - I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/con trib/opensolaris/uts/common - I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/con trib/opensolaris/uts/common/fs/zfs - I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/con trib/opensolaris/uts/common/sys - I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/con trib/opensolaris/common/zfs -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack- protector -Wno-pointer-sign -Wno-unknown-pragmas -o zfs zfs_main.o zfs_iter.o -lbsdxml -lgeom -lm -lnvpair -lsbuf -lumem -lutil -luutil -lzfs /lib/libthr.so.3: undefined reference to `__pselect@FBSDprivate_1.0' /data/pmahan/devel/pm_ipr9.0/ipr9.0/amd64/obj/data/pmahan/devel/pm_ipr9.0/ip r9.0/src/tmp/usr/lib/libzfs.so: undefined reference to `openat@FBSD_1.2' Now, when I take a look at libpthr.so.3 I for '__pselect' I find - pmahan@libthr 90 readelf --symbols libthr.so.3 | grep __pselect 455: c000 120 FUNCGLOBAL DEFAULT 11 ___pselect@@FBSDprivate_1.0 624: c000 120 FUNCGLOBAL DEFAULT 11 ___pselect So I see the symbol there but with a double @ not a single. I don't see any errors generated when libthr.so.3 is being built so I'm a bit of a loss to understand this. I saw in my googling that the wacky symbol naming was introduced sometime in 8.x, but I I couldn't find anything explaining the symbol generation. So I am looking for pointers on how to track this one down. Is this a compiler issue? I figured this out today, thanks to a colleague who was building just fine. It turns out that I had LD_LIBRARY_PATH set in my environment (no particular reason, just left over environmental stuff from years of abuse). It pointed to '/lib:/usr/lib:/usr/local/lib' So I'm guessing the it was picking up a library outside of the buildworld sandbox. Looking at the failed command I notice that there are no -L directives. Wouldn't this have over-ridden my LD_LIBRARY_PATH? In any case I have removed that from my shell environment and everything is now building. Thanks, Patrick Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of the author and are not to be construed as an official opinion of Adara Networks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Problems building world with 9.0 RC3
All, I am having an issue with getting buildworld to work for me. It is failing while building zfs - cc -DADARA_OS -I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib/opensolaris/lib/libzpool/common -I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/compat/opensolaris/include -I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/compat/opensolaris/lib/libumem -I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/compat/opensolaris -I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib/opensolaris/head -I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib/opensolaris/lib/libuutil/common -I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib/opensolaris/lib/libzfs/common -I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib/opensolaris/lib/libumem/common -I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib/opensolaris/lib/libnvpair -I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/contrib/opensolaris/uts/common -I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/contrib/opensolaris/uts/common/sys -I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/contrib/opensolaris/common/zfs -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector -Wno-pointer-sign -Wno-unknown-pragmas -o zfs zfs_main.o zfs_iter.o -lbsdxml -lgeom -lm -lnvpair -lsbuf -lumem -lutil -luutil -lzfs /lib/libthr.so.3: undefined reference to `__pselect@FBSDprivate_1.0' /data/pmahan/devel/pm_ipr9.0/ipr9.0/amd64/obj/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/tmp/usr/lib/libzfs.so: undefined reference to `openat@FBSD_1.2' Now, when I take a look at libpthr.so.3 I for '__pselect' I find - pmahan@libthr 90 readelf --symbols libthr.so.3 | grep __pselect 455: c000 120 FUNCGLOBAL DEFAULT 11 ___pselect@@FBSDprivate_1.0 624: c000 120 FUNCGLOBAL DEFAULT 11 ___pselect So I see the symbol there but with a double @ not a single. I don't see any errors generated when libthr.so.3 is being built so I'm a bit of a loss to understand this. I saw in my googling that the wacky symbol naming was introduced sometime in 8.x, but I I couldn't find anything explaining the symbol generation. So I am looking for pointers on how to track this one down. Is this a compiler issue? Thanks, Patrick___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
BIOS configuration for a Gigabyte GA-X58A-UD3R and i7 Intel processor
All, I am putting together a DIY system using a Gigabyte motherboard and the Intel i7. I plan on running FreeBSD 9.0 as the based OS. I have a Seagate 1 TB Barracuda for the hard drive connected to one of the sata controllers. I've got a couple of questions regarding the SATA setup. The motherboard has an Intel ICH10R South Bridge controlling 6 SATA2 (3.0 Gbs/s) devices, Gigabyte controlling 2 GSATA2 devices (3.0 Gb/s) and a Marvell 9128 SATA3 (6.0 Gb/s) devices. I currently have the HDD connected to the ICH10R. My first question is simply confirmation of what my googling seems to have turned up - that this controller is supported by FreeBSD. 2nd question, the BIOS setup lists this controller mode as IDE and the other possible values are - IDE = Disables RAID for this SATA controller, configures the controller in IDE mode RAID = Enables RAID for this SATA controller AHCI = Configures the SATA controller to Advanced Host Controller Interface mode to support enabled advanced Serial ATA commands such as Native Command Queuing and Hot plug. Which mode is the best for FreeBSD? The BIOS default is IDE. I am currently only using 1 HDD so I am not currently interested in RAID. Is AHCI supported? NOTE: these modes are listed for all three SATA controllers. Thanks, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: BIOS configuration for a Gigabyte GA-X58A-UD3R and i7 Intel processor
On 1/2/12 12:31 PM, Patrick Mahan wrote: All, I am putting together a DIY system using a Gigabyte motherboard and the Intel i7. I plan on running FreeBSD 9.0 as the based OS. I have a Seagate 1 TB Barracuda for the hard drive connected to one of the sata controllers. I've got a couple of questions regarding the SATA setup. The motherboard has an Intel ICH10R South Bridge controlling 6 SATA2 (3.0 Gbs/s) devices, Gigabyte controlling 2 GSATA2 devices (3.0 Gb/s) and a Marvell 9128 SATA3 (6.0 Gb/s) devices. I currently have the HDD connected to the ICH10R. My first question is simply confirmation of what my googling seems to have turned up - that this controller is supported by FreeBSD. 2nd question, the BIOS setup lists this controller mode as IDE and the other possible values are - IDE = Disables RAID for this SATA controller, configures the controller in IDE mode RAID = Enables RAID for this SATA controller AHCI = Configures the SATA controller to Advanced Host Controller Interface mode to support enabled advanced Serial ATA commands such as Native Command Queuing and Hot plug. Which mode is the best for FreeBSD? The BIOS default is IDE. I am currently only using 1 HDD so I am not currently interested in RAID. Is AHCI supported? NOTE: these modes are listed for all three SATA controllers. All, Slight addendum, I have found a link to Warren Block's instructions on enabling AHCI support and others have pointed out that they are using AHCI on GB motherboards. Again, thanks, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Problems with keyboard on the loader menu
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Airton Arantes Sent: Wednesday, December 07, 2011 5:46 PM To: freebsd-questions@freebsd.org Subject: Problems with keyboard on the loader menu I'm having troubles with my keyboard when the bootstrapping reach the loader menu. My Keyboard simply doesn't works, but before and after the loader menu my keyboard works very well. I have seen BIOS settings like USB keyboard and nothing is helping. I didn't no one kernel tuning, I'm using GENERIC. The Server is a HP Proliant DL120 G6. Does anyone here can help me? -- Airton Arantes Coelho Filho I have found that I have to do the following on some of our Proliant G5's - # cd / # echo -P boot.conf Also, are you using the VGA or the serial console? We enable both (our serial consoles are connected to terminal servers for remote access and VGA is used for the physical access). Our keyboards are USB. This is with FreeBSD 8.0 AMD64 Patrick Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of the author and are not to be construed as an official opinion of Adara Networks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: CUPS and IPP/JD/LPD
-Original Message- From: Ryan Coleman [mailto:edi...@d3photography.com] Sent: Thursday, December 08, 2011 9:24 AM To: Patrick Mahan Cc: FreeBSD Questions Subject: Re: CUPS and IPP/JD/LPD Definitely Postscript. With CUPS, I'm don't remember off the top of my head, but I believe there is a way to create a text only queue. You might want to setup a box with CUPS and use that to act as an intermediary for the iOS devices. Patrick Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of the author and are not to be construed as an official opinion of Adara Networks. On Dec 8, 2011, at 10:59 AM, Patrick Mahan wrote: -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Ryan Coleman Sent: Thursday, December 08, 2011 8:41 AM To: FreeBSD Questions Subject: CUPS and IPP/JD/LPD I have a printer that doesn't support IPP. The leasing agency wants to charge me $1400 to install the Postcript driver on it but I'm looking at another solution, if possible: CUPS. I have a MacBook and we have a number of iOS devices around the office here that people would love to be able to print from... but AirPrint requires an IPP-compatible printer. Is there a way to convert or translate IPP to either LPD or JetDirect? -- Ryan Ryan, I use JetDirect with my Apple devices. I print to a HP OfficeJet 7310 all-in-one with no problems. I had and older HP Color inkjet (930?) that was hooked up for a while to a Fedora Core box that was using LPD that worked as well. Patrick Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of the author and are not to be construed as an official opinion of Adara Networks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Command which does not work anymore?
Hello, I'm using 9.0 and the command below does not work, as far I remember that worked fine with 8.2: The goal is to copy an usb image from an OpenBSD host to an usb key on my desktop via ssh. On openbsd: # cat ucop2.img | ssh patrick@xx dd of=/dev/da0 bs=10M dd: /dev/da0: Invalid argument 0+5 records in 0+4 records out 81920 bytes transferred in 0.107747 secs (760299 bytes/sec) With a file that works: # cat ucop2.img | ssh patrick@xx dd of=ucop2.img bs=10M and then a dd to the key works fine. And yes /dev/da0 is writable by all: # ls -la /dev/da0* crw-rw-rw- 1 root operator0, 132 5 déc 09:45 /dev/da0 crw-rw-rw- 1 root operator0, 133 5 déc 09:45 /dev/da0s4 There are some kernel messages on the FreeBSD box but I think this is harmless because this is an OpenBSD partition: GEOM_PART: integrity check failed (da0s4, BSD) Any clue? Thanks, regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Xfce and session lock (xlock)
Hello, I use Xfce 4.8, is there a way to lock the session when the screen goes to sleep? Thanks, regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Whats the difference between password+RSA, and password-protected RSA ?
In the case of a passphrase-protected RSA key, the server knowsnothing about it, so you would never be able to enforce that. It's onthe client side that the key is decrypted with the passphrase beforesubmitting it to the server. Patrick On Mon, Nov 21, 2011 at 1:19 PM, Mm Bsd mmbsd1...@yahoo.com wrote: Let's say I'd like to add a small amount of extra security to my SSH login process. Let's say I decide the way I want to do this is by requiring BOTH a password and an RSA key. There appear to be patches, or procedures, that allow me to do this. So to log in, I would be required to enter a normal unix password, but I would ALSO be required to hold a proper RSA public key. My question is this: In terms of security (and correctness ?) what's the difference between this (unix password + SSH RSA key) and simply generating my RSA key *with* a password ? Both ways require me to have something and know something, but they are obviously different, technically. Comments on the difference, and relative security of the two methods ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Urgent!. Problem with / etc / rc.conf
Le Sun, 6 Nov 2011 01:52:36 -0300, Zantgo zan...@gmail.com a écrit : Hello, Two other things, use rather than to append to the file (better yet, learn vi, it's much safer), and always backup any changes from default you make to config files. I keep them all on pastebin.com for convenience, but you can keep them anywhere, even scribbled on a postit note stuck to the front of the server in question (what I used to do). Rob I gave up, and now reinstall everything again :( You really don't need to reinstall. All the default rc.conf settings are in /etc/default/rc.conf You may also use sysinstall(8), Configure|Do post-install configuration (networking) and Keymap. It will update rc.conf Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to remove ACPI from boot ?
Le Wed, 02 Nov 2011 12:11:19 -1000, Al Plant n...@hdk5.net a écrit : Aloha, Bonjour, I have a box that wont shut down with ACPI setting activated. Anyone point me to a how to on keeping ACPI from being set to on at boot. in /boot/loader.conf hint.acpi.0.disabled=1 man acpi (DISABLING ACPI) Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to remove ACPI from boot ?
Le Wed, 2 Nov 2011 15:15:43 -0700, Michael Sierchio ku...@tenebras.com a écrit : in /boot/loader.conf (see /boot/defaults/loader.conf) acpi_load=NO Not useful since acpi is built by default in the kernel GENERIC. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (8.2) share lib and ldconfig problem.
Le Fri, 28 Oct 2011 12:49:45 -0400, b. f. bf1...@googlemail.com a écrit : Portgrade did a copy of the lib into /usr/local/lib/compat/pkg and run ldconfig. But the lib does not appear in the listing of the ldconfig cache : You mean portupgrade, probably? Yes, it was in the sentence :) Since your broken binary seems to need *.so.46, you can try adding symlinks between the corresponding *.so.46 and *.so.46.1, or you can rebuild the dependent port. I've made a script to add the missing symlinks. Thanks for your explanations. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: nice man pages?
Le Tue, 25 Oct 2011 22:43:29 -0400, Robert Huff roberth...@rcn.com a écrit : I use sysutils/most to have nice manual pages in color, that's cool but is there a way to do this with the base system (ie without adding port)? I believe the answer will be Not going to happen. Color is nice, but the system is desugned so it can be easily run when the system console is something indeterminate at the other end of a 300 baud serial line. We have ls with color (and no problem with serial console, there is no color when using it). Why not a nice manual? In fact there were some works on 9.0: http://markmail.org/message/3hqgrjbvg7sneobk But it does not seem to work here on a fresh 9.0/RC1 (via ssh but ls color works fine), does it work for you? Anyway thank you all for your replies. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
(8.2) share lib and ldconfig problem.
Hello, 8.2 STABLE/i386 I'm hit by something strange. Basically ldconfig does not take care of some libs in /usr/local/lib/compat/pkg By sample I've updated icu (via portupgrade) and libreoffice does not start anymore. $ libreoffice /libexec/ld-elf.so.1: Shared object libicuuc.so.46 not found, required by libsvtfi.so Portgrade did a copy of the lib into /usr/local/lib/compat/pkg and run ldconfig. But the lib does not appear in the listing of the ldconfig cache : # cd /usr/local/lib/compat/pkg/ # ls -m *icu* libicudata.so.46*, libicudata.so.46.1*, libicui18n.so.46.1*, libicuio.so.46.1*, libicule.so.46.1*, libiculx.so.46.1*, libicutest.so.46.1*, libicutu.so.46.1*, libicuuc.so.46.1* # ldconfig -r | grep pkg | grep icu 664:-licudata.46 = /usr/local/lib/compat/pkg/libicudata.so.46 Note that there is only one icu lib in the ldconfig's cache. The one named libicudata.so.46 (which is a copy of libicudata.so.46.1). Questions are : - Why theses libs are not in the ldconfig cache ? - Why a copy named libicudata.so.46 is in the cache and not libicudata.so.46.1? I've checked the permission and ownership of the libs, they are good. I've got also some backups of old libs which are not in the cache too. Any clue? Thanks, regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
nice man pages?
Hello, I use sysutils/most to have nice manual pages in color, that's cool but is there a way to do this with the base system (ie without adding port)? Thanks, regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: My tribute to Dennis Ritchie
Le Wed, 19 Oct 2011 10:07:22 -0500, Paul Schmehl pschmehl_li...@tx.rr.com a écrit : # grep -ir Ritchie /usr/src/* Nice! I've posted a copy of your mail on linuxfr.org (a french web site about Linux and free softwares) https://linuxfr.org/nodes/87797/comments/1281756 Dennis Ritchie is twice as bright as Steve Jobs, and only half wrong. RIP guys... Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: need help with pf configuration
Le Mon, 10 Oct 2011 14:10:53 +0700, Victor Sudakov suda...@sibptus.tomsk.ru a écrit : The problem is, there could be several routed networks behind the inside interfaces. Not all inside networks are directly connected, and the :network macro works only for directly connected interfaces, right? Rigth, this is why I suggest urpf-failed instead. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: need help with pf configuration
Le Sun, 9 Oct 2011 12:15:54 +0700, Victor Sudakov v...@mpeks.tomsk.su a écrit : I have a configuration with 2 inside interfaces, 1 outside and 1 dmz interface. The traffic should be able to flow 1) from inside1 to any (and back) 2) from inside2 to any (and back) 3) from dmz to outside only (and back). I need no details, just a general hint how to setup such security levels, preferably independent of actual IP addressses behind the interfaces (a :network macro is not always sufficient). You may use urpf-failed instead :network urpf-failed: Any source address that fails a unicast reverse path forwarding (URPF) check, i.e. packets coming in on an interface other than that which holds the route back to the packet's source address. something like block in quick on $inside1 from urpf-failed to any pass in quick on $inside1 I've not tested this. Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: need help with pf configuration
Le Sun, 9 Oct 2011 14:39:10 +0700, Victor Sudakov v...@mpeks.tomsk.su a écrit : I need no details, just a general hint how to setup such security levels, preferably independent of actual IP addressses behind the interfaces (a :network macro is not always sufficient). You may use urpf-failed instead :network urpf-failed: Any source address that fails a unicast reverse path forwarding (URPF) check, i.e. packets coming in on an interface other than that which holds the route back to the packet's source address. Excuse me, I do not see how this is relevant to my question (allowing traffic to be initiated from a more secure interface to a less secure interface and not vice versa). Sorry, you can't do this with pf, ipf or ipfw (the 3 firewalls in FreeBSD). There is no concept of security level at all, you must specify on each interface the traffic allowed (in input and output). My reply was about the use of the interface:network addresses. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenLDAP + CARP
Le Tue, 20 Sep 2011 13:02:47 +0200, Rafael NAVAZA rnav...@hotmail.com a écrit : Hello, As far as I know CARP will not check if the slapd is running correctly; that could be a problem if the CARP Master has a failing slapd. Do I have to monitor slapd with a third party software (like Monit) ? Can I configure CARP and OpenLDAP to watch each other more closely ? You can use ifstated (port net/ifstated) for this. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (no subject)
Le Fri, 26 Aug 2011 14:26:24 +, Johan Hendriks jo...@double-l.nl a écrit : Ifconfig on the master carp0: flags=49UP,LOOPBACK,RUNNING metric 0 mtu 1500 inet 192.168.50.45 netmask 0xff00 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL carp: MASTER vhid 1 advbase 1 advskew 30 Ifconfig on the slave carp0: flags=49UP,LOOPBACK,RUNNING metric 0 mtu 1500 inet 192.168.50.45 netmask 0xff00 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL carp: BACKUP vhid 1 advbase 1 advskew 20 So even with the higher advskew value the master stays master. Am i doing something wrong. May be the difference is not big enough. Did you try with a greater advskew value ? advskew is added to the advbase with a advskew/256 (see man carp(4)). Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CARP on 9.0 (was no subject)
Le Fri, 26 Aug 2011 15:26:28 +, Johan Hendriks jo...@double-l.nl a écrit : I am trying to set up CARP under 9.0 ... Also with a higer value like advskew 200 or 254 the role of the servers stays the same. Ok, there is something wrong so. Did you check that the sysctl net.inet.carp.suppress_preempt is equal to zero ? If yes, I don't have any more idea. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CARP on 9.0 (was no subject)
Le Fri, 26 Aug 2011 18:22:37 +, Johan Hendriks jo...@double-l.nl a écrit : net.inet.carp.preempt: 0 You said it was equal to 1 on both machines. It should be at 1. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can carp(4) run daemons or scripts?
Le Tue, 23 Aug 2011 17:50:43 +0400, Pavel Timofeev tim...@gmail.com a écrit : Hello, Can carp(4) run daemons or scripts when backup server come into the work? As I know ucarp and heartbeat can do this. No, carp only works at the interface level. In ports you will find ifstated(8) (from OpenBSD). It can react to a change on an interface and run tests. Also may be with devd, but imo ifstated will do the trick. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: A quality operating system
Le Sat, 20 Aug 2011 17:46:58 -0500, Dave Pooser dave-free...@pooserville.com a écrit : An honest question here-- how many people run production servers on RELEASE, never mind BETA? Mine has been running on STABLE, first 8.1 and then 8.2. Me! Because if it works, don't break it.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Enabling gjournal without destroying a filesystem?
Le Thu, 18 Aug 2011 17:43:41 -0500, Conrad J. Sabatier conr...@cox.net a écrit : Hello, I'm assuming there are definite advantages to using gjournal over softupdates? If the file system is large, it avoids a very long fsck. I use gjournal since 7.2 and never had any problem (and I always shutdown my small soekris box by removing the power plug...) Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can *you* UFS snapshot a filesystem with 9.0-BETA1?
Le Thu, 18 Aug 2011 10:22:31 +0100, Hugo Silva h...@barafranca.com a écrit : Hello, I'm wondering. On a virtual machine (amd64 HVM+PV), it's crashing every time. Not sure if this is SNAFU, as I had never used ufs snapshots on freebsd before. After running mksnap_ffs, ssh stops working (a telnet session doesn't show the sshd banner). The ssh session where the command was run from stops responding, the webserver dies and xm console'ing from the dom0 works, but the VM is unresponsive (ie no login prompt on ENTER). Anyone else seeing the same? I've tried in a FreeBSD guest (9.0-beta1/i386) into VirtualBox and I see a LOR (or looks like a LOR), then the system is freezed. This is 100% reproductible. Unfortunatly, I'm not able to dump a panic or to break into the debugger, so a screenshot : http://user.lamaiziere.net/patrick/public/lormksnap.png You should ask on freebsd-current@ Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Enabling gjournal without destroying a filesystem?
Le Fri, 19 Aug 2011 14:18:26 -0400, Alejandro Imass a...@p2ee.org a écrit : hello, I'm assuming there are definite advantages to using gjournal over softupdates? http://www.usenix.org/event/usenix2000/general/seltzer.html gjournal can improve the performances in some cases (small files) : http://osdir.com/ml/freebsd-geom/2006-06/msg00013.html Anyway there was no other way to avoid a long fsck (until SU+Journal in 9.0). Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kernel Panic not dumping to swap
On 8/9/11 10:33 PM, Daryl Sayers wrote: I have a FreeBSD 8.2-STABLE (64bit) system with 4G mem installed. I have had a few kernel panics over the last few weeks and would like to capture a core dump. I have added the following to /etc/rc.conf dumpdev=AUTO dumpdir=/var/crash The /var/crash is a 5G filesystem (with 4.8G free). When the machine panics the last 2 lines on the console are something like: Physical memory: 3057 MB Dumping 204 MB: 189 173 157 141 125 The system then completely hangs and a hardware rest is required. As the dump does not seem to finish I dont get my core dump in /var/cache when the machine reboots. Any ideas?? Daryl, A couple of questions: 1) How big is your swap partition? Is it large enough to hold the crash dump? 2) What type of hardware is this? I know that HP Proliants using the CISS raid control fail to produce a crashdump and just hangup these boxes. Perhaps this occurs for other types of hardware? Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Long Day's Journey into Bleep
On 6/8/11 5:56 PM, Gary Kline wrote: Well, people, It's been a long, long century. I've been down for 5 days. Couldn't understand _why_ I couldn't ping anywhere [expect the Server itself]. Finally, tho, it became more and more likely that my FreeBSD was fine ... even tho I kept stripping the most likely problem points. My large 16-port LinkSys router was either *it* or it was some kind of bug unknown to geekdom. After a friend bought me a new (and tiny) 8-port switch, yes! I could ping everywhere. I'm still bringing back the dozens of things I removed from ethic. And testing new ideas. But I have a general question: have any of you wizards who run your own domains or otherwise use a switch [or hub] *ever* had it just-quit?! It is solid-state. Yes, the box is within my feet/foot reach. I have accidently kicked it i suppose, but still. After wandering in the wilderness for 5 days, mmph, dunno. gary PS: yes, this is a serious question. 1) I like things-Cisco, and LinkSys. I just bought this switch about 2.5 years ago, so I really am looking for feedback. PPS: Another question to ask about upgrading is next. Gary, I have had to replace my linksys 8 port switch twice in the past 10 years I have been maintaining my own domain. In fact, when I have a lost network connection error, after verifying that it's not the computer, not the Wireless AP, then I look at this box. Most of the time a simple power cycle restores functionality. Yes it's more or less solid state, but it is busy 24/7 between my kids surfing, my job, my wife's research, the dvr updating, the iTouch's downloading apps, my smart phone receiving email, etc. Sometimes it just fails... And sometimes it just keeps chugging on, my Cisco 800 DSL modem is as old and aside from the initial setup and arguging with the DSL provider, it has been working for the same 10 years, no failures, just the occasional dslam drop that requires a reboot and I'm back online. Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD Python version
Hello, Can you please tell me what standard version of Python comes with the latest FreeBSD? And also, is it possible to upgrade to a newer version without breaking other functionalities? I am asking because more and more scripts require at least Python 2.5, whereas CentOS for example only comes with 2.4.3, and it's pretty much impossible to upgrade the system Python without breaking yum and things like that. Many thanks. Best regards, Patrick Brookings ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to use crash dumps?
Le Wed, 25 May 2011 15:03:41 +, Morse, Richard E.MGH remo...@partners.org a écrit : Hello, Hi! My server finally managed to create a core dump when it crashed. I suspect the problem it is having is with the RAID card. How do I parse through the description file to see if that is correct? http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html http://www.lemis.com/grog/Papers/Debug-tutorial/ Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: info about java ide
Le Tue, 24 May 2011 08:20:45 +0100, Jamie Paul Griffin grif...@gnix.co.uk a écrit : Hello, I need to install a Java ide and I'm looking for advice about which jdk component might be best to use with it. I was thinking about using netbeans so would I need to use the sun-linux-jdk16 for that or could I use openjdk instead. I use netbeans with openjdk6 or the sun/oracle version. That works fine, except the profiler which is not available on FreeBSD. Perhaps diablo-jdk16 would be better, I guess I'd need that to actually build the sun version anyway wouldn't I? Yes you need java to build java. If you build java with IPv6 you may have problem with the subversion module in netbeans, you have to specify -Djava.net.preferIPv4Stack=true on the java command line (or -J-D in netbeans.conf). Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Xfce4.8 Trash?
Hello, Since Xfce 4.8 the trash applet does not work : Can't connect to the trash. I've googled a bit but can't find any solution (Thunar, dbus and hal are running). This is a fresh install and not an update. Any tip? Thunar-1.2.1_1 garcon-0.1.7 gtk-xfce-engine-2.8.1 libexo-0.6.0 libxfce4gui-4.8.1 libxfce4menu-4.8.0 libxfce4util-4.8.1 mousepad-0.2.16_8 orage-4.8.1 xfce-4.8 xfce4-appfinder-4.8.0 xfce4-conf-4.8.0 xfce4-desktop-4.8.2 xfce4-mixer-4.8.0 xfce4-panel-4.8.3 xfce4-print-4.6.1_7 xfce4-session-4.8.1 xfce4-settings-4.8.1 xfce4-tumbler-0.1.21 xfce4-utils-4.8.1_1 xfce4-wm-4.8.1 xfce4-wm-themes-4.6.0_1 Thanks, regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xfce4.8 Trash?
Le Sun, 22 May 2011 10:09:37 -0400, Robert Simmons rsimmo...@gmail.com a écrit : Since Xfce 4.8 the trash applet does not work : Can't connect to the trash. I've googled a bit but can't find any solution (Thunar, dbus and hal are running). This is a fresh install and not an update. Have you tried this solution: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=796321+0+archive/2007/freebsd-ports/20070204.freebsd-ports Yes already tried this. I've rebuilt thunar to be sure this option was set but no luck. Thanks anyway. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xfce4.8 Trash?
Le Sun, 22 May 2011 18:56:11 +0300, George Liaskos geo.lias...@gmail.com a écrit : Since Xfce 4.8 the trash applet does not work : Can't connect to the trash. I've googled a bit but can't find any solution (Thunar, dbus and hal are running). This is a fresh install and not an update. Try installing devel/gvfs YES! good answer. Thanks a lot to all. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (8.2) amd64 + linuxulator + nvidia driver is it stable ?
Le Tue, 10 May 2011 19:41:35 +0200, Patrick Lamaiziere patf...@davenulle.org a écrit : Well if I still have crash, I will try with a 32 bits version. For the record, the box was not stable at all running amd64 and works perfectly in i386. I don't know why. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
(8.2) amd64 + linuxulator + nvidia driver is it stable ?
Hi, I've got a new box running 8.2-stable with amd64 + linuxulator + nvidia driver. Quite often when watching video on youtube the box freeze (no panic). Are there some known problems with this kind of configuration on amd64? (Works fine on my old laptop using 8.2/i386) I don't know where is problem, but one time the machine crashed just after a pkill of npviewer.bin (they were in the futex state), so it could be the linuxulator? Thanks, regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (8.2) amd64 + linuxulator + nvidia driver is it stable ?
Le Tue, 10 May 2011 11:55:06 -0500, Mark Felder f...@feld.me a écrit : Hello, I've got a new box running 8.2-stable with amd64 + linuxulator + nvidia driver. Quite often when watching video on youtube the box freeze (no panic). I've previously reported this to freebsd-emul and probably freebsd-stable, but nobody has been able to consistently create the issue so far. At one point it was happening often enough and I was getting so tired of fscking I moved my drive to mostly ZFS so I could boot up in a reasonable amount of time. Thanks Mark. Did you try the latest Nvidia driver (not in the ports yet : 270.41.06)? Looks a lot of better here (usualy the box freezes after only one or two videos) My graphic card is a GeForce GTX 460: vgapci0: VGA-compatible display port 0xbc00-0xbc7f mem 0xf400-0xf5ff,0xe800-0xefff,0xe400-0xe7ff irq 16 at device 0.0 on pci1 nvidia0: GeForce GTX 460 on vgapci0 vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io nvidia0: [ITHREAD] pciconf: vgapci0@pci0:1:0:0: class=0x03 card=0x086510de chip=0x0e2210de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = display subclass = VGA Well if I still have crash, I will try with a 32 bits version. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org