Re: Cloning a FreeBSD system
On 28/02/2012 03:24, Stephen Cook wrote: Hello all! I'm relatively new to FreeBSD but I'm enjoying it so far. I have FreeBSD 9.0 installed as a VirtualBox guest, and I plan on cloning it repeatedly to set up a fake network for me to toy with (e.g. setting up clusters of replicated databases, web server pools, etc). Another option to look at is using FreeBSD's Jails. Handbook chapter 16 Basically you can setup multiple jails on the machine that use the kernel of the base system (so it's not an entire emulated machine) but each jail has it's own environment, apps etc. --- Shane Ambler FreeBSD (at) ShaneWare (dot) Biz http://ShaneWare.Biz ___ 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: XFCE - how to edit menu ?
On 04/03/2012 17:37, jb wrote: Hi, I find it annoying having same items listed in multiple menus, e.g. - Accessories - Bulk Rename Orage Globaltime Terminal Thunar File Manager Help - Office - Orage Globaltime - System - Bulk Rename Terminal Thunar File Manager - Applications Menu - Help How can I edit the menus ? Also, how to rename Applications Menu to e.g. just Menu as it would better reflect applications and system (utilities) components ? I started looking at this a while ago, this is incomplete but could get you started. I am sure there was a page in the xfce wiki about customising menus. What I found is you start by right clicking on the application menu and show properties where you can change from default to custom file menu - ~/.config/menus/xfce-applications.menu matches the default and is an xml file. There is also some info that comes from the applications desktop files. I think the categories field links them to the matching category entries in the menu file. This is where newly installed apps just show up. Look in ~/.local/share/applications and /usr/local/share/applications for the *.desktop files - I believe the home dir versions override the /usr ones but haven't looked at what gets overwritten by reinstall etc. -- Shane Ambler FreeBSD (at) ShaneWare (dot) Biz http://ShaneWare.Biz ___ 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: oops, now: bsd question: how to record a tv stream?
On 12/03/2012 10:16, Da Rock wrote: On 03/12/12 07:19, Polytropon wrote: On Sun, 11 Mar 2012 13:28:19 -0700, Gary Kline wrote: here us a FBSD qauestion how can i capture any tv stream---or radio stream for later replay? I've been using a BrookTree ("Haupauge WinTV") PCI card for capturing from TV which worked very good using the standard programs mplayer and mencoder. For capturing TV programs, there may be some service like the Online TV Recoder which I occassionally use. Maybe this works also for radio programs? Additionally, there may be an option to download some kind of media streams. There are tools for that available. There is cx88 in the ports which will cover a lot of pci devices, and webcamd covers just about all the rest. Then use mplayer or another tool to record the stream. And if you're real tricky you can set it to record at a specific time and shut off at another specified time... :) I wrote a script for this; a bit hackish, but it gets the job done. I have to clean it up someday when I have the spare time. No one suggesting MythTV? I haven't used a tuner card but I thought MythTV was the one to use. -- Shane Ambler FreeBSD (at) ShaneWare (dot) Biz http://ShaneWare.Biz ___ 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: blu ray recorders
On 16/04/2012 18:04, Wojciech Puchar wrote: today BD recordable disks have prices that make sense as well as recorders. but as i never had one i want to ask - how it is used under FreeBSD. Does growisofs work just like with DVD-R or other tools are needed? I have an LG BH12LS38 blu-ray burner in a machine I bought in december. Running 9.0-RELEASE I haven't burnt a BD-R yet but I have used k3b (which is just a gui front end to growisofs,mkisofs,cdrecord,cdrdao,etc) to burn plenty of single layer dvd's. From the info I can see that cdrecord and growisofs list blu-ray in features. The prefs show the drive info with BD-R BD-RE listed in write capabilities. Available space jumps in sizes up to 50GB and it asks you to insert a blu-ray medium if file sizes total over 8GB It looks to have all the support needed. As for authoring a blu-ray to play in your home theatre it could be another story - I haven't looked into that. ___ 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: blu ray recorders
On 21/04/2012 00:29, Wojciech Puchar wrote: dvd's. From the info I can see that cdrecord and growisofs list blu-ray in features. already found - growisofs (which i use regularly) do support blu ray recording. so i will buy BD-recorder. the problem is - FreeBSD seems not to support >4GB files on CD9660 filesystem. mkisofs --iso-level 3 create it fine Even windoze can then see it properly, but FreeBSD shows multiple files. The mkisofs man page says iso/joliet/udf supports disk size up to 8TB and maximum single file up to 8TB with udf only up to 200GB single file. Personally I use the -UDF option to make an iso/udf hybrid as well as iso-level 3 and get a message that "files larger than 2GB found. These files will only be fully accessible if mounted with UDF" Just tested a disk now - on a dvd-r medium. One file of 4.3G and another of 29M If I mount_udf I see one file of 4.3G and one 29M. I find if I use mount_cd9660 I see two copies of the same file - showing as 4G each and one 29M. I don't see any difference using any of the options. -r--r--r-- 1 root wheel 4294965248 21 Apr 03:57 tester.file While that file size isn't a full 32 bit value it is close. My guess would be that the iso driver is still using a 32bit filesize df -h shows the cd9660 mounted size at 4.4G [leader:/] shane# mount_cd9660 /dev/cd0 /mnt/CD [leader:/] shane# ls -lah /mnt/CD/ total 8388612 dr-xr-xr-x 3 root wheel 2.0k 21 Apr 04:09 . drwxr-xr-x 4 root wheel 512B 6 Apr 15:40 .. -r--r--r-- 1 root wheel29M 8 Apr 14:34 animation.mp4 -r--r--r-- 1 root wheel 4G 21 Apr 03:57 tester.file -r--r--r-- 1 root wheel 4G 21 Apr 03:57 tester.file [leader:/] shane# umount /mnt/CD/ [leader:/] shane# mount_udf /dev/cd0 /mnt/CD [leader:/] shane# ls -lah /mnt/CD/ total 4551764 dr-xr-xr-x 2 root wheel 2.0k 21 Apr 04:09 . drwxr-xr-x 4 root wheel 512B 6 Apr 15:40 .. -r--r--r-- 1 root wheel29M 8 Apr 14:34 animation.mp4 -r--r--r-- 1 root wheel 4.3G 21 Apr 03:57 tester.file [leader:/] shane# umount /mnt/CD/ [leader:/] shane# uname -a FreeBSD leader.local 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Wed Feb 15 16:03:18 CST 2012 root@:/usr/obj/usr/src/sys/GENERIC amd64 ___ 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: upgrade of portupgrade
On 23/04/2012 17:13, n dhert wrote: Today, my nightly run of portsnap informed me there is un update for: # pkg_version -vIL= portupgrade-2.4.9.3.2< needs updating (index has 2.4.9.3_1,2) => SHA256 Checksum mismatch for pkgtools-2.4.9.3.tar.bz2.^M ===> Giving up on fetching files: pkgtools-2.4.9.3.tar.bz2 ^M Make sure the Makefile and distinfo file (/usr/ports/ports-mgmt/portupgrade/dist info)^M are up to date. If you are absolutely sure you want to override this^M check, type "make NO_CHECKSUM=yes [other args]".^M *** Error code 1^M What's this problem with pkgtools ??? I have a $ ls -la /usr/ports/distfiles/pkgtools-2.4.9.3.tar.bz2 -rw-r--r-- 1 root wheel 79394 Aug 23 2011 /usr/ports/distfiles/pkgtools-2.4.9.3.tar.bz2 but no 2.4.9.3_1,2 version And, strange: if I try http://www.freebsd.org/ports, Search for pkgtools in All it finds nothing ??? Isn't that package described ?? What's going on here and how to solve it ?? The issue would appear to be the recent update was messed up. You are getting an error as the distfile you have has a different md5sum than what was saved to the port files. pkgtools is the name of the project, even though the sourceforge project name and the port name is portupgrade. On github it is pkgtools. I would guess the port name was chosen to prevent conflicts with pkg_* named tools in the base system. I would wait for the maintainer to sort things out. Currently you can download a tar.gz from github or a tar.bz from sourceforge both identified as 2.4.9.3 but there is some file differences between them. As this is a new maintainer just taken over the port about a week ago you may want to email them or submit a pr. ___ 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 problem reports - bin/167156
On 25/04/2012 22:54, Taras Marusin wrote: Hello! How can I track the solution to this problem? T.Marusin -- Forwarded message -- From: Date: 2012/4/21 Subject: Re: bin/167156: looping process mksnap_ffs when run in a chroot environment named. CPU 100% To: Taras Marusin Thank you very much for your problem report. It has the internal identification `bin/167156'. The individual assigned to look at your report is: freebsd-bugs. You can access the state of your problem report at any time via this link: http://www.freebsd.org/cgi/query-pr.cgi?pr=167156 First as the submitter you should get emailed copies of any follow ups added to the report. Second the link at the end there will show all responses submitted to the problem report. You can check that page any time you want. ___ 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 on the ASUS P8H67-M LGA1155 H67 motherboard
On 16/05/2012 13:52, Victor Sudakov wrote: Colleagues, Do you have success stories running FreeBSD on an ASUS P8H67-M LGA1155 H67 motherboard? This will be mostly a desktop system on 9.0-RELEASE. I am worried especially about the Sandy Bridge video, shall I be able to use it with xorg at least in VESA modes? Do also the sound/NIC/etc drivers work well with this motherboard? I am running 9.0-RELEASE on an ASUS P8H61-M LE/USB3 with a corei5 Having the same audio and LAN chips I can say they work. Had some trouble getting the audio working to start with, vaguely recall it was something with the generic sound detection didn't pick the right driver, once I enabled one specific sound device I haven't had trouble (also that was back in rc3). Only using stereo speakers so can't vouch for any surround features. Add snd_hda_load="YES" to /boot/loader.conf Using an Nvidia PCIe card - haven't tried the on-board video. ___ 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 on the ASUS P8H67-M LGA1155 H67 motherboard
On 17/05/2012 14:31, Victor Sudakov wrote: Thanks for the good news. Can you please show 'cat /dev/sndstat' and what the kernel thinks about the NIC (is it the re(4) driver?) cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: (play) pcm1: (play) pcm2: (play/rec) default pcm3: (play/rec) pcm4: (play) dmesg hdac0: HDA Codec #0: NVidia (Unknown) pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 0 nid 1 on hdac0 hdac1: HDA Codec #0: Realtek ALC887 pcm2: at cad 0 nid 1 on hdac1 pcm3: at cad 0 nid 1 on hdac1 pcm4: at cad 0 nid 1 on hdac1 re0: port 0xd000-0xd0ff mem 0xf2104000-0xf2104fff,0xf210-0xf2103fff irq 18 at device 0.0 on pci4 re0: Using 1 MSI-X message re0: Chip rev. 0x2c80 re0: MAC rev. 0x miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Ethernet address: 14:da:xx:xx:xx:xx ifconfig re0: flags=8843 metric 0 mtu 1500 options=389b ether 14:da:xx:xx:xx:xx inet 192.168.xx.xx netmask 0xff00 broadcast 192.168.xx.xx inet6 fe80:::::%re0 prefixlen 64 scopeid 0x3 nd6 options=23 media: Ethernet autoselect (100baseTX ) status: active ___ 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: portsnap update won't update original /usr/ports
On 23/05/2012 08:32, Gary Aitken wrote: According to the handbook, one can do portsnap fetch portsnap update and the update will work with a previously created ports tree; I presume this includes one created during system install. However, when I attempted this, portsnap complained: /usr/ports was not created by portsnap. You must run 'portsnap extract' before running 'portsnap update'. Is there a way to use portsnap against this tree, or must I delete the existing /usr/ports and do an extract first? 'portsnap extract' will write over whatever is in /usr/ports so you don't have to delete what is there. Any distfiles or packages will remain intact. You need to start with 'portsnap extract' so that portsnap gets a reference point to use for updates - which only adds changes since last update ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ZFS mounting order
On 21/05/2012 00:11, Chris Brennan (lists) wrote: Greetings! I have a FreeBSD 9 system with 3 different ZFS pools on it. I am booting from a ro CF Card w/o any major issues, the problem I am encountering is that zroot needs to be mounted at boot first, because it contains /usr, zhome and tank contain other various sub-partitions of /usr. Also, zroot causes me a lot of problems when I try to do "zpool import", when zpool gets to probing zroot, I get g_vfs errors printed to the console and the hacnine hangs till I reset it (which is obviously not acceptable behavior.) I was able to get around this when booting to my cf card by making / ro, which was my intention all along for that media.) I suspect this happens because there is a on that volume that is trying to replace something on / on either the USB boot img or on my CF card and this might be causing either to freak out. So I dunno what to do to get this working the way it should and some guidence would be greatly appreciated! Sounds like something I came across and haven't gathered more details to submit a pr yet. I think there is a problem when two zpools have the same mountpoint - either / or legacy or one of each that prevents startup. Also zfs filesystems with matching mountpoints appear to mount together and cause issues, not sure if this extends to existing ufs mount points. Check the mountpoint settings on each filesystem 'zfs get mountpoint' will list them all. ___ 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: Using svn to checkout a deprecated port.
On 19/02/2013 05:53, Christopher Sean Hilton wrote: Hi, I need to use svn to checkout the old "security/cfs" port so I can do a one-time transfer of some data off of a USB drive. At the end of the day, I just need the one port so if the cvs repository is available I could also get it that way. In either case, I'm trying to do the equivalent of: $ cvs co -r '2011/10/01' $FreeBSDportsRepo security/cvs in English, I want to checkout security/cvs from ports as it existed on October 1st, 2011 (the port was deprecated on November 1st 2011. It appears that checking out a deleted path doesn't work even if you specify a rev that it exists in. But checking out the parent works. I'd check it out to another dir then copy the specific files over. svn co -r 282000 svn://svn.freebsd.org/ports/head/security/ You can change the svn.freebsd.org to svn0.us-east.FreeBSD.org or svn0.us-west.FreeBSD.org For reference I went to http://svnweb.freebsd.org/ports and clicked the revision number at the top (above the sticky revision box) then tried jumping to a few different rev numbers till I got close to a commit date just before 2011/10/01. Once you have the rev you want you can go back up to ports (link at top of page) and enter a sticky revision. Then you can go to security/cfs and view the files. ___ 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 and networking
It's been a while since I experimented with jails but I'm pretty sure it is the reason I changed my sshd_config When you start sshd on the base system by default it binds against 0.0.0.0 and :: which is every ip4 and ip6 address configured on the base system, which includes the aliased ip's for your jails. This is represented by the *:22 from sockstat. When you start the jail it can't start sshd because the base already has that address/port in use. In /etc/ssh/sshd_config comment out the ListenAddress 0.0.0.0 and ListenAddress :: then add ListenAddress 10.0.0.3 service sshd restart start your jail and try again The jail config is fine as the jail only sees the one ip address assigned to 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: cdrecord: Please report.
On 21/02/2013 10:22, Ronald F. Guilmette wrote: Now that I've ``upgraded'' from 8.3-RELEASE to 9.1-RELEASE it appears that good old burncd no longer works, apparently because the CD/DVD drive is now exclusively handled as an ATAPICAM device. There are a few problem reports for cdrecord already - it sounds like the issue is from package installed versions of cdrtools, the solution seems to be compile from ports instead of installing from a pre-built package. I can say I have compiled from ports and don't have an issue burning dvd's - I have just upgraded to 9.1 from 9.0. I was going to say I have atapicam enabled but it appears that it isn't able to load on my system. Apparently ATA_CAM is a default part of 9.x and atapicam isn't needed, even though the module is still compiled. So, um, WTF? To whom am supposed to "report" this failure? While you can email the port maintainer it is generally best to report through the freebsd website. Under support you can start with Bug reports to search if someone else has already reported it, then either Submit Followup (bottom of page) to an existing report with more information or Submit Bug-report if you need to create a new report. ___ 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 and networking
On 22/02/2013 05:52, Devin Teske wrote: What I find strange is that: 1. I knew about ListenAddress w/respect to jails, but... 2. We are not changing it (sshd_config has no ListenAddress -- leading to default values used), yet... 3. Base machine and jails both work fine Not sure when it's required versus not, because we're running fine without that change here with over a dozen jails. The only thing I've ever noticed is that we tend to use jail_NAME_ip="iface|addr" while most everybody else seems to be using jail_NAME_ip="addr". We may need to expand out from that. I use jail_NAME_ip="addr" but also ipv4_addrs_re0="10.0.0.254/24 10.0.0.1-5/24" route_jaillan0="-net 10.0.0.0/24 10.0.0.254" static_routes="jaillan0" Don't recall where I got that from but think it was an easy way to alias a number of ip's whereas ifconfig__alias0 sets one ip at a time and is also deprecated. If you use jail_NAME_ip="iface|addr" does this mean you don't have ip addresses aliased to the iface on startup and they get aliased as the jail starts? That would be why sshd isn't bound to the address before. man rc.conf for jail__ip says "... Additionally each address can be prefixed by the name of an interface followed by a pipe to overwrite" does that mean it clears the ip from the base system and re-creates it for the jail? I also see jail__interface "...When set, sets the interface to use when setting IP address alias. Note that the alias is created at jail startup and removed at jail shutdown." Which is what sounds like the solution to not have ip's available when sshd starts so it isn't bound to them. Also what sys version were these options added? ___ 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: I made a mess. libc
On 22/02/2013 10:07, Bernt Hansson wrote: Yes that is an idea. Since Damien was kind to host the file I downloaded it and will try later today (friday) The problem is I can't burn or otherwise get in to the machine. libc.so.7: invalid file format You missed the earlier suggestion - at the single user prompt for a shell don't just hit enter - type in /rescue/sh ___ 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: svn.freebsd.org over https fails
On 26/02/2013 08:39, Nikos Vassiliadis wrote: Hi, Since a few weeks connecting to svn.freebsd.org over https fails. Is this deliberate? It used to work... Thanks in advance, Nikos Not sure about it working before but I don't see svn.freebsd.org responding to https now. The two mirrors do respond to https - svn0.us-east.freebsd.org svn0.us-west.freebsd.org If you don't get the two mirrors responding then you are probably using openssl from ports? make sure you update to 1.0.1_8 it fixed svn over https a couple of weeks ago. ___ 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: Booting from an aribrary disk in ZFS RAIDZ on 8.x
On 06/03/2013 05:14, Doug Poland wrote: Hello, I'm running ZFS filesystem ver 3, storage pool ver 14, on 8-STABLE amd64. The kernel build is rather dated from around Feb 2010. You probably want to update that sometime. I have 6 disks in a RAIDZ configuration. All disks were sliced the same with gpart (da(n)p1,p2,p3) with bootcode written to index 1, swap on index 2 and freebsd-zfs on index 3. Given this configuration, I should be able to boot from any of the 6 disks in the RAIDZ. If this is a true statement, how do I make that happen from the loader prompt? You don't boot from an individual disk you boot from a zpool - all disks are linked together making one zpool "disk". At the loader prompt when I type show, I get the following relevant variables: currdev="zfs0" loaddev="disk1a:" vfs.root.mountfrom="zfs:rpool" zfs:rpool is the "disk" you boot from. I'm guessing that you ask as your machine isn't booting. You probably need to boot from a cd and do adjustments. You have zfs_load=yes in /boot/loader.conf ? You have vfs.root.mountfrom="zfs:rpool" in /boot/loader.conf ? You have zfs_enable=yes in /etc/rc.conf ? You have zpool set bootfs=rpool rpool or similar? I think it has been resolved recently but you used to have to copy the zpool.cache into /boot Did you set the mountpoint when installing and not change it back? I had issues with setting up with a mountpoint / and changing it to legacy. Setting the mountpoint as you want before setup then use altroot to mount it for install is the way to go. If you search wiki.freebsd.org for zfs you can find several examples that may provide hints to what you missed. ___ 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: Booting from an aribrary disk in ZFS RAIDZ on 8.x
On 06/03/2013 14:54, Doug Poland wrote: On Wed, Mar 06, 2013 at 01:26:07PM +1030, Shane Ambler wrote: On 06/03/2013 05:14, Doug Poland wrote: I have 6 disks in a RAIDZ configuration. All disks were sliced the same with gpart (da(n)p1,p2,p3) with bootcode written to index 1, swap on index 2 and freebsd-zfs on index 3. Given this configuration, I should be able to boot from any of the 6 disks in the RAIDZ. If this is a true statement, how do I make that happen from the loader prompt? You don't boot from an individual disk you boot from a zpool - all disks are linked together making one zpool "disk". Something has to pick a physical device from which to boot, does it not?. All the HP Smart Array 6i controller knows is I have 6 RAID 0 disks to present to the OS. I meant to add if the bootcode is installed on each disk then pointing the bios to any individual disk as the primary boot device will lead to the boot process loading the zpool. Installing it on each disk gives the redundancy to match the raid in the zpool. If you only have one disk with bootcode and it is the one that needs replacing then you can't boot. Then having 100 disks in a pool with bootcode would be overkill, but the consistency may be easier to maintain. I'm guessing that you ask as your machine isn't booting. You probably need to boot from a cd and do adjustments. Not exactly, I have a failing disk in slot 0, which corresponds to da0 in my device list (AKA gpt/disk0). I want to make sure I can boot if I pull this disk and replace it. If the zpool redundancy is sufficient for the zpool to work without the drive it shouldn't make any difference as to how the disk "disappears" only that the data is accessible/rebuildable. I've had issues with this RAID controller in the past where it won't present the new disk to the OS. I've had to reboot, go into the RAID config and tell it it's a single RAID 0 device (stupid, I know). When you think about it, as a raid controller it shouldn't make assumptions as to how to use the new disk, should it add it to an existing raid set, replace a missing drive or show it as a new single drive? Being able to specify per socket as permanently jbod could be useful feature though. The roll of /boot/zfs/zpool.cache is a mystery to me. I belive it somehow tells ZFS what devices are in use. What if a disk goes offline or is removed? As I understand it the zpool.cache contains the zpools mounted by the system. After reboot it then re-imports each zpool in the cache. I believe a recent commit enabled the vfs.root.mountfrom zpool to be imported even if there was no cache available. From what I have heard and seen the data about the zpool it belongs to and the role the disk plays in the zpool is stored on each disk and duplicated at the beginning and end of the disk. In my early experiments after starting clean even after gparting and zeroing out the start of the disks, zpool still says it belongs to a pool. ___ 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: fbsdmon error message
On 09/03/2013 22:24, Jerry wrote: After working fine for over a year, the "ports-mgmt/fbsdmon" port has started spitting out errors once a week for the past month. ** Rebuilding locate database: Rebuilding whatis database: makewhatis: /usr/local/man/man3/EVP_PKEY_verifyrecover_init.3.gz: No such file or directory Sending statistic to fbsdmon.org -- End of weekly output -- * The error isn't from fbsdmon, the message is from the weekly periodic run which has fbsdmon on it's list of tasks. The error is from the task before fbsdmon - rebuilding the whatis database. While I know the error originates from an openssl item being renamed from EVP_PKEY_verifyrecover_init to EVP_PKEY_verify_recover_init I'm not sure why it still tries to find the old man page. ___ 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: fbsdmon error message
On 10/03/2013 23:27, Jerry wrote: On Sun, 10 Mar 2013 21:13:10 +1030 Shane Ambler articulated: While I know the error originates from an openssl item being renamed from EVP_PKEY_verifyrecover_init to EVP_PKEY_verify_recover_init I'm not sure why it still tries to find the old man page. Should a PR be filed against this or has one all ready been filed? I didn't find any. A pr should probably be submitted, I haven't. While the fix may be to clear a cache file, there should be a way to stop makewhatis always searching for non-existent man files. ___ 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: Installing openssl from ports
On 22/03/2013 04:36, Jim Ballantine wrote: But when I attempt to install the latest openssl for the port system, it fails with a conflict (installs file in the same place) with heimdal. Take a close look at the message and what happens before. openssl only gives a conflict message if the base version is newer than the port. Heimdal conflicts with krb4 krb5 and srp Any other conflicts will be from dependencies, you'll need to check what port brings in a dependency that generates the conflict. ___ 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"
security/heimdal generates openssl conflict [was - Re: Installing openssl from ports]
On 23/03/2013 00:21, Jim Ballantine wrote: Both openssl and heimdal install fine from the base system src, it's only when I try to install openssl from the ports, with heimdal installed by the base system that I get the error. When I run make install, what I get before the conflict message is: ===> Compressing manual pages for openssl-1.0.1_8zopenssl-1.0.1_8 ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib Installing openssl-1.0.1_8...pkg: openssl-1.0.1_8 conflicts with heimdal-1.5.2_4 (installs files into the same place). Problematic files: /usr/local/man/man3/DH_generate_key.3.gz > *** [fale-pkg] Error code 70 I'll make the subject a bit more descriptive and cc the heimdal maintainer. The error appears to be generated by pkg and would indicate that you have installed heimdal from ports. heimdal uses libcrypto from openssl and may have been installed as a dependency for another port. The base system doesn't install into /usr/local and pkg shouldn't monitor any files installed by the base system, so the conflict with /usr/local/man/man3/DH_generate_key.3.gz must be from the heimdal port. I just tried a compile of heimdal within tinderbox where I have set WITH_OPENSSL_PORT=true and the log for the heimdal indicates that it deletes man pages installed by security/openssl. So either heimdal installs a duplicate copy of the openssl man pages or it erroneously includes the man pages in it's package list generation. part of tinderbox log - ===> Building package for heimdal-1.5.2_4 Deleting heimdal-1.5.2_4 === Checking filesystem state list of files present before this port was installed but missing after it was deinstalled) ./usr/local/man/man3/DES_cbc_cksum.3.gz missing ./usr/local/man/man3/DH_free.3.gz missing ./usr/local/man/man3/DH_generate_key.3.gz missing ./usr/local/man/man3/DH_get_default_method.3.gz missing ./usr/local/man/man3/RSA_new.3.gz missing ./usr/local/man/man3/RSA_new_method.3.gz missing ./usr/local/man/man3/RSA_set_method.3.gz missing Deleting sqlite3-3.7.14.1 Deleting openssl-1.0.1_8 pkg_delete: file '/usr/local/man/man3/DH_generate_key.3.gz' doesn't exist pkg_delete: file '/usr/local/man/man3/DH_new.3.gz' doesn't exist pkg_delete: file '/usr/local/man/man3/DH_set_method.3.gz' doesn't exist pkg_delete: file '/usr/local/man/man3/DES_set_odd_parity.3.gz' doesn't exist pkg_delete: file '/usr/local/man/man3/DES_string_to_key.3.gz' doesn't exist pkg_delete: couldn't entirely delete package `openssl-1.0.1_8' (perhaps the packing list is incorrectly specified?) Deleting libtool-2.4.2 Deleting libXt-1.1.1,1 Deleting db41-4.1.25_4 ___ 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: security/heimdal generates openssl conflict [was - Re: Installing openssl from ports]
On 26/03/2013 00:42, Jim Ballantine wrote: Hi I had removed the port, but it was reinstalled as a dependency of other ports. I have WITH_OPENSSL_PORT=yes in /etc/make.conf, and after I do a pkg delete -f heimdal openssl installs fine, but when I try to install heimdal from ports (with DISABLE_CONFLICTS= openssl-1.0.1_8 in the Makefile) the installs ends with: Stop in /usr/ports/security/heimdal. So I must be doing something wrong, but what?? Your not doing anything wrong, that's why I cc'd the last email to the heimdal maintainer. I might look at making a patch to fix it today and submit a PR as it appears the maintainer didn't respond to a previous PR From what I see heimdal includes the openssl man pages in it's list of files it installs, the new pkg system is picking up the same files installed by openssl and heimdal and preventing the conflict, while the old install system overlooked it. Either the man pages list is incorrect or heimdal installs a duplicate copy of the openssl man pages - maybe this could be disabled if openssl from ports is used. ___ 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: Status of Xen/Dom0 on FreeBSD?
On 26/03/2013 23:30, C. P. Ghost wrote: Hello, I'm wondering if there's been some progress on the Xen/Dom0 front recently. The Wiki https://wiki.freebsd.org/FreeBSD/Xen still doesn't show any improvements in this area, but it may also be outdated (?). Not sure about any Xen/Dom0 work but I get the impression that bhyve is the focus of freebsd development in that area. https://wiki.freebsd.org/bhyve ___ 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: security/heimdal generates openssl conflict [was - Re: Installing openssl from ports]
On 26/03/2013 11:53, Shane Ambler wrote: Either the man pages list is incorrect or heimdal installs a duplicate copy of the openssl man pages - maybe this could be disabled if openssl from ports is used. For reference - heimdal includes source for libhcrypto which it uses if openssl is not present. While it doesn't install libhcrypto it still installs the man pages which conflicts with the openssl port man pages. I have submitted a patch to fix this - http://www.freebsd.org/cgi/query-pr.cgi?pr=177397 ___ 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: external hdd
On 30/03/2013 09:43, Chuck Swiger wrote: Hi-- On Mar 29, 2013, at 3:52 PM, Damien Fleuriot wrote: On 29 March 2013 18:06, Chuck Swiger wrote: Time Machine is only supported on top of journaled HFS+; I'm not sure how fusefs-hfs is doing on FreeBSD, though. Or you could setup multiple partitions and have an exFAT partition for data interchange between other OSes. Now, unless I got things wrong, I believe you're mistaken. The key word above which folks might not be paying enough attention towards-- particularly in the context of a backup solution-- is "supported". I, for instance, have a Time Machine server running on top of 10.0-CURRENT with ZFS. http://www.area536.com/projects/ironclad-time-machine-backups-on-freebsd/ Indeed. As one might note on that page: defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1 ^^^ The real point to notice is that the mentioned zfs storage is accessed over the network not over a local usb/sata cable. The freebsd server reads/writes to zfs the remote mac only talks afp over tcp seeing it as another network fileserver. While 10.5 included a zfs read-only kext apple removed it in 10.6 or 10.7. There is an oss version of zfs started that appears to have been revived - maczfs.com. There is also a commercial package for osx zfs - zevo. I'm not vouching for either of these just mentioning that they exist. ___ 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: Recipie for CPU souffle'
On 02/04/2013 13:32, Ronald F. Guilmette wrote: I've now installed mbmon and xmbmon and will be watching the CPU temp closely for awhile. I really wish that one or the other of those tools allowed setting a threshold CPU temp, beyond which the tool would emit an ear piercing alarm via the motherboard speaker... you know.. in case the regular external stereo speakers are turned off. It's been a while since I used it but conky is pretty customisable. Worst case you have it run your own scripts that returns monitored values and performs whatever steps you want at the thresholds. ___ 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: C++ headers
On 13/04/2013 21:45, Jason Lenthe wrote: Is it possible to get C++11 support on FreeBSD? Currently the 9.1-RELEASE has some compiler C++11 capable but the /usr/include/c++ headers lacks some c++11 features (and missing headers). Is there any port of c++11 available? There sure is. Just get the latest version of gcc or clang from the ports collection. The new C++11 libs are planned to be part of 10.0 base install You can build 9.1 with the new libs by adding WITH_LIBCPLUSPLUS=yes to your src.conf before building world. Which needs to be built with clang. For more info see https://wiki.freebsd.org/NewC++Stack ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ZFS mirror install /mnt is empty
On Mon, 13 May 2013 08:40-0400, Paul Kraus wrote: On May 13, 2013, at 1:58 AM, Trond Endrestøl wrote: Due to advances in hard drive technology, for the worse I'm afraid, i.e. 4K disk blocks, I wouldn't bother enabling compression on any ZFS file systems. I might change my blog posts to reflect this stop gap. I guess it's due to my (mis)understanding that files shorter than 4KB stored on 4K drives never will be subject to compression. And as you state below, the degree of compression depends largely on the data at hand. I don't want to start a big discussion but want to express an opinion that others may think about. When it comes to disk compression I think people overlook the fact that it can impact on more than one level. The size of disks these days means that compression doesn't make a big difference to storage capacity for most people and 4k blocks mean little change in final disk space used. One thing people seem to miss is the fact that compressed files are going to reduce the amount of data sent through the bottle neck that is the wire between motherboard and drive. While a 3k file compressed to 1k still uses a 4k block on disk it does (should) reduce the true data transferred to disk. Given a 9.1 source tree using 865M, if it compresses to 400M then it is going to reduce the time to read the entire tree during compilation. This would impact a 32 thread build more than a 4 thread build. While it is said that compression adds little overhead, time wise, it is going to take time to compress the data which is going to increase latency. Going from a 6ms platter disk latency to a 0.2ms SSD latency gives a noticeable improvement to responsiveness. Adding compression is going to bring that back up - possibly higher than 6ms. Together these two factors may level out the total time to read a file. One question there is whether the zfs cache uses compressed file data therefore keeping the latency while eliminating the bandwidth. Personally I have compression turned off (desktop). My thought is that the latency added for compression would negate the bandwidth savings. For a file server I would consider turning it on as network overhead is going to hide the latency. ___ 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: Connecting EFTPOS terminals to FreeBSD
On 15/05/2013 12:13, Da Rock wrote: If anyone has some dev material (or links to such) would be handy as well- I need to get a far better picture of all this. I don't have any experience to help but ledgersmb.org may be what you are looking for - they have free community support as well as commercial options. ___ 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: [offtopic] ZFS mirror install /mnt is empty
On 15/05/2013 15:55, Trond Endrestøl wrote: Am I the only one to receive these emails twice, delayed only by a couple of days since receiving the original emails? Judging be the headers below this is either misconfiguration, a MITM attack or something else. yes I got a duplicate of the original message. I just noticed that I also some got duplicates of pr responses. In pr/178505 the closed message is listed before the commit which is time stamped just before the close and then there is a duplicate of my response listed after the commit. Now I'm thinking it may be me, maybe my copy of thunderbird didn't save the sent status and resent duplicates? ___ 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 port upgrade consistency using portsnap
On 19/05/2013 15:49, fddi wrote: Hello, I am using portsnap to update my port collection on FreeBSD 9.1 the first time I ran it a few weeks ago I did| || |||portsnap fetch| || |and then portsnap exctract then I did a crontab script to update ports every night 0 3 * * * /usr/sbin/portsnap -I cron update && pkg_version -vIL= Now after a few weeks pkg_version is reporting me a lot of ports which needs updating py27-sqlite3-2.7.3_3< needs updating (index has 2.7.5_3) python27-2.7.3_6< needs updating (index has 2.7.5) That is correct. You are confusing two different things. portsnap updates the ports tree, which contains the files needed to compile the programs you install. It is only information about the programs and version with instructions to compile. portsnap does not install the programs for you. pkg_version is telling you that the ports tree has information on new versions available of programs you have installed. if I use portmaster to upgrade my ports collection it is telling me all packages are up to date... so there is something not working portmaster installs the binary programs for you. Look into this later if the later info doesn't fix it. for example py27-sqlite3-2.7.3_3< needs updating (index has 2.7.5_3) This is a python library to add access to sqlite db files. Don't confuse it with python itself. The Makefile for this will be in databases/py-sqlite3 but if I go into /usr/ports/lang/python27 and I look in Makefile, it reports PORTNAME= python27 PORTVERSION=2.7.3 PORTREVISION= 6 While this isn't the Makefile for py-sqlite3, pkg_version is telling you it knows about python 2.7.5 so this is not the Makefile that pkg_version is looking at, but it would appear to be the file that portmaster is looking at. It looks like you have two copies of the ports tree. Check /etc/portsnap.conf you may have an odd setting for PORTSDIR. Another possibility is you have an odd PORTSDIR defined in your environment, what does echo $PORTSDIR show? You may also have bad settings in cron - run portsnap fetch update manually and see if python27/Makefile changes Start by sorting out why pkg_version and portmaster are using different files before you progress further. ___ 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 is ports web page so far out of date
On 05/06/2013 17:00, Waitman Gobble wrote: If you must have a web based version, another option is DIY roll your own ports index based on your own local ports tree. At least you can set it up how you want. a simple quick-together script running on my computer: https://dx.burplex.com/FreeBSD-ports/index.php there's a github link at the bottom of the page you can hack on if you wanna. cool thing is you can easily cross-reference all the corresponding gnats PR files in your mailbox to the generated port page, i'll add that bit tomorrow. That looks useful. One thing I would think of adding is a search box. I would have thought of breaking the lists into pages but am surprised at how fast the longer pages are generated. One port that it has an issue with is devel/pear-HTML_Select_Common the in the pkg-desc consumes all the following ports info. So you probably want to escape or translate "<" ">" into < > ___ 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: Panic/reboot while trying to install 9.1 on a HP Proliant DL580G5
On 06/06/2013 23:41, Ewald Jenisch wrote: Here's what I tried so far: o) Updating BIOS, array-controller, iLO to the latest version o) Booting the installation DVD in safe-mode o) Booting the installatino DVD verbose mode o) Escaping to the loader prompt, entering kern.eventtimer.periodic=1 kern.eventtimer.timer="LAPIC" and booting the install-DVD with these settings (I once could boot and older HP-server using these settings, so I tried them here too) ("FreeBSD-install-crash-HP-Proliant-DL580-G5-04.jpg" shows the actual panic/stacktrace) Just guessing from what I see - The panic is "No usable event timer found!" Have you tried kern.eventtimer.periodic=0 or other values for kern.eventtimer.timer? Is the panic the same without the loader adjustments? Can you boot into single user mode? what does sysctl kern.eventtimer.choice show? Does it boot 8.3 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: /etc/make.conf && CURDIR
On 09/06/2013 23:46, Matthias Apitz wrote: Hello, I have the kernel sources not in /usr/src/sys, but elsewhere; I can not get set correctly SYSDIR via /etc/make.conf for some ports (or other values like USE_GCC, ...); if I have in /etc/make.conf these lines: .if ${.CURDIR:M*/multimedia/cuse4bsd-kmod*} SYSDIR=/usr/home/guru/head/src/sys > .endif it works, but if I let away the '*' in the line, i.e. .if ${.CURDIR:M*/multimedia/cuse4bsd-kmod} SYSDIR=/usr/home/guru/head/src/sys > .endif the 'make' asks me to set SYSDIR: # make clean install ... building shared library libcuse4bsd.so.1 gzip -cn cuse4bsd.3 > cuse4bsd.3.gz make -f /usr/ports/multimedia/cuse4bsd-kmod/work/cuse4bsd-kmod-0.1.27/Makefile.kmod all "/usr/share/mk/bsd.kmod.mk", line 12: Unable to locate the kernel source tree. Set SYSDIR to override. *** [all] Error code 1 Why is this? Thanks. The system runs 10-CUR r250588 i386. You'll find the trailing asterix is a wildcard to match any sub dirs. When building CURDIR only contains multimedia/cuse4bsd-kmod - CURDIR will be something like /usr/ports/multimedia/cuse4bsd-kmod/work/cuse4-bsd-kmod-0.1.27/ The pre and post * matches all paths with multimedia/cuse4bsd-kmod in them - usually pretty unique when building within the ports dirs. ___ 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: Panic/reboot while trying to install 9.1 on a HP Proliant DL580G5
On 14/06/2013 23:33, Ewald Jenisch wrote: On Fri, Jun 07, 2013 at 10:41:01AM +0930, Shane Ambler wrote: Just guessing from what I see - The panic is "No usable event timer found!" I did say just guessing and thought someone more knowledgeable may have spoken by now. One thing I did find - there is a freebsd-proliant mailing list that may be more helpful than here. Thanks much for the hints you sent me. Since I'm pretty swamped with work it took me a couple of days before I could go on with my tests. Can you boot into single user mode? Nope - freezes at the exact same point during boot. what does sysctl kern.eventtimer.choice show? Well - nothing to be honest: "variable 'kern.eventtimer.choice' not found" Wondering if the system needs to be running to see that. Have you tried kern.eventtimer.periodic=0 or other values for kern.eventtimer.timer? With "kern.eventtimer.periodic=0" - same result. What other values would be valid for "kern.eventtimer.timer"? That's where the eventtimer.choice comes in. As an example on my asus mb I get kern.eventtimer.choice: LAPIC(600) HPET(550) HPET1(440) HPET2(440) HPET3(440) HPET4(440) i8254(100) RTC(0) I thought in single user mode you could see your list of available options. Is the panic the same without the loader adjustments? Yes, absolutely the same. Does it boot 8.3 ? Haven't tried this, since I need to go to 9.1 on this system anyway. Besides that the server is in a remote DC so changing disks is not an easy thing to do. If 8.3 boots it then you can patch and compile your own kernel that supports your hardware. Being remote it may not be helpful unless you can have some indication that it will boot 8.3 ___ 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: When to submit regression in a PR
On 21/06/2013 17:12, Aymeric Mansoux wrote: My question therefore is: while I will mention these problems upstream, should I also make the PR? Contact the port maintainer directly? I understand it is not FreeBSD specific (same issue on Debian Sid) however it really make the current port unusable for those working on laptops and those needing to input characters only reachable with the compose key. I would. While the ports are handled separately from the base system they need to be maintained as well. If a version of a port has issues then an older version could stay in place. The pr system is used for ports as well as the base system. Can't say I'm sure which key you refer to as compose - do you mean Alt or Ctrl? I have heard of the ctrl key being remapped to the caps lock for continuous use. You may also look into turning on sticky keys, it keeps a modifier key active without holding it down so that the next key pressed has the modifier included. see x11/xkbset ___ 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: FFMpeg and FreeBSD
On 27/06/2013 09:57, Simon wrote: Hello Everyone, Does anyone use the latest FFMpeg version 1.2 and FreeBSD? How did you compile it? did you run into any issues? The FFMpeg port is 6+ months behind and I feel like I'm the only one who uses this which would be very odd given everything uses video nowadays. You need to look a little closer. We have three versions available in ports - multimedia/ffmpeg which is at 0.7.15 multimedia/ffmpeg1 which is at 1.2.1 - updated 2 days ago multimedia/ffmpeg-devel which is an svn snapshot at 2012.10.13 You will find a lot of ports are still configured to use 0.7.15. The main catch is the ports are designed to co-exist so ffmpeg1 has the trailing 1 added to all the lib/cli names. I have had no problems using ffmpeg1 with my version of blender for several months now. It has a cmake option for lib names and then I added include/ffmpeg1 to C/CXXFLAGS and lib/ffmpeg1 to LDFLAGS. ___ 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: FFMpeg and FreeBSD
On 29/06/2013 02:07, Giorgos Keramidas wrote: I have had no problems using ffmpeg1 with my version of blender for several months now. It has a cmake option for lib names and then I added include/ffmpeg1 to C/CXXFLAGS and lib/ffmpeg1 to LDFLAGS. Hi Shane, This should probably be in the multimedi chapter of the Handbook or the FAQ, or in the UPDATING file of the ports. Would you mind if I copied parts of the text and added them to e.g the FAQ? sure - I'm thinking FAQ. Maybe start with the following - To use ffmpeg1 with an existing port. The first step is to get the ffmpeg1 headers and libs found, this should be easily accomplished with the following (an easy way to first check that the port compiles with ffmpeg1) - CFLAGS+=-I${LOCALBASE}/include/ffmpeg1 CXXFLAGS+= -I${LOCALBASE}/include/ffmpeg1 LDFLAGS+= -L${LOCALBASE}/lib/ffmpeg1 If the project source hasn't kept up with ffmpeg changes then you may be able to replace some of the old functions to quickly keep it working with the newer version. Blender can be source of inspiration for this - http://projects.blender.org/scm/viewvc.php/trunk/blender/intern/ffmpeg/ffmpeg_compat.h?view=markup&root=bf-blender The next step is to get it linking with the new lib names, these are the ffmpeg lib names with a 1 appended to them eg. libavcodec1 instead of libavcodec. Some ports may have options to make this easy for example graphics/blender has a cmake variable called FFMPEG_LIBRARIES so adding CMAKE_ARGS+=-DFFMPEG_LIBRARIES:STRING="avformat1;avcodec1;avutil1;avdevice1;swscale1" to the port Makefile handles that. Other ports may need a search and replace such as sed 's|avcodec|avcodec1|g' or a patch manually made for their Makefiles. ___ 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: chrome does not refresh screen content
On 08/07/2013 19:29, CeDeROM wrote: Hello :-) I have noted this nasty and disturbing problem with Chromium that it very often does not refresh screen/display so I get result after few seconds or need to refresh page to see a change. It does not happen with other browsers and/or x-applications. Did anyone notice that problem? I am using public pkgng binaries from http://mirror.exonetric.net/pub/pkgng/freebsd:9:x86:64/latest. I guess it might be related to some stuff with GTK... I see this issue while playing videos in vlc, it's not 100% but close, so it may be related to video resolution or codec. As soon as I stop the video (not pause but stop) the windows draw properly again. If your not running vlc at the time could the vlc plugin be running for media on a web page? I have seen this with chrome and a few other apps. Been a while since I started a video while a page was open, but starting chrome while a video is playing leaves only a blank window (the toolbar/bookmarksbar draw but the rest of the window is blank) - the page is loaded but not drawn, I get tooltips and cursor changes as I hover over where links etc should be on the web page. chrome clipgrab(qt) and even vlc(qt) are the ones I can think of now - vlc shows this issue with it's extra windows - eg playlist, preferences. I'm running 9.1 amd64 with nvidia-driver-310.44_1 xorg-7.7 xfce-4.10_5 ___ 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: chrome does not refresh screen content
On 09/07/2013 18:52, CeDeROM wrote: Your VLC/Xorg refresh related problem may be related to invalid Xorg configuration - please search for hald and xorg autodetectinput - if you have frozen screen until you move a mouse this is it and you can solve it relatively easy :-) A few apps not refreshing their windows while vlc is playing is the only issue I have noticed. I have AutoAddDevices AutoEnableDevices AllowEmptyInput and RandRRotation on and DontZap and Xinerama off in ServerFlags. If I recall right, hald is handling the input devices, which I need to get the wacom tablet working. ___ 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: jls usage
On 13/07/2013 01:26, Frank Leonhardt wrote: Okay - answering my own question and solved... It's a bug (or is that a feature?). In /etc/rc.d/jail line 647 it currently reads: eval ${_setfib} jail ${_flags} -i ${_rootdir} ${_hostname} \ \"${_addrl}\" ${_exec_start} > ${_tmp_jail} 2>&1 \ ${_tmp_jail} 2>&1 \ Go with bug ;-) - fix (improvement?) is working it's way through. You mentioned running 8.2 so I wondered if it has changed. If you look through the source tree you will find in 8.4 that line has the -n ${_jail} addition plus some other extras. Looks like it showed up in stable/8 at r242083 as part of a larger improvement. ___ 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: jls usage
On 13/07/2013 18:24, Frank Leonhardt wrote: Next question: How do you kill a PR you've changed your mind about? just submit a follow up requesting that it be closed as the fix has been applied. ___ 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: to gmirror or to ZFS
On 16/07/2013 14:41, aurfalien wrote: On Jul 15, 2013, at 9:23 PM, Warren Block wrote: On Mon, 15 Jul 2013, aurfalien wrote: ... thats the question :) At any rate, I'm building a rather large 100+TB NAS using ZFS. However for my OS, should I also ZFS or simply gmirror as I've a dedicated pair of 256GB SSD drives for it. I didn't ask for SSD sys drives, this system just came with em. This is more of a best practices q. ZFS has data integrity checking, gmirror has low RAM overhead. gmirror is, at present, restricted to MBR partitioning due to metadata conflicts with GPT, so 2TB is the maximum size. Best practices... depends on your use. gmirror for the system leaves more RAM for ZFS. Perfect, thanks Warren. Just what I was looking for. I doubt that you would save any ram having the os on a non-zfs drive as you will already be using zfs chances are that non-zfs drives would only increase ram usage by adding a second cache. zfs uses it's own cache system and isn't going to share it's cache with other system managed drives. I'm not actually certain if the system cache still sits above zfs cache or not, I think I read it bypasses the traditional drive cache. For zfs cache you can set the max usage by adjusting vfs.zfs.arc_max that is a system wide setting and isn't going to increase if you have two zpools. Tip: set the arc_max value - by default zfs will use all physical ram for cache, set it to be sure you have enough ram left for any services you want running. Have you considered using one or both SSD drives with zfs? They can be added as cache or log devices to help performance. See man zpool under Intent Log and Cache Devices. ___ 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: to gmirror or to ZFS
On 21/07/2013 04:42, Steve O'Hara-Smith wrote: It's a pity there are now only two manufacturers of spinning rust. I thought there was three left - Seagate WD and Toshiba ___ 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: to gmirror or to ZFS
On 21/07/2013 17:31, Steve O'Hara-Smith wrote: On Sun, 21 Jul 2013 14:13:39 +0930 Shane Ambler wrote: On 21/07/2013 04:42, Steve O'Hara-Smith wrote: It's a pity there are now only two manufacturers of spinning rust. I thought there was three left - Seagate WD and Toshiba I assumed Toshiba were out of the game, I've never seen anything bigger than 500GB with a Toshiba label. I have a 2.5" 1TB Toshiba USB drive here. I see Toshiba 2 and 3TB 3.5" listed online. As I recall the Hitachi selloff - WD got the 2.5" Toshiba got the 3.5" I think the split was the only way to get the takeover approved. ___ 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 slices and the Boot Manager
On 29/07/2013 08:23, Polytropon wrote: On Sun, 28 Jul 2013 22:23:38 +, Teske, Devin wrote: In this case, sade is (or was) a direct by-product of the death of sysinstall(8). It only exists in 9 or higher. % which sade /usr/sbin/sade System is FreeBSD 8.2-STABLE of August 2011. I think sade has been introduced in a v8 version of FreeBSD. Or earlier. On 9.1 man sade says -- HISTORY This version of sade first appeared in FreeBSD 6.3. The code is extracted from the sysinstall(8) utility. ___ 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: 2 lines
On 30/07/2013 15:04, Zyumbilev, Peter wrote: However really not sure what is the best way - the only feasible solution I found so far is DNS faiolver http://www.dnsmadeeasy.com/services/dns-failover-system-monitoring/. However I am not 100% sure how well it will work and if this may cause more troubles and embarrassment in front of the customer than simply giving them in a email gate1.example.com(primary) gate2.example.com(backup) I thought pfsense supported failover - or is that limited to outgoing? http://doc.pfsense.org/index.php/File:RouterDiagram.png http://www.techvilleottawa.org/pfsense-load-balance-fail-over-setup/ Otherwise something like wackamole or heartbeat to keep the ip address alive? ___ 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: sysvipc only for one jail
On 12/08/2013 21:39, Trond Endrestøl wrote: On Mon, 12 Aug 2013 13:57+0200, David Demelier wrote: And thus, it's not enabled as postgresql tells: creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL: could not create shared memory segment: Function not implemented I'll look into this by creating a new jail for PostgreSQL 9.2 when I get home. While it is currently in beta maybe you could also try 9.3 and verify that the shared memory update works or eliminates this configuration? If you missed the change, 9.3 is implementing shared memory using mmap. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ZFS Snapshots Not able to be accessed under .zfs/snapshot/name
On 14/08/2013 22:57, dweimer wrote: I have a few systems running on ZFS with a backup script that creates snapshots, then backs up the .zfs/snapshot/name directory to make sure open files are not missed. This has been working great but all of the sudden one of my systems has stopped working. It takes the snapshots fine, zfs list -t spnapshot shows the snapshots, but if you do an ls command, on the .zfs/snapshot/ directory it returns not a directory. part of the zfs list output: NAMEUSED AVAIL REFER MOUNTPOINT zroot 4.48G 29.7G31K none zroot/ROOT 2.92G 29.7G31K none zroot/ROOT/91p5-20130812 2.92G 29.7G 2.92G legacy zroot/home 144K 29.7G 122K /home part of the zfs list -t snapshot output: NAMEUSED AVAIL REFER MOUNTPOINT zroot/ROOT/91p5-20130812@91p5-20130812--bsnap 340K - 2.92G - zroot/home@home--bsnap 22K - 122K - ls /.zfs/snapshot/91p5-20130812--bsnap/ Does work at the right now, since the last reboot, but wasn't always working, this is my boot environment. if I do ls /home/.zfs/snapshot/, result is: ls: /home/.zfs/snapshot/: Not a directory if I do ls /home/.zfs, result is: ls: snapshot: Bad file descriptor shares I have tried zpool scrub zroot, no errors were found, if I reboot the system I can get one good backup, then I start having problems. Anyone else ever ran into this, any suggestions as to a fix? System is running FreeBSD 9.1-RELEASE-p5 #1 r253764: Mon Jul 29 15:07:35 CDT 2013, zpool is running version 28, zfs is running version 5 I can say I've had this problem. Not certain what fixed it. I do remember I decided to stop snapshoting if I couldn't access them and deleted existing snapshots. I later restarted the machine before I went back for another look and they were working. So my guess is a restart without existing snapshots may be the key. Now if only we could find out what started the issue so we can stop it happening 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"
Re: ZFS Snapshots Not able to be accessed under .zfs/snapshot/name
On 09/09/2013 22:38, dweimer wrote: A quick update on this, in case anyone else runs into it, I did finally try on the 2nd of this month to delete my UFS volume, and create a new ZFS volume to replace it. I recreated the Squid cache directories and let squid start over building up cache. So far their hasn't been a noticeable impact on performance with the switch over, and the snapshot problem has not reoccurred since making the change. Its only a week into running this way but the problem before started within 36-48 hours. From what you mentioned earlier you appear to use dates in your snapshot names. So kern/161968 - shouldn't affect you. For others using zfs volumes - check kern/161968 : [zfs] [hang] renaming snapshot with -r including a zvol snapshot causes total ZFS freeze/lockup ___ 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: Help vote for FreeBSD
On 10/10/2013 16:15, openda...@hushmail.com wrote: Keep them coming guys! Couple hundred more and FreeBSD will top the list: https://digitalocean.uservoice.com/forums/136585-digital-ocean/filters/top This would be great PR for FreeBSD too. It appears to be tagged as started, which should mean they are in the process of adding bsd options. Even if it isn't the most popular topic. ___ 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"
Hard Disk problems
=139102374 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102375 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102376 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102377 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102378 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102379 ad0: FAILURE - READ_DMA status=51 error=40 LBA=139102380 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102381 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102382 ad0: FAILURE - READ_DMA status=51 error=40 LBA=139102383 ad0: FAILURE - READ_DMA status=51 error=40 LBA=139102384 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102385 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102386 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102387 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102388 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102389 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102390 ad0: FAILURE - READ_DMA status=51 error=40 LBA=139102391 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102392 ad0: FAILURE - READ_DMA status=51 error=1 LBA=139102393 -- Shane Ambler 007Marketing.com [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Hard Disk problems
On 3/4/06 2:49 AM, "Gayn Winters" <[EMAIL PROTECTED]> wrote: >> [mailto:[EMAIL PROTECTED] On Behalf Of Shane Ambler >> Sent: Saturday, April 01, 2006 3:10 AM >> To: FreeBSD Mailing Lists >> Subject: Hard Disk problems >> >> >> A few days ago I started getting some disk errors and can't >> seem to find a >> reference to find a way to fix them (other than the obvious re-format) >> >> >> The daily security run output contains the following (abbreviated) >> >> Checking setuid files and devices: >> find: /usr/ports/databases/db43/work/db-4.3.28/db: Input/output error >> find: /usr/ports/devel/git/Makefile: Input/output error >> >> ~ repeated 32 times for different files (thankfully all in >> the ports tree) >> >> tower.home.com kernel log messages: >>> ad0: FAILURE - READ_DMA status=51 >> error=40 LBA=139102367 >>> ad0: FAILURE - READ_DMA status=51 >> error=1 LBA=139102367 >> >> These 2 error codes are repeated a total of 38 times all with >> the same LBA >> >> If I start in single user mode and do fsck it takes about >> half an hour to >> get through and repeats similar errors many times for just >> about every check >> it does. >> >> Running #fsck -y >> fsckout (while in multiuser mode) is as follows - >> followed by dmesg output since boot >> >>> cat fsckout >> ** /dev/ad0s1a (NO WRITE) >> ** Last Mounted on / Snip >> ad0: FAILURE - READ_DMA status=51 >> error=1 >> LBA=139102393 >> >> >> >> >> -- >> >> Shane Ambler > > Looks to me like your disk subsystem is dying. Most likely it is just > the disk ad0. If you don't have a good backup, do that immediately. > Get a new disk in there and test it thoroughly (with the manufacturer's > diagnostics.) If all is well, restore to it. You'll probably want to > reread the section in the Handbook on Moving to a Larger Disk, since > this is a good time to rethink the sizes of your partitions. > > Incidentally, you can just install the new disk (as ad1), install FBSD > on it, and dump|restore from ad0 to ad1. > > Once restored, you'll still have to clean up the damage. This is easier > if your new new disk has a separate partition for user data, since you > can use a fresh install of the OS, the ports, etc. and worry about > repairing the user data as best you can. > > Good luck! > > -gayn > > Bristol Systems Inc. > 714/532-6776 > www.bristolsystems.com > > > Thanks. I was kinda thinking that might be the case. Space isn't an issue (it's a 120GB drive) this is mostly a testing/learning server at home - runs squid and dns cache for home use (my other half does a lot of auto-surfing to try and make a few bucks) and apache/mysql for testing web devel. The files that showed up as i/o errors are all in /usr/ports so no probs there, I should be able to copy across what is readable to another drive without any problems or real loss and worthwhile data there is easy to replace. I am fairly new to *nix and was looking to see if I could learn more disaster recovery - thought there might be a chance that it was just bad sectors that weren't getting mapped out automagicaly and I could learn to fix it manually without reformatting. Now I know that if I see it happen again I should just replace the disk as soon as I can. -- Shane Ambler Sales Department 007Marketing.com [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Unable to build
I have just installed 5.3 release on a machine I have just put together. Since installing I have tried to compile cvsup-without-gui and krb5 from ports and postgresql 8.0 rc3 from the src download. I started with cvsup-without-gui and after 16 hours I figured it was taking too long and started to look into things. I have installed readline and bison from ports without issue. It seems to get stuck in a loop - I have downloaded the cvsup-without-gui package and updated the ports and still get stuck. I have just done make clean make >> /var/debug/xxx.out For cvsup and krb5 and you can look at the full output from http://www.007Marketing.com/outputs.tgz In a nutshell it seems to get stuck somewhere along the way The following snippets seem to be roughly where it starts repeating and can be found repeated throughout the above mentioned output files. I seem to get gmake[1]: Leaving directory and gmake[1]: Entering directory With it leaving and entering the same dir. Does anyone know why this would happen and how to fix it? repeat from krb5 checking for ar... (cached) ar checking for working regcomp... (cached) yes updating cache ../.././config.cache configure: creating ./config.status cd . && /bin/sh config.status ./Makefile config.status: creating ./Makefile gmake[2]: Leaving directory `/usr/ports/security/krb5/work/krb5-1.3.6/src/util/pty' gmake[2]: Entering directory `/usr/ports/security/krb5/work/krb5-1.3.6/src/util/pty' cd . && /bin/sh config.status --recheck running /bin/sh ./configure --prefix=/usr/local --enable-shared --without-krb4 i386-portbld-freebsd5.3 CFLAGS=-O -pipe host_alias=i386-portbld-freebsd5.3 build_alias=i386-portbld-freebsd5.3 target_alias=i386-portbld-freebsd5.3 CC=cc --cache-file=../.././config.cache --srcdir=. --no-create --no-recursion configure: loading cache ../.././config.cache checking for i386-portbld-freebsd5.3-gcc... (cached) cc checking for C compiler default output... a.out checking whether the C compiler works... yes repeat from cvs checking assembler instructions... filds fists checking assembler GOTOFF in data directives... yes checking assembler dwarf2 debug_line support... yes checking assembler --gdwarf2 support... yes checking assembler --gstabs support... yes checking linker PT_GNU_EH_FRAME support... yes checking whether linker eh_frame optimizations work properly... yes Using ggc-page for garbage collection. checking whether to enable maintainer-specific portions of Makefiles... no updating cache ../config.cache creating ./config.status /bin/sh ../../gcc/gcc/configure.frag ../../gcc/gcc "m3cg" \ "" "../../gcc/gcc/config/t-slibgcc-elf-ver ../../gcc/gcc/config/t-freebsd ../../gcc/gcc/config/t-freebsd-thread ../../gcc/gcc/config/t-slibgcc-nolc-override ../../gcc/gcc/config/t-install-cpp" cp config.status config.run LANGUAGES="m3cg" /bin/sh config.run creating Makefile creating intl/Makefile creating fixinc/Makefile creating gccbug creating mklibgcc creating auto-host.h auto-host.h is unchanged rm -f config.run gmake[1]: Leaving directory `/usr/ports/lang/ezm3/work/ezm3-1.2/language/modula3/m3compiler/m3cc/FreeBSD 4/gcc' gmake[1]: Entering directory `/usr/ports/lang/ezm3/work/ezm3-1.2/language/modula3/m3compiler/m3cc/FreeBSD 4/gcc' running /bin/sh ../../gcc/gcc/configure --build=i386-unknown-freebsd4 --host=i386-unknown-freebsd4 --target=i386-unknown-freebsd4 --srcdir=../../gcc/gcc --with-gcc-version-trigger=/usr/ports/lang/ezm3/work/ezm3-1.2/language/modul a3/m3compiler/m3cc/gcc/gcc/version.c --enable-obsolete --cache-file=../config.cache --no-create --no-recursion loading cache ../config.cache checking LIBRARY_PATH variable... ok checking GCC_EXEC_PREFIX variable... ok checking host system type... i386-unknown-freebsd4 checking target system type... i386-unknown-freebsd4 checking build system type... i386-unknown-freebsd4 checking for gcc... (cached) gcc -- Shane Ambler Sales Department 007Marketing.com [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Updating a running jail
Sounds to me like you want to use cvsup. You can search for it in the handbook. Basically cvsup -g -L 2 cvsupfile will update ports/src/docs/cvs and can be run periodically by cron. The cvsupfile you specify has settings as far as what to update and where to put it - you can have a different config for src and ports if you want them in different places. You can config the cvssupfile to download cvs so you can have an up to date cvs tree locally to update from. On 10/1/05 8:28 AM, "Tom McLaughlin" <[EMAIL PROTECTED]> wrote: > Hi, I have a machine which I am running a jail on to be used as a clean > work space for ports work. I got tired of messing up the ports tree and > installed ports on my desktop so I figured a jails would be the best > solution. The jail host is running FreeBSD-stable because I'm waiting > for some changes in FreeBSD-6 to be MFC'ed. What I want to know is what > is the best way to keep my jail up to date with -stable? (Well, > actually keep the jail in sync with the jailhost which runs -stable.) > I've already figured out how to handle the ports within the jail so that > is not a problem, only worried about keeping the base up to date. > > I've thought of a couple of ideas so far. One is to dispose of the old > jail and build a new one. That just won't work for my needs and is a > waste of time from what I see. My jail is setup "the way I like it" so > working in the jail is comfortable, ie. I have a lot of config files > permissions set, and a decent number of packages installed to make life > easier for me when logged in. > > My next idea is to use a script on the jailhost which carries out the > steps for building a jail from the manpage and essentially installing > over the old jail. I just wonder how that will affect /etc within the > jail. I want many of the changes to /etc that occur in -stable but I > don't want to overwrite all the changes I have made. I guess I could > skip `make distribution' and run mergemaster later. > > My last idea is to mount the jailhost's /usr/src and /usr/obj > directories into the jail with nullfs and then after having run > buildworld on the jailhost, run installworld in the jail and then use > mergemaster to take care of /etc within the jail. I've used a similar > process to update OpenBSD machines over NFS but have never tried it on > FreeBSD. > > Can anyone tell me what they do to manage their jails and keep them up > to date? Thanks. > > Tom -- Shane Ambler Sales Department 007Marketing.com [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I quit
On 10/1/05 7:03 PM, "Scott Bennett" <[EMAIL PROTECTED]> wrote: > But even so, much of FreeBSD came directly from 4.[34]BSD anyway. I've > glanced at a few of the header files in Mac OSX libraries, and they are > still chock full of labels beginning with "NS" or "NX". :-) > All the NS.. object names are from the OOP and didn't get renamed when apple took over - I guess apple didn't want to give the NeXT developers the extra work in updating their software. This only relates to the cocoa based gui programs. The cli software uses the bsd(based) libs and is mostly taken from FreeBSD now. I have heard that most of the darwin committers are also FreeBSD committers. >> BSD tradition Apple freely picked from here and there, whatever they >> thought best, and made what can only be said to be their own. > >Keep in mind that Mach 2.x *was* a heavily modified 4.3BSD kernel. > Mach 3.x and later is not. You may be interested that according to Apple they are ditching the Mach kernel. From 10.4 - due for release in the next 6 months they are using a kernel based on FreeBSD 5 - with ACL's etc. That's the way I read it anyway - they don't refer to the new kernel as Mach based anymore. See - apple.com/macosx/tiger/unix.html >>>> applications you need. I talked my 11 year old nephew through an >>>> operating system upgrade (clean installation) of his ibook over the >>>> phone -- including wireless networking with WEP. >>>> >>> Unfortunately, Apple has not released a version for Intel >>> processors, >>> so it won't help someone with a pee cee instead of a Mac. >> >> Wrong, its called Darwin. If you think FreeBSD is raw then go play with >> Darwin for a bit. Darwin is used for both i386 and PowerPC. MacOS X is >> Darwin plus the fantastic Apple GUI and other neat Apple stuff. >> >I see. So is it just the GUI that's missing in Darwin? Or is the > entire OOPS missing? I guess it's nice to know that the underlying system > is available for the pee cee architecture, but it couldn't be nearly as fun > without the OOPS. :-) > Yes the OOP you refer to - now called cocoa, previously NeXTStep/Openstep - is part of the GUI. Actually it is broken into two parts - appkit and foundation - foundation is unrelated to the gui providing data structs (NSString, NSArray etc) the appkit contains NSWindow, NSButton, NSCheckbox etc that is integral to the gui. But it is all bundled together with the window server into what Apple calls 'cocoa' and sells only with Mac OS X. You can try gnu-darwin.org - this is a ppc/x86 darwin distro with X-windows etc. Out of interest - it was microsoft that stopped Mac OS X for intel being released. Many don't remember or just don't discuss - when apple bought out NeXT - it was running on intel hardware and the first developer release of OS X included an intel version - then came the publicity deal between MS and Apple - MS agreed to continue development of office for mac and bought $15 in Apple stock and Apple agreed to drop all the lawsuits against MS. The intel version has never been heard of since. The fact that they maintain the intel version of darwin means they can release an intel version at any time. The structure is in place to have current software recompile for different processors and even include multiple cpu binaries in the one application distribution. But then maybe they want their bases open so they can change their hardware to intel - they fell out with motorola and now get the G5's from IBM. And there have been times before OS X when they looked at getting the Mac OS running on intel hardware - it was between intel and motorola before they changed to the RISC based PPC. -- Shane Ambler Sales Department 007Marketing.com [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: netatalk, NFS, OS X and backup
Personally I use a combination of applescript and cli. With applescript you create a script that mounts the remote afp volume. Eg in script editor On run try mount volume "afp://server/sharepoint" as user name "name" with password "crypt" on error -- end try End run Personally I put the mount command inside the try block to prevent error dialogs coming up - that is why the -- (a comment line) is after on error - it tricks the script into doing nothing on error. As you might guess this is plain text - for security when you save it you can save as application and tick the run only box - this prevents the file being opened in the script editor and read - you can open and run it but not see the source. This will mount the specific share point - it shows up in /volumes/sharepoint - which can then be copied to/from I then use the cli to compress/copy files - personally I use stuffit deluxe for compression as the deluxe version includes the cli tools and handles resource forks / meta data etc. #! /bin/sh /usr/local/bin/stuff -f sitx -n /pathto/backupfile /pathto/filestobackup cp /pathto/backupfile /volumes/sharepoint/backupfile Of course you put the date/numbers into the filename as you prefer. One gotcha to look out for is if the sharepoint doesn't mount for whatever reason the cp step will create a folder in /volumes and will copy locally instead of to the server. There is also the option of using scp to get the files to the server. There is a cli - mount_afp - when I tried it some time ago I had some problem(can't remember what now) so I used the applescript instead. You then setup cron to run the applescript and the shell script when you want. With the applescript it is a gui app so in cron you need /usr/bin/open /pathto/applescript.app Remember the .app is not shown in the finder but is needed for the cli, easy to miss. On 11/1/05 2:15 AM, "Martin Hepworth" <[EMAIL PROTECTED]> wrote: > have you looked at amanda? Uses it's daemons to transfer the data, and > you can select where to comress (on client or server). > > works well when used with hfstar on MacOS X ... > > restores are normally done by the admin and currently its a cli...no > plans AFAIK to make this a gui. > > --- > Martin > > > On Fri, 7 Jan 2005 11:29:59 -0500, Alan Curtis <[EMAIL PROTECTED]> wrote: >> I need some advice about integrating my FreeBSD server with some Macs >> running OS X. >> >> I have a server running FreeBSD 5.3 with NFS and netatalk enabled, a >> Powerbook G4 running OS X 10.3.7 and they are connected through a >> wireless network. I used the Powerbook to administer the server using >> ssh, which works well. I would also like to use the server to backup >> files (for multiple users) from the Powerbook. I have played around >> with both NFS and netatalk (afpd) and both seem to be working, in that >> I can manually mount the shares on the Powerbook. I have got the NFS >> share to automount on the Powerbook but not the afp share. I can copy >> files to and from both the nfs and afp mounted shares, including >> resource forks. I have played with various backup utilities including >> rsync, psync and rdiff-backup with varying degrees of success. >> >> Some observations/questions >> >> 1. netatalk afp seems consistently and significantly faster than nfs. >> Is this to be expected or might I have a problem with nfs? If so how do >> I diagnose and fix it? >> >> 2. I would prefer to use nfs, because I can automount it on the >> Powerbook and run a cron (actually anacron) script to backup the >> multiple users. I haven't yet worked out how (or if) I can do this with >> afp (this is really a Mac question I know). >> >> 3. I would like to use a backup scheme which is automatic, invisible to >> the user, yet configured in a way that the archive can be navigated, >> and files appear in folders on the Mac finder in a consistent way (with >> resource forks set up correctly). >> >> All of this seems almost possible, yet I don't seem to have got it just >> right yet. Has anyone one any insight they can spread or experiences >> they can share of a similar set up? >> >> Alan >> >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "[EMAIL PROTECTED]" >> > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- Shane Ambler Sales Department 007Marketing.com [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ip address behind router ?
Looks to me that this page is not entirely accurate. (at least from where I am) It would appear to get a proxy server somewhere along the way. I would consider using the dynamic dns services - such as no-ip - and use a perl script that updates then ping your dns name. Not sure if they are more accurate that the below idea though. On 11/1/05 8:26 AM, "Tom Connolly" <[EMAIL PROTECTED]> wrote: > Brian Davis wrote: >> On Sun, 9 Jan 2005 14:38:56 +0100 >> FreeBsdBeni <[EMAIL PROTECTED]> wrote: >> >>> Hi, >>> >>> How do I find what ip address I'm really having ? >>> My adsl modem/firewall gives me a dynamic private address : >>> 192.168.1.101, which is what I see with an ifconfig. But how do I >>> find the real (dynamic) address given to my modem by my provider ? >>> I'm using 5.3-rel-p4. >>> -- >>> Beni. >>> >> > > If you just need a simple solution to see your external IP address, just > go to: > http://www.ostrosoft.com/OIT/external_ip.asp > > It will show your outside IP address in red. > > Good luck, > Tom > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- Shane Ambler Sales Department 007Marketing.com [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 4.9 rebooting
I would agree with looking into hardware problems - I have a MSI-694 dual proc machine that about two or three months ago started rebooting once or twice a week for no apparent reason, then one hot day it became several times a day and I shut it down before going away for xmas. Now it won't even attempt to start with both cpu's - with one it will boot but at one of the hardware probes (just after keyboard) it restarts, as if someone is hitting the reset button. If it is failing hardware you may find no indication of the fault - the faulty hardware may cause the same effect as someone pressing the reset button - your logs would show normal operation then dmesg would show system boot with disks unmounted properly and starting (or delaying) fsck. On 13/1/05 8:06 AM, "Ted Mittelstaedt" <[EMAIL PROTECTED]> wrote: > If this was something like a kernel panic there would be a > message in /var/log/messages > > If nothing is in there then it's probably failing hardware. > My experiences in those cases is that no matter what logging you > turn on, nothing gets logged, the machine just reboots. > > If it's a remote colocated server maybe the UPS it's on > is shot, and it's getting power fluctuations. Or maybe > it's overheating or it's clogged with dust. > > Ted > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Behalf Of Jim Pazarena >> Sent: Wednesday, January 12, 2005 10:40 AM >> To: freebsd-questions@freebsd.org >> Subject: 4.9 rebooting >> >> >> I have a remote server which has begun re-booting every few days. >> >> Are there any logs which I can examine that may provide a clue as to >> the reason? Or any logging I can turn "on/up" ? I realize that >> during a reboot, logs are seldom "up-to-date", but any clue would >> be handy. >> >> This is a remote co-located server which will take a fairly >> expensive trip to get hands-on with. I'd like to have ammunition >> at hand before I commit to the trip. >> >> Thanks, >> Jim >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "[EMAIL PROTECTED]" >> > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- Shane Ambler Sales Department 007Marketing.com [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Blender port
On 17/08/2012 04:47, Fernando ApesteguÃa wrote: On Thu, Aug 16, 2012 at 12:29 PM, Polytropon wrote: On Thu, 16 Aug 2012 11:33:22 +0200, Peter Boosten wrote: So I did a ktrace, and it seems to stumble on a library it cannot find: libirml.so This library however is nowhere to be found on my system, nor in the ports repository. Does anyone know what this library is for, and where would I find that library? No port seems to install that library (at least according to pkg-plist files). Maybe you could file a PR IRML - it seems to be the "Intel Resource Management Layer library. It is a work dispatcher used by Threading Building Blocks (TBB)." The tbb port (devel/tbb) however does not contain it. No port seems to mention it in its pkg-plist file. The google search results are very disillusioning, even more than the "typical Linuxisms" that sometimes hits a FreeBSD port... ;-) I'm not the blender maintainer but I compile the svn versions regularly and I'm the maintainer for openimageio which is a recent addition that blender uses for the cycles render engine. I use 9.0 amd64. I've just dusted off the old P4 and installed a clean version of 8.2, updated the ports tree and started compiling everything, I'll see if I can get the same issue tomorrow. I'll assume you have your ports tree up to date and are building the latest version. Have you had an earlier version of blender running? The only reference to libirml I can find is as part of Intels compiler package and it doesn't appear to be a part that the freebsd ports version of icc installs. One guess is that you may be using icc or have in the past leaving a dependency that was built with icc. While libirml seems to have some relation to tbb I don't see any reference within devel/tbb. graphics/openimageio brings in the dependency for tbb so you could try turning off the CYCLES option in blender to turn off that dependency. libirml may also be related to openmp so try turning off OPENMP as well. Maybe try turning off some other options to help pinpoint where it comes from. CAMERATRACK CARVE CYCLES OCEANSIM are the newest additions. ___ 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: BSD on IOS hardware
On 02/10/2012 22:58, Rares Aioanei wrote: On Thu, 27 Sep 2012 10:18:06 -0400 Greg Freeman wrote: Is it possible to load FreeBSD on an Apple Mobile device designed to run IOS? There are a lot of old iPads out there. If we could repurpose them to straight Unix pads that might be cool. From there shells and then maybe an open source alternative to IOS or Android. Maybe a way for people to get free of the info pirates How do you intend to type on it? While apple offers a bluetooth keyboard I have seen docks with a keyboard built in. The other option is that the system will need xorg installed as the minimum setup so you have a touch screen with onscreen keyboard. The ipad/ipod would be a target that netbsd may try - I don't believe they have though. I don't think they support the newer touch screen devices but rockbox is an opensource ipod (and other mp3 players) firmware replacement. It could be a starting point for booting another OS. Having said that I think your best bet would probably be jailbreaking the ipad so you get more control over what you can install. Search for cydia ___ 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: BSD on IOS hardware
Greg Freeman wrote: Is it possible to load FreeBSD on an Apple Mobile device designed to run IOS? There are a lot of old iPads out there. If we could repurpose them to straight Unix pads that might be cool. On 03/10/2012 05:19, Sean Cavanaugh wrote: > I hate to say it, but wouldn't it be easier to just buy a cheap android tablet in the first place? If you are buying new hardware that would be a good choice but if you just get hold of old hardware that has been tossed out after an upgrade it is a matter of working with what you have. Given the popularity of ipod/iphone/ipad there will be a lot more of them lying around as time goes by. ___ 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
On 03/10/2012 04:46, David Demelier wrote: Hello, I have a nvidia GT 630 and use the flash plugin, I've got a very strange problem, on youtube (or any flash video), the colors are just broken. This is happening on a FreeBSD 9.0 amd64 box with linux-f10-flashplugin-11.2r202.238 nvidia-driver-304.51 That may be an issue with v304. I'm guessing you had no problems with v295 drivers. 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. ___ 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: geforce 310m CUDA problem
On 08/10/2012 16:24, Ashkan Rahmani wrote: Unfortunately (for me of course) it has geforce 310m cuda 1gb VGA, and it seems this VGA is not supported by FreeBSD. After installing FreeBSD/PC-BSD resolution is about 800x600 and I can not change it. Color depth is also terrible. Configuring xorg.conf automatically or manually can not fix my problem. installing nvidia driver from ports also can not fix my problem. some ideas -- The release notes for nvidia-driver 304.51 lists the 310M as supported. Check that you have the latest version Maybe try with driver "nv" instead of nvidia to see if the issue is the driver. kldstat | grep nvidia to check that the nvidia kernel module has loaded. Is there any helpful info in Xorg.0.log Lines starting with (EE) are errors. (WW) warning lines may also be helpful. dmesg will show the startup log and may highlight any hardware detection problems. Have you installed x11/nvidia-settings? It is a gui app that should show you all available resolutions. The Xorg.conf from your archlinux install should produce the same results on FreeBSD. Or at least give hints to what is configured wrong. There is a chance that your linux install used a newer version of xorg - 1.7 is default in ports but you can set WITH_NEW_XORG to build 1.10 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ZFS / Boot Environments / Jails / Upgrading form Source Code
On 19/10/2012 07:44, dweimer wrote: First step replace the usr/src within the jail with new source using svn, easy enough. Then start make buildworld... oops, I have a problem now, the usr/obj/usr stuff is now under /usr/obj/usr/jails/release91rc2..., However I want it to be under /usr/jails/release91rc2/usr/obj/usr. If the jails base dir is /usr/obj/usr/jails/release91rc2 then it can only access files below that base dir. That is part of the jails security. If your jail is based at /usr/obj/usr/jails/release91rc2 then the jail by default will buildworld into /usr/obj of the jail system which translates to /usr/obj/usr/jails/release91rc2/usr/obj on the base system. You can adjust the settings within the jail but it will always be within the release91rc2 dir so you can't use the jail to install into /usr/jails of the base system. From looking at the usr/src/Makefile It looks like I need to set the MAKEOBJDIRPREFIX=/usr/jails/relase91rc2/usr/obj/usr/src/tmp environment variable, but is that the best solution here? There's also a /usr/obj/lib32 directory (system is running amd64, I assume this is for 32 bit libraries), so I would likely need to do something here as well, that I haven't gotten to yet. lib32 is part of the final system - you don't need to handle it separately. See man src.conf if you want to turn off the creation of 32bit libs. You can set MAKEOBJDIRPREFIX (default /usr/obj ) to define where the binary files are made. You can also set DESTDIR (default is / ) for the installworld step to define where they get installed. When you start a buildworld or buildkernel the compiled binaries are stored within MAKEOBJDIRPREFIX. When that is complete the installworld or installkernel steps install the files from MAKEOBJDIRPREFIX into DESTDIR to create a workable system. That prevents a failed build from destroying part of your running system. If you want to experiment with different versions then you can also try- mkdir /usr/jails cd /usr/jails svn co http://svn0.us-west.FreeBSD.org/base/releng/9.0 9.0-src cd 9.0-src set MAKEOBJDIRPREFIX = /usr/jails/9.0-obj set DESTDIR = /usr/jails/9.0-base make buildworld && make installworld cd /usr/jails svn co http://svn0.us-east.FreeBSD.org/base/releng/9.1 9.1-src cd 9.1-src set MAKEOBJDIRPREFIX = /usr/jails/9.1-obj set DESTDIR = /usr/jails/9.1-base make buildworld && make installworld I know the /usr/obj/usr directory can be deleted after the installation of the source, does the same go for the /usr/obj/lib32 directory? if so Anything in MAKEOBJDIRPREFIX (/usr/obj) can be deleted after you have installed it, including lib32 which are libs to allow running 32bit programs on a 64bit system. ___ 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 proprietary driver error
On 25/10/2012 17:34, Ashkan Rahmani wrote: Hi, I'm going to install driver for nvidia 310M cuda enabled, but I have some problem with it. Monitor resolution must be 1366x768 xxx but resolution is 1024x768 and with lag. Sounds like your on a laptop? model details could be helpful if someone else has tried on that machine. Do you have a second monitor connected or is that an error coming from the second gpu built-in to the cpu? I would try removing the screen 1 line from serverlayout as well as the matching screen and monitor 1 details as well as the intel graphics device section - disconnecting a second monitor if it is connected. Change Driver "nv" to Driver "nvidia" and try that. ___ 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 proprietary driver error
On 25/10/2012 19:52, Ashkan Rahmani wrote: On Oct 25, 2012 12:02 PM, "Shane Ambler" wrote: On 25/10/2012 17:34, Ashkan Rahmani wrote: Hi, I'm going to install driver for nvidia 310M cuda enabled, but I have some problem with it. Monitor resolution must be 1366x768 xxx but resolution is 1024x768 and with lag. Sounds like your on a laptop? model details could be helpful if someone else has tried on that machine. yes it is asus k52j' no there is not second monitor. and i have just screen0 in xorg config file. what you mean from second gpu?? driver is nvidia. resolution not set. There are a few K52J variations - the K52JC has the 310M In the xorg.conf you posted the link to - you have two parts titled - Section "Device" - one has card0 nvidia the other has card1 intel. You also have two sections for Screen and two for Monitor. In the ServerLayout you have Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" My guess is that the cpu has a built-in gpu. The asus details list four corei5 options - intel says 3 of them include HD graphics see last table here - http://www.intel.com/support/processors/mobile/corei5/sb/CS-032331.htm?wapkw=corei5+540m Just wondering if the two gpu's might be creating a conflict. I would try removing the screen 1 line from serverlayout as well as the matching screen and monitor 1 details as well as the intel graphics device section - disconnecting a second monitor if it is connected. Change Driver "nv" to Driver "nvidia" and try that. xorg.conf which generated by xorg -configure detect vga vendor name as intel corporation, and set driver vesa. when i change driver to any thing else i got no devices detected error. please attention i have label on laptop body says vga is nvidia geforce 310m cuda 1gb, and another label with nvidia optimus. Have you tried running nvidia-xconfig? x11/nvidia-xconfig or nvidia-settings? x11/nvidia-settings i have an option in bios "boot vga controller selection for" which have 2 options windows 7/vista and reserved. Try changing to reserved. You may also want to try removing the nvidia sections from xorg.conf and see if you can get the intel gpu to work. Also when you reply, use reply to all so that a copy also goes to the list. It can increase your chance of someone helping. ___ 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 proprietary driver error
On 26/10/2012 19:06, Ashkan Rahmani wrote: i have an option in bios "boot vga controller selection for" which have 2 options windows 7/vista and reserved. Thank you for reply, That xorg.conf generetaed by Xorg -configure. yes I tried nvidia-xsetting. On start I got error which says "There is not any compatible device detected" or some things like this. nvidia-xconfig generate very simple xorg.cong with just one screen or monitor, sets nvidia as driver, but not work. I got same error (in /var/log/xorg.0.log) actually: no device detected. Beside all of this stuffs, There is a point, BusID, Xorg -configure set BusID to "PCI:1:0:0" and nvidia-xconfig set it "PCI:0:2:0" Because Xorg generated xorg.conf works (of course with incorrect resolution and with lag) I changed BusID in nvidia-xconfig "PCI:0:2:0" to "PCI:1:0:0". not worked! May be error come from NVIDIA Optimus. Did changing the bios settings help? I have come across some more info - it is an issue with optimus which is a technology to allow switching between lower power usage intel graphics and higher performing nvidia graphics. I didn't hear any certainty about turning it off in bios but there is a record of linux not supporting it. A project called bumblebee targets getting support on linux. The two busid's reflect the intel and nvidia devices - did you try removing nvidia and using only the intel settings? ___ 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: I need a simple cli tool to rotate mp4 video.
On 31/10/2012 09:01, Jakub Lach wrote: $ ffmpeg -i A.mp4 -vf "transpose=1" -r 30 -sameq -acodec copy B.mp4 Is _almost_ ideal, apart from x1.5 increase in size... playing with fps does not change it too. try the -b option to specify the bitrate you want. while I haven't tried it -fs is meant to specify the target filesize. I am guessing that it would adjust quality to match that size. ___ 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 PostgreSQL doesn't start with shared_buffers=6GB ?
On 05/11/2012 11:24, Yuri wrote: When I am setting shared_buffers=6GB in postgresql.conf it fails to start: DETAIL: Failed system call was shmget(key=5432001, size=6612361216, 03600). even though kern.ipc.shmmax is set to ~7GB: $ sysctl -a | grep shm kern.ipc.shm_allow_removed: 0 kern.ipc.shm_use_phys: 0 kern.ipc.shmall: 1310720 kern.ipc.shmseg: 128 kern.ipc.shmmni: 192 kern.ipc.shmmin: 1 kern.ipc.shmmax: 70 kern.features.sysv_shm: 1 kern.features.posix_shm: 1 There are 17GB free memory as reported by top(1). Why shmget fails despite kern.ipc.shmmax is being high enough? Experimentally I found that shared_buffers=5GB also fails but 4GB succeeds. Is there another system limit on shmem besides kern.ipc.shmmax ? Been a few years since I looked at my postgresql settings -- Per process -- kern.ipc.shmmax: Maximum shared memory segment size kern.ipc.shmseg: Number of segments per process segments relate to allocation requests not total allocations. eg 4 segments of 2G would be ok but 1 segment of 8G not ok Postgresql shared_buffers should be done in 1 allocation. System wide -- kern.ipc.shmall: Maximum number of pages available for shared memory kern.ipc.shmmni: Number of shared memory identifiers kern.ipc.shmseg and kern.ipc.shmmni need to be set in /boot/loader.conf not /etc/sysctl.conf getconf PAGE_SIZE returns 4096 With a pagesize of 4K your kern.ipc.shmall would equate to a max of 5G so you probably need to increase that. If you want postgresql to allocate 6G then shmmax needs to be at least 6G and shmall needs to be at least 6G/4K or 1572864 Remember that total shared memory allocation is not postgresql only - you may need it higher than what postgresql needs. Also of note - postgresql settings like temp_buffers are per client connection and work_mem can be allocated several times for one query. ___ 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: gfc-afc-volume-mon
On 12/11/2012 09:40, ajtiM wrote: Hi! I use FreeBSD 9.1-RC3 #0 r242324 mnow. After updtae from 9.1-RC2 to RC3 I have a problem with GIMP which start more slow than before and top shows me: THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 3 1020 44176K 9256K CPU10 1:11 100.00% gvfs-afc-volume-mon Firefox and Inkscape wok same as before and gvfs-* doesn't show. I have been running 9.0 all year and have seen this issue but haven't gone as far as tracking down the cause of it hanging like that. I wondered if it may have an issue with zfs - I run a pure zfs system. While it will use 100% cpu and keep the disk busy I have tried letting it run for a few hours and it doesn't stop. It is gtk related - a lot of gtk/gnome apps trigger it when starting even xfce starts it on login, others will trigger/re-trigger when the open file dialog is used. My biggest concern is not knowing where it comes from - it is not listed in any packing list for installed ports. All the build logs from my tinderbox setup have no mention of it. Initially I setup a cron job to quit any instance of it every 2 minutes. Renaming it prevents it being started up and doesn't appear to give any critical errors, all I get is - GVFS-RemoteVolumeMonitor-WARNING **: invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.Private.AfcVolumeMonitor: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/local/libexec/gvfs-afc-volume-monitor: No error: 0 ___ 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: Mounting SD card.
On 16/11/2012 02:25, Warren Block wrote: On Thu, 15 Nov 2012, Polytropon wrote: Is there a recommended way to automate the "GEOM re-tasting" so SD cards can be accessed without further interaction (by simply using the correct mount command)? Not AFAIK. Could depend on hardware also; some card readers might not need it. I haven't tried this --- Given that the reader is a usb device could it be added to the devd setup? Something like - attach 200 { device-name "da[0-9]+"; match "vendor" "0x058f"; match "product" "0x6362"; action "/usr/bin/true > /dev/${device-name}"; }; Saved to /usr/local/etc/devd/SD.conf vendor and product are from my internal reader that I never use as I never did get it to mount a card - I have an external reader that works fine. There should be a more generic way to recognise card readers. ___ 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 correct corrupted ports tree?
On 17/11/2012 15:26, Gary Aitken wrote: decided to rebuild ports for peace of mind, but my basic ports tree is hosed: I didn't see anything in the handbook about how to get the ports tree itself back to a sane condition. Do I have to blow the whole thing away and do a fresh extract? I don't see a way to force refetch of the actual ports files like "distinfo" when portsnap thinks the port is up to date. portsnap extract will always install the entire tree, if you have made any modifications they will be overwritten, but new ports folders you have added should remain, sometimes this can also cause old folders to be left behind. Worst case is to delete the existing /usr/ports and extract a clean set. Another option is partial extraction - portsnap extract lang/php5-extensions will extract just the one port portsnap extract lang/php5 will match all lang ports starting with php5 portsnap extract lang will extract all the lang ports I think that you will find your issue comes from the fact that all the php4 ports have been deleted - you seem to have some old folders left behind. Could be from extracting over an existing cvs checkout. Maybe you want a clean start. If you still have php4 installed then you should be able to use portmaster -o lang/php5-extensions lang/php4-extensions to get it to update with the new version find /usr/ports -type d -and -name "php4*" | xargs rm -R will delete any remaining php4 folders find /usr/ports -name "CVS" | xargs rm -R will remove all the cvs garbage left behind. ___ 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 on SSD on ASUS P5KPL-C
On 18/11/2012 06:49, Snow Mountains wrote: Could you recommend a reliable document on how to do a correct block alignment for new FreeBSD 9 install? FreeBSD Handbook doesn't mention this at all, although I can find a lot of (not quite consistent) advises on the net on how to do it with gpart/newfs. Over the last week there has been a discussion with the subject "Advanced Format Drive ?" on this list that has been discussing that. If you only just signed up then you can search for it in the mail archives. ___ 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: SSD for FreeBSD NAS device
On 20/11/2012 20:54, bsd wrote: Hello, I have just acquired an Intel R2312GZ4GC4 which I have equipped with a Adaptec RAID 51245 and 6 WD red disks of 3To - It'll come with 32Gb of Kingston ECC RAM. I am planing to use It as a backup device on a second hosting facility to backup couple of critical servers of mine. Do you think I should go for a redundant SSD drives (RAID 1) or does this offers limited interest in such config ? The advantage of SSD drives is their speed, in a ZFS config they can help most in two ways, as cache devices to speed up disk access or as log devices to increase reliability. Personally for a backup server I would use the two SSD drives as a mirrored log device for the ZFS pool. Reliability over performance. Having said that if you haven't got them I wouldn't get them. For a busy fileserver in the office you want the extra performance. As an offsite backup server the time saved in performance is only going to impact a few times a day and will be outweighed by the network speed. The cost of the SSD drives could add more drives to increase space or redundancy - RAIDZ3 ? ___ 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 on SSD on ASUS P5KPL-C
On 22/11/2012 14:49, Warren Block wrote: On Wed, 21 Nov 2012, Warren Block wrote: Got a chance to set up a scratch drive and check this. Turns out I left out the step of creating a "slice" (MBR partition) to hold the FreeBSD partitions. Also, GPT labels cannot be used in an MBR. Fixed below. I will probably add this to my disk setup article because it has come up more than once. The fdisk/bsdlabel section of my disk setup article has been rewritten to use gpart. Feedback welcome. http://www.wonkity.com/~wblock/docs/html/disksetup.html Something I meant to ask before - is there any benefit to following the steps described in http://www.aisecure.net/2012/01/16/rootzfs/ Abbreviated the steps are - gpart add -t freebsd-zfs -l disk0 ada0 gnop create -S 4096 /dev/gpt/disk0 zpool create zroot /dev/gpt/disk0.nop zpool export zroot gnop destroy /dev/gpt/disk0.nop zpool import zroot The step of using gnop is meant to trick zfs into believing the disk has 4K sector size to improve performance, which I would think zfs would be able to figure out by talking to the disk. Does partitioning hide the sector size or would the step of aligning the partition start to a 4k sector unhide the 4k size? Or are these steps just a waste of time? ___ 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 FreeBSD 9 Production Ready?
On 25/11/2012 04:06, Tim Daneliuk wrote: But I have had essentially no problems doing in-place major rev updates with FreeBSD thus far. The only breakage I am worried about now is whether the new compiler change breaks things that used to work just fine. For example, will my make.conf settings be properly observed by the new tool chain? If you want to build with clang wait for 9.1 http://www.freebsd.org/cgi/query-pr.cgi?pr=threads/165173 I have been running 9.0 built with clang for most of the year as my desktop machine without any other issues. As far as your make.conf goes that will depend on what you have in there. Most gcc flags will either work or be ignored. ___ 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: VPS FreeBSD Hosting
On 26/11/2012 20:48, Arthur Chance wrote: FreeBSD is now officially supported by Amazon (but still supplied by Colin) as well as Colin's "defenestrated" FreeBSD AMIs. I don't use them yet but while looking into cloud setups I found that rackspace have offered freebsd 9 images for us to build a server with since July. They don't offer it as a supported system on their managed solutions but they are happy for you to build your own server with it, even looks like you can use zfs. ___ 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: i386 vs amd64
On 29/11/2012 22:00, Jakub Lach wrote: If it was from me, my system is without 32bit compat whatsoever, and this is not default setting on amd64. Maybe on def. amd64 there are no problems, I don't know, nobody replied to my thread. I have been running 9.0 amd64 for nearly 12 months, I think it was about february that I compiled my system with clang and no 32 bit libs. With the default install there is a small catch that the lib32 folder still gets created even though it is empty. Ports only check the existence of the folder to try to build 32 bit libs and therefore fail. valgrind is an example of that. Simply deleting the lib32 folder solves that. (pr/165175) I vaguely recall being surprised that one of the emulators was only 32bit (may be fixed by now) I haven't had any other issues since deleting the lib32 folder. ___ 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: correct way for installing python extensions for 3.3?
On 29/12/2012 03:52, Roland Smith wrote: Currently I'm using python 2.7.3 because numpy required it. It seems that numpy some other extensions can now be installed for python3. Numpy for python 2.7.3 is already installed, and now I want to install it for python 3.3 as well. I'm just not sure how to do that? Reading /usr/ports/Mk/bsd.python.mk implies that setting PYTHON_VERSION in /etc/make.conf should only be done if you want to build extensions with an older binary. Is that still correct? In other words: what is the best way to install numpy and other extensions for different major versions of python? Roland I'll second that. As a temporary workaround I duplicated py-numpy to py-numpy32 and changed USE_PYTHON to 3.2. It appears that some extra patching is needed for 3.3 which I haven't gotten to yet. Is duplicate ports the only way to install multiple versions? This should be extended to boost-python-libs as well. I duplicated the port to boost-python3-libs and changed it to use py3.2. This enables the building of libboost_python as well as libboost_python3 so it looks to be able to support both py3.x and py2.7 if built against py3.x. I only use this for blender so I don't know for sure that py2.7 will work right. ___ 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: static ip address and ifconfig
On 30/12/2012 07:46, Fbsd8 wrote: The rc.config statement ifconfig_xl0="DHCP" on that PC would function as exspected? DHCP doesn't actually mean that the address will be dynamic - DHCP can give you the same ip address every time it is requested. It simply moves the details of configuration from you to your ISP. You probably want to talk with your ISP about this - I would expect you to get one IP assigned to your connection that is expected to be your routers IP address and then it is up to you to take care of routing your subnet to your internal network. You may assign all address to the one machine but only one address will get the traffic to be routed to the other addresses. ___ 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: Strange mouse behavior in Gnome2
On 30/12/2012 23:21, Alexander Lindemann wrote: Hi, I have a strange problem with my mouse while using Gnome2 (same problem with KDE) on FreeBSD 9: mouseclicks aren't working if I open another window, my testcase is opening the keyboard-settings and trying to add another Layout, but its the same with other windows. I can't even open an terminal without loosing control of the panel and the other windows. I can close and manipulate the windows with my keyboard. I tried everything I could find about HAL and X, but nothing helped. I hope you can help me. Start with the basics - is one mouse and keyboard the only input devices you have? Are they plugged straight into the motherboard sockets? I ask this as I have just tried running the mouse through a usb hub that turned out to be flaky causing it to have erratic behaviour. I have also seen a second mouse and a wacom tablet interfere with a mouse. The two mice came from a wireless keyboard/mouse combo where the mouse was useless (actually it was a logitech wireless combo, the mouse was going to sleep even as I was using it) - the wireless transceiver always responded as a mouse and keyboard even if the mouse had no battery to respond. ___ 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"
defines in system headers
I ran into a problem with /usr/include/xlocale/_ctype.h in 9.1 Line 56 is - #if __GNUC__ && !__GNUC_STDC_INLINE__ but within a tinderbox on a 9.0 system (yes I know that setup isn't actually supported) using gcc as the compiler __GNUC_STDC_INLINE__ isn't defined and generates a "!" has no right operand error. Isn't the correct way to test that #if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: zfs configuration
On 22/01/2013 02:51, dweimer wrote: On 2013-01-21 09:50, Don Dugger wrote: Hi All, So I use zfs for the root file system. Works well. However now I want to move /tmp to ram-disk (memory disk or what ever). When I try to unmount /tmp with the zfs command of course it won't because its busy. With ufs I would just edit fstab and reboot what do I don with zfs?? Your best option is to reboot into single user mode, however if that's not possible, zfs umount -f will force it to unmount. haven't tried it but zfs set canmount=off zroot/tmp should match editing the fstab ___ 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: 'svn-export' incrementing?
On 23/01/2013 11:59, Peter Vereshagin wrote: I believe there is something wrong in the way I use the 'svn-export'. Otherwise it's a no problem for me to patch for '--force'. How can I update the already created 'work tree' with 'svn update'? I think the correct answer is a good idea for 'Synopsis' docs section. The command "svn export" exports a clean source tree - without revision control information. Basically a clean snapshot of the revision you export, intended as a sourcecode release version snapshot. It expects to be exporting to a clean directory which is why you need to force it to overwrite existing files. To "update" a source tree you need the revision information for svn to test what has changed, which you get with svn checkout and svn update ___ 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: Locking USB Serial Device to Specific Com port
On 27/01/2013 08:15, dweimer wrote: I would like to lock down the USB serial port adapter used on the UPS to /dev/cuaU0, to make sure the UPS is always monitored and I will get a clean shutdown in event of a power failure. I believe that this requires setting a hint line of some sort in the /boot/loader.conf file, but I am having trouble tracking down what this should be, or maybe I am on the wrong track. Here is the current information from the adpapters, the UPS adapter was connected at boot, is on /dev/cuaU0, the other one was plugged in after boot, and is on /dev/cuaU1. start with man devd.conf You can add your own devd files in /usr/local/etc/devd/ Something along the lines of - attach 200 { device-name "cuaU[0-9]+"; match "vendor" "0x067b"; match "product" "0x2303"; action "sleep 2; cd /dev; ln -s ${device-name} upsmonitor"; }; use usbconfig to get info. I am thinking with the similarity of the two you may need to rely on bus and hubaddr or devaddr to keep each device identified by usb port location. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ZFS - whole disk or partition or BSD slice?
On 28/01/2013 10:27, james wrote: I have a 9.1 system with some SATA disks in RAIDZ, upgraded from 9.0. The disks are all the same type, and I formatted them for FreeBSD and put ZFS in a slice covering most of them. I have seen suggestions for OpenIndiana etc that it is better to let ZFS have the whole raw disk and that this can control the way it manages the disk writeback mode. Does this apply to FreeBSD and ZFS too? Presumably the disks are currently FreeBSD-specific. If I used raw disks instead of slices, could I read them from a Solaris system too? I recall reading that using partitions for zfs on FreeBSD was as good as full disks. For a boot zpool we need to at least have a partition for the boot-code and one for zfs preventing the use of a full disk. ZFS is meant to be compatible between different endian systems (x86 and sparc) From what I have read and heard it sounds like zpools are expected be compatible between different OS's as well - as far as zpool versions are compatible - but I do expect it would depend on the partition tables being readable - while full disk usage should work I would also think GPT is compatible. OSX 10.5 (x86 and ppc) included a read-only zfs kext (before Apple canned the project) so it must have been able to read Solaris or FreeBSD created zpools which does indicate a fairly high level of compatibility. I believe the way ZFS marks disks/partitions with the zpool data is so that the zpools can be recognised between systems and controllers - it would be interesting to know if and under what conditions a zpool can be accessed, both between different FreeBSD machines as well as the possibility of reading on a Solaris/Indiana machine. Anyone have the resources to test? ___ 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: Gnome 2 - Fuzziness
On 5/9/2006 22:58, "Justin" <[EMAIL PROTECTED]> wrote: > Greetings, > > Installed FreeBSD 6.1R on a clean system over the weekend, and installed the > gnome2 port from the ports tree (after cvsup'ing). Everything installed > great, no errors. Ran the xorg configure from the handbook, went over good, > background and cursor came up sharp. So, I enabled gdm, and rebooted. Once > rebooted, X started, which the cursor was crisp, but when the Gnome login > window appeared, it was very fuzzy. I could barely make out the window. > > Is there some configuration step I missed in gnome or X? Where would be a > good start to read up on Gnome? And finally, is there a better full "X > desktop" to use? Personally I have always preferred KDE. The full KDE package also includes KOffice and a large range of apps. One good thing I like is KDE will run the gnome apps but gnome won't run KDE apps. So you don't loose out on any choices with KDE. It is in ports at /usr/ports/x11/kde3, but you may want to get hold of the pre-built package and install from that. -- Shane Ambler [EMAIL PROTECTED] Get Sheeky @ http://Sheeky.Biz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Entropy
For a while now I have been getting cron emails with a problem with /usr/libexec/save-entropy Message is - Line 1: socket: Operation not permitted /var/db/entropy is owned and writable by operator and the saved-entropy files are modified each time through (going by file timestamp) Any ideas on where the error comes from? -- Shane Ambler 007Marketing.com [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem with save-entropy
A while ago I started getting error emails (from cron running the save-entropy script) the system has been setup and running for the best part of 2 years now. I can run the script manually from the cli (as root) and no error is generated. >From all I can figure the save-entropy script is running as it should ( the /var/db/entropy/ dir has the created files and by the mod date it keeps creating new ones correctly each time) I have compared permission settings with another working machine and all seems fine. but I keep getting these emails saying there is a socket operation that is not permitted. The entire email is:- Return-Path: <[EMAIL PROTECTED]> X-Original-To: operator Delivered-To: [EMAIL PROTECTED] Received: by tower.home.com (Postfix, from userid 2) id 305DA8127; Thu, 17 Aug 2006 01:44:00 +0930 (CST) From: [EMAIL PROTECTED] (Cron Daemon) To: [EMAIL PROTECTED] Subject: Cron <[EMAIL PROTECTED]> /usr/libexec/save-entropy X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: Message-Id: <[EMAIL PROTECTED]> Date: Thu, 17 Aug 2006 01:44:00 +0930 (CST) X-UIDL: ?a8!!1*N"!+Z&"!K&o"! Line 1: socket: Operation not permitted -- Shane Ambler [EMAIL PROTECTED] Get Sheeky @ http://Sheeky.Biz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Hardware Recomendation
The hardware requirements for the web server can be quite low, you can run a pretty busy website from on old PIII. Some more info would be needed to predict the sort of needs you may expect for your database. Will it be a forum (such as phpBB) or a banner exchange? Is this to replace an existing server (with a known amount of traffic) or a new setup for a new site? What size database do you expect? (you may have 2-5K per record and anticipate 100 records a day or you may have 2GB of data that you want to share) Is reliable (RAID) storage a necessity? Or will you have automated backups to another machine that would be sufficient to restore when needed? Is this an internal database for 10 users or a busy website that you hope to have 1000 users accessing at the same time? Some indication of the amount of data that would be read/written to the database and how many users will access it can help give an idea of what would be needed to keep up with the traffic. A good plan is to have some idea of a budget and necessary components (such as raid) and go with the fastest CPU you can get with what's left. You may have something faster than you need now but will be adequate in 3 months time. On 25/8/2006 17:00, "VeeJay" <[EMAIL PROTECTED]> wrote: > Hello > > What are the Hardware recomendation for a dedicated FreeBSD Web/Database > Server with Data Security? > > What is the flow of Setup/ or major steps to setup? -- Shane Ambler 007Marketing.com [EMAIL PROTECTED] Get Sheeky @ http://Sheeky.Biz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD router
The answer is yes it can be done. Which one is better depends on which cisco model you compare with and what hardware you are going to use to run FreeBSD with what features. As well as your knowledge of FreeBSD admin/network config. As mentioned before you may be expected to compile a custom kernel to best handle your setup. Consider - Are you building this for internal use or as a resell product? What is your FreeBSD/network knowledge level? Do you feel a little overwhelmed at the prospect of installing/configuring/supporting the router yourself? How much downtime is tolerable as you learn/find the solution to problems along the way? An example - I am located in Adelaide, Australia and there is a company here that has been around for several years mainly providing network related support, they sell their own network appliances built from FreeBSD and some custom software that features router, firewall, dmz, vpn, proxy cache, spam filter, network monitoring, CF boot disks. (they can configure/support cisco equipment that you may have installed and I think will sell it to you if you want it but push their products instead of cisco gear) Products range depending on needs but generally the head office may have a P4 rackmount case with a few network cards (offering load sharing across multiple ADSL connections) and a small home/branch office may get a mini-atx 700Mhz VIA chip unit with 1 or 2 network interfaces. Individual pc's (as well as handheld devices) can also connect straight to the vpn as well if that is sufficient for the needs. Most offices would connect with ADSL these days with an option of direct ISDN connection to HO as backup when ADSL is unavailable. Setup as automatic fallover when needed. Australia wide support is provided from the local office with remote offices being setup with modem dialup to allow console access by directly dialling into the appliances in case internet or vpn functionality is not working. Those sort of options would account for a high priced cisco setup that could allow a decent profit margin/cost saving between hardware cost and complete product. With simpler needs the cost difference would be a lot closer. To setup and maintain this setup would need a good knowledge base to ensure sufficient support/maintenance. There are a few options available for pre-built FreeBSD firewall setups which could make it worthwhile for you - I would have said http://netboz.org but the site doesn't seem to be running at the moment (maybe temporary) another is http://m0n0.ch/wall/ I have come across a few other projects over time but haven't really looked at any in great detail and can't seem to find any other bookmarks. On 30/8/2006 10:43, "rithy4u- CEO" <[EMAIL PROTECTED]> wrote: > Dear all, > > I want to know, between Cisco Router and a compiled of FreeBSD Router which > one is better? Is it posible to build a Router Appliance on FreeBSD instead of > using ISO of Cisco? > > > Richard Ben, CIO -- [EMAIL PROTECTED] Get Sheeky @ http://Sheeky.Biz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"